e6c06a5c81
pass the subject quantity through equality etc
...
in preparation for non-linear η laws
2023-09-18 21:53:38 +02:00
b85dcb5402
η for box
...
fixes #27
2023-09-17 19:11:12 +02:00
a221380d61
more effect stuff, incl. ST
2023-08-25 18:59:54 +02:00
4b6b3853a1
make uses of eff more consistent
2023-08-24 19:55:57 +02:00
42aa07c9c8
crude but effective stratification
2023-05-21 20:34:05 +02:00
d5f4a012c5
add source locations to inner syntax
2023-05-02 03:06:25 +02:00
30fa93ab4e
refactor core syntax slightly to derive Eq/Show
...
add a new `WithSubst tm env to` record that packages a `tm from`
with a `Subst env from to`, and write instances for just that. the
rest of the AST can be derived
2023-04-27 21:37:20 +02:00
b666bc20cf
do scope checking in FromParser where it belongs
2023-04-18 22:55:23 +02:00
4578b30c79
namespaces work now
2023-04-18 00:10:53 +02:00
ba2818a865
remove IsQty interface
2023-04-01 19:16:43 +02:00
a17752f31c
fix up tests
2023-03-31 23:43:25 +02:00
8a9b4c23dd
box type
2023-03-31 19:26:24 +02:00
37dd1ee76d
a few tests
2023-03-27 00:08:48 +02:00
5df2a4538c
more tests
2023-03-26 16:15:19 +02:00
5053e9b234
remove inject stuff
...
injecting from m to (n+m) is just id ::: id ::: ... ::: shift n.
specifically, injecting from 0 is just the shift. so.
2023-03-25 22:44:30 +01:00
60079d9eb9
update for tap update
2023-03-25 20:42:44 +01:00
6dc7177be5
use NContext/SnocVect for scope name lists etc
2023-03-16 18:18:49 +01:00
32f38238ef
pretty printing errors
2023-03-15 15:54:51 +01:00
86d21caf24
put names into contexts, and contexts into errors
2023-03-14 16:04:41 +01:00
7f46537cbc
"abstract" ⇒ "postulate"
...
abstracts still have a body, just not always visible. which i will deal
with Later
2023-03-13 19:31:05 +01:00
b7acf39c39
remove universe type
2023-03-05 16:48:29 +01:00
f6bc8cad1f
add some dim app tests
2023-03-05 12:18:15 +01:00
edeee68cb7
parser
2023-03-04 21:35:09 +01:00
55cdb19a4c
replace ⇒ with . in lambdas, etc
...
also remove some weird duplication in the tests
2023-02-26 11:16:29 +01:00
4b284d6e01
rename λᴰ to δ
...
sorry fen
2023-02-25 19:14:11 +01:00
302de6266e
nicer constructors for ASTs
2023-02-25 15:26:11 +01:00
0e481a8098
new representation for scopes
2023-02-22 07:40:19 +01:00
858b5db530
check for 0=1 in typechecker
2023-02-19 17:51:44 +01:00
bee6eeacdf
pass a TyContext
into equal
etc, rather than its components
2023-02-14 22:28:10 +01:00
a6f43a772e
more equality & tests
2023-02-12 21:30:08 +01:00
7d2c3b5a8e
more typed equality, uip, etc
2023-02-11 18:15:50 +01:00
42798f243f
typed equality
2023-02-10 21:52:40 +01:00
4b36d8b7c8
pair stuff
2023-01-26 19:55:08 +01:00
92617a2e4a
whnf actually reduces to whnf now (probably)
2023-01-23 03:02:55 +01:00
f097e1c091
start of equality type stuff
2023-01-21 02:34:28 +01:00
d8df40ab39
β↘↙ test
2023-01-08 21:46:42 +01:00
c45a963ba0
parameterise over qty semiring
2023-01-08 20:44:25 +01:00
961c8415b5
a skipped η test
2023-01-08 15:44:29 +01:00
28eb99c091
style tweaks
2023-01-08 15:44:20 +01:00
8a55cc9581
unfold definitions in equality checking, plus cleanup
2022-08-23 05:43:23 +02:00
bc9344c6ba
some reduction tests & fixes
2022-05-25 16:10:19 +02:00
89f9793143
equality tests
2022-05-09 18:31:43 +02:00
5b1dab24f2
𝒰 → ★
2022-05-09 04:30:37 +02:00
8a955eebb3
some equality tests
2022-05-08 20:02:57 +02:00
804f1e3638
remove src directories
2022-05-06 22:01:44 +02:00
9ae0e36a65
time for sirdi
2022-05-02 20:51:19 +02:00
1eace0039e
a few tests
2022-04-27 20:06:39 +02:00