Skip to main content

theorem_proof_exprs

Function theorem_proof_exprs 

Source
pub fn theorem_proof_exprs(
    input: &str,
) -> Result<(Vec<ProofExpr>, ProofExpr), ParseError>
Expand description

Parse a ## Theorem: block and convert its premises and goal to ProofExprs — the shared front half of verify_theorem and check_theorem_smt. Parse a ## Theorem document and convert its premises and goal to ProofExpr. Public so a puzzle solver can obtain the parsed-FOL premises (the Given clues/declarations) and feed them to the entailment oracle.