Commit 4777c4b
authored
Replace export_rewrites with simp where possible (#1264)
There are a few things worth pointing out:
1. I've slightly restructured some new_specification calls. In particular, I
factored out the proof into a local theorem, and more importantly, I factored
out the string name into a variable (see clFFIScript.sml). The motivation for
the latter was to ultimately ban `export_rewrites["`, but it turns out that
there are still good uses for this (for example when adding definitions/theorems
from other theories to the simpset). Arguably, it gets rid of some duplication,
which is why I haven't reverted it.
2. I've adjusted various tutorial files to use simp tags, since presumably we
want newcomers to be exposed to that. simple_bstScript.sml still mentions what
it desugars to at some point, so it should be fine.
3. I deleted astPropsScript.sml -- there was a TODO that said to do it, and it
also had commented out export_rewrites.1 parent 78ebb35 commit 4777c4b
File tree
64 files changed
+346
-524
lines changed- basis
- pure
- candle
- overloading
- monadic
- semantics
- syntax
- standard
- monadic
- semantics
- syntax
- syntax-lib
- characteristic
- compiler
- backend
- proofs
- reg_alloc
- semantics
- inference
- proofs
- parsing
- examples/flover
- Infra
- semantics
- misc
- semantics/proofs
- tutorial
- solutions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
64 files changed
+346
-524
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | | - | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | | - | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
295 | 294 | | |
296 | | - | |
| 295 | + | |
297 | 296 | | |
298 | 297 | | |
299 | | - | |
300 | 298 | | |
301 | 299 | | |
302 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
390 | 398 | | |
391 | 399 | | |
392 | 400 | | |
| |||
397 | 405 | | |
398 | 406 | | |
399 | 407 | | |
400 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 54 | + | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
61 | | - | |
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
| |||
1369 | 1366 | | |
1370 | 1367 | | |
1371 | 1368 | | |
1372 | | - | |
| 1369 | + | |
1373 | 1370 | | |
1374 | 1371 | | |
1375 | 1372 | | |
1376 | 1373 | | |
1377 | 1374 | | |
1378 | 1375 | | |
1379 | | - | |
1380 | 1376 | | |
1381 | | - | |
| 1377 | + | |
1382 | 1378 | | |
1383 | 1379 | | |
1384 | 1380 | | |
1385 | 1381 | | |
1386 | 1382 | | |
1387 | 1383 | | |
1388 | | - | |
1389 | 1384 | | |
1390 | 1385 | | |
1391 | 1386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4248 | 4248 | | |
4249 | 4249 | | |
4250 | 4250 | | |
4251 | | - | |
| 4251 | + | |
4252 | 4252 | | |
4253 | 4253 | | |
4254 | 4254 | | |
4255 | 4255 | | |
4256 | | - | |
4257 | 4256 | | |
4258 | 4257 | | |
4259 | 4258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| |||
0 commit comments