MindFormal v1.0.0One Mind

MindFormal.Tools.A732TreeCoefficients.Trees

RC9.9a's trees. A finite unordered rooted tree is coded by its Matula–Göbel number: the one-vertex tree • is 1, and the tree whose root has the children t₁, …, t_j is p_{t₁} ⋯ p_{t_j}, p_k the k-th prime. By unique factorization this is a one-to-one coding of unordered rooted trees by the positive integers, and a tree's children, with their multiplicities, are read off its prime factors. On it the vertex count |t|, the tree factorial Γ_tree(t) = |t| Π_h Γ_tree(t_h) and the symmetry factor Γ_sym(t) = Π_u n_u! Π_h Γ_sym(t_h) (n_u the multiplicity of each distinct child) are defined as the source defines them. Pure combinatorics, no mind.

The k-th prime, k ≥ 1 (p₁ = 2).

Equations
Instances For

    The index of a prime p in the list of primes (p_{primeIndex p} = p).

    Equations
    Instances For

      A tree's children, as the list of the indices of its prime factors.

      Equations
      Instances For

        The tree whose root has the listed children.

        Equations
        Instances For
          theorem MindFormal.A732TreeCoefficients.children_graft {l : List ℕ} (hl : ∀ c ∈ l, 0 < c) :
          @[irreducible]

          RC9.9a: the vertex count |t|.

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

            RC9.9a: the tree factorial, Γ_tree(•) = 1 and Γ_tree(t) = |t| Π_h Γ_tree(t_h).

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

              RC9.9a: the symmetry factor, Γ_sym(•) = 1 and Γ_sym(t) = Π_u n_u! Π_h Γ_sym(t_h), n_u the multiplicity of each distinct child tree u.

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