Skip to content

v0.55.0

Choose a tag to compare

@gmpassos gmpassos released this 02 Dec 01:52
· 12 commits to main since this release
d92171f

Hand-written proofs over mutual types, without Lean. The forests example's
tactic module, whose proofs call each other, is now proved by ProofLang's
kernel: the example has all 16 obligations native (11 in 0.53.0), as
well as with Lean and strictly offline.

  • match x with | .c names => … in a by: block, on a project
    inductive type, runs natively as cases with those alternatives (a
    mutual type's recursor given λ _, True for the block's other types). A
    match on anything else goes to the prover, as before.
  • A mutual group of by: blocks (each match x with over its
    theorem's variable) is proved by the block recursor: the group's
    statements are its motives, and each constructor case is the arm of its
    theorem's match for that constructor, run under the fields as the arm
    names them. In an arm, a call of a theorem of the group on a field
    (have ih := sizeF_doubleF f) is that field's induction hypothesis; any
    other mention of a theorem of the group leaves it to Lean, since it
    would cite what is being proved. Lean's code is unchanged (the blocks,
    in their mutual … end).