Provides the logic for generating auxiliary lemmas during reification.
def Lean.Meta.Tactic.BVDecide.addCondLemmas (discr : ReifiedBVLogical) (atom lhs rhs : ReifiedBVExpr) (discrExpr atomExpr lhsExpr rhsExpr : Expr) :
This function adds the two lemmas:
discrExpr = true → atomExpr = lhsExprdiscrExpr = false → atomExpr = rhsExprIt assumes thatdiscrExpr,lhsExprandrhsExprare the expressions corresponding todiscr,lhsandrhs. Furthermore it assumes thatatomExpris of the formbif discrExpr then lhsExpr else rhsExpr.
Equations
- One or more equations did not get rendered due to their size.