Radius-r depth-q width of a construction sequence
Lax185574.Width · concepts/Lax185574/Width.lean · lax-185574
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
For r, q ∈ ℕ, the radius-r depth-q width of a construction sequence G₁, …, G_λ is
max_{t ∈ [λ−1]} max_{v ∈ V(G)} |Types^{G_t}{q,q}(Ball^{G{t+1}}_r(v))|.
It measures a construction sequence by the number of types of q-tuples realized near each vertex. Types are taken in G_t, and balls in G_{t+1}.
Concept map
In the paper
- page 14 of this submission's paper
Lean source view on GitHub
| 1 | import Lax185574.ConstructionSequences |
| 2 | import Lax185574.FirstOrderTypes |
| 3 | import Mathlib.Order.ConditionallyCompleteLattice.Basic |
| 4 | import Mathlib.Data.Nat.Lattice |
| 5 | |
| 6 | /-! |
| 7 | --- |
| 8 | title: Radius-r depth-q width of a construction sequence |
| 9 | type: definition |
| 10 | --- |
| 11 | For r, q ∈ ℕ, the *radius-r depth-q width* of a construction sequence |
| 12 | G₁, …, G_λ is |
| 13 | |
| 14 | max_{t ∈ [λ−1]} max_{v ∈ V(G)} |Types^{G_t}_{q,q}(Ball^{G_{t+1}}_r(v))|. |
| 15 | |
| 16 | It measures a construction sequence by the number of types of q-tuples |
| 17 | realized near each vertex. Types are taken in G_t, and balls in G_{t+1}. |
| 18 | |
| 19 | # Formalization notes |
| 20 | |
| 21 | The partial graph `G_t` is the relational structure of |
| 22 | `Lax185574.PartialGraphs`, with edges, non-edges and one unary relation |
| 23 | per color. The types are those of `Lax185574.FirstOrderTypes`, without |
| 24 | parameters, `typeCount`. The maximum is the supremum of a set of natural numbers. |
| 25 | That set is finite when the vertex type is finite, which is the case in |
| 26 | every statement that uses the width. The empty maximum, for a sequence |
| 27 | of length one, is 0. |
| 28 | -/ |
| 29 | |
| 30 | namespace Lax185574.Width |
| 31 | |
| 32 | open Lax185574.PartialGraphs Lax185574.FirstOrderTypes |
| 33 | |
| 34 | universe z |
| 35 | |
| 36 | variable {V : Type z} |
| 37 | |
| 38 | /-- The number of types of `q`-tuples of quantifier rank `q`, in the |
| 39 | partial graph `G`, realized by tuples from the set `X`. -/ |
| 40 | noncomputable def partialTypeCount (G : PartialGraph V) (k q : ℕ) (X : Set V) : ℕ := |
| 41 | @typeCount language V G.structure k q X |
| 42 | |
| 43 | /-- The radius-`r` depth-`q` width of the sequence `s`: the largest |
| 44 | number of types of `q`-tuples of quantifier rank `q` in `s[t]` realized |
| 45 | by tuples from a ball of radius `r` in `s[t+1]`. -/ |
| 46 | noncomputable def width (r q : ℕ) (s : List (PartialGraph V)) : ℕ := |
| 47 | sSup {K | ∃ (t : ℕ) (ht : t + 1 < s.length) (v : V), |
| 48 | K = partialTypeCount s[t] q q (s[t + 1].ball r v)} |
| 49 | |
| 50 | end Lax185574.Width |
| 51 |
Formalization notes
The partial graph is the relational structure of , with edges, non-edges and one unary relation per color. The types are those of , without parameters, . The maximum is the supremum of a set of natural numbers. That set is finite when the vertex type is finite, which is the case in every statement that uses the width. The empty maximum, for a sequence of length one, is 0.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments