Lemma 4.3 — the translation preserves satisfaction, in polynomial length
ProvedMetricMSO.lemma_4_3fixed-parameter-tractabilitygraph-theorymonadic-second-order-logicp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1treewidth
Let and let be a formula. Then:
- is a formula, and a formula when is in ;
- there is a fixed polynomial such that ;
- on every graph with and for every assignment of the free variables,
Formalization Note sigma M φ dV dS is read in a context of dV vertex and dS vertex-set variables, and the assignment fills exactly this context. The polynomial is .
Differences from the source:
- encoding: |σ_M(φ)| ≤ q(|φ| + M) → (sigma M φ dV dS).length ≤ c(|φ| + M + dV + dS + 1)^c; reason: when the context holds exactly the free variables of φ, dV + dS ≤ |φ|, which gives the page's form; bound variables are levels above the context, so the context size enters the code
- generalization: assignments of the free variables of φ → every assignment filling a context of dV vertex and dS vertex-set variables, also with an atom out of scope, which is false on both sides; reason: it specializes to the source when the context is the set of free variables
Preamble
import Mathlib import Definitions.Def_MetricMSO_Sat import Definitions.Def_MetricMSO_cbl import Definitions.Def_MetricMSO_IsCMSO1 import Definitions.Def_MetricMSO_sigma
Formal statement
namespace MetricMSO
/-- **Lemma 4.3.** Chakraborty, Ordyniak, Siebertz (arXiv:2610.41974, sha256 prefix ad3c5863), p.28 (PDF 30): "Let G be a graph and let M ≥ 3
satisfy M > cbl(G). For every CMSO1[SP, EqGC] formula φ and every assignment α of its free variables,
we have G, α |= φ if and only if G, α |= σM(φ). Moreover, there is a fixed polynomial q such that
|σM(φ)| ≤ q(|φ| + M). For incidence structures, we again restrict the auxiliary element variables to
vertices and the auxiliary set variables to subsets of V(G). The same statements then hold for the
translation from CMSO2[SP, EqGC] to CMSO2."
**Formalization Note** Every `Formula` is a CMSO2[SP, EqGC] formula, so the statement for all `φ` is the
CMSO2 case. `σ_M` is `sigma M φ dV dS`, read in a context of `dV` vertex and `dS` vertex-set variables,
which is also the shape of an assignment `ρ` of them (edge and edge-set variables are unconstrained).
The translation lands in CMSO2 (`NoMetric`), and in CMSO1 when `φ` is a CMSO1 formula. The polynomial
`q` is `c · (· + 1)^c`, with the context size added to its argument: when the context holds exactly the
free variables of `φ`, then `dV + dS ≤ |φ|`, which gives the page's `q(|φ| + M)` form. -/
theorem lemma_4_3 :
∃ c : ℕ, ∀ M : ℕ, 3 ≤ M → ∀ (φ : Formula) (dV dS : ℕ),
NoMetric (sigma M φ dV dS) ∧
(IsCMSO1 φ → IsCMSO1 (sigma M φ dV dS)) ∧
(sigma M φ dV dS).length ≤ c * (φ.length + M + dV + dS + 1) ^ c ∧
∀ I : Instance, cbl I.G < M → ∀ ρ : Env I.n, ρ.v.length = dV → ρ.s.length = dS →
(Sat I ρ φ ↔ Sat I ρ (sigma M φ dV dS)) := by sorry
end MetricMSO
Source
Chakraborty, Ordyniak, Siebertz, Model Checking for Metric Extensions of MSO (arXiv:2610.41974, sha256 ad3c586330b037548a2b4a977081284996698f39c1b55c17b91cb81a536d3dd9), Lemma 4.3 and the paragraph after it, p.28 (PDF 30)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.