The program of the tower plan: choices from the loads, the loop over time, and the tree #
The program of the tower plan of [Ant26] (Theorem H.2(d); modules Nc.Tow.Slp3 and
Nc.Tow.Slp5) computes from loads L x of the targets, in five stages, the chosen types of the
stages, the numbers of units at the vertices, the kinds of laws that are used and the numbers of
units of the moves (ChoicesIn, choices_stage). A loop over time computes the numbers of units
of the moves of the earlier times by the loads of ProgramLoads.lean and these choices, eight
stages for every time, and so the numbers of units, the alive units and the loads of the plan
(CountsIn, counts_stage). From the loads, two more stages compute the parents in the tree of
the tower and the units between the nodes and their parents (TreeIn, tree_stage).
Main definitions #
ChoicesIn: the choices from the loads are among the computed functions.CountsIn: the numbers of units of the moves, the alive units and the loads are among the computed functions.TreeIn: the parents in the tree and the units between the nodes and their parents are among the computed functions.
Main results #
choices_stage,counts_stage,tree_stage: the stages of the program.costP_active: whether a relay is used is decided from the indicators of the chosen types.
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
Theorem H.2(d) and (e), p. 46, and the proof ("For (d)", p. 48); modules
Nc.Tow.Slp3,Nc.Tow.Slp5
The number of units at a vertex #
Choices from the loads #
The choices from the loads L x are among the functions H: the indicators of the chosen
types of the stages, the numbers of units at the vertices, the indicators of the kinds of laws
that are used, and the numbers of units of the moves.
Whether a relay is used is decided from the indicators of the chosen types in any number of steps.
The choices from the loads take five stages: the sums of the squares of the loads of the types, the indicators of the chosen types, the numbers of units at the vertices, the indicators of the kinds of laws that are used, and the numbers of units of the moves.
The tree #
The tree for the loads L x is among the functions H: the indicators of the parents of
the nodes, and the units between the nodes and their parents (0 at the root).
- parentUnits (P : T.Node) : (fun (x : Inp) => CoveringTower.Tower.Node.lift (T.parentUnits (edgeLoads (L x))) 0 P) ∈ H
The tree takes two stages: the indicators of the parents of the nodes, and the units between the nodes and their parents.
The loop over time #
The numbers of the plan are among the functions H: what does not change in time, the
choices from the loads of the plan, the numbers of units of the moves, the alive units of the
channels and the loads of the targets.
- sqOutcome (l : VertexMove FL) : (fun (x : Inp) => ∑ ν : (FL.law l.kind).Channel, ox x ⟨Move.vertex l, ν⟩ ^ 2) ∈ H
- minUnits (l : VertexMove FL) : (fun (x : Inp) => VertexMove.minUnits (load lhat (nx x) (ox x)) l) ∈ H
- isPicked (l : VertexMove FL) : {x : Inp | VertexMove.IsPicked (load lhat (nx x) (ox x)) l}.indicator 1 ∈ H
- countOfLoad (mv : Move R ch FL) : (fun (x : Inp) => TowerPlan.countOfLoad (load lhat (nx x) (ox x)) mv) ∈ H
The numbers of the plan take 11 + 8 Y stages: what does not change in time, the loop
over time, eight stages for every time, the alive units and the loads, and the choices from the
loads.