Documentation

Anderson4D.HeppTree.OrderingBound

Ordering bound for Hepp trees #

This file formalizes paper §5.3, Step 3, equation (5.21), on the real Anderson4D.PlaneTree carrier. Local permutations of the children at every vertex are encoded by a target plane tree together with an isomorphism from the original unordered tree. For each fixed target the isomorphism set is a torsor for Aut(t), while the possible valid targets are bounded by TreeCountReal.card_validTreesExactly_le.

Local ordering choices #

The tree/list mutual definitions are structural. This is important here: using a nested Fin cs.length → ... recursive definition would elaborate by well-founded recursion and would not reduce while building the finite instances.

A permutation at a root together with local choices in its child forest.

Equations
Instances For

    View structural forest choices as a dependent function over child indices.

    Equations
    Instances For

      Build structural forest choices from a dependent function over indices.

      Equations
      Instances For

        The recursive product of all child-count factorials.

        Equations
        Instances For

          The local-ordering type has the expected product-factorial cardinality.

          Realizing an ordering as a target plane tree plus an isomorphism #

          @[irreducible]

          Realize all local ordering choices as a plane presentation of the same unordered rooted tree, retaining the induced isomorphism.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[irreducible]

            Split a target isomorphism back into local ordering choices.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Decoding the target and isomorphism produced by an ordering recovers the ordering. Consequently realizeLocalOrdering is injective.

              Isomorphism invariants needed to restrict the target #

              An unordered-tree isomorphism preserves the number of leaves.

              theorem Anderson4D.PlaneTree.isValid_of_iso (s t : PlaneTree) :
              ∀ (a : s.Iso t), s.isValid = true → t.isValid = true

              An unordered-tree isomorphism sends a valid Hepp tree to a valid Hepp tree.

              Counting the ordering choices by their valid targets #

              @[reducible, inline]

              A valid plane presentation with the same leaf count as t, together with an unordered-tree isomorphism from t.

              Equations
              Instances For

                Restrict the realized ordering to the finite set of valid targets.

                Equations
                Instances For

                  Every valid target contributes at most |Aut(t)| isomorphisms.

                  Paper (5.21), first in its recursive product-factorial form.

                  Identification with the branching-vertex product #

                  The recursive ordering factor is the product of the factorial of the child count over all vertices.

                  Vertices outside BranchNodes have zero or one child, hence contribute factorial one.

                  Paper §5.3 Step 3, equation (5.21), on the real PlaneTree carrier.