Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.TowerPlan.ProgramUnits

The program of the tower plan: the units #

For the numbers nI x of initial units and the outcomes oI x of the play of the tower plan of [Ant26] (Theorem H.2(d); module Nc.Tow.Slp4), the program computes, after the numbers of the plan (counts_stage), in nine more stages, the units of the play: which units are alive, their ranks, the units given at every slot and their number, which units are left at the end, and which outcomes are good (UnitsIn, units_stage). The numbers below TM serve the units of zeros at the slots that are given fewer units than their move uses. The numbers of slots and of units and TM are at most Y (UnitBound).

Main definitions #

Main results #

References #

structure Cslib.Circuits.Arithmetic.Separation.TowerPlan.UnitBound {F : Type u_1} [CommSemiring F] {h b D J r m Uu A A' : ℕ} {T : CoveringTower.Tower h b D J r} (R : CoveringTower.Routes T m Uu) {ch : Fin A ↪ T.X 0} (FL : VertexLaws F T) (Pl : Placement T ch A') (U0 U1 Y TM : ℕ) :

The bounds for the units: the numbers of slots and of units, and TM, are at most Y.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.InputBound.ofPlan {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 : VertexLaws F T} {Pl : Placement T ch A'} {Inp : Type} (nI : Inp → Fin A → Fin A → Fin (U0 + 1)) (oI : Inp → (moves R FL Pl).Channel → Fin U1) :
InputBound (fun (x : Inp) => initialCounts (nI x)) (fun (x : Inp) => outcomeOf R FL Pl (oI x)) U0 U1

The numbers of initial units and the outcomes of the play are at most U0 and U1.

structure Cslib.Circuits.Arithmetic.Separation.TowerPlan.UnitsIn {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 : VertexLaws F T} {Pl : Placement T ch A'} {Inp : Type} (nI : Inp → Fin A → Fin A → Fin (U0 + 1)) (oI : Inp → (moves R FL Pl).Channel → Fin U1) (lhat TM : ℕ) (H : Set (Inp → ℕ)) :

The units of the play are among the functions H: the indicators of the units given at the slots, the numbers of units of the moves, the indicators of the numbers k < TM below them and, at every slot, between the number of units given and the number of units of the move, the indicators of the units left at the end and of the good outcomes, and the indicator of the bound for the initial units.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.UnitsIn.mono {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 : VertexLaws F T} {Pl : Placement T ch A'} {lhat : ℕ} {Inp : Type} {TM : ℕ} {H H' : Set (Inp → ℕ)} {nI : Inp → Fin A → Fin A → Fin (U0 + 1)} {oI : Inp → (moves R FL Pl).Channel → Fin U1} (hu : UnitsIn nI oI lhat TM H) (hH : H ⊆ H') :
UnitsIn nI oI lhat TM H'
theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.units_stage {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 : VertexLaws F T} {Pl : Placement T ch A'} {lhat : ℕ} {Inp : Type} {K Y N p c TM : ℕ} {inp : Fin N → Inp → Fin K} {H : Set (Inp → ℕ)} {nI : Inp → Fin A → Fin A → Fin (U0 + 1)} {oI : Inp → (moves R FL Pl).Channel → Fin U1} (hY : StepBase K Y) (hB : ProgramBound R ch FL U0 U1 Y) (hB' : UnitBound R FL Pl U0 U1 Y TM) (hS : SlpN inp (p + c * Y ^ 12) H) (ha : CountsIn (fun (x : Inp) => initialCounts (nI x)) (fun (x : Inp) => outcomeOf R FL Pl (oI x)) lhat H) :
∃ (H' : Set (Inp → ℕ)), SlpN inp (p + (c + 9) * Y ^ 12) H' ∧ H ⊆ H' ∧ UnitsIn nI oI lhat TM H'

The units take nine stages: the indicators of the alive units, their ranks, the indicators of the units given at the slots and their numbers, the indicators of the numbers below TM that are below the numbers of units of the moves, and below them and at least the numbers of units given at the slots, the indicators of the units left at the end, and those of the good outcomes of every move and of all moves.