Documentation

LeanPool.Superdiffusion.Algsuperdiff.Section5.Percolation.PathCount

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
Instances For

    Every explicitly encoded cube site satisfies the strict cube inequalities.

    The explicit cube-site enumeration contains every site in the cube.

    The scale-k cube contains exactly 3^(d*k) lattice sites.

    The sup-neighbor offset encoded by one coordinate in Fin 3 in every direction.

    Equations
    Instances For

      The neighbor-offset palette has cardinality 3^d.

      theorem Algsuperdiff.Section5.Percolation.exists_neighborOffset_of_adj {d : ℕ} {x y : Site d} (hxy : Adj x y) :
      ∃ δ ∈ neighborOffsets d, y = x + δ

      Every adjacent step is represented by the neighbor-offset palette.

      All walks with n steps starting at x.

      Equations
      Instances For

        A path belongs to the finite walk enumeration determined by its first vertex and number of remaining vertices.

        Every walk in the n-step enumeration has exactly n + 1 vertices.

        The number of n-step walks from a fixed site is at most (3^d)^n.

        The finite set of lattice paths of vertex length n whose first vertex lies in the centered scale-k cube.

        Equations
        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.

          Path-count bound for the dimension-only union bound.