Commit graph

8 commits

Author SHA1 Message Date
Simon Cruanes
dd66efb772
feat(term): add App_uncurried constructor
sometimes currying is really costly. For example, in boolean formulas,
the formula `/\_i=1^100 a_i` has 100 atoms as subterms, but if
represented curried with binary `/\` it also has 98 intermediate
conjunctions as subterms. With how the rest of sidekick works, this
means each of these gets its own atom and CNF; instead we're going to
use App_uncurried.
2022-08-22 22:12:27 -04:00
Simon Cruanes
0c658e3ee4
feat(term): add replace 2022-08-18 22:01:41 -04:00
Simon Cruanes
67d5f244c1
feat(Term): offer is_type and is_a_type 2022-08-10 22:41:26 -04:00
Simon Cruanes
8777682e07
detail in core_logic 2022-08-10 22:08:33 -04:00
Simon Cruanes
68c03a39b3
feat(core-logic): add a few builtins (=, bool, ite, not, true, false) 2022-07-28 20:50:12 -04:00
Simon Cruanes
a4db8b6e94
small improvement 2022-07-28 15:27:14 -04:00
Simon Cruanes
bfa434562e
fix(core-logic/term): make ty unfailing; fix DB bugs 2022-07-28 14:51:24 -04:00
Simon Cruanes
6f376cfaf2
refactor: rename core-ast to core-logic; split into modules 2022-07-28 13:54:38 -04:00