Documentation

Lean.Meta.Tactic.BVDecide.Prover.Cegar.Subsolver

This file implements a subsolver that is capable of incrementally processing QF_BV queries with pre-processing and incremental bitblasting. The solver is explicitly itself not a CEGAR loop with support for other theories but instead supposed to be used as a building block for other theories.

An incremental bitvector subsolver with a classic SMT push/pop/solve API. Supports incremental pre-processing and bitblasting but no theories beyond bitvectors.

  • reifyState : State

    Incremental reification state.

  • preProcessState : Grind.BVDecide.Caches

    Incremental caches for the rewrites in the pre-processor.

  • Incremental BitVEc solver state, this tracks the assumption levels.

  • mvar : MVarId

    The goal we are operating in.

  • General bv_decide configuration.

Instances For
    def Lean.Meta.Tactic.BVDecide.Cegar.Subsolver.new (ctx : TacticContext) (mvar : MVarId) (reifyState : State := { }) (trackFunAtoms : Bool := false) :

    Create a new subsolver. If trackFunAtoms is set, reification registers UF atoms in the funState of the reification state as usual, but the subsolver still treats them as plain atoms.

    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
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Reify hypotheses hyps that are already in bv_decide normal form without asserting them.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Push a new assertion level of reflected expressions onto the assertion stack. Note that these assertions must have been reified in the reification context of this subsolver.

            Equations
            Instances For

              Push a new assertion level of bv_decide normalized hypotheses onto the assertion stack, skipping the pre-processor.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Push a new assertion level of hypotheses onto the assertion stack, pre-processing them in the process.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  Check whether the currently pushed assumptions are UNSAT (.ok ()) or SAT (.error model) incrementally.

                  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.Meta.Tactic.BVDecide.Cegar.SubsolverT.run {σ : Type} {m : Type → Type} [STWorld σ m] [Monad m] [MonadLiftT Sym.SymM m] [MonadLiftT (ST σ) m] {α : Type} (ctx : TacticContext) (mvar : MVarId) (x : SubsolverT m α) (reifyState : State := { }) (trackFunAtoms : Bool := false) :
                      m α
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For