Algorithmadvanced
Henderson's mixed model equations
Also called best linear unbiased prediction of random effects.
A linear system whose solution gives at once the GLS estimates of the fixed effects and the best linear unbiased predictions of the random effects.
- Time
- Θ(n^3 + n (p + q)^2 + (p + q)^3) worstΘ(n (p + q)^2 + (p + q)^3) best
- Space
- Θ(n^2 + n (p + q) + (p + q)^2) extra
- Counts
- flops n^3/3 + 2 (p + q + 1) n^2 + n (p + q)^2 + (p + q)^3/3 + q^3 worst
- Where
- n = the number of observations; p = the number of fixed-effect columns; q = the number of random effects
- Model
- Real RAM
- Properties
- deterministicexactofflineiterative
- Evidence
- Proof sketchCode in 1 languages
- Origin
- Charles R. Henderson, Oscar Kempthorne, Shayle R. Searle, C. M. von Krosigk, 1959
Henderson's mixed model equations are a linear system of order whose solution gives, for known covariance matrices and , both the generalized least squares estimate of the fixed effects and the best linear unbiased predictor of the random effects in the linear mixed model . On this page is the vector of fixed-effect coefficients. The direct route to is generalized least squares with , an matrix, and . The equations avoid : they need only , which is often diagonal, and , which is often diagonal or sparse. That made national genetic evaluations of millions of animals possible, and the same system is inside every modern mixed model program. The predictions of the random effects are what the alias "best linear unbiased prediction of random effects" names.
In plain words
Suppose you want to rank bulls by the milk yield of their daughters. Each bull has a few daughters in different herds, and herds differ. A plain average per bull is noisy for bulls with few daughters and mixes in herd effects. The equations solve for the herd effects and the bull effects together. They treat the bull effects as random draws around zero, so a bull with few daughters is pulled toward the average, and a bull with many daughters keeps most of his own average. The amount of pull comes from how much bulls truly differ compared with the noise in single records. One system of equations, about as large as the number of herds plus bulls, gives all of these answers at once.
The problem
Input. ; () of rank ; (); a symmetric positive definite (), the covariance of ; a symmetric positive definite (), the covariance of .
Output. and that solve
and on request the blocks of the inverse of the coefficient matrix : the top left block is and the bottom right block is , the prediction error covariance (PEV).
What the solution is. , the GLS estimate, which is the best linear unbiased estimator of and its maximum likelihood estimate for known and . For every linear combination with in the row space of , is the best linear unbiased predictor (BLUP): it has the smallest mean squared error among linear functions with for all .
The algorithm
MIXED-MODEL-EQUATIONS(X[1..n, 1..p], Z[1..n, 1..q], G[1..q, 1..q], R[1..n, 1..n], y[1..n])- 1
W ← [X Z] ▷ n × (p + q) - 2
F ← R⁻¹W; f ← R⁻¹y ▷ divide rows if R is diagonal, else LDLᵀ of R and solves - 3
C ← Wᵀ F ▷ (p + q) × (p + q), symmetric - 4
C[p+1..p+q, p+1..p+q] ← C[p+1..p+q, p+1..p+q] + G⁻¹ - 5
r ← Wᵀ f - 6
(L, D) ← LDLᵀ factor of C ▷ every pivot is positive - 7
s ← solve L D Lᵀ s = r - 8
return b̂ = s[1..p], ũ = s[p+1..p+q] - 9
on request: C⁻¹ from p + q solves; Cov(b̂) = top left p × p block, PEV = bottom right q × q block
Line L2 is the only step that touches . With independent errors, or a diagonal matrix of weights, it costs . Line L4 needs , which is for independent random effects, block diagonal for random slopes, and, for relationship matrices in animal breeding, sparse and written down from the pedigree by Henderson's (1976) rules without forming . In large problems is sparse, and line L6 is a sparse Cholesky factorization with a fill-reducing order, or lines L6 and L7 are replaced by an iterative solver.
Example
Three groups with , an intercept (), one random effect for each group (), and , so and . Lines L1 to L5 give
The first row is and the group sizes divided by 3. The diagonal of the lower block is . Solving in exact arithmetic:
| quantity | exact | decimal |
|---|---|---|
| 16.3615 | ||
| 4.4176 | ||
| 5.3591 | ||
| PEV of | 5.6477, 5.7927, 5.5752 |
The group means are 12, 16 and 21, and the plain mean of the 9 values is 16.889. is the GLS weighted mean of the group means with weights , which are nearly equal here because is large, so it is close to the unweighted mean 16.33 of the group means. Each is the deviation times the shrinkage factor , which is , and for the groups of sizes 3, 2 and 4: the smallest group is shrunk most and has the largest PEV. With the balanced data and the same and , the solution is and , the deviations times , with and PEV for each group.
Correctness
The proof in this folder shows four facts in exact arithmetic. First, is positive definite when has full column rank and and are positive definite, so every pivot of line L6 is positive and the solution is unique. Second, the push-through identity and the matching form of turn the second block row into and the first into the GLS normal equations . Third, a direct comparison of mean squared errors shows that is the BLUP. Fourth, the Schur complement formula gives the two diagonal blocks of as and , which are and the PEV.
Proof: Henderson's equations give the GLS estimate of b with V = ZGZ^T + R and the best linear unbiased predictor of ufull
The arithmetic is exact. is of rank , is , () and () are symmetric positive definite, , , and . The vector holds the fixed-effect coefficients. The coefficient matrix and right-hand side built by lines L1 to L5 are
Lemma 1 (C is positive definite). is symmetric positive definite, so every pivot of the factor in line L6 is positive, line L7 returns the unique solution, and the algorithm stops after a fixed number of steps.
Proof. With , . For , with . Both terms are at least 0. If the second is positive. If then , because has rank , and the first is positive. The pivots of are ratios of consecutive leading principal minors of , which are positive for a positive definite matrix. is positive definite too, as the sum of the positive semidefinite and the positive definite , and is positive definite, as plus a positive semidefinite matrix; so , and below exist.
Lemma 2 (push-through and the inverse of V). and .
Proof. . Multiplying on the left by and on the right by gives the first identity. For the second, . This is the Woodbury identity for this .
Theorem 1 (the fixed effects are GLS). The solution of satisfies , so , and .
Proof. The second block row is , so by Lemma 2. Put into the first block row and collect terms:
By Lemma 2 the matrix in parentheses is , which gives .
So is the generalized least squares estimate for , which is the best linear unbiased estimator of by Aitken's theorem. Note also that , so .
Theorem 2 (BLUP). Let lie in the row space of and . Among all linear predictors with for every , the one with the smallest mean squared error is , and it is unique.
Proof. Since and , the unbiasedness condition is for every , that is ; this set is not empty because is in the row space of . For such the error has mean 0, and with ,
Let . Then , so is unbiased, and with . Any other unbiased is with , and
which is positive unless , because is positive definite. So is the unique best predictor. Finally,
using from Theorem 1, and this is .
With and a unit vector, each coordinate is the BLUP of ; with , is the BLUE of .
Theorem 3 (the blocks of the inverse). Write in blocks () and (). Then and .
Proof. By the block inverse formula with the Schur complement of the lower block ,
by Lemma 2, and . By Lemma 2, , so the second term is . Also , because . Adding, .
For the covariances: has . For the prediction error, . Direct multiplication gives , and , so
Lines L8 and L9 return exactly these quantities. The implementation checks Theorems 1 and 3 with rational arithmetic against the direct formulas with on random problems.
Complexity
For dense , the factor costs flops and the solves ; the product of line L3 costs about and the factor of . Inverting a dense adds . Extra space is for the factor of , for and for . With diagonal and , the time is and the matrices are never formed; the GLS route instead costs for , which is dense within each group. Line L9 adds .
Properties
- Exact. In exact arithmetic the result equals GLS and BLUP exactly; the implementation checks this with rational numbers on random problems.
- The ridge view. The equations are the normal equations of the penalized least squares problem . This is how Henderson et al. (1959) found them, as the maximum of the joint density of and over and . With and it is ridge regression on the columns with penalty and no penalty on .
- Shrinkage. is pulled toward 0 compared with a fit that treats as fixed; the pull grows with and shrinks with the amount of data on each effect. As the equations become the normal equations of the fixed effects fit.
- Bayes. For known and and a flat prior on , is the posterior mean of and is the posterior covariance of .
- Boundary. A variance component equal to 0 makes singular, and line L4 cannot form ; the implementation raises an error. The limit sets and to the GLS fit without that effect, so the effect can be dropped. A form of the equations that multiplies the second block by instead of using handles a singular directly.
Variants and improvements
- Estimated variance components (EBLUP). In practice and with from restricted maximum likelihood. The result is the empirical BLUP. EM and average information REML algorithms reuse and the blocks of at every iteration.
- Animal models. With , has at most a few nonzeros for each animal and is written down from the pedigree (Henderson 1976), so stays sparse even with millions of animals; the system is solved by Gauss-Seidel or preconditioned conjugate gradients.
- Penalized least squares with a Cholesky factor of the relative covariance. lme4 (Bates et al. 2015) writes with and solves a sparse Cholesky system in , which stays well defined when a variance component is 0.
- Absorption. When is large and the lower block is diagonal, as for one random factor, eliminate first: the Schur complement is computed cheaply, then follows group by group.
When to use it
Use the equations whenever and are wanted for given covariance parameters and and are cheap: clustered and longitudinal data with independent errors, genetic evaluation, small area estimation and penalized spline fits. If is small and dense, or is a dense matrix with no structure, GLS with directly is as fast. If only is wanted and is small, GLS is simpler.
Pitfalls
- Unknown covariance treated as known. The blocks of assume the true and ; with estimated values they understate the uncertainty, most with few groups.
- Collinear . If is not of full column rank, is singular. Only estimable functions have a BLUE; drop or constrain columns first.
- Dense . Inverting a dense that has no structure loses the main advantage; then GLS or a factor of may be cheaper.
- Selection. BLUP stays unbiased under selection on only when the data used for the selection are in the model (Henderson 1975); otherwise the ranking of animals or schools is biased.
- Rounding. Large differences in scale between and make badly conditioned; scale the columns or use the form.
Implementations
Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/henderson-mixed-model-equations/. The authors are listed in prov/3AX196.jsonl.
"""Henderson's mixed model equations for the linear mixed model y = X b + Z u + e.
u ~ N(0, G) and e ~ N(0, R) are independent, with G (q x q) and R (n x n)
known and positive definite. The equations
[ X^T R^-1 X X^T R^-1 Z ] [b] [ X^T R^-1 y ]
[ Z^T R^-1 X Z^T R^-1 Z + G^-1 ] [u] = [ Z^T R^-1 y ]
have order p + q, not n. Their solution b is the generalized least squares
estimate with V = Z G Z^T + R, and u is the best linear unbiased predictor
(BLUP) of the random effects. The inverse of the coefficient matrix gives
Cov(b-hat) in its top-left block and the prediction error covariance
Cov(u-hat - u) in its bottom-right block.
The solver is a symmetric LDL^T factorization without square roots, so the
arithmetic is generic: Fraction input gives exact results.
"""
from typing import NamedTuple
def transpose(a):
return [list(col) for col in zip(*a)]
def matmul(a, b):
bt = transpose(b)
return [[sum(x * y for x, y in zip(row, col)) for col in bt] for row in a]
def ldl(a):
"""Unit lower triangular L and diagonal d with A = L diag(d) L^T. Raises ValueError unless A is positive definite."""
n = len(a)
l = [[0] * n for _ in range(n)]
d = [0] * n
for j in range(n):
dj = a[j][j] - sum(l[j][k] * l[j][k] * d[k] for k in range(j))
if not dj > 0:
raise ValueError("matrix is not positive definite")
d[j] = dj
l[j][j] = 1
for i in range(j + 1, n):
l[i][j] = (a[i][j] - sum(l[i][k] * l[j][k] * d[k] for k in range(j))) / dj
return l, d
def ldl_solve(l, d, b):
"""Solve L diag(d) L^T x = b by forward substitution, a diagonal scaling and back substitution."""
n = len(d)
z = [0] * n
for i in range(n):
z[i] = b[i] - sum(l[i][k] * z[k] for k in range(i))
w = [z[i] / d[i] for i in range(n)]
x = [0] * n
for i in reversed(range(n)):
x[i] = w[i] - sum(l[k][i] * x[k] for k in range(i + 1, n))
return x
def inverse_spd(a):
"""The inverse of a symmetric positive definite matrix, by LDL^T."""
l, d = ldl(a)
n = len(a)
cols = [ldl_solve(l, d, [1 if i == j else 0 for i in range(n)]) for j in range(n)]
return transpose(cols)
def _is_diagonal(a):
return all(a[i][j] == 0 for i in range(len(a)) for j in range(len(a)) if i != j)
class MMEFit(NamedTuple):
b: list # fixed effects, length p (the GLS estimate)
u: list # predicted random effects, length q (the BLUP)
c: list # the (p + q) x (p + q) coefficient matrix
rhs: list # the right-hand side
def mixed_model_equations(x, z, g, r, y):
"""Build and solve Henderson's mixed model equations."""
n, p, q = len(y), len(x[0]), len(z[0])
if len(x) != n or len(z) != n or len(r) != n or len(g) != q:
raise ValueError("dimensions do not match")
w = [xr + zr for xr, zr in zip(x, z)] # @line L1
if _is_diagonal(r):
for i in range(n):
if not r[i][i] > 0:
raise ValueError("R is not positive definite")
rinv_w = [[row[j] / r[i][i] for j in range(len(row))] for i, row in enumerate(w)] # @line L2
rinv_y = [y[i] / r[i][i] for i in range(n)] # @line L2
else:
l, d = ldl(r)
cols = [ldl_solve(l, d, [w[i][j] for i in range(n)]) for j in range(p + q)] # @line L2
rinv_w = transpose(cols)
rinv_y = ldl_solve(l, d, list(y)) # @line L2
wt = transpose(w)
c = matmul(wt, rinv_w) # @line L3
if _is_diagonal(g):
if not all(g[i][i] > 0 for i in range(q)):
raise ValueError("G is not positive definite")
ginv = [[1 / g[i][i] if i == j else 0 for j in range(q)] for i in range(q)]
else:
ginv = inverse_spd(g)
for i in range(q):
for j in range(q):
c[p + i][p + j] += ginv[i][j] # @line L4
rhs = [sum(wt[i][k] * rinv_y[k] for k in range(n)) for i in range(p + q)] # @line L5
l, d = ldl(c) # @line L6
sol = ldl_solve(l, d, rhs) # @line L7
return MMEFit(sol[:p], sol[p:], c, rhs) # @line L8
def mme_inverse_blocks(fit, p):
"""(Cov(b-hat), Cov(u-hat - u)) from the inverse of the coefficient matrix: its top-left and bottom-right blocks."""
ci = inverse_spd(fit.c) # @line L9
return [row[:p] for row in ci[:p]], [row[p:] for row in ci[p:]] # @line L9
def one_way_design(groups):
"""X (a column of ones) and Z (group indicators) for a one-way random effects layout given as lists of responses."""
x, z, y = [], [], []
for gi, values in enumerate(groups):
for v in values:
x.append([1])
z.append([1 if k == gi else 0 for k in range(len(groups))])
y.append(v)
return x, z, y
test_henderson_mixed_model_equations.py 122 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/henderson-mixed-model-equations/. The authors are listed in prov/3AX196.jsonl.
import random
from fractions import Fraction as Fr
import pytest
from henderson_mixed_model_equations import (
matmul, mixed_model_equations, mme_inverse_blocks, one_way_design, transpose,
)
def inverse_gj(a):
"""Gauss-Jordan inverse in exact rational arithmetic (independent of the LDL^T code)."""
n = len(a)
m = [[Fr(v) for v in row] + [Fr(int(i == j)) for j in range(n)] for i, row in enumerate(a)]
for c in range(n):
piv = next(r for r in range(c, n) if m[r][c] != 0)
m[c], m[piv] = m[piv], m[c]
m[c] = [v / m[c][c] for v in m[c]]
for r in range(n):
if r != c and m[r][c] != 0:
f = m[r][c]
m[r] = [u - f * v for u, v in zip(m[r], m[c])]
return [row[n:] for row in m]
def add(a, b):
return [[u + v for u, v in zip(r, s)] for r, s in zip(a, b)]
def random_spd(rng, k):
"""A random symmetric positive definite rational matrix: M M^T + I."""
m = [[Fr(rng.randint(-2, 2)) for _ in range(k)] for _ in range(k)]
return add(matmul(m, transpose(m)), [[Fr(int(i == j)) for j in range(k)] for i in range(k)])
def gls_and_blup(x, z, g, r, y):
"""Reference: b = (X^T V^-1 X)^-1 X^T V^-1 y and u = G Z^T V^-1 (y - X b), with V = Z G Z^T + R."""
v = add(matmul(matmul(z, g), transpose(z)), r)
vi = inverse_gj(v)
xt = transpose(x)
a = matmul(matmul(xt, vi), x)
ai = inverse_gj(a)
col = [[v] for v in y]
b = [row[0] for row in matmul(ai, matmul(matmul(xt, vi), col))]
resid = [[y[i] - sum(x[i][j] * b[j] for j in range(len(b)))] for i in range(len(y))]
u = [row[0] for row in matmul(matmul(matmul(g, transpose(z)), vi), resid)]
return b, u, v, vi, ai
def test_henderson_equals_gls_and_blup_exactly():
rng = random.Random(20261114)
for _ in range(12):
n, p, q = rng.randint(5, 9), rng.randint(1, 3), rng.randint(1, 4)
x = [[Fr(1)] + [Fr(rng.randint(-3, 3)) for _ in range(p - 1)] for _ in range(n)]
z = [[Fr(rng.randint(0, 1)) for _ in range(q)] for _ in range(n)]
g = random_spd(rng, q)
r = random_spd(rng, n) if rng.random() < 0.5 else [[Fr(rng.randint(1, 4)) if i == j else Fr(0) for j in range(n)] for i in range(n)]
y = [Fr(rng.randint(-9, 9)) for _ in range(n)]
try:
want_b, want_u, v, vi, ai = gls_and_blup(x, z, g, r, y)
except StopIteration:
continue # X^T V^-1 X singular: X has dependent columns
fit = mixed_model_equations(x, z, g, r, y)
assert fit.b == want_b
assert fit.u == want_u
cb, cu = mme_inverse_blocks(fit, p)
assert cb == ai
# C^22 = G - G Z^T P Z G with P = V^-1 - V^-1 X (X^T V^-1 X)^-1 X^T V^-1.
vix = matmul(vi, x)
proj = add(vi, [[-t for t in row] for row in matmul(matmul(vix, ai), transpose(vix))])
gz = matmul(g, transpose(z))
pev = add(g, [[-t for t in row] for row in matmul(matmul(gz, proj), transpose(gz))])
assert cu == pev
def test_balanced_one_way_shrinkage():
groups = [[10, 12, 14], [15, 16, 17], [18, 20, 22]]
x, z, y = one_way_design([[Fr(v) for v in grp] for grp in groups])
g = [[Fr(15) if i == j else Fr(0) for j in range(3)] for i in range(3)]
r = [[Fr(3) if i == j else Fr(0) for j in range(9)] for i in range(9)]
fit = mixed_model_equations(x, z, g, r, y)
assert fit.b == [Fr(16)]
assert fit.u == [Fr(-15, 4), Fr(0), Fr(15, 4)] # shrinkage 15/16 of the group mean deviations -4, 0, 4
def test_unbalanced_one_way_closed_form():
groups = [[Fr(v) for v in grp] for grp in ([10, 12, 14], [15, 17], [18, 20, 22, 24])]
su, se = Fr(15), Fr(3)
x, z, y = one_way_design(groups)
g = [[su if i == j else Fr(0) for j in range(3)] for i in range(3)]
r = [[se if i == j else Fr(0) for j in range(len(y))] for i in range(len(y))]
fit = mixed_model_equations(x, z, g, r, y)
w = [len(grp) / (se + len(grp) * su) for grp in groups]
means = [sum(grp) / len(grp) for grp in groups]
b = sum(wi * m for wi, m in zip(w, means)) / sum(w)
assert fit.b == [b]
assert fit.u == [len(grp) * su / (len(grp) * su + se) * (m - b) for grp, m in zip(groups, means)]
def test_float_input_agrees_with_exact():
groups = [[10.0, 12.0, 14.0], [15.0, 17.0], [18.0, 20.0, 22.0, 24.0]]
x, z, y = one_way_design(groups)
g = [[15.0 if i == j else 0.0 for j in range(3)] for i in range(3)]
r = [[3.0 if i == j else 0.0 for j in range(len(y))] for i in range(len(y))]
fit = mixed_model_equations(x, z, g, r, y)
xf, zf, yf = one_way_design([[Fr(int(v)) for v in grp] for grp in groups])
exact = mixed_model_equations(xf, zf, [[Fr(int(v)) for v in row] for row in g], [[Fr(int(v)) for v in row] for row in r], yf)
assert abs(fit.b[0] - float(exact.b[0])) < 1e-12
assert all(abs(a - float(b)) < 1e-12 for a, b in zip(fit.u, exact.u))
def test_bad_input():
x, z, y = one_way_design([[1.0, 2.0], [3.0]])
with pytest.raises(ValueError):
mixed_model_equations(x, z, [[1.0, 0.0], [0.0, 0.0]], [[1.0 if i == j else 0.0 for j in range(3)] for i in range(3)], y)
with pytest.raises(ValueError):
mixed_model_equations(x, z, [[1.0, 0.0], [0.0, 1.0]], [[0.0 if i == j else 0.0 for j in range(3)] for i in range(3)], y)
with pytest.raises(ValueError):
mixed_model_equations(x, z, [[1.0]], [[1.0 if i == j else 0.0 for j in range(3)] for i in range(3)], y)
History
Henderson stated the equations in a 1950 abstract, for the evaluation of dairy sires. Henderson, Kempthorne, Searle and von Krosigk (1959) derived them by maximizing the joint density of the records and the random effects, without a proof that the result was best. Goldberger (1962) gave the best linear unbiased predictor in a regression with correlated errors. Henderson (1963, 1975) proved that the solutions are the BLUE and the BLUP, and the 1975 paper treated data subject to selection. Henderson (1976) found the direct rules for the inverse of the relationship matrix, which made evaluations with whole pedigrees possible. Harville (1976) put BLUP in the form of a Gauss-Markov theorem, and Robinson (1991) reviewed the many derivations and uses of BLUP.
References
- C. R. Henderson, Best linear unbiased estimation and prediction under a selection model, Biometrics 31(2), 1975, pp. 423 to 447, The mixed model equations, the proof that they give the BLUE of estimable functions of b and the BLUP of u, and the inverse of the coefficient matrix as the error covariance
- C. R. Henderson, Oscar Kempthorne, S. R. Searle and C. M. von Krosigk, The estimation of environmental and genetic trends from records subject to culling, Biometrics 15(2), 1959, pp. 192 to 218, The derivation of the equations from the joint density of y and u
- C. R. Henderson, Estimation of genetic parameters (abstract), Annals of Mathematical Statistics 21(2), 1950, pp. 309 to 310, The first statement of the equations
- C. R. Henderson, A simple method for computing the inverse of a numerator relationship matrix used in prediction of breeding values, Biometrics 32(1), 1976, pp. 69 to 83, The rules that write down the inverse of the relationship matrix directly from a pedigree
- David Harville, Extension of the Gauss-Markov theorem to include the estimation of random effects, Annals of Statistics 4(2), 1976, pp. 384 to 395, The whole paper (BLUP of linear combinations of fixed and random effects as a Gauss-Markov theorem)
- Arthur S. Goldberger, Best linear unbiased prediction in the generalized linear regression model, Journal of the American Statistical Association 57(298), 1962, pp. 369 to 375, The whole paper (the BLUP of a future observation with correlated errors)
- G. K. Robinson, That BLUP is a good thing: the estimation of random effects, Statistical Science 6(1), 1991, pp. 15 to 32, Sections 2 to 5 (derivations of the equations and of BLUP, and the links to Bayes, kriging and credibility)
- Douglas Bates, Martin Mächler, Ben Bolker and Steve Walker, Fitting linear mixed-effects models using lme4, Journal of Statistical Software 67(1), 2015, pp. 1 to 48, Section 3 (the penalized least squares form of the equations solved by a sparse Cholesky factor)
- Shayle R. Searle, George Casella and Charles E. McCulloch, Variance Components, Wiley, 1992, Chapter 7 (prediction of random variables, BLUP and the mixed model equations)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H1 sketch |
|
| Lean | L0 no Lean part |
|
| Code (python) | I0 not checked yet |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 3AX196 Edit this page History Report an error Markdown