Commit a8ecdb3
feat(Data/Seq): structural lemmas (leanprover-community#19859)
* Add several theorems about `Stream'.Seq`, mainly on sequence operations with `nil` and `cons`.
* Introduce the `fold` operation for sequences and prove a few structural lemmas about it.
* Rename `Seq.destruct_eq_nil` as `Seq.destruct_eq_none`.1 parent 6bd2bde commit a8ecdb3
2 files changed
Lines changed: 257 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments