Documentation

CommunicationComplexity.Trees.Basic

def CommunicationComplexity.Deterministic.Protocol.numLeaves {X : Type u_1} {Y : Type u_2} {α : Type u_3} (p : Protocol X Y α) :

The number of leaves (output nodes) in a protocol, defined via its tree shape.

Equations
Instances For

    Lemma 1.8: every binary tree with > 1 leaves has a subtree with between n/3 and 2n/3 leaves (where n = total leaves).