Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.TowerPlan.Constants

The tower plan: the conditions on a tower and its laws, and the numbers that follow #

The proof of Theorem H.2 of [Ant26] (module Nc.Tow.Cst) uses towers of all sizes whose shape stays bounded, and absorbs the bounded factors in its constant. TowerConstants states this with one constant c: it adds to the conditions StageRate of the stages the rate ρ < 1, the gain ρ ^ q D ^ p ≤ 1 with 2 p ≤ q, a near pair at every place, a list laws that contains the laws at the vertices, and bounds by c for the numbers of types, places, edges of a type at a chamber, near pairs, pairs of places, kinds and slots of laws and chambers of the last level, for the lengths of the strings of the laws, for the factor of the norms and for 1 / (1 - ρ).

Under these conditions the bounds of the tower plan are at most natural numbers in c, the length m of the routes and the number X of chambers of the level 0: constNormBound for the norms, constMoveCap for the units of a move, and in terms of constNormBound the units of the tree and the units between a chamber and its parent. The depth of the tower is logarithmic, with J + 1 ≤ (c + 1) lg M if X ≤ c M, and the sizes are bounded as SizeBound needs. The list lawRoles has the roles of the relay and of the laws.

Main definitions #

Main results #

References #

structure Cslib.Circuits.Arithmetic.Separation.TowerPlan.TowerConstants {F : Type u_1} [CommSemiring F] {h b D J r : ℕ} {T : CoveringTower.Tower h b D J r} (FL : VertexLaws F T) (laws : List (Cut.Law F)) (c : ℕ) (ρ : ℝ) (p q : ℕ) extends Cslib.Circuits.Arithmetic.Separation.TowerPlan.StageRate FL ρ :

The conditions on a tower, its laws at the vertices FL, a list laws of laws and a rate ρ, with one constant c for the sizes: the conditions StageRate of the stages, the rate ρ < 1, the gain ρ ^ q D ^ p ≤ 1 with 2 p ≤ q, a near pair at every place, the laws at the vertices among laws, and the bounds by c.

  • r_pos : 0 < r
  • b_pos : 0 < b
  • h_pos : 0 < h
  • b_le : b ≤ 2 * D
  • ρ_pos : 0 < ρ
  • one_add_le : 1 + 8 * FL.contraction ≤ ρ ^ 2 * ↑h
  • two_le : 2 ≤ ρ * ↑D
  • rate_lt_one : ρ < 1

    The rate is less than 1.

  • exists_nearPair (f : T.Fl) : ∃ (ν : T.Nr), T.cN ν = f ∨ T.dN ν = f

    Every place at a vertex is an end of a near pair.

  • two_mul_le : 2 * p ≤ q

    The exponents of the gain.

  • rate_pow_mul_le_one : ρ ^ q * ↑D ^ p ≤ 1

    The gain: q stages of the rate ρ outweigh p levels of the ratio D.

  • law_mem (d : FL.Kind) : FL.law d ∈ laws

    The laws at the vertices are among laws.

  • types_le : h ≤ c

    The number of types.

  • places_le : b ≤ c

    The number of places at a vertex.

  • degree_le : r ≤ c

    The number of edges of a type at a chamber.

  • card_nearPair_le : Fintype.card T.Nr ≤ c

    The number of near pairs.

  • lengthBound_le : FL.lengthBound ≤ c

    The bound for the squares of the lengths of the strings of the laws at the vertices.

  • card_kind_le : Fintype.card FL.Kind ≤ c

    The number of kinds of laws at the vertices.

  • card_pair_le : Fintype.card (Sym2 T.Fl) ≤ c

    The number of pairs of places.

  • card_slot_le (d : FL.Kind) : Fintype.card (FL.law d).Slot ≤ c

    The numbers of slots of the laws at the vertices.

  • card_X_last_le : Fintype.card (T.X J) ≤ c

    The number of chambers of the last level.

  • card_X_last_pos : 0 < Fintype.card (T.X J)

    The last level has a chamber.

  • normFactor_le : √↑h * ↑r + √FL.contraction * ↑FL.scale ≤ ↑c

    The factor of the norms in normBound_le.

  • inv_one_sub_le : 1 / (1 - ρ) ≤ ↑c

    The sum 1 / (1 - ρ) of the geometric series of the rates ρ ^ j of the stages.

  • lengthLE (L : Cut.Law F) : L ∈ laws → L.LengthLE c

    The strings of the laws have length at most c.

  • labelLength_le (L : Cut.Law F) : L ∈ laws → L.labelLength ≤ c

    The labels of the laws have length at most c.

The bound c m X (lhat + 2 X ^ 2) for the norms, by the constant c, the length m of the routes and the number X of chambers of the level 0.

The bound U0 + 2 + 3 c constNormBound for the units of a move, by the constant c.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.TowerConstants.two_lt_ratio {F : Type u_1} [CommSemiring F] {h b D J r c p q : ℕ} {T : CoveringTower.Tower h b D J r} {FL : VertexLaws F T} {laws : List (Cut.Law F)} {ρ : ℝ} (hC : TowerConstants FL laws c ρ p q) :
2 < D

The ratio of the numbers of chambers of two consecutive levels is more than 2, since 2 ≤ ρ D with ρ < 1.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.TowerConstants.one_le {F : Type u_1} [CommSemiring F] {h b D J r c p q : ℕ} {T : CoveringTower.Tower h b D J r} {FL : VertexLaws F T} {laws : List (Cut.Law F)} {ρ : ℝ} (hC : TowerConstants FL laws c ρ p q) :
1 ≤ c

The constant is positive.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.TowerConstants.succ_depth_le {F : Type u_1} [CommSemiring F] {h b D J r c p q : ℕ} {T : CoveringTower.Tower h b D J r} {FL : VertexLaws F T} {laws : List (Cut.Law F)} {ρ : ℝ} (hC : TowerConstants FL laws c ρ p q) {M : ℕ} (hM : Fintype.card (T.X 0) ≤ c * M) :
J + 1 ≤ (c + 1) * Interpreter.lg M

The depth of the tower is logarithmic ([Ant26], Theorem H.2, proof, "Bounds", p. 47, J = O(log M)): if the level 0 has at most c M chambers, then J + 1 ≤ (c + 1) lg M.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.TowerConstants.sizeBound {F : Type u_1} [CommSemiring F] {h b D J r m A c p q : ℕ} {T : CoveringTower.Tower h b D J r} {FL : VertexLaws F T} {laws : List (Cut.Law F)} {ρ : ℝ} (hC : TowerConstants FL laws c ρ p q) {V : ℕ} (hcV : c ≤ V) (hm : m ≤ V) (hJ : J ≤ V) (hA : A ≤ V) (hX : Fintype.card (T.X 0) ≤ V) :
SizeBound FL m A V

The sizes are bounded: with the length m of the routes, the number J of stages, the number A of base parties and the chambers of the level 0 at most V ≥ c, the tower, its routes and its laws satisfy SizeBound.

The bounds of the tower plan by the constant #

For routes of length at most m ≥ 1 that use every edge at most 2 |X 0| m times, and at most |X 0| base parties.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.TowerConstants.moveCap_le_constMoveCap {F : Type u_1} [CommSemiring F] {h b D J r m Uu A c p q lhat : ℕ} {T : CoveringTower.Tower h b D J r} {FL : VertexLaws F T} {laws : List (Cut.Law F)} {ρ : ℝ} (hC : TowerConstants FL laws c ρ p q) (hm : 1 ≤ m) (hUu : Uu ≤ 2 * Fintype.card (T.X 0) * m) (hA : A ≤ Fintype.card (T.X 0)) {U0 : ℕ} :
moveCap FL U0 Uu A lhat ≤ constMoveCap c m (Fintype.card (T.X 0)) lhat U0

The units of a move ([Ant26], Theorem H.2, proof, "For (d)", p. 48): the bound moveCap is at most constMoveCap.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.TowerConstants.treeUnitBound_le {F : Type u_1} [CommSemiring F] {h b D J r m Uu A c p q lhat : ℕ} {T : CoveringTower.Tower h b D J r} {FL : VertexLaws F T} {laws : List (Cut.Law F)} {ρ : ℝ} (hC : TowerConstants FL laws c ρ p q) (hm : 1 ≤ m) (hUu : Uu ≤ 2 * Fintype.card (T.X 0) * m) (hA : A ≤ Fintype.card (T.X 0)) :
treeUnitBound FL Uu A lhat ρ ≤ 2 * c * constNormBound c m (Fintype.card (T.X 0)) lhat * c

All units of the tree ([Ant26], Theorem H.2(b), p. 46, and its proof, "Bounds", p. 47): the bound treeUnitBound is at most 2 c constNormBound c.

theorem Cslib.Circuits.Arithmetic.Separation.TowerPlan.TowerConstants.edgeUnitBound_pow_mul_le {F : Type u_1} [CommSemiring F] {h b D J r m Uu A c p q lhat : ℕ} {T : CoveringTower.Tower h b D J r} {FL : VertexLaws F T} {laws : List (Cut.Law F)} {ρ : ℝ} (hC : TowerConstants FL laws c ρ p q) (hm : 1 ≤ m) (hUu : Uu ≤ 2 * Fintype.card (T.X 0) * m) (hA : A ≤ Fintype.card (T.X 0)) :
edgeUnitBound FL Uu A lhat ρ ^ q * Fintype.card (T.X 0) ^ p ≤ (2 * c * constNormBound c m (Fintype.card (T.X 0)) lhat) ^ q

The units between a chamber and its parent ([Ant26], Theorem H.2(b), p. 46, and its proof, "Bounds", p. 47): by the gain, edgeUnitBound ^ q |X 0| ^ p is at most (2 c constNormBound) ^ q.

The roles of the relay and of the laws #

noncomputable def Cslib.Circuits.Arithmetic.Separation.TowerPlan.lawRoles (F : Type u_1) [CommSemiring F] (laws : List (Cut.Law F)) :
List ((L : Cut.Law F) × L.Role)

The roles of the relay and of the laws laws, each with its law: the kinds of roles of the moves of a tower plan whose laws at the vertices are among laws.

@[simp]

A law with one of its roles is in lawRoles if and only if the law is the relay or one of laws.