Closed kris-brown closed 11 months ago
Patch coverage: 95.06%
and project coverage change: +0.90%
:tada:
Comparison is base (
7a20340
) 95.64% compared to head (65a34fa
) 96.55%. Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Some initial work for theory morphism support.
The key features now are
@theorymap
macro, the pushing forward of terms along theory morphisms and the modelGATC
(forThCategory
) of GATs and GAT morphisms. Additionally thestdlib
now has a file for standard theory morphisms, such asswap: ThMonoid -> ThMonoid
, interpreting preorders as categories and interpreting the naturals + addition as a monoid.Pushing forward terms required a new struct
TermInCtx
for AlgTerms in a TypeScope as well as an implementation of type inference (TermInCtx -> AlgType
).