Construction sequences with few realized types
Lax185574.FewTypes Β· concepts/Lax185574/FewTypes.lean Β· lax-185574
No public endorsements yet.
Loading reviewβ¦
Sign in with ORCIDNatural Language Statement
Theorem
Let π be a monadically dependent graph class, r, q β β, and let Ξ΅ > 0 be a rational. There is a constant Ξ± β₯ 1 depending only on π and q such that every graph G β π has a construction sequence of radius-r depth-q width O_{π,r,q,Ξ΅}(n^{Ξ±Ξ΅}) and length O_{π,r,q,Ξ΅}(n^{1+Ξ±Ξ΅}). Moreover, there is an algorithm (independent of π) which, given r, q β β, a rational Ξ΅ > 0 and an n-vertex graph G β π, computes such a construction sequence in time Γ_{π,r,q,Ξ΅}(nΒ³). Here Γ_k(nΒ³) stands for a bound O_{k,Ξ·}(n^{3+Ξ·}) for every Ξ· > 0.
It is important that Ξ± does not depend on Ξ΅, as this makes the exponent Ξ±Ξ΅ of the width as small as one likes.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
In the paper
- page 14 of this submission's paper
Lean source view on GitHub
| 1 | import Lax185574.Width |
| 2 | import Lax185574.ConstructionSequences |
| 3 | import Lax185574.MonadicDependence |
| 4 | import Lax185574.Algorithms |
| 5 | import Mathlib.Analysis.SpecialFunctions.Pow.Real |
| 6 | |
| 7 | /-! |
| 8 | --- |
| 9 | title: Construction sequences with few realized types |
| 10 | type: theorem |
| 11 | --- |
| 12 | Let π be a monadically dependent graph class, r, q β β, and let Ξ΅ > 0 |
| 13 | be a rational. There is a constant Ξ± β₯ 1 depending only on π and q such |
| 14 | that every graph G β π has a construction sequence of radius-r depth-q |
| 15 | width O_{π,r,q,Ξ΅}(n^{Ξ±Ξ΅}) and length O_{π,r,q,Ξ΅}(n^{1+Ξ±Ξ΅}). Moreover, |
| 16 | there is an algorithm (independent of π) which, given r, q β β, a |
| 17 | rational Ξ΅ > 0 and an n-vertex graph G β π, computes such a |
| 18 | construction sequence in time Γ_{π,r,q,Ξ΅}(nΒ³). Here Γ_k(nΒ³) stands for |
| 19 | a bound O_{k,Ξ·}(n^{3+Ξ·}) for every Ξ· > 0. |
| 20 | |
| 21 | It is important that Ξ± does not depend on Ξ΅, as this makes the exponent |
| 22 | Ξ±Ξ΅ of the width as small as one likes. |
| 23 | |
| 24 | # Formalization notes |
| 25 | |
| 26 | The shape is that of `Lax185574.DefinableSequences`. The construction |
| 27 | sequence is produced by a function `script` of r, q, Ξ΅ and the graph, |
| 28 | and the algorithm `A` computes this function. Neither depends on π. On |
| 29 | every graph, the script gives a construction sequence of the graph, and |
| 30 | the numbers in its encoding are small (`Script.HasSmallNumbers`). The |
| 31 | input of the algorithm is the quadruple (r, q, Ξ΅, G). The constant Ξ± of |
| 32 | the paper is `a`. It is chosen after the class and q, and before r and |
| 33 | Ξ΅. The width is the radius-r depth-q width of `Lax185574.Width`. |
| 34 | |
| 35 | Every number in the encoding of the script is at most the length of the |
| 36 | encoding plus n. The paper does not say this. The algorithm can ensure |
| 37 | it by giving the vertices of the initial partial graph the colors |
| 38 | 0, β¦, n β 1, since steps only use colors that occur. |
| 39 | |
| 40 | The time bound Γ_{π,r,q,Ξ΅}(nΒ³) is spelled out as `n^(3+Ξ·)` for every |
| 41 | real Ξ· > 0, with the constant `c` depending on π, r, q, Ξ΅ and Ξ·. The |
| 42 | same `c` bounds the sequence. |
| 43 | -/ |
| 44 | |
| 45 | namespace Lax185574.FewTypes |
| 46 | |
| 47 | open Lax185574.Graphs Lax185574.MonadicDependence Lax185574.Algorithms |
| 48 | open Lax185574.ConstructionSequences Lax185574.Width |
| 49 | |
| 50 | /-- **Construction sequences with few realized types.** One algorithm |
| 51 | computes, from `r`, `q`, a rational `Ξ΅ > 0` and a graph `G`, a |
| 52 | construction sequence of `G`, given by its script. On members of a |
| 53 | monadically dependent class it takes time `O(n^(3+Ξ·))` for every |
| 54 | `Ξ· > 0`, and the sequence has length at most `c Β· (n+1)^(1+aΞ΅)` and |
| 55 | radius-`r` depth-`q` width at most `c Β· (n+1)^(aΞ΅)`. Here `a β₯ 1` |
| 56 | depends only on the class and `q`, and `c` on the class, `r`, `q`, `Ξ΅` |
| 57 | and `Ξ·`. -/ |
| 58 | axiom exists_program_fewTypes : |
| 59 | β (A : Algorithm) (script : β β β β β β (G : Graph) β Script G.n), |
| 60 | (β (r q : β) (Ξ΅ : β) (G : Graph), 0 < Ξ΅ β |
| 61 | IsConstructionSequence G.toSimpleGraph (script r q Ξ΅ G).run β§ |
| 62 | (script r q Ξ΅ G).HasSmallNumbers) β§ |
| 63 | β C : GraphClass, MonadicallyDependent C β β q : β, β a : β, 1 β€ a β§ |
| 64 | β (r : β) (Ξ΅ : β), 0 < Ξ΅ β β Ξ· : β, 0 < Ξ· β β c : β, |
| 65 | β G β C, |
| 66 | A.Computes c (r, q, Ξ΅, G) (script r q Ξ΅ G) ((G.n : β) ^ (3 + Ξ·)) β§ |
| 67 | ((script r q Ξ΅ G).run.length : β) β€ c * ((G.n : β) + 1) ^ (1 + (a : β) * Ξ΅) β§ |
| 68 | (width r q (script r q Ξ΅ G).run : β) β€ c * ((G.n : β) + 1) ^ ((a : β) * Ξ΅) |
| 69 | |
| 70 | end Lax185574.FewTypes |
| 71 |
Formalization notes
The shape is that of . The construction sequence is produced by a function of r, q, Ξ΅ and the graph, and the algorithm computes this function. Neither depends on π. On every graph, the script gives a construction sequence of the graph, and the numbers in its encoding are small (). The input of the algorithm is the quadruple (r, q, Ξ΅, G). The constant Ξ± of the paper is . It is chosen after the class and q, and before r and Ξ΅. The width is the radius-r depth-q width of .
Every number in the encoding of the script is at most the length of the encoding plus n. The paper does not say this. The algorithm can ensure it by giving the vertices of the initial partial graph the colors 0, β¦, n β 1, since steps only use colors that occur.
The time bound Γ_{π,r,q,Ξ΅}(nΒ³) is spelled out as for every real Ξ· > 0, with the constant depending on π, r, q, Ξ΅ and Ξ·. The same bounds the sequence.
Builds on
Used by
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments