This module contains the logic around writing proofs of UNSAT, using LRAT proofs, as meta code.
The context for the bv_decide
tactic.
- exprDef : Name
- certDef : Name
- reflectionDef : Name
- solver : System.FilePath
- lratPath : System.FilePath
- config : BVDecideConfig
def
Lean.Elab.Tactic.BVDecide.Frontend.TacticContext.new
(lratPath : System.FilePath)
(config : BVDecideConfig)
:
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
@[reducible, inline]
An LRAT proof read from a file. This will get parsed using ofReduceBool.
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.Tactic.BVDecide.Frontend.LratCert.load
(lratPath : System.FilePath)
(trimProofs : Bool)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.Tactic.BVDecide.Frontend.LratCert.ofFile
(lratPath : System.FilePath)
(trimProofs : Bool)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.Tactic.BVDecide.Frontend.runExternal
(cnf : Std.Sat.CNF Nat)
(solver lratPath : System.FilePath)
(trimProofs : Bool)
(timeout : Nat)
(binaryProofs : Bool)
:
Run an external SAT solver on the CNF
to obtain an LRAT proof.
This will obtain an LratCert
if the formula is UNSAT and throw errors otherwise.
Equations
- One or more equations did not get rendered due to their size.