Skip to content

Commit

Permalink
Remove selector properties in group 1
Browse files Browse the repository at this point in the history
  • Loading branch information
shhyou committed Aug 16, 2023
1 parent 5ceb5fd commit 7d0f580
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2626,11 +2626,6 @@ Other minor changes
lookup-cast₂ : lookup xs (Fin.cast eq i) ≡ lookup (cast (sym eq) xs) i
cast-reverse : cast eq ∘ reverse ≗ reverse ∘ cast eq
head-singleton : head ≗ last {n = zero}
head-init : head ∘ init ≗ head
last-tail : last ∘ tail ≗ last
init-tail : init ∘ tail ≗ tail ∘ init
++-assoc : cast eq ((xs ++ ys) ++ zs) ≡ xs ++ (ys ++ zs)
++-identityʳ : cast eq (xs ++ []) ≡ xs
init-reverse : init ∘ reverse ≗ reverse ∘ tail
Expand Down
15 changes: 0 additions & 15 deletions src/Data/Vec/Properties.agda
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,6 @@ private

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

------------------------------------------------------------------------
-- selectors: head, tail, init and last

head-singleton : head ≗ last {A = A} {n = zero}
head-singleton (x ∷ []) = refl

head-init : head ∘ init ≗ head {A = A} {n = suc n}
head-init (x ∷ xs) = refl

last-tail : last ∘ tail ≗ last {A = A} {n = suc n}
last-tail (x ∷ xs) = refl

init-tail : init ∘ tail ≗ tail ∘ init {A = A} {n = suc n}
init-tail (x ∷ xs) = refl

------------------------------------------------------------------------
-- take

Expand Down

0 comments on commit 7d0f580

Please sign in to comment.