The edges of a definable flip are quantifier-free definable
Lax185574.DefinableFlipFormula · concepts/Lax185574/DefinableFlipFormula.lean · lax-185574
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Observation
The edges of a definable flip can be defined in the original graph. More precisely, for every s ∈ ℕ and symmetric relation R ⊆ Π^s × Π^s there exists a quantifier-free formula E_{⊕R}(x, y, z̄) such that for every graph G, tuple p̄ ∈ V(G)^s, and vertices u, v ∈ V(G),
G ⊕ (p̄, R) ⊨ E(u, v) ⟺ G ⊨ E_{⊕R}(u, v, p̄).
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
In the paper
- page 20 of this submission's paper
Lean source view on GitHub
| 1 | import Lax185574.DefinableFlips |
| 2 | import Mathlib.ModelTheory.Complexity |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: The edges of a definable flip are quantifier-free definable |
| 7 | type: observation |
| 8 | --- |
| 9 | The edges of a definable flip can be defined in the original graph. More |
| 10 | precisely, for every s ∈ ℕ and symmetric relation R ⊆ Π^s × Π^s there |
| 11 | exists a quantifier-free formula E_{⊕R}(x, y, z̄) such that for every |
| 12 | graph G, tuple p̄ ∈ V(G)^s, and vertices u, v ∈ V(G), |
| 13 | |
| 14 | G ⊕ (p̄, R) ⊨ E(u, v) ⟺ G ⊨ E_{⊕R}(u, v, p̄). |
| 15 | |
| 16 | # Formalization notes |
| 17 | |
| 18 | The formula is in mathlib's language of graphs with the free variables |
| 19 | `Fin 2 ⊕ Fin s`: the left summand is (x, y) and the right summand is z̄. |
| 20 | Quantifier-free is mathlib's `IsQF`. The formula is chosen before the |
| 21 | graph, so one formula works for all graphs on all vertex types of a |
| 22 | fixed universe, finite or infinite. G ⊕ (p̄, R) ⊨ E(u, v) is adjacency |
| 23 | in `DefinableFlips.flipOver`. |
| 24 | -/ |
| 25 | |
| 26 | namespace Lax185574.DefinableFlipFormula |
| 27 | |
| 28 | open FirstOrder FirstOrder.Language |
| 29 | open Lax185574.AtomicTypes Lax185574.DefinableFlips |
| 30 | |
| 31 | universe u |
| 32 | |
| 33 | /-- **Definable flips are quantifier-free definable.** For a symmetric |
| 34 | relation `R` on atomic types over `s`-tuples, one quantifier-free |
| 35 | formula `E_{⊕R}(x, y, z̄)` defines the edges of `G ⊕ (p̄, R)` in `G`, for |
| 36 | every graph `G` and tuple `p̄`. -/ |
| 37 | axiom exists_isQF_flipOver_formula (s : ℕ) |
| 38 | (R : (Fin s → PairType) → (Fin s → PairType) → Prop) |
| 39 | (hR : ∀ P Q, R P Q → R Q P) : |
| 40 | ∃ φ : Language.graph.Formula (Fin 2 ⊕ Fin s), φ.IsQF ∧ |
| 41 | ∀ (V : Type u) (G : SimpleGraph V) (p : Fin s → V) (x y : V), |
| 42 | (flipOver G p R).Adj x y ↔ |
| 43 | @Formula.Realize Language.graph V G.structure _ φ (Sum.elim ![x, y] p) |
| 44 | |
| 45 | end Lax185574.DefinableFlipFormula |
| 46 |
Formalization notes
The formula is in mathlib's language of graphs with the free variables : the left summand is (x, y) and the right summand is z̄. Quantifier-free is mathlib's . The formula is chosen before the graph, so one formula works for all graphs on all vertex types of a fixed universe, finite or infinite. G ⊕ (p̄, R) ⊨ E(u, v) is adjacency in .
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments