CommunicationComplexity.Deterministic.OneWay.Protocol.Computes
defimported Lean
A one-way protocol $p$ computes a function $f : X \to Y \to \alpha$ if $p.\mathtt{run}(x, y) = f(x, y)$ for every pair of inputs $(x, y)$.
Statement
set_option relaxedAutoImplicit false in set_option autoImplicit false in variable {X Y α : Type*} in def CommunicationComplexity.Deterministic.OneWay.Protocol.Computes (p : Protocol X Y α) (f : X → Y → α) : Prop
- Defined in
- TCSlib, `CommunicationComplexity.Deterministic.OneWay.Protocol.Computes`
- Lean proof
- By Lucy Horowitz, Timothe Kasriel, Mihir Singhal, from github.com/Shilun-Allan-Li/tcslib at
c8a02591b1e5(Copyright (c) 2026 Lucy Horowitz, Timothe Kasriel, and Mihir Singhal. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.25.0.CommunicationComplexity.Deterministic.OneWay.Protocol.Computes← CommunicationComplexity.Deterministic.OneWay.Protocol.Computes (TCSlib/CommunicationComplexity/DeterministicCC/OneWay.lean:98): verbatim
- Verified
- 07 Oct 2026
- Axioms
- none listed
- Built on 2
- CommunicationComplexity.Deterministic.OneWay.Protocol.runGiven a one-way protocol $p$ and inputs $x \in X$, $y \in Y$, executing the protocol yields the output…
- CommunicationComplexity.Deterministic.OneWay.ProtocolA one-way deterministic communication protocol for inputs $x \in X$, $y \in Y$, and output type $\alpha$ is a structure consisting of a…
- Used by 3
- CommunicationComplexity.Deterministic.OneWay.communicationComplexityThe one-way deterministic communication complexity of $f : X \to Y \to \alpha$ is the infimum (in $\mathbb{N}_\infty$) of the bit costs…
- CommunicationComplexity.Functions.Indexing.le_oneWayCommunicationComplexityOne-way complexity of Index is at least $n$. Every correct deterministic one-way protocol for $\mathrm{IND}_n$ has cost at least $n$; that…
- CommunicationComplexity.Deterministic.OneWay.le_communicationComplexity_iffLower bound characterization of one-way communication complexity. Let $f : X \to Y \to \alpha$ be a function and let $k \in \bbn$. Then…
Lean source view module on GitHub
set_option relaxedAutoImplicit false in set_option autoImplicit false in variable {X Y α : Type*} in /-- A one-way protocol computes `f` when its execution agrees with `f` everywhere. [Rou16, §1.7 Definition (one-way protocol)]. -/ def CommunicationComplexity.Deterministic.OneWay.Protocol.Computes (p : Protocol X Y α) (f : X → Y → α) : Prop := p.run = f