Commit 9fca9dc
authored
Some lemmata for lists and non-empty lists (#2730)
* [add]: map-id for Data.List.NonEmpty
* [changelog]: map-id for Data.List.NonEmpty
* [add]: some lemmata for ⁺++⁺ of Data.List.NonEmpty
* [changelog]: some lemmata for ⁺++⁺
* [add]: ∷→∷⁺ and ∷⁺→∷
* [changelog]: ∷→∷⁺ and ∷⁺→∷
* [add]: ⁺++⁺-assoc for Data.List.NonEmpty
* [changelog]: ⁺++⁺-assoc for Data.List.NonEmpty
* [add]: ⁺++⁺-cancelˡ for Data.List.Empty
* [changelog]: ⁺++⁺-cancelˡ for Data.List.Empty
* [add]: ⁺++⁺-cancelʳ for Data.List.Empty
* [changelog]: ⁺++⁺-cancelʳ for Data.List.Empty
* [add]: ⁺++⁺-cancel for Data.List.NonEmpty
* [changelog]: ⁺++⁺-cancel for Data.List.NonEmpty
* [add]: map-⁺++⁺
* [changelog]: map-⁺++⁺
* [changelog] remove implicit args in List.NonEmpty
* [changelog]: style adaptions for List.NonEmpty
* [add]: length-++-≤ in Data.List.Properties
* [changelog]: length-++-≤ in Data.List.Properties
* [refactor] avoid rewrite in length-⁺++⁺-≤
* [add]: length-++-sucˡ, length-++-sucʳ
* [changelog]: length-++-sucˡ, length-++-sucʳ
* [refactor]: rename length-++-≤ to length-++-≤ˡ
* [refactor]: anon. modules Data.List.Properties
separates the anonymous module for algebraic definitions and structures
around _++_ into two modules
* [refactor]: move length-++ theorems
moves these theorems below the theorems on the algebraic properties of
_++_ so that we can later reuse them for further symmetric theorems
* [add]: length-++-comm
* [changelog]: length-++-comm
* [add]: length-++-≤ʳ
* [changelog]: length-++-≤ʳ
* [add]: length-⁺++⁺-≤ʳ
* [changelog]: length-⁺++⁺-≤ʳ
* [add]: length-⁺++⁺-comm
* [changelog]: length-⁺++⁺-comm1 parent 32f786e commit 9fca9dc
File tree
3 files changed
+123
-4
lines changed- src/Data/List
- NonEmpty
3 files changed
+123
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
267 | 272 | | |
268 | 273 | | |
269 | 274 | | |
| |||
280 | 285 | | |
281 | 286 | | |
282 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
283 | 306 | | |
284 | 307 | | |
285 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | | - | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
72 | 125 | | |
73 | 126 | | |
74 | 127 | | |
| |||
118 | 171 | | |
119 | 172 | | |
120 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
121 | 177 | | |
122 | 178 | | |
123 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
| |||
190 | 189 | | |
191 | 190 | | |
192 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
193 | 233 | | |
194 | 234 | | |
195 | 235 | | |
| |||
0 commit comments