The setting
In the finite-tree calculus for diluted spin glasses, power-mean insertions are expanded directly along finite sequences of arbitrary probability kernels on finite state spaces. Formulating the resulting tree laws, independent products across sibling branches, and depth shifts requires four basic objects: finite probability laws, finite path spaces, towers of finite kernels, and prescribed finite trees.
Kernel towers
On a finite set , a finite probability law is a function satisfying for every and .✦
For any set and any nonnegative integer , the finite path space of depth is defined recursively by taking to be a one-point set and setting .✦
A kernel tower collects a finite sequence of arbitrary probability kernels so that power-mean tree identities can be derived without assuming an infinite hierarchy.
For a finite set and a nonnegative integer , the set of kernel towers of depth on is defined recursively. At depth , the set is the one-point set . At depth , a kernel tower is a pair consisting of a finite probability law on and a map assigning to each a kernel tower .
Prescribed finite trees
For each nonnegative integer , a prescribed finite tree of depth is defined inductively: at depth , it is a single leaf; at depth , it consists of a positive integer branching factor together with an ordered -tuple of prescribed finite trees of depth attached as its children.✦ For any prescribed finite tree of depth , let denote the prescribed finite tree of depth whose root has branching factor and single child .
The definition
Definition. Let be a finite index set, let be a family of finite sets, and let be a family of finite probability laws with each on . The product law is the finite probability law on whose weight at is (1)✦
Given a finite set , a nonnegative integer , and a kernel tower , the path law is the finite probability law on defined recursively at depth and at depth for , , and by (2)✦
For a finite index set , a family of finite sets , a nonnegative integer , and a family of kernel towers with each , the product kernel tower is defined recursively at depth and at depth for by (3)✦ where ranges over .
When is a prescribed finite tree of depth and is a nonnegative integer, the unary initial stem is the prescribed finite tree of depth defined recursively by (4)✦
What is checked
The Lean library defines the product law (1), the path law (2), the product kernel tower (3), and the unary initial stem (4) over arbitrary finite index sets, finite state spaces, finite probability laws, finite path spaces, kernel towers of arbitrary nonnegative integer depth, and prescribed finite trees of arbitrary nonnegative integer depth.