Type tree sizes
Lax185574.TypeTreeSizes · concepts/Lax185574/TypeTreeSizes.lean · lax-185574
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Let k ≥ 1 and q ∈ ℕ, and put r = ρ⁺(k, q) and d = r + k + q. The following holds for every partial graph G.
- |{tree^G_{k+i,q−i}(v̄) | v̄ ∈ X^ℓ}| ≤ |Types^G_{d,d}(X)| for all i ∈ {0, …, q}, ℓ ∈ [k+i] and X ⊆ V(G).
- ‖tree^G_{k,q}(a)‖ ≤ poly_{k,q}(|Types^G_{d,d}(Ball^G_r(a))|) for every a ∈ V(G).
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax185574.TypeTrees |
| 2 | import Lax185574.Width |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Type tree sizes |
| 7 | type: lemma |
| 8 | --- |
| 9 | Let k ≥ 1 and q ∈ ℕ, and put r = ρ⁺(k, q) and d = r + k + q. The |
| 10 | following holds for every partial graph G. |
| 11 | |
| 12 | 1. |{tree^G_{k+i,q−i}(v̄) | v̄ ∈ X^ℓ}| ≤ |Types^G_{d,d}(X)| for all |
| 13 | i ∈ {0, …, q}, ℓ ∈ [k+i] and X ⊆ V(G). |
| 14 | 2. ‖tree^G_{k,q}(a)‖ ≤ poly_{k,q}(|Types^G_{d,d}(Ball^G_r(a))|) for every |
| 15 | a ∈ V(G). |
| 16 | |
| 17 | # Formalization notes |
| 18 | |
| 19 | Types^G_{d,d}(X) is counted by `Lax185574.Width.partialTypeCount`, the |
| 20 | number of first-order types of quantifier rank d of d-tuples from X in |
| 21 | the partial graph G. The vertices are `Fin n`. The polynomial of the |
| 22 | second part has a constant and a degree depending on k and q. |
| 23 | -/ |
| 24 | |
| 25 | namespace Lax185574.TypeTreeSizes |
| 26 | |
| 27 | open Lax185574.PartialGraphs Lax185574.Encoding Lax185574.TypeTrees Lax185574.Width |
| 28 | open Lax3.DistFO (rhoMinus rhoPlus) |
| 29 | |
| 30 | /-- **Type tree sizes, counting.** The number of type trees of tuples |
| 31 | from `X` is at most the number of `d`-types of `d`-tuples from `X`. -/ |
| 32 | axiom treeCount_le {n : ℕ} (G : PartialGraph (Fin n)) (k q : ℕ) (hk : 1 ≤ k) |
| 33 | (i ℓ : ℕ) (hi : i ≤ q) (hℓ : 1 ≤ ℓ) (hℓk : ℓ ≤ k + i) (X : Set (Fin n)) : |
| 34 | Set.ncard {τ : TypeTree | ∃ v : Fin ℓ → Fin n, (∀ j, v j ∈ X) ∧ τ = tree G (k + i) (q - i) v} ≤ |
| 35 | partialTypeCount G (rhoPlus k q + k + q) (rhoPlus k q + k + q) X |
| 36 | |
| 37 | /-- **Type tree sizes, size.** The size of the type tree of a vertex is |
| 38 | polynomial in the number of `d`-types of `d`-tuples from its ball. -/ |
| 39 | axiom tree_length_le (k q : ℕ) (hk : 1 ≤ k) : |
| 40 | ∃ c a : ℕ, ∀ (n : ℕ) (G : PartialGraph (Fin n)) (v : Fin n), |
| 41 | wordLength (tree G k q ![v]) ≤ |
| 42 | c * (partialTypeCount G (rhoPlus k q + k + q) (rhoPlus k q + k + q) |
| 43 | (G.ball (rhoPlus k q) v) + 1) ^ a |
| 44 | |
| 45 | end Lax185574.TypeTreeSizes |
| 46 |
Formalization notes
Types^G_{d,d}(X) is counted by , the number of first-order types of quantifier rank d of d-tuples from X in the partial graph G. The vertices are . The polynomial of the second part has a constant and a degree depending on k and q.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments