Tree Factorials on Rooted Metric Trees
- Tree factorials are sequences defined by a greedy minimization on rooted metric trees that generalize Bhargava’s logarithmic factorials.
- They employ a local edge-weighting process with recursive min–max formulas to capture branching structures and harmonic measures in random walks.
- Distinct interpretations in automata theory analyze decision-tree complexity for regular factorial languages, clarifying different notions of 'tree factorial'.
Tree factorial usually denotes the sequence of logarithmic factorials associated to a rooted tree, defined by a greedy minimization procedure on the boundary or, equivalently, by a local edge-weighting process. In this formulation, introduced for rooted metric trees, the sequence generalizes Bhargava’s factorials from subsets of local fields to arbitrary rooted trees and connects combinatorics on trees to random walks, unit flows, harmonic measure, and branching number (Amini, 2016). A distinct usage of closely related terminology appears in automata theory, where decision-tree complexity is studied for regular factorial languages; there, “tree” refers to decision trees rather than factorials of rooted trees (Moshkov, 2022).
1. Definition on rooted metric trees
Let be a rooted tree with root , oriented away from , and let be a length function assigning each oriented edge its length . The metric realization of is the rooted metric tree obtained by gluing to each edge an open interval of length and identifying endpoints with vertices. The boundary 0 is the set of infinite oriented paths starting at 1, while the extended boundary 2 consists of 3 together with all finite oriented paths 4 from 5 to leaves 6 (Amini, 2016).
For 7, the intersection pairing is
8
Fix any 9. Inductively, given 0, choose 1 arbitrarily among the unused elements of 2 that minimize
3
and define
4
The resulting sequence 5 depends only on the metric realization 6 of 7, not on the specific choices made during the greedy procedure. These numbers are called the 8-factorials, written 9; when 0 is the standard length function, one writes 1 (Amini, 2016).
For locally finite trees one may incorporate a capacity function 2, constraining how many times a leaf may appear in the defining sequence. The factorials 3 again depend only on the metric realization and the capacity function. A factorial-defining sequence is any sequence of boundary paths realizing the greedy construction (Amini, 2016).
2. Local weighting process and structural formulas
The greedy boundary definition admits an equivalent constructive formulation through a local weighting process on edges. A weighted tree is a pair 4 with 5 such that the edges of positive weight form a connected subtree 6. A vertex is clear if all pending edges at that vertex are unweighted, and a vertex of 7 is unsaturated if either it is an internal vertex of 8 with at least one incident edge outside 9, or it is a leaf of 0 whose incident edge has weight strictly below its capacity bound (Amini, 2016).
For a path 1, the weighted length is
2
The process starts with 3, 4, and then iteratively selects an unsaturated vertex 5 minimizing 6, sets
7
and updates weights along 8 and one or two strict descendant paths according to whether 9 is not clear, clear and branching, or a leaf with residual capacity. Theorem 2.1 states that the resulting sequence again depends only on 0 and the metric tree, so the local weighting process is equivalent to the boundary greedy procedure (Amini, 2016).
The sequence terminates at the stopping index
1
where 2 is the set of branching vertices and 3 is the number of children of 4. For a rooted locally finite tree with standard length, the integers 5 for 6 are the 7-factorials (Amini, 2016).
A central structural formula is the recursive min–max relation. If the root has children 8, with induced subtrees 9, restricted length functions 0, restricted capacities 1, and stopping indices 2, then for all 3,
4
This formula makes explicit how the factorials of a tree are assembled from the factorials of its rooted subtrees (Amini, 2016).
3. Relation to Bhargava’s factorials
Tree factorials were introduced as a combinatorial generalization of Bhargava’s logarithmic factorials. Let 5 be a local field with discrete valuation 6, valuation ring 7, maximal ideal 8, and residue field 9. For a subset 0, Bhargava’s logarithmic factorials are defined by choosing 1 and then choosing 2 minimizing
3
with
4
To such an 5 one associates its adelic tree 6: the vertices at height 7 are the images 8, with edges induced by the quotient maps 9 (Amini, 2016).
The basic identification is Proposition 1.2:
0
Thus Bhargava’s factorials are exactly tree factorials of the adelic tree with standard lengths. This places ultrametric valuation geometry into the language of rooted trees and turns the valuation 1 into the tree intersection pairing 2 (Amini, 2016).
The capacity formalism extends this correspondence. For the ball 3 of radius 4 about the root in 5, define a capacity 6 on leaves by letting 7 be the cardinality of the extended boundary of the descendant subtree rooted at 8. Then
9
the factorials of order 0 of 1. This shows that capacity-constrained tree factorials recover truncated arithmetic variants of Bhargava’s construction (Amini, 2016).
A plausible implication is that tree factorials serve as a common language for valuation-theoretic and purely combinatorial phenomena: the same greedy minimization principle can be interpreted either on a rooted tree boundary or on an infinite subset of a local field.
4. Asymptotic theory: random walk, harmonic measure, and branching number
The asymptotic behavior of normalized tree factorials is governed by potential theory on the tree. For an edge 2, define the conductance
3
The random walk 4 started at the root moves from 5 to a neighbor 6 with probability
7
The pair 8 is weakly complete if any infinite strict path consisting of degree-9 vertices has infinite 00-length (Amini, 2016).
For an infinite locally finite rooted tree with weak completeness, Theorem 1.6 gives an exact criterion:
- 01 is transient;
- the limit
02
is finite.
Equivalently, recurrence holds if and only if 03. The key analytic object is the unit current flow 04, the unique bounded-energy unit flow minimizing
05
When the random walk is transient, the associated harmonic measure 06 on 07 satisfies
08
where 09 is the cylinder set of rays passing through 10 (Amini, 2016).
Theorem 1.7 identifies the normalized factorial growth with the energy of the unit current flow:
11
It also states that any factorial-defining sequence on 12 is equidistributed in 13 with respect to 14. Thus the greedy combinatorial procedure asymptotically samples the boundary according to harmonic measure, and its linear growth rate is the electrical energy of the network (Amini, 2016).
The same theory yields a factorial characterization of branching number. For 15, let
16
Using Lyons’ criterion for transience of 17 and Theorem 1.6, Theorem 1.11 states
18
This expresses branching number entirely in terms of finiteness of normalized factorial limits under an exponential deformation of the edge lengths (Amini, 2016).
5. Growth properties, examples, and computation
Tree factorials are superadditive:
19
Consequently,
20
exists in 21. In the transient weakly complete case one moreover has flow-based bounds
22
for any bounded-energy unit flow 23, with equality for the unit current flow 24 (Amini, 2016).
Several examples illustrate the range of behaviors. For an infinite path, the extended boundary contains only a single infinite ray, so the greedy selection produces 25 and stops; hence 26 and only 27 is defined. If the path is finite and ends at a leaf 28 of total length 29, then for capacity 30 one has 31 and
32
At the opposite extreme, for the regular 33-ary tree with standard lengths and 34, the simple random walk is transient, the current along an edge from level 35 to 36 is 37, and the energy is
38
Therefore
39
so asymptotically 40 (Amini, 2016).
Finite rooted trees yield terminating sequences. If the root is adjacent to 41 leaves and 42, then 43 and
44
If the tree has two levels, with a root 45, one child 46, edge length 47, and two leaf children of 48 with 49, then 50 and
51
These examples show that the factorial sequence can detect both branching and metric depth, but not uniquely determine the tree in general: different trees, including non-isomorphic metric trees, can share the same factorial sequence (Amini, 2016).
From an algorithmic perspective, the local weighting process supplies an explicit procedure for computing 52. Each iteration selects an unsaturated vertex minimizing weighted path length and updates weights along the root path and one or two strict descendant paths. The total number of iterations is 53, and a natural optimization is to maintain a priority structure keyed by the values 54 on unsaturated vertices (Amini, 2016).
6. Distinct automata-theoretic usage: decision trees for regular factorial languages
A separate line of work uses related terminology in a different sense. For a regular factorial language 55, one studies the depth of deterministic and nondeterministic decision trees whose queries reveal letters at positions of a word. Here a language is factorial if it is closed under taking factors, and the relevant objects are the layers
56
Two tasks are considered: recognition, where the input is promised to belong to 57 and the objective is to identify the exact word, and membership, where the input is an arbitrary word of length 58 and the objective is to decide whether it belongs to 59 (Moshkov, 2022).
Rather than the minimum depth 60, the analysis uses the smoothed minimum depth
61
which suppresses oscillations in 62 arising from parity or modular effects. For regular factorial languages, the asymptotic behavior is completely classified. In deterministic recognition, the smoothed depth is either 63, 64, or 65; in nondeterministic recognition and in deterministic and nondeterministic membership, it is either 66 or 67 (Moshkov, 2022).
The classification is phrased in terms of the 68-reduced source generating 69, especially the properties of simplicity, independence, and cyclic length. If the source is independent and simple with cyclic length at most 70, deterministic recognition has constant smoothed depth; if it is independent and simple with cyclic length at least 71, deterministic recognition has logarithmic smoothed depth; otherwise deterministic recognition is linear. Nondeterministic recognition is constant exactly in the independent simple case and linear otherwise. Membership is linear exactly when 72 is infinite and its complement is nonempty; otherwise it is constant (Moshkov, 2022).
This automata-theoretic notion is not a factorial sequence attached to a rooted tree. The shared vocabulary arises from factorial languages and decision trees, not from logarithmic factorials of tree boundaries. Distinguishing these two meanings avoids a common misconception: “tree factorial” in the sense of rooted-tree factorials concerns greedy intersection minimization, while the decision-tree literature concerns query complexity for regular factorial languages (Moshkov, 2022).