The relay law and the laws at the vertices of a tower #
The moves of the tower plan of [Ant26] (Theorem H.2; module Nc.Tow.Relay) are of
two kinds, and this file has their laws. A relay leads a bit shared by two roles through a
third role: it is the law relayLaw. A law move applies, at a vertex of a covering tower, one
of finitely many laws whose roles are the places at the vertex and whose channels are the near
pairs: these are the VertexLaws of a tower, with the constants that the bounds for the loads
need.
Main definitions #
RelayRole,RelayRole.elim: the three roles of a relay, and functions on them.relaySlotEnd,relayChannelEnd,relayTable,relayLaw: the relay.VertexLaws, withVertexLaws.slotPairandVertexLaws.slotCount: the laws at the vertices of a tower, the pair of places at the ends of a slot, and the number of slots on a pair.
Main results #
RelayRole.elim_injective,RelayRole.prod_univ,RelayRole.sum_univ: three different values give an injective function on the roles, and a product and a sum over the roles.VertexLaws.exists_channelEnd: every role of a law at a vertex is at an end of a channel, if every place is an end of a near pair.
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
Appendix H.2 (the two moves) and Theorem H.2; module
Nc.Tow.Relay
The function on the roles of a relay with the values x, y, z.
The tables of a relay: source and sink compare their copy of the bit with the bit on
their channel, and via compares the bits on its two channels.
The relay: a bit shared by source and sink is led through via. There is one index, and
each of the two channels carries one bit.
The laws at the vertices of a tower: finitely many kinds of laws whose roles are the places at a vertex and whose channels are the near pairs, with the constants of their bounds.
- Kind : Type
The kinds of laws.
- decEqKind : DecidableEq self.Kind
The law of a kind.
The roles of a law are the places at a vertex.
The channels of a law are the near pairs.
- scale : ℕ
The scale: a load of norm at most
scale * tfits intotunits at every slot of some law. - contraction : ℝ
The constant of the contraction.
- contraction_nonneg : 0 ≤ self.contraction
- lengthBound : ℕ
The bound for the squares of the lengths of the strings: the integer form of the constant.
- exists_le_card_slot (n : Sym2 T.Fl → ℕ) (t : ℕ) : √(T.NN2 n) ≤ ↑self.scale * ↑t → ∃ (d : self.Kind), ∀ (q : Sym2 T.Fl), ¬q.IsDiag → n q ≤ {e : (self.law d).Slot | s((self.place d) ((self.law d).slotEnd e false), (self.place d) ((self.law d).slotEnd e true)) = q}.card * t
Every load on the pairs of places is below the slots of one of the laws.
- sum_length_sq_le (d : self.Kind) (i : (self.law d).Index) : r * b * ∑ ν : (self.law d).Channel, ((self.law d).labelLength + (self.law d).length i ν) ^ 2 ≤ self.lengthBound
The strings of the laws are short.
The pair of places at the two ends of a slot.
The number of slots on a pair of places.
Every role of a law at a vertex is at an end of one of its channels, if every place is an end of a near pair.