Skip to content

Commit 7d0f580

Browse files
committed
Remove selector properties in group 1
1 parent 5ceb5fd commit 7d0f580

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2626,11 +2626,6 @@ Other minor changes
26262626
lookup-cast₂ : lookup xs (Fin.cast eq i) ≡ lookup (cast (sym eq) xs) i
26272627
cast-reverse : cast eq ∘ reverse ≗ reverse ∘ cast eq
26282628
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-
26342629
++-assoc : cast eq ((xs ++ ys) ++ zs) ≡ xs ++ (ys ++ zs)
26352630
++-identityʳ : cast eq (xs ++ []) ≡ xs
26362631
init-reverse : init ∘ reverse ≗ reverse ∘ tail

src/Data/Vec/Properties.agda

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,6 @@ private
6767

6868
-- See also Data.Vec.Properties.WithK.[]=-irrelevant.
6969

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-
8570
------------------------------------------------------------------------
8671
-- take
8772

0 commit comments

Comments
 (0)