Commit graph

90 commits

Author SHA1 Message Date
9e76bcc765 check quantites of subject and global
- subj qty must be 0 or 1 (atkey)
- global must not be 0 if used at non-0
2022-04-27 22:57:56 +02:00
468c3a4c6a grtt -> qtt 2022-04-27 21:58:09 +02:00
1eace0039e a few tests 2022-04-27 20:06:39 +02:00
6bffd6a11c add converse υ rule for elim
i think this just means type preservation is modulo subtyping. which is
probably fine....?
2022-04-27 20:04:29 +02:00
bcd4544692 Show Quox.Equal.Mode 2022-04-27 14:56:39 +02:00
7629404097 reexport Data.List.Elem from Quox.Error
the constructors need to be in scope for auto to use them
2022-04-27 14:55:19 +02:00
d28366c90b add TAP framework. if you could call it that 2022-04-26 19:18:30 +02:00
5ea7880e38 typechecker stuff 2022-04-24 00:21:30 +02:00
56ddd59fb4 make lteZero' and lteSucc' into hints 2022-04-12 16:48:23 +02:00
de6ec78e23 add Tighten Term etc 2022-04-12 13:31:46 +02:00
67d8c59cd1 make tighten into an interface 2022-04-11 23:36:01 +02:00
7faca8ac27 use Subset instead of relevant product 2022-04-11 23:34:28 +02:00
d912614d7d fiddling 2022-04-11 23:34:18 +02:00
25f4923fac merge duplicate Nat LTE' 2022-04-11 23:33:32 +02:00
2446655b08 move BannerOpts to PrettyOpts 2022-04-11 21:58:33 +02:00
9088ec02a0 make syntax cyan not blue 2022-04-11 14:09:48 +02:00
13b173322b %inline, etc 2022-04-09 18:55:08 +02:00
46b29b8e72 more ScopeTerm stuff 2022-04-09 18:54:47 +02:00
4722e144a3 add ScopeTerm 2022-04-09 15:31:22 +02:00
38260d3838 producing a proof in TC is not worth it 2022-04-08 03:47:53 +02:00
ce9d55becc fix a warning 2022-04-08 00:14:05 +02:00
e6d942ce1b add Dim.toConst 2022-04-06 20:33:00 +02:00
2c1ca7e19b improve equality somewhat 2022-04-06 20:33:00 +02:00
071704076e add start of Quox.Equal 2022-02-27 02:18:16 +01:00
362c9354cf add Var.tighten* 2022-02-27 02:17:51 +01:00
ddba87262d add Injective instances, etc 2022-02-27 02:17:42 +01:00
6cb862033a add Quox.OPE 2022-02-27 02:17:09 +01:00
8248f8ed82 remove some implicits that can now be inferred 2022-02-27 02:06:52 +01:00
3722c769cf add some properties of Var.Compare 2022-02-27 01:50:01 +01:00
c653fcb664 more formatting stuff 2022-02-27 01:49:42 +01:00
e264a18e21 i found an issue about that 0 bug 2022-02-27 01:48:37 +01:00
7d821b20ef add %inline to some instances 2022-02-27 01:47:55 +01:00
76c02adf03 add Subst.one 2022-02-27 01:47:25 +01:00
3ea9db1c82 export bodies of CanShift instances and rename Compose to Map 2022-02-27 01:47:25 +01:00
d8f869d6df some DimEqs properties 2022-02-27 01:47:25 +01:00
7ea494c3cd add some whnf stuff 2022-02-27 01:47:25 +01:00
9b260529c8 add casts to Integer for Var & Shift 2022-02-27 01:36:08 +01:00
610b5fde2d add DimEqs.get etc 2022-02-27 01:33:52 +01:00
8006ae4c40 add DimEqs.zeroEq 2022-02-27 01:31:52 +01:00
d52d1c3181 add %inlines 2022-02-27 01:30:23 +01:00
bc3230e000 rename Error.inj to one 2022-02-27 01:28:49 +01:00
9bd02d185a add Context.pure 2022-02-27 01:28:36 +01:00
762ef780af formatting etc 2022-02-27 01:28:19 +01:00
3efff3e96d rewrite Context.(!!) 2022-02-27 01:22:05 +01:00
88338050fc start of type stuff 2021-12-23 19:05:50 +01:00
f363dc3122 add DimEq 2021-12-23 19:05:00 +01:00
730cedc4c0 wap quantities in pi to match grtt 2021-12-23 19:03:37 +01:00
b5cfc7b23b add pushSubsts' to just have the term without proof 2021-12-23 19:03:04 +01:00
568dba6f0b CanShift Dim 2021-12-23 19:01:39 +01:00
a11e4d5ef1 add LT/LTE for vars 2021-12-23 19:01:24 +01:00