Documentation

Pdl.LocalAll

Generating all Local Tableaux #

Equations
  • =
Instances For

    Given a negated loaded formula, is there a LoadRule applicable to it?

    Equations
    Instances For
      def LoadRule.the_spec {χ : LoadFormula} {ress : List (List Formula × Option NegLoadFormula)} (lor : LoadRule (~'χ) ress) :
      some ress, lor = the (~'χ)
      Equations
      • =
      Instances For
        def LocalRule.all (cond : Sequent) :
        Option ((ress : List Sequent) × LocalRule cond ress)

        Given a subsequent cond to be replaced, is there an applicable local rule? Note that cond are only the principal formulas, not the whole sequent.

        Equations
        Instances For
          def LocalRule.all_spec {L : Sequent} {B : List Sequent} (lr : LocalRule L B) :
          B, lr all L
          Equations
          • =
          Instances For

            Given a sequent, return a list of all possible local rule applications.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem LocalRuleApp.all_spec (X : Sequent) (C : List Sequent) (lrA : LocalRuleApp X C) :
              C, lrA all X

              At most finitely many local rule applications lead from X and to B. Note this is weaker than "only finitely many local rules apply to X, because each B gives a different type.

              Equations
              • One or more equations did not get rendered due to their size.
              def combo {α : Type} [DecidableEq α] {q : αType} {L : List α} (f : (x : α) → x LList (q x)) :
              List ((x : α) → x Lq x)

              Convert a function returning lists into a list of functions. Helper for LocalTableau.all.

              Equations
              • One or more equations did not get rendered due to their size.
              • combo f = [fun (x : α) (x_in : x []) => .elim]
              Instances For
                theorem combo_mem_of_forall_in {α : Type} [DecidableEq α] {q : αType} {L : List α} (f : (x : α) → x LList (q x)) (g : (x : α) → x Lq x) :
                (∀ (x : α) (x_in : x L), g x x_in f x x_in)g combo f

                Characterization of members of combo result. Could be strengthened to ↔ later.

                @[irreducible]
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem LocalTableau.all_spec {X : Sequent} {ltX : LocalTableau X} :
                  ltX all X
                  Equations