52e54dcc3c
add PrettyVal stuff for parser AST
2023-11-03 18:05:54 +01:00
e6c06a5c81
pass the subject quantity through equality etc
...
in preparation for non-linear η laws
2023-09-18 21:53:38 +02:00
7b93a913c7
rewrite pretty printer
2023-05-15 17:13:14 +02:00
f6abf084b3
qty lub is total actually (usually ω)
2023-05-12 17:28:29 +02:00
682965eebd
0∨1 is not undefined it's ω
2023-04-17 21:42:33 +02:00
ba2818a865
remove IsQty interface
2023-04-01 19:16:43 +02:00
15f6f4c8a4
fix nat elim quantities
2023-04-01 16:01:53 +02:00
773f6372ea
quantities in case don't need to be *exactly* the same
...
...as long as they are all compatible with the target.
for example, given ω.n : ℕ:
```
case double_it? return ℕ of {
'true ⇒ plus n n;
'false ⇒ n
}
```
2023-03-27 00:01:32 +02:00
8f0f0c1891
"1.(x: A) → B" instead of "(1.x: A) → B"
...
also "1.A → B"
2023-03-18 23:27:27 +01:00
f2272da4b4
replace '≔' and '·' with '=' and (only) '.'
2023-03-18 02:43:58 +01:00
f5fa63a6df
some pretty printing tests
2023-03-16 18:19:17 +01:00
765c62866a
more FromParser
2023-03-13 19:33:09 +01:00
810de09f61
zeroIsSubj/zeroIsGlobal work on all zeroes
2023-02-19 17:42:11 +01:00
e375d008e5
comments etc
2023-02-19 17:04:57 +01:00
fe8c224299
write quantities before names in binders again
...
also fixup comments in typechecker
2023-02-13 22:05:27 +01:00
4b36d8b7c8
pair stuff
2023-01-26 19:55:08 +01:00
82795e9976
remove IsOne stuff; add timesSubj
2023-01-09 23:43:55 +01:00
28055c0f39
add Decidable-related stuff
2023-01-09 23:43:23 +01:00
c45a963ba0
parameterise over qty semiring
2023-01-08 20:44:25 +01:00
6dd18d89bd
Uninhabited instances
2022-08-22 10:07:46 +02:00
804f1e3638
remove src directories
2022-05-06 22:01:44 +02:00