Nobody hears their own secret in the given sequence, i.e. before each call in the sequence, the agents in that call do not know each other's secrets.
Equations
Instances For
Equations
- isInitialCall S c = decide (isAgentInitialCall S c.1 c = true ∨ isAgentInitialCall S c.2 c = true)
Instances For
Equations
- isFinalCall S c = decide (isAgentFinalCall S c.1 c = true ∨ isAgentFinalCall S c.2 c = true)
Instances For
theorem
initial_both_or_neither
{m : ℕ}
(S : List (Call m))
(c : Call m)
:
c ∈ S →
isAgentInitialCall S c.1 c = true ∧ isAgentInitialCall S c.2 c = true ∨ ¬(isAgentInitialCall S c.1 c = true ∧ isAgentInitialCall S c.2 c = true)
All calls in S are initial for both agents or for neither
theorem
final_both_or_neither
{m : ℕ}
(S : List (Call m))
(c : Call m)
:
c ∈ S →
isAgentFinalCall S c.1 c = true ∧ isAgentFinalCall S c.2 c = true ∨ ¬(isAgentFinalCall S c.1 c = true ∧ isAgentFinalCall S c.2 c = true)
All calls in S are final for both agents or for neither