The syntactic transcript of a deterministic protocol.
For a fixed protocol, this is exactly the message sequence: terminal protocols have one transcript, and each communication node contributes one Boolean plus the remaining child transcript.
Equations
- (CommunicationComplexity.Deterministic.Protocol.output val).Transcript = Unit
- (CommunicationComplexity.Deterministic.Protocol.alice f P).Transcript = ((b : Bool) × (P b).Transcript)
- (CommunicationComplexity.Deterministic.Protocol.bob f P).Transcript = ((b : Bool) × (P b).Transcript)
Instances For
The rectangle of inputs that follow a syntactic transcript.
Equations
Instances For
The rectangle represented by a syntactic transcript is a rectangle.
Equations
- (CommunicationComplexity.Deterministic.Protocol.output val).transcriptFintype = inferInstanceAs (Fintype Unit)
- (CommunicationComplexity.Deterministic.Protocol.alice f P).transcriptFintype = inferInstanceAs (Fintype ((b : Bool) × (P b).Transcript))
- (CommunicationComplexity.Deterministic.Protocol.bob f P).transcriptFintype = inferInstanceAs (Fintype ((b : Bool) × (P b).Transcript))
Equations
Execute a protocol and return the syntactic transcript reached by the input.
Equations
- (CommunicationComplexity.Deterministic.Protocol.output val).transcript x✝ = ()
- (CommunicationComplexity.Deterministic.Protocol.alice f P).transcript x✝ = ⟨f x✝.1, (P (f x✝.1)).transcript x✝⟩
- (CommunicationComplexity.Deterministic.Protocol.bob f P).transcript x✝ = ⟨f x✝.2, (P (f x✝.2)).transcript x✝⟩
Instances For
If an input follows a syntactic transcript, then this is its computed transcript.
Inputs with the same transcript have the same protocol output.
A protocol has at most 2 ^ complexity syntactic transcripts.
Swap a syntactic transcript by swapping Alice and Bob throughout the protocol.
Equations
- CommunicationComplexity.Deterministic.Protocol.transcriptSwap x_2 = ()
- CommunicationComplexity.Deterministic.Protocol.transcriptSwap t = ⟨t.fst, CommunicationComplexity.Deterministic.Protocol.transcriptSwap t.snd⟩
- CommunicationComplexity.Deterministic.Protocol.transcriptSwap t = ⟨t.fst, CommunicationComplexity.Deterministic.Protocol.transcriptSwap t.snd⟩
Instances For
Swapping Alice and Bob preserves the message sequence injectively.
Pull a syntactic transcript back along maps on Alice's and Bob's inputs.
Equations
- (CommunicationComplexity.Deterministic.Protocol.output val).transcriptComap x✝¹ x✝ x_6 = ()
- (CommunicationComplexity.Deterministic.Protocol.alice f P).transcriptComap x✝¹ x✝ t = ⟨t.fst, (P t.fst).transcriptComap x✝¹ x✝ t.snd⟩
- (CommunicationComplexity.Deterministic.Protocol.bob f P).transcriptComap x✝¹ x✝ t = ⟨t.fst, (P t.fst).transcriptComap x✝¹ x✝ t.snd⟩
Instances For
Pulling a transcript back along input maps preserves the message sequence injectively.