Documentation

Pdl.LocalAll

Generating all Local Tableaux #

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

Equations
Instances For
    theorem LoadRule.the_spec {χ : LoadFormula} {ress : List (List Formula × Option NegLoadFormula)} (lor : LoadRule (~'χ) ress) :
    some ress, lor = the (~'χ)
    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
      theorem LocalRule.all_spec {L : Sequent} {B : List Sequent} (lr : LocalRule L B) :
      B, lr all L

      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_X (X : Sequent) (lra : LocalRuleApp) :
        lra all Xlra.X = X
        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