Skip to content

Commit c5ff1a7

Browse files
committed
Update CHANGELOG
1 parent eb9a5df commit c5ff1a7

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2617,14 +2617,30 @@ Other minor changes
26172617
26182618
transpose-replicate : transpose (replicate xs) ≡ map replicate xs
26192619
2620-
toList-cast : toList (cast eq xs) ≡ toList xs
26212620
cast-is-id : cast eq xs ≡ xs
26222621
subst-is-cast : subst (Vec A) eq xs ≡ cast eq xs
26232622
cast-trans : cast eq₂ (cast eq₁ xs) ≡ cast (trans eq₁ eq₂) xs
26242623
map-cast : map f (cast eq xs) ≡ cast eq (map f xs)
26252624
lookup-cast : lookup (cast eq xs) (Fin.cast eq i) ≡ lookup xs i
26262625
lookup-cast₁ : lookup (cast eq xs) i ≡ lookup xs (Fin.cast (sym eq) i)
26272626
lookup-cast₂ : lookup xs (Fin.cast eq i) ≡ lookup (cast (sym eq) xs) i
2627+
cast-reverse : cast eq ∘ reverse ≗ reverse ∘ cast eq
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+
++-assoc : cast eq ((xs ++ ys) ++ zs) ≡ xs ++ (ys ++ zs)
2635+
++-identityʳ : cast eq xs ≡ xs ++ []
2636+
init-reverse : init ∘ reverse ≗ reverse ∘ tail
2637+
last-reverse : last ∘ reverse ≗ head
2638+
reverse-++ : cast eq (reverse (xs ++ ys)) ≡ reverse ys ++ reverse xs
2639+
2640+
toList-cast : toList (cast eq xs) ≡ toList xs
2641+
cast-fromList : cast _ (fromList xs) ≡ fromList ys
2642+
fromList-map : cast _ (fromList (List.map f xs)) ≡ map f (fromList xs)
2643+
fromList-++ : cast _ (fromList (xs List.++ ys)) ≡ fromList xs ++ fromList ys
26282644
```
26292645

26302646
* Added new proofs in `Data.Vec.Functional.Properties`:

0 commit comments

Comments
 (0)