Motivation
Linear opinion models describe each individual's opinion as a weighted average of the opinions of the people they listen to, of an outside signal, and of their own previous opinion. The model goes back to DeGroot (DeGroot 1974) and Friedkin–Johnsen, and its basic questions are when a population reaches consensus and when it polarizes. Fraiman, Lin and Olvera-Cravioto (arXiv:2209.00969v2, Mathematics of Operations Research, 2025) study it on large directed random graphs with vertex attributes, where each vertex also receives a stream of media signals. Their Theorem 2 shows that the opinion of a typical vertex converges, as the graph grows, to a random variable R∗ defined on the graph's local limit. When that local limit is a marked Galton–Watson tree, R∗ becomes explicit enough that its mean and variance can be written in closed form, and the variance formula is what the paper uses to say when consensus happens.
This mission formalizes those closed-form moments in the no-memory case, where an individual's new opinion does not depend on their own previous opinion.
Setting
The tree. Nodes carry Ulam–Harris labels: the root is ∅, and the children of a node i are (i,1),(i,2),… (in the tree, the children of i are its inbound neighbours). Each node i has a mark Xi, which determines its in-degree Ni, the weights C(i,1),…,C(i,Ni)∈[0,1] it puts on its inbound neighbours, and an internal opinion Qi∈[−1,1]. Two parameters c∈[0,1), d∈(0,1] with c+d≤1 fix the proportions: if Ni≥1, then ∑jC(i,j)=c. The tree is a delayed marked Galton–Watson tree: the marks are independent, and all marks except the root's are identically distributed.
Signals. Each node receives media signals Zi(k)∈[−1,1], k≥0, conditionally i.i.d. given its mark and conditionally independent across nodes. The external signal is
Wi(k)=dZi(k)+Qi(c−j=1∑NiC(i,j)),
so a vertex with inbound neighbours gives weight d to the media and c to its neighbours, and a vertex without them falls back on its internal opinion.
Dynamics. Opinions evolve by
Ri(k+1)=j=1∑NiC(i,j)R(i,j)(k)+Wi(k)+(1−c−d)Ri(k).
With the operator Δf(i)=∑jC(i,j)f((i,j))+(1−c−d)f(i), the stationary root opinion is
R∗=s≥0∑(ΔsW(s))(∅).
The no-memory case is c+d=1. In that case R∗=∑jCjRj+W∅(0), where the subtree opinions Rj are i.i.d. copies of the endogenous solution R of the smoothing transform R=D∑jC(1,j)Rj+W1(1). The moments are expressed through ρ2=E[∑i=1N1C(1,i)2] (a non-root node) and ρ2∗=E[∑i=1N∅Ci2] (the root).
Formalization targets
Goal: Proposition 4 (p. 11)
If c+d=1 and P(N∅>0)=P(N1>0)=1, then
E[R∗]=dE[Z∅]+cE[Z1],Var(R∗)=d2Var(Z∅)+1−ρ2ρ2∗d2Var(Z1).
Milestones, in attack order
- The expansion Δsf(i)=∑l≤s∑∣j∣=lΠiΠ(i,j)al,sf((i,j)) with al,s=(ls)(1−c−d)s−l (proof of Proposition 3, p. 29).
- Proposition 3 (pp. 9–10): R∗=∑s∑l≤s∑∣j∣=lΠjal,sWj(s).
- Remark 6 (p. 10): the decomposition (6)–(7) of R∗ without memory, the i.i.d. structure of the Rj, and the fixed-point equation.
- Display (14) (p. 30): E[R]=E[Z1] and Var(R)=1−ρ2d2Var(Z1).
- Displays (12)–(13) (p. 30): the conditional mean and variance of R∗ given X∅ in terms of R.
- Proposition 5 (p. 14): E[R∗∣X∅]=dE[Z∅∣X∅]+cE[Z1] and Var(R∗∣X∅)=d2Var(Z∅∣X∅)+1−ρ2d2∑iCi2Var(Z1).
Significance
The result. The variance formula identifies consensus with small media variance: the weights enter only through the second moments ρ2,ρ2∗, so consensus is possible for any network structure as long as dZ has small variance. The conditional formulas of Proposition 5 separate the part of the opinion explained by the vertex's own attributes from the part contributed by the network, which is how the paper describes polarization: individuals with similar attributes end with similar opinions when Var(R∗∣X∅) is small. The no-memory formulas are also the comparison point for the general case c+d<1 (Proposition 6 of the paper, a separate mission of this series).
The formalization. The results are proved in the paper; none is machine-checked. A formal development produces a reusable encoding of marked Galton–Watson trees with i.i.d. marks and signals, the expansion of powers of the averaging operator over the generations of a tree, and the moment computation for the endogenous solution of the linear smoothing transform, a fixed-point equation that recurs in the study of branching processes and of ranking algorithms such as PageRank on random graphs.
Difficulty
The moment identities are short once Remark 6 is available. The work is in making Remark 6 precise: the subtree opinions Rj are infinite series over random subtrees, and the proof needs them to be measurable, mutually independent, identically distributed, and independent of the root's mark and signal. That independence comes from the disjointness of the label sets they read, together with the independence of all marks and all uniform variables, and it must be carried through a random in-degree and random weights. The conditional variance step then requires conditional independence given X∅ of a random number of summands. Simply invoking the law of total variance is not enough: computing Var(R) from the fixed-point equation needs Var(R)<∞, which here follows from boundedness, ∣R∣≤1/d.
Formalization scope
Labels are List ℕ with 0-based children: the paper's node 1 is [0] and its j-th child of i is i ++ [j-1]. Marks live in an arbitrary measurable space and are read through measurable maps giving N, C, Q. The signals are written Zi(k)=ζ(Xi,Ui(k)) with i.i.d. uniform U independent of the marks; this produces exactly the paper's conditional i.i.d. structure (take ζ(x,⋅) the quantile function), and every statement concerns laws. Signals are indexed by time k≥0; E[Z1] and Var(Z1) are taken at k=0, as their laws do not depend on k. The relative path weights Π(i,j)/Πi are products along the path, never quotients, which removes the paper's convention for Cj=0.
The paper states Propositions 3–5 under "the assumptions of Theorem 2" with a tree as local limit. Those assumptions only serve to identify R∗ with the typical opinion of a large graph; the statements and proofs concern R∗ on the limit tree. The Lean statements are therefore made on the tree, under the Section 5 standing assumptions above, without a graph sequence. R∗ is the series ∑s(ΔsW(s))(∅).
Conditional expectations and variances given X∅ are Mathlib's condExp and condVar with respect to the σ-algebra generated by the root's mark, and the conditional statements are equalities almost everywhere, not pointwise. No trivializing reading is available: every series is absolutely summable for every outcome under the standing assumptions, every variable is bounded by 1/d, so Lean's junk values for a non-summable tsum, a non-integrable integral or a non-L2 variance never apply, and 1−ρ2≥1−c2>0, so the division is genuine. The standing assumptions are satisfiable together with c+d=1 and N≥1 (a path tree with uniform signals). The hypotheses P(N∅>0)=P(N1>0)=1 are used: without them the term cQ enters at vertices with no inbound neighbours and the formulas change.
Needed infrastructure: independence of functions of disjoint blocks of an independent family, measurability of series over random finite generations, conditional variance of conditionally independent sums. Contributions on each milestone, on general lemmas for marked Galton–Watson trees, and alternative proofs are welcome.
Selected references
- N. Fraiman, T.-C. Lin, M. Olvera-Cravioto, Opinion dynamics on directed complex networks, Mathematics of Operations Research, 2025; arXiv:2209.00969v2. https://arxiv.org/abs/2209.00969
- M. H. DeGroot, Reaching a consensus, Journal of the American Statistical Association 69 (1974) 118–121. https://doi.org/10.1080/01621459.1974.10480137
- D. J. Aldous, A. Bandyopadhyay, A survey of max-type recursive distributional equations, Annals of Applied Probability 15 (2005) 1047–1110. https://doi.org/10.1214/105051605000000142
- G. Alsmeyer, J. D. Biggins, M. Meiners, The functional equation of the smoothing transform, Annals of Probability 40 (2012) 2069–2105. https://doi.org/10.1214/11-AOP670