The setting
Place a spin from at the root of a rooted tree and transmit it outward along each edge independently through a symmetric three-state transition kernel parameterized by a real number . At depth , one observes the unlabelled rooted tree up to depth together with the spins at depth . The two tree models take a regular tree with children at every vertex or a Galton-Watson tree with offspring. The library (OAI, for OpenAI) has two parts, OAI.ThreeState and OAI.ThreeState.TreeClauses, and each constructs the channel kernel and the depth- observation law.
The channel
In both OAI.ThreeState and OAI.ThreeState.TreeClauses, a spin is an element of the three-state spin alphabet . In both parts, an admissible noise parameter is a real number satisfying .
For any real and spins , the channel transition weight (called the channel matrix entry in OAI.ThreeState) is (1)
Tree observations
In both OAI.ThreeState and OAI.ThreeState.TreeClauses, an observation of depth (called a layered multiset observation in OAI.ThreeState.TreeClauses) is an element of the space defined recursively by and being the set of finite multisets of elements of .
In OAI.ThreeState, for a real , the Poisson offspring law is the Poisson probability distribution on with parameter .✦ Given an offspring distribution on , an admissible , depth , and root spin , the observation law at depth in OAI.ThreeState, denoted , is the probability distribution on given at by the point mass and at by drawing a child count from , taking independent child spins with probability followed by independent depth- draws from , and forming their multiset.✦
The definition
Definition. In OAI.ThreeState, given an admissible noise parameter and a spin , the noise channel kernel is the probability distribution on defined by (2)✦ When the offspring distribution is the point mass at an integer , the regular tree observation law at depth from root spin is (3)✦ When the offspring distribution is for a real , the Poisson observation law at depth from root spin is (4)✦
In OAI.ThreeState.TreeClauses, an admissible and a spin determine the channel law from , which is the probability distribution on given by (5)✦ Given also an offspring distribution on and depth , the observation law on from root spin satisfies the following recursion, in which, for each , are independent and identically distributed with law and is their multiset: (6)✦
In the paper, the result reads: the root spin is uniform on (written here); along each edge the spin is transmitted through if and if , with ; the tree is the rooted -ary tree (integer , ) or a Galton-Watson tree with offspring, , independent of the root spin; and the depth- observation is the unlabelled tree with the spins at depth .
What is checked
In OAI.ThreeState and OAI.ThreeState.TreeClauses, the definitions are stated over the spin alphabet , an admissible real noise parameter , the channel transition weights , and the depth- multiset observation spaces , with OAI.ThreeState taking the point mass for an integer and the Poisson offspring law for a real in its observation laws, and OAI.ThreeState.TreeClauses taking an arbitrary offspring distribution on .