Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Trees.TreeProgram

The program of the tree of the tower plan #

Theorem H.2(d) of [Ant26] (p. 46): the tree of the tower plan, its units and the numbers of its moves are computed by a straight-line program from the numbers of initial units and the outcomes. The program reads these inputs and runs the stages of the program of the tower plan: the numbers of the plan (TowerPlan.counts_stage, 11 + 8 Y stages), the tree (TowerPlan.tree_stage, two stages) and the units (TowerPlan.units_stage, nine stages), each of Y ^ 12 gates.

Main results #

References #

theorem Cslib.Circuits.Arithmetic.Separation.Trees.exists_treeProgram {F : Type u_1} [CommSemiring F] {h b D J r m Uu A A' U0 U1 : ℕ} {T : CoveringTower.Tower h b D J r} {R : CoveringTower.Routes T m Uu} {ch : Fin A ↪ T.X 0} {FL : TowerPlan.VertexLaws F T} {Pl : TowerPlan.Placement T ch A'} (hh : 0 < h) (hb : 0 < b) (lhat : ℕ) {K Y : ℕ} (hY : StepBase K Y) (hB : TowerPlan.ProgramBound R ch FL U0 U1 Y) (hB' : TowerPlan.UnitBound R FL Pl U0 U1 Y 0) {steps : ℕ} (hsteps : Fintype.card (Fin A × Fin A ⊕ (TowerPlan.moves R FL Pl).Channel) + (22 + 8 * Y) * Y ^ 12 ≤ steps) :
Nonempty (TreeProgram (TowerPlan.towerPlan R FL Pl lhat U0 U1) (treeParent R FL Pl hh lhat) (treeUnits R FL Pl lhat) K steps)

The program of the tree ([Ant26], Theorem H.2(d), (e), p. 46): under the bounds ProgramBound and UnitBound for a base Y of the letters Fin K, a program with one gate for every number of initial units and every outcome and (22 + 8 Y) Y ^ 12 more gates computes the tree of the tower plan, its units and the numbers of its moves.