Commit graph

27 commits

Author SHA1 Message Date
4c008577b4 wip make qtys into polynomials 2024-05-27 21:32:48 +02:00
103f019dbd move NDefinition to Quox.Definition and add an untyped one 2024-02-10 10:14:22 +01:00
050346e344 add postulate, #[compile-scheme], #[main] 2023-11-03 18:05:54 +01:00
b6fd1e921e pretty printing improvements 2023-11-03 18:05:54 +01:00
0c1df54d62 improve handling of context lengths 2023-11-03 18:05:54 +01:00
2e9183bc14 add prettyDef 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
6f9d31aa0a add displacement to Definition 2023-08-28 19:59:36 +02:00
fa09aaf228 squash warnings 2023-06-23 18:32:05 +02:00
d5f4a012c5 add source locations to inner syntax 2023-05-02 03:06:25 +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
36609713ac mtl ⇒ eff 2023-03-31 19:26:24 +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
765c62866a more FromParser 2023-03-13 19:33:09 +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
7895fa37e5 Q.S.T.Reduce ⇒ Q.Reduce and make it use Definition directly 2023-02-19 18:54:59 +01:00
a6f43a772e more equality & tests 2023-02-12 21:30:08 +01:00
42798f243f typed equality 2023-02-10 21:52:40 +01:00
92617a2e4a whnf actually reduces to whnf now (probably) 2023-01-23 03:02:55 +01:00
8acc3aeadf visibility fix 2023-01-21 01:41:30 +01:00
8a2eea22fb make Definitions.isZero a predicate 2023-01-21 01:41:21 +01:00
c45a963ba0 parameterise over qty semiring 2023-01-08 20:44:25 +01:00
28eb99c091 style tweaks 2023-01-08 15:44:20 +01:00
9dbd0b066c AnyTerm.(.def) => (.get) 2023-01-08 15:07:01 +01:00
44778825c2 add Definitions module 2022-08-22 10:29:58 +02:00