Laws: exchange identities between roles #
A law (Cut.Law) is an identity that the moves of the cutting argument of [Ant26]
(Appendix H.2; module Nc.G.Defs) use to cut units. It has roles, slots and channels; a slot
and a channel each have two ends, at two different roles, exactly as the units of the play have two
holders (Play.Holds). Every slot carries one bit, of which the two roles at its ends each have a
copy. The identity says that the condition "the two copies of the bit of every slot agree" is a
sum, over an index and over a bit string on every channel, of a product of tables of the roles;
the table of a role reads the bits of its slots and the strings of its channels.
Taking the product of B copies of the identity gives the same identity for B bits on every
slot (Cut.Law.pow), which is how a move uses a law on whole units.
A law has finitely many entries, the values of its tables (Cut.Law.entries,
Cut.Law.finite_entries). In the proof of Theorem G.2 the ring A is generated by the entries
of finitely many laws over the field; a law whose tables lie in a subsemiring A is a law over
A (Cut.Law.restrict). A law over A is a law over every A-algebra, with the images of its
tables (Cut.Law.map).
Main definitions #
Cut.Law: a law over a commutative semiring.Cut.Law.SlotAt,Cut.Law.ChannelAt: the slots and the channels of a role.Cut.Law.LengthLE: a bound for the lengths of the strings of a law.Cut.Law.entries: the values of the tables of a law.Cut.Law.restrict: a law with tables in a subsemiring, as a law over the subsemiring.Cut.Law.map: the image of a law under a ring homomorphism.
Main results #
Cut.Law.pow: the identity of a law forBbits on every slot.Cut.Law.connected_pow: indices ofBcopies that agree along channels are equal.Cut.Law.finite_entries: a law has finitely many entries.
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
Appendix H.2 and Theorem G.2 (p. 43); modules
Nc.G.Defs,Nc.G.Contract,Nc.Tow.FromPriceKandPaper.Laws
A law: an identity that writes the agreement of the two copies of the bit of every slot as a sum, over indices and over strings on the channels, of products of tables of the roles.
- Role : Type
The roles.
- Slot : Type
The slots: one bit each, seen by the two roles at its ends.
- Channel : Type
The channels: one bit string each, seen by the two roles at its ends.
- Index : Type
The indices of the sum.
- decEqRole : DecidableEq self.Role
- decEqSlot : DecidableEq self.Slot
- decEqChannel : DecidableEq self.Channel
- decEqIndex : DecidableEq self.Index
The roles at the two ends of a slot.
The roles at the two ends of a channel.
- labelLength : ℕ
The length of the labels of the indices.
The label of an index.
- label_injective : Function.Injective self.label
The length of the string on a channel, for an index.
- table (p : self.Role) (i : self.Index) : ({ e : self.Slot // Play.Holds self.slotEnd p e } → Bool) → ((ν : { ν : self.Channel // Play.Holds self.channelEnd p ν }) → BitString (self.length i ↑ν)) → F
The tables: a role sees the bits of its slots and the strings of its channels.
- identity (X : self.Role → self.Slot → Bool) : (if ∀ (e : self.Slot), X (self.slotEnd e false) e = X (self.slotEnd e true) e then 1 else 0) = ∑ i : self.Index, ∑ g : (ν : self.Channel) → BitString (self.length i ν), ∏ p : self.Role, self.table p i (fun (e : { e : self.Slot // Play.Holds self.slotEnd p e }) => X p ↑e) fun (ν : { ν : self.Channel // Play.Holds self.channelEnd p ν }) => g ↑ν
The identity of the law.
- connected (ι : self.Role → self.Index) : (∀ (ν : self.Channel), ι (self.channelEnd ν false) = ι (self.channelEnd ν true)) → ∀ (p q : self.Role), ι p = ι q
Indices of the roles that agree along all channels are equal.
The slots of a role.
The channels of a role.
The strings of the law have length at most m.
The power of a law: the identity for B bits on every slot. The index and the strings on
the channels are chosen for every bit.
Indices of B copies of a law that agree along all channels are equal.
The values of the tables of a law.
A law has finitely many entries.
A law whose tables take values in a subsemiring A of F, as a law over A.
A law over every algebra (Appendix G, p. 43, after Theorem G.2): the image of a law under
a ring homomorphism f, with the tables f ∘ L.table.