This module provides the implementation of the bv_decide
frontend itself.
def
Lean.Elab.Tactic.BVDecide.Frontend.reconstructCounterExample
(var2Cnf : Std.HashMap Std.Tactic.BVDecide.BVBit Nat)
(assignment : Array (Bool × Nat))
(aigSize : Nat)
(atomsAssignment : Std.HashMap Nat Lean.Expr)
:
Given:
var2Cnf
: The mapping from AIG to CNF variables.assignments
: A model for the CNF as provided by a SAT solver.aigSize
: The amount of nodes in the AIG that was used to produce the CNF.atomsAssignment
: The mapping of the reflection monad from atom indices toExpr
.
Reconstruct bit by bit which value expression must have had which BitVec
value and return all
expression - pair values.
Equations
- One or more equations did not get rendered due to their size.
Instances For
- proof : Lean.Expr
- lratCert : Lean.Elab.Tactic.BVDecide.Frontend.LratCert
Instances For
@[reducible, inline]
Equations
Instances For
def
Lean.Elab.Tactic.BVDecide.Frontend.lratBitblaster
(cfg : Lean.Elab.Tactic.BVDecide.Frontend.TacticContext)
(bv : Std.Tactic.BVDecide.BVLogicalExpr)
(atomsAssignment : Std.HashMap Nat Lean.Expr)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.Tactic.BVDecide.Frontend.closeWithBVReflection
(g : Lean.MVarId)
(unsatProver : Lean.Elab.Tactic.BVDecide.Frontend.UnsatProver)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.Tactic.BVDecide.Frontend.bvUnsat
(g : Lean.MVarId)
(cfg : Lean.Elab.Tactic.BVDecide.Frontend.TacticContext)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
- simpTrace : Lean.Meta.Simp.Stats
Instances For
def
Lean.Elab.Tactic.BVDecide.Frontend.bvDecide
(g : Lean.MVarId)
(cfg : Lean.Elab.Tactic.BVDecide.Frontend.TacticContext)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.