Commit graph

20 commits

Author SHA1 Message Date
f959dc28fe add Functor etc for IfConsistent 2023-02-20 21:38:47 +01:00
85a55f8123 wrap type errors in extra context 2023-02-19 17:54:39 +01:00
858b5db530 check for 0=1 in typechecker 2023-02-19 17:51:44 +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
bee6eeacdf pass a TyContext into equal etc, rather than its components 2023-02-14 22:28:10 +01:00
065ebedf2d use DimEq directly in typing context 2023-02-14 21:29:04 +01:00
c40e6a60ff remove input qctx since it isn't used 2023-02-14 21:14:47 +01:00
534e0d2270 return () from check0
since it always returns 𝟎 anyway
2023-02-13 22:06:03 +01:00
fe8c224299 write quantities before names in binders again
also fixup comments in typechecker
2023-02-13 22:05:27 +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
84e524c978 make typechecker actually pass the dimeq to subT
also erase some length arguments
2023-01-09 19:03:21 +01:00
c45a963ba0 parameterise over qty semiring 2023-01-08 20:44:25 +01:00
9dbd0b066c AnyTerm.(.def) => (.get) 2023-01-08 15:07:01 +01:00
8a55cc9581 unfold definitions in equality checking, plus cleanup 2022-08-23 05:43:23 +02:00
804f1e3638 remove src directories 2022-05-06 22:01:44 +02:00
Renamed from lib/src/Quox/Typechecker.idr (Browse further)