PathCount #
Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.
Counting finite lattice paths #
This file gives explicit finite enumerations of centered-cube starting sites,
sup-neighbor offsets, and lattice paths of a prescribed vertex length. The
enumeration deliberately includes an extra factor of 3^d, matching the
dimension-only overcount used in the percolation union bound.
The site encoded by one coordinate in Fin (3^k) in every direction,
centered around the origin.
Equations
- Algsuperdiff.Section5.Percolation.cubeSiteOfIndex k j i = ↑↑(j i) - ↑(3 ^ k / 2)
Instances For
The finite set of lattice sites in the centered scale-k cube.
Equations
Instances For
Every explicitly encoded cube site satisfies the strict cube inequalities.
The sup-neighbor offset encoded by one coordinate in Fin 3 in every
direction.
Equations
- Algsuperdiff.Section5.Percolation.offsetOfIndex j i = ↑↑(j i) - 1
Instances For
The finite palette of all 3^d sup-neighbor offsets, including zero.
Equations
Instances For
The neighbor-offset palette has cardinality 3^d.
Every adjacent step is represented by the neighbor-offset palette.
The finite set of lattice paths of vertex length n whose first vertex
lies in the centered scale-k cube.
Equations
- One or more equations did not get rendered due to their size.
- Algsuperdiff.Section5.Percolation.pathsOfLength d k 0 = ∅
Instances For
Every crossing path occurs in the enumeration at its vertex length.
Every path-list in the length-n enumeration has exactly n vertices.