File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -2626,11 +2626,6 @@ Other minor changes
2626
2626
lookup-cast₂ : lookup xs (Fin.cast eq i) ≡ lookup (cast (sym eq) xs) i
2627
2627
cast-reverse : cast eq ∘ reverse ≗ reverse ∘ cast eq
2628
2628
2629
- head-singleton : head ≗ last {n = zero}
2630
- head-init : head ∘ init ≗ head
2631
- last-tail : last ∘ tail ≗ last
2632
- init-tail : init ∘ tail ≗ tail ∘ init
2633
-
2634
2629
++-assoc : cast eq ((xs ++ ys) ++ zs) ≡ xs ++ (ys ++ zs)
2635
2630
++-identityʳ : cast eq (xs ++ []) ≡ xs
2636
2631
init-reverse : init ∘ reverse ≗ reverse ∘ tail
Original file line number Diff line number Diff line change @@ -67,21 +67,6 @@ private
67
67
68
68
-- See also Data.Vec.Properties.WithK.[]=-irrelevant.
69
69
70
- ------------------------------------------------------------------------
71
- -- selectors: head, tail, init and last
72
-
73
- head-singleton : head ≗ last {A = A} {n = zero}
74
- head-singleton (x ∷ []) = refl
75
-
76
- head-init : head ∘ init ≗ head {A = A} {n = suc n}
77
- head-init (x ∷ xs) = refl
78
-
79
- last-tail : last ∘ tail ≗ last {A = A} {n = suc n}
80
- last-tail (x ∷ xs) = refl
81
-
82
- init-tail : init ∘ tail ≗ tail ∘ init {A = A} {n = suc n}
83
- init-tail (x ∷ xs) = refl
84
-
85
70
------------------------------------------------------------------------
86
71
-- take
87
72
You can’t perform that action at this time.
0 commit comments