Generating all Local Tableaux #
We show that for any X the type LocalTableau is finite.
This is needed to define BuildTree as a finite tree.
Helpers about Finset.fsort #
All one-sided local rules #
Transport a OneSidedLocalRule along an equality of preconditions.
Instances For
Given the sorted list of the formulas in L, is there a OneSidedLocalRule for L?
The pair case comes first so that the equations below hold by rfl.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Is there a OneSidedLocalRule applicable to L?
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
All load rules #
Given a negated loaded formula, is there a LoadRule applicable to it?
Equations
- LoadRule.the (~'⌊α⌋AnyFormula.loaded a) = if notAtom : ¬α.isAtomic then some ⟨(unfoldDiamondLoaded α a).toFinFinOpt, LoadRule.dia notAtom⟩ else none
- LoadRule.the (~'⌊α⌋AnyFormula.normal a) = if notAtom : ¬α.isAtomic then some ⟨(unfoldDiamondLoaded' α a).toFinFinOpt, LoadRule.dia' notAtom⟩ else none
Instances For
All local rules #
Helper for LocalRule.all, dealing with the two closing rules LRnegL and LRnegR.
Equations
- One or more equations did not get rendered due to their size.
Instances For
All local rule applications #
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
Termination measure for local tableaux #
Local measure of a sequent: the sum of lmOfFormula over all three components.
Equations
- lmOfSequent X = ∑ φ ∈ X.1, lmOfFormula φ + ∑ φ ∈ X.2.1, lmOfFormula φ + lmOfOlf X.2.2
Instances For
Helpers to show that local rules decrease the measure #
The measure sum over a union is at most the sum of the measure sums.
For (F,δ) ∈ Dset α the measure sum over F is at most the test measure of α.
One-sided local rules strictly decrease the measure sum.
Loaded rules strictly decrease the measure: the new formulas together with the new loaded formula have a smaller measure than the old loaded formula.
Generating all local tableaux #
Convert a function returning lists into a list of functions. Helper for LocalTableau.all.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- LocalTableau.fintype = { elems := (LocalTableau.all X).toFinset, complete := ⋯ }
Generating all Open Local Tableaux #
Equations
- One or more equations did not get rendered due to their size.