3fb8580f85
re-add tightening and use it when messing with scopes
...
e.g. "coe [_ ⇒ A] @p @q s" should immediately reduce to "s",
but if the "_ ⇒ A" happened to use an SY it didn't.
this will still happen if a wrong SY sneaks in but the alternative is
re-traversing the term over and over every time whnf runs
2023-04-17 20:56:31 +02:00
a5ccf0215a
coercions and compositions
2023-04-15 15:13:01 +02:00
a42e82c355
type-case
2023-04-03 17:46:23 +02:00
ba2818a865
remove IsQty interface
2023-04-01 19:16:43 +02:00
8a9b4c23dd
box type
2023-03-31 19:26:24 +02:00
84e1cc78cc
use a SnocVect for subN
2023-03-26 16:09:47 +02:00
9250789219
natural numbers
2023-03-26 14:40:54 +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
757ea89b0f
add definitions to parser
2023-03-06 12:04:29 +01:00
60f07a938e
move pushSubsts to Q.S.T.Subst
2023-02-26 11:17:42 +01:00
0e481a8098
new representation for scopes
2023-02-22 07:40:19 +01:00
1a7efc104e
Replace subst overloading with interfaces too (mostly)
2023-02-20 22:22:49 +01:00
42798f243f
typed equality
2023-02-10 21:52:40 +01:00
4b36d8b7c8
pair stuff
2023-01-26 19:55:08 +01:00
f0f49d9abf
ScopeTerms that can bind multiple vars
2023-01-23 03:22:50 +01:00
f097e1c091
start of equality type stuff
2023-01-21 02:34:28 +01:00
c45a963ba0
parameterise over qty semiring
2023-01-08 20:44:25 +01:00
804f1e3638
remove src directories
2022-05-06 22:01:44 +02:00