Expand description
Certificate producers and independent checkers shared with the kernel rechecker.
Structs§
- CcCert
- A checkable proof that a goal’s conclusion follows from its hypotheses by congruence.
- LiaCert
- A refutation of a constraint system, as the multipliers that refute it.
Enums§
- CcStep
- One step of an equality proof.
- Certifiable
Primitive - A tactic reduction primitive a second kernel can now corroborate.
- Syn
- The object language’s four shapes, as this module reads them.
Functions§
- check_
cc - Check a congruence proof against a goal.
- check_
lia - Check a Farkas certificate against a
try_liagoal. - emit_cc
- Search for a congruence proof of
goal— UNTRUSTED. - emit_
lia - Emit a Farkas certificate for a
try_liagoal, orNonewhen the search finds none. - syn_
apply SApp f x.- syn_
binary SApp (SApp (SName op) a) b.- syn_
of_ term - Read a kernel
Termas reflected object syntax, orNoneif it is not one. - syn_
typed_ eq SApp (SApp (SApp (SName "Eq") (SName ty)) a) b— the typed equationtry_ringreads.- term_
of_ syn - The same reflected syntax as a kernel
Term, so a caller can hand the FIRST kernel exactly the goal it handed this module — which is what makes a differential between the two a differential and not two different questions. - verify_
cc try_cc goalreduces toDccSolve goal, verified from a certificate this module both produced and then checked without reference to how it was produced.- verify_
lia try_lia goalreduces toDLiaSolve goal, verified from a certificate this module both produced and then checked without reference to how it was produced.- verify_
ring try_ring goalreduces toDRingSolve goal, verified here.