Canonical locally finite plane trees #
This is the deterministic carrier used by the iid offspring construction in
freezing1/Freezing1/PlaneTree.lean and PlaneTreeGeometry.lean, adapted into
BGW.LocallyFinite. Unlike BGW.PlaneTree, its trees may have infinite height.
Addresses use positive child indices, with [] for the root. Offspring counts
are zero at absent addresses, but also at leaves: vertex membership is Present,
not positivity of the coordinate. The finite-tree bridge explicitly shifts the
existing zero-based addresses. No topology or probability law is installed here.
A vertex address, with positive child indices and [] for the root.
Equations
Instances For
A field assigning a finite offspring count to each address.
Equations
Instances For
Canonical offspring fields describe possibly infinite, locally finite plane trees.
Equations
Instances For
The tree consisting only of its root, with zero offspring at every address.
Equations
Instances For
Re-root at child j. An absent child is represented by leaf; use Present
to test whether that child actually exists.
Equations
- BGW.LocallyFinite.child T j = ⟨fun (u : BGW.LocallyFinite.Address) => ↑T (j :: u), ⋯⟩
Instances For
Membership of an address, including leaves and the root.
Equations
- BGW.LocallyFinite.Present T [] = True
- BGW.LocallyFinite.Present T (j :: u) = (1 ≤ j ∧ j ≤ BGW.LocallyFinite.degree T ∧ BGW.LocallyFinite.Present (BGW.LocallyFinite.child T j) u)
Instances For
Finiteness refers to the vertices, not to the support of the offspring field.