Commit 51e06a7
[ new ]
* [ new ] Fin n as a refinement
This version has a better runtime representation
This version lets us have efficient implementations of
things like splitAt and quotRem
* ASCII-fy
Co-authored-by: jamesmckinna <31931406+jamesmckinna@users.noreply.github.com>
* Rename `nonZero`
Co-authored-by: jamesmckinna <31931406+jamesmckinna@users.noreply.github.com>
* [ fix ] move lemma to Data.Nat.Properties
* [ cosmetic ] use idiom brackets
* Simplify opposite
Co-authored-by: jamesmckinna <31931406+jamesmckinna@users.noreply.github.com>
* [ cleanup ] gadget to convert irrelevant-domains
* [ james ] rename unview -> view⁻¹
* [ james ] More descriptive CHANGELOG entry
Co-authored-by: jamesmckinna <31931406+jamesmckinna@users.noreply.github.com>
* [ tmp ] merging James' punch* functions
Co-authored-by: jamesmckinna <31931406+jamesmckinna@users.noreply.github.com>
* [ cleanup ] avoid recompute, rebuilding (T (i < j))
---------
Co-authored-by: jamesmckinna <31931406+jamesmckinna@users.noreply.github.com>Fin n as a refinement (#2975)1 parent b52ddca commit 51e06a7
6 files changed
Lines changed: 416 additions & 3 deletions
File tree
- src
- Data
- Bool
- Fin
- Nat
- Bounded
- Function
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
137 | 142 | | |
138 | 143 | | |
139 | 144 | | |
| |||
181 | 186 | | |
182 | 187 | | |
183 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
184 | 194 | | |
185 | 195 | | |
186 | 196 | | |
| |||
296 | 306 | | |
297 | 307 | | |
298 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
299 | 315 | | |
300 | 316 | | |
301 | 317 | | |
| |||
410 | 426 | | |
411 | 427 | | |
412 | 428 | | |
| 429 | + | |
413 | 430 | | |
414 | 431 | | |
415 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
838 | 842 | | |
839 | 843 | | |
840 | 844 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
57 | 68 | | |
58 | 69 | | |
59 | 70 | | |
| |||
77 | 88 | | |
78 | 89 | | |
79 | 90 | | |
80 | | - | |
| 91 | + | |
81 | 92 | | |
82 | 93 | | |
83 | 94 | | |
| |||
91 | 102 | | |
92 | 103 | | |
93 | 104 | | |
| 105 | + | |
94 | 106 | | |
95 | 107 | | |
96 | 108 | | |
| |||
0 commit comments