Documentation

Lean.Meta.Tactic.BVDecide.EPR.PolarityVisitor

This module implements a generic visitor function for inspecting the atoms of EPR problems together with polarity information.

@[specialize #[]]
def Lean.Meta.Tactic.BVDecide.EPR.PolarityVisitor.visitProp {m : Type → Type} [Monad m] {σ : Type} [STWorld σ m] [MonadLiftT (ST σ) m] (e : Expr) (f : Expr → Bool → m Unit) :

Calls f at every atom of the EPR expression e, together with polarity information about that atom. The function does not visit the same (atom, pol) pair twice even if it occurs twice in the problem.

Equations
Instances For
    @[specialize #[]]
    def Lean.Meta.Tactic.BVDecide.EPR.PolarityVisitor.visitBool {m : Type → Type} [Monad m] {σ : Type} [STWorld σ m] [MonadLiftT (ST σ) m] (e : Expr) (f : Expr → Bool → m Unit) :

    Calls f at every atom of the Bool expression e, together with polarity information about that atom. e is expected to be in bv_normalize normal form. The function does not visit the same (atom, pol) pair twice even if it occurs twice in the problem.

    Equations
    Instances For