Satisfiability down the quasi-tableau, and the right half of the correctness of θ_r #
This file continues the development of Pdl.Interpolation.ClusterRho with
- Lemma 10.6: between a companion and its repeat there is a basic node,
- Lemma 10.7: if
Δ_x, ι_xis satisfiable then so isΔ_z, ι_zfor somez ∈ cycs(x), - Lemma 10.8:
Γ₂ ⊨ ¬θ_r.
Definition 10.4 (the distance d_α) and Lemma 10.5 (its properties) are in Pdl.Local.Distance.
The auxiliary notions used below — the evaluation evalQ of
Q-formulas with an assignment, the witness distance witDist, and BasicBetween — are in
Pdl.Interpolation.EvalQ.
The facts about the cluster C and the steps stepOf Δ of its quasi-tableau that are used
here are proved in Pdl.Interpolation.ClusterSatDownFacts.
Lemma 10.6 #
If x is a repeat in Q then the path from c(x) to x passes through a node with a
basic label.
The possible addresses inside a node of type 1 that is not a leaf: the node itself, its child of type 2, its grandchild of type 3, or an address inside one of the subtrees below the node of type 3.
Helper lemmas about prefixes #
Along the subtree of a node of type 1 the measure of the label does not increase, unless a node of type 3 with a basic label is passed on the way.
Induction for Lemma 10.6, along the construction of the quasi-tableau: if z is a
repeat with companion c then there is a node of type 3 with a basic label between c
and z.
Lemma 10.6: if z is a repeat in Q with companion c(z), then the path from
c(z) to z passes through a node of type 3 whose label is basic.
We use that the labels of the successors of a non-basic node are smaller in the Dershowitz-Manna
ordering (LoadedCluster.stepOf_lt_Sequent), so a repeat — which has the same label as its
companion — cannot be reached from its companion by non-basic steps only.
The claim in the proof of Lemma 10.7 #
The Claim in the proof of Lemma 10.7, for the node x of the quasi-tableau: whenever
Δ_x, ι_x is satisfied at a state v, there is a repeat leaf z ∈ cycs(x) and a state
u satisfying Δ_z, ι_z with a witness distance that is not larger, and that is strictly
smaller if there is a basic node between x and z.
The internal variables of the pre-interpolants are interpreted by an assignment g; see
the module docstring.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The cases of the proof of the Claim #
Case k(x) = 1 where x is a repeat leaf: take z := x and u := v.
Case k(x) = 1 where x is a leaf that is not a repeat: here ι_x = θ_{Δ_x} and the
sequent Δ_x, ι_x is unsatisfiable by Lemma 9.14 (b), so the claim is vacuous.
Case k(x) = 1 where x is neither a leaf nor a companion: ι_x = ι_y and
Δ_x = Δ_y for the unique child y, and cycs(x) = cycs(y).
Case k(x) = 2: ι_x = [¬θ_Δ?]ι_y, and Δ, θ_Δ is unsatisfiable by Lemma 9.14 (b),
so ι_y holds at the same state.
Case k(x) = 3 with Δ_x basic: the loaded formula is ¬⌊a γ⃗⌋ψ with a atomic and
ι_x = [a]ι_y. Going to a state v' at minimal witness distance decreases the witness
distance by exactly one.
Case k(x) = 3 with Δ_x not basic: ι_x = ⋀ᵢ ι_{y_i} and by
LoadedCluster.nonBasicStep_of one of the children holds at the same state with the same
witness distance.
Case k(x) = 1 where x is a companion: ι_x = gfp x ι_y. Reinterpreting the
internal variable q_x by ι_x turns ι_x into ι_y, and a repeat z ∈ cycs(y) whose
companion is x itself sends us back to x, but with a strictly smaller witness distance
by Lemma 10.6, so the secondary induction applies.
The Claim for all nodes of the quasi-tableau #
The Claim in the proof of Lemma 10.7, for all nodes of the quasi-tableau, by
leaf-to-root induction along the construction of Q (Definition 9.8).
Lemma 10.7 at the root of the quasi-tableau.
Lemma 10.8 #
Lemma 10.8: Γ₂ ⊨ ¬θ_r, i.e. the right component of the root of the cluster
together with the interpolant of Definition 9.20 is unsatisfiable.
The hypothesis Γ₁ ≠ ∅ is the one of Definition 9.20: for Γ₁ = ∅ we have θ_r = ⊤ by
Remark 9.5, and then the statement would say that Γ₂ itself is unsatisfiable.