Algorithmcore
Mention-pair coreference model
Also called Soon mention-pair model.
Classify each pair of mentions as coreferent or not, then link each mention to its closest (or most probable) earlier mention classified as coreferent.
- Solves
- Coreference resolution
- Time
- O(n^2 d) worst
- Space
- O(n) extra
- Where
- d = the number of features of a pair; n = the number of mentions in the document
- Model
- Word RAM
- Properties
- deterministicnot exactonlineiterative
- Evidence
- Proof sketchCode in 1 languages
- Origin
- Wee Meng Soon, Hwee Tou Ng, Daniel Chung Yong Lim, Vincent Ng, Claire Cardie, 2001
The mention-pair model splits coreference resolution into two steps. A classifier looks at one pair of mentions at a time and gives the probability that they refer to the same entity. A linker then walks through the document and gives each mention at most one antecedent among the earlier mentions, and the entities are the groups of linked mentions. Soon, Ng and Lim (2001) made this the standard learned approach, with a decision tree on 12 features and closest-first linking. It is simple and fast, and it is the base that later methods improved on: the span-ranking model replaces the independent pair decisions by a softmax over the candidate antecedents and learns the mentions too.
In plain words
For every mention, look back at the mentions before it, one by one, starting with the nearest. For each earlier mention, a trained classifier says how likely it is that both name the same thing, using clues such as the same words, the same gender and number, or a pronoun close by. In the Soon version, link the mention to the nearest earlier mention that the classifier accepts. In the Ng and Cardie version, link it to the accepted one with the highest probability. Mentions that are linked, directly or through others, form one entity.
The problem
Input: the mentions of a document in text order, already found (by a parser, a chunker or a named entity tagger), and for training, gold chains. A feature function describes a pair . Output: a partition of the mentions into entities.
Soon et al. (2001, Section 2.2) use 12 features of a pair: the sentence distance, whether is a pronoun, whether is a pronoun, string match after removing articles and demonstratives, whether is a definite NP, whether is a demonstrative NP, number agreement, semantic class agreement, gender agreement, whether both are proper names, whether one is an alias of the other, and whether is in apposition to .
The algorithm
MENTION-PAIR(mentions 0 .. N-1, gold chains, features φ)- 1
for each mention j with an earlier mention of its chain: i ← the closest such mention - 2
add (i, j) as a positive pair, and (k, j) as a negative pair for each i < k < j - 3
train a classifier p(i, j) = P(coreferent | φ(i, j)) on these pairs - 4
for j ← 1 to N-1 do - 5
for i ← j-1 downto 0 do - 6
if p(i, j) > 0.5 then link j to i and stop this loop ▷ closest first - 7
return the connected components of the links (union-find)
Soon et al. train a C5 decision tree (Section 2.4). The code trains logistic regression by gradient descent instead; the linker only needs a probability. Ng and Cardie (2002, Section 3) change two steps:
- Best first: instead of line L6, link to the with the highest among those above 0.5. The code breaks ties toward the closest .
- Training pairs: for a non-pronominal anaphor, the positive pair uses the closest non-pronominal mention of its chain, because a name is a more reliable antecedent for a name than a pronoun is; for a pronoun, the closest mention of its chain, as before. Negatives are the mentions between the two, as in Soon et al. The paper does not say what to do with mentions of the same chain that lie between them; the code skips them so that no coreferent pair is labeled negative.
The threshold 0.5 is the decision rule of a probabilistic classifier, not a tuned value. Ng and Cardie turn the leaf counts of the tree into a smoothed probability.
Example
Take "Mary met John. He gave her a book. Mary thanked him." and the first six mentions: Mary (0), John (1), He (2), her (3), a book (4) and Mary (5). The gold chains are {0, 3, 5}, {1, 2} and {4}.
Training pairs of Soon et al.: He (2) has the closest antecedent John (1), so (1, 2) is positive. Her (3) has the closest antecedent Mary (0), so (0, 3) is positive and (1, 3) and (2, 3) are negative. Mary (5) has the closest antecedent her (3), so (3, 5) is positive and (4, 5) is negative. Ng and Cardie instead pair Mary (5) with Mary (0) as the positive pair, since 5 is a name; the negatives are (1, 5), (2, 5) and (4, 5), and her (3) is skipped as a chain mate.
Now suppose the classifier gives these probabilities, with 0.05 for every pair that contains "a book":
| pair | (0,1) | (0,2) | (1,2) | (0,3) | (1,3) | (2,3) | (0,5) | (1,5) | (2,5) | (3,5) |
|---|---|---|---|---|---|---|---|---|---|---|
| 0.10 | 0.20 | 0.90 | 0.80 | 0.30 | 0.52 | 0.95 | 0.10 | 0.10 | 0.40 |
Closest first: He (2) links to John (1). Her (3) tries He (2) first, and , so it links to He, which is wrong. A book (4) finds nothing. Mary (5) tries her (0.40), a book, He, John, and links to Mary (0). The entities are {0, 5}, {1, 2, 3} and {4}.
Best first: her (3) takes the highest of 0.80, 0.30 and 0.52, which is Mary (0). The entities are {0, 3, 5}, {1, 2} and {4}, which is the gold partition.
The classifier is not transitive here: it accepts (2, 3) and (0, 3) but rejects (0, 2). Linking every accepted pair and closing it would give one big entity {0, 1, 2, 3, 5}. The test file checks all of this.
Correctness
The proof in proofs/correctness.md shows that the training pairs have the right labels (no mention between the closest antecedent and the anaphor can be in its chain), that the gradient of the logistic loss is , that closest first returns and best first the most probable above 0.5, and that the links form a forest, so the output is a partition. It also gives the example of non-transitive decisions.
The model has no guarantee of finding the best partition. Finding the partition that agrees most with weighted pairwise decisions is correlation clustering, which is NP-hard (Bansal, Blum and Chawla 2004). Closest first and best first are greedy heuristics.
Proof: The mention-pair model: the training pairs have correct labels, the linkers follow their rules, and the output is a partitionfull
Fix mentions in document order (the numbering of the code), a gold chain for each mention (or none), and a classifier that gives a probability for each pair . The threshold is . The line numbers refer to the pseudocode on the page. Whether the classifier is accurate is a measurement; what follows holds for any classifier.
Claim 1: every training pair has the correct label
Line L1 takes, for a mention with an earlier mention of its chain, the closest one . Line L2 labels positive, which is correct since . It labels negative for each . If such a had , it would be an earlier mention of the chain closer to than , against the choice of . So every negative pair is in fact not coreferent. Each anaphoric mention gives exactly one positive pair, and a mention with no earlier chain mate gives no pair at all. In the variant of Ng and Cardie (2002), the positive antecedent of a non-pronominal anaphor can be farther away than the closest chain mate, so mentions of the same chain can lie between them; the code skips those, and the argument above applies to the rest.
Claim 2: the gradient of the logistic loss
For a weight vector and pairs with , the loss is with (natural log). The derivative of in is , where is the logistic function, and . Hence , which is what log_loss_grad returns. The code computes as , which is the same value without overflow. The test file checks the gradient against central finite differences.
Claim 3: the two linkers
Closest first (lines L4 to L6): for each , the inner loop tries and stops at the first with . So the link is , or none if the set is empty, as in Soon et al. (2001, Section 2.5). Best first: the loop keeps the largest probability seen so far, starting from , and replaces it only on a strictly larger value, scanning from the closest . So the link is a maximizer of over , and among equal maxima the closest one, since a later (farther) with the same value does not replace it. The test file checks both against these set definitions on random tables.
Claim 4: the output is a partition
Each mention gets at most one link, to an earlier mention. A directed edge from each to its antecedent goes from a larger to a smaller index, so the edges form no cycle and the graph is a forest. Line L7 takes the connected components with a union-find structure (disjoint-set): each union joins two components, and two mentions end with the same root exactly when a path of links joins them. The components are disjoint and cover all mentions, so the output is a partition of the mentions into entities. The test file compares the components with a graph search.
Claim 5: the pairwise decisions need not be transitive
Coreference is an equivalence relation, but the classifier decides each pair alone. In the example of the page, and are above , while is below it. No partition agrees with all three decisions, because two of them put 0, 2 and 3 in one entity and the third separates 0 and 2. The clustering step resolves such conflicts: closest first and best first keep only one link per mention and then take the transitive closure, which can join two mentions the classifier called not coreferent. Finding the partition that agrees with the most weighted pairwise decisions is correlation clustering, which is NP-hard (Bansal, Blum and Chawla 2004); the linkers are greedy heuristics for it.
Complexity
With mentions and features per pair, closest first classifies up to pairs for mention , so in the worst case; it often stops early. Best first always classifies all pairs, . The union-find step takes near linear time. Training builds pairs per document in the worst case, but only when the gaps between chain mates are at most mentions. Many systems limit the search to a window of a few sentences.
Properties
- Online in the mentions: each mention is resolved when it is reached, using only earlier mentions.
- Local decisions: each pair is classified without looking at the other mentions of the entity, so the model cannot use entity-level facts such as "this entity already has a female pronoun".
- Not transitive: the pairwise decisions need not be consistent; the linker makes the output a partition.
- Measured accuracy (a measurement, MUC score, with mentions found by the system): Soon et al. report recall 58.6, precision 67.3 and F 62.6 on MUC-6, and 56.1, 65.5 and 60.4 on MUC-7. Ng and Cardie report up to F 70.4 on MUC-6 (with RIPPER and hand-selected features) and 63.4 on MUC-7 (with C4.5), in their Table 2.
Variants and improvements
- Best-first linking and new training pairs (Ng and Cardie 2002), as above. In their Table 2 each change alone gives a small effect, and the gain comes with the other changes and the features.
- Aggressive merge: link every pair above the threshold and take the transitive closure. It finds more links but can chain errors together.
- Global clustering: solve correlation clustering approximately, or use agglomerative clustering on the pair scores.
- Mention ranking and entity models: rank all candidate antecedents of a mention together, or score a mention against a whole partial entity. The span-ranking model is a neural mention-ranking model.
When to use it
Use the mention-pair model to learn or teach coreference, as a baseline, or where you need a small, fast model with readable features. For the best accuracy on large annotated data, use a neural model such as the span-ranking model. For pronouns alone with parse trees and no training data, the Hobbs algorithm is a rule-based option.
Pitfalls
- Class imbalance: most pairs are not coreferent. The Soon pair selection keeps the negatives near the anaphor, which keeps the imbalance in check; using all pairs makes it much worse.
- Training and testing must match: the training pairs of Soon et al. teach the classifier about the closest antecedent, which suits closest first. Ng and Cardie changed the training pairs together with best first for this reason.
- Transitive closure of errors: one wrong link can merge two large entities. The MUC score penalizes such a merge only lightly; the B-cubed metric penalizes it more.
- Mentions found by the system: errors in finding mentions limit recall and precision. Compare numbers only with the same mention detection and the same scorer.
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/mention-pair-model/. The authors are listed in prov/XJ8G58.jsonl.
"""The mention-pair model of coreference (Soon, Ng and Lim 2001; Ng and Cardie 2002).
Mentions are numbered 0 .. N-1 in document order. A gold clustering is a list
chain[k] that gives the gold entity of mention k (or None for a mention that
is in no chain).
- soon_instances: the training pairs of Soon et al. (Section 2.3);
- ng_cardie_instances: the same, with the closest non-pronominal antecedent
as the positive pair of a non-pronominal anaphor (Ng and Cardie, Section 3);
- a logistic regression classifier with its loss and gradient (Soon et al.
used a C5 decision tree; any classifier that gives P(coreferent) works);
- closest_first and best_first: the two ways to pick an antecedent;
- components: the clusters given by the links, with a union-find structure.
The classifier decides each pair alone, so its decisions need not be
transitive; only the clustering step makes the output a partition.
"""
import math
from typing import Callable, Dict, List, Optional, Sequence, Tuple
Pair = Tuple[int, int]
def soon_instances(chain: Sequence[Optional[int]]) -> List[Tuple[int, int, int]]:
"""Return (i, j, label) training pairs, i < j, as in Soon et al. (2001), Section 2.3.
For each mention j that has an earlier mention of its chain, the closest such
mention i gives a positive pair, and each mention strictly between i and j
gives a negative pair with j.
"""
out = []
for j in range(len(chain)):
if chain[j] is None:
continue
i = next((k for k in range(j - 1, -1, -1) if chain[k] == chain[j]), None) # @line L1
if i is None:
continue
out.append((i, j, 1)) # @line L2
out.extend((k, j, 0) for k in range(i + 1, j))
return out
def ng_cardie_instances(chain: Sequence[Optional[int]], is_pronoun: Sequence[bool]):
"""Training pairs as in Ng and Cardie (2002), Section 3: for a non-pronominal anaphor the
positive antecedent is the closest non-pronominal mention of its chain, for a pronoun the
closest mention of its chain. Negatives pair j with the mentions between i and j, as in
Soon et al. The paper does not say what happens to mentions of the same chain between
them; this code skips them, so no coreferent pair is labeled negative."""
out = []
for j in range(len(chain)):
if chain[j] is None:
continue
ok = [k for k in range(j - 1, -1, -1) if chain[k] == chain[j]
and (is_pronoun[j] or not is_pronoun[k])]
if not ok:
continue
i = ok[0]
out.append((i, j, 1))
out.extend((k, j, 0) for k in range(i + 1, j) if chain[k] != chain[j])
return out
def sigmoid(z: float) -> float:
if z >= 0:
return 1.0 / (1.0 + math.exp(-z))
e = math.exp(z)
return e / (1.0 + e)
def log_loss(w: Sequence[float], data: Sequence[Tuple[Sequence[float], int]], l2: float = 0.0) -> float:
"""Mean negative log likelihood of logistic regression, plus (l2 / 2) |w|^2. Natural log."""
total = 0.0
for x, y in data:
z = sum(a * b for a, b in zip(w, x))
# log(1 + exp(-z)) for y = 1 and log(1 + exp(z)) for y = 0, computed stably
t = -z if y == 1 else z
total += max(t, 0.0) + math.log1p(math.exp(-abs(t)))
return total / len(data) + 0.5 * l2 * sum(a * a for a in w)
def log_loss_grad(w, data, l2: float = 0.0) -> List[float]:
"""Gradient of log_loss: mean of (sigmoid(w . x) - y) x, plus l2 w."""
g = [l2 * a for a in w]
for x, y in data:
r = (sigmoid(sum(a * b for a, b in zip(w, x))) - y) / len(data)
for k, xk in enumerate(x):
g[k] += r * xk
return g
def train(data, dim: int, steps: int = 500, lr: float = 0.5, l2: float = 0.01) -> List[float]:
"""Logistic regression by plain gradient descent from w = 0."""
w = [0.0] * dim
for _ in range(steps): # @line L3
g = log_loss_grad(w, data, l2)
w = [a - lr * b for a, b in zip(w, g)]
return w
def closest_first(n: int, prob: Callable[[int, int], float], threshold: float = 0.5) -> List[Optional[int]]:
"""Soon et al. (2001), Section 2.5: link j to the closest i < j with prob(i, j) > threshold."""
ante: List[Optional[int]] = [None] * n
for j in range(1, n): # @line L4
for i in range(j - 1, -1, -1): # @line L5
if prob(i, j) > threshold: # @line L6
ante[j] = i
break
return ante
def best_first(n: int, prob: Callable[[int, int], float], threshold: float = 0.5) -> List[Optional[int]]:
"""Ng and Cardie (2002): link j to the i < j with the largest prob(i, j) above the threshold.
On ties the closest i wins."""
ante: List[Optional[int]] = [None] * n
for j in range(1, n):
best, arg = threshold, None
for i in range(j - 1, -1, -1):
p = prob(i, j)
if p > best:
best, arg = p, i
ante[j] = arg
return ante
class DisjointSet:
"""Union-find with path halving and union by size."""
def __init__(self, n: int):
self.parent = list(range(n))
self.size = [1] * n
def find(self, x: int) -> int:
while self.parent[x] != x:
self.parent[x] = self.parent[self.parent[x]]
x = self.parent[x]
return x
def union(self, a: int, b: int) -> None:
a, b = self.find(a), self.find(b)
if a == b:
return
if self.size[a] < self.size[b]:
a, b = b, a
self.parent[b] = a
self.size[a] += self.size[b]
def components(n: int, links: Sequence[Pair]) -> List[List[int]]:
"""The clusters of the links: the connected components, each sorted, ordered by first mention."""
ds = DisjointSet(n)
for i, j in links: # @line L7
ds.union(i, j)
groups: Dict[int, List[int]] = {}
for k in range(n):
groups.setdefault(ds.find(k), []).append(k)
return sorted(groups.values())
def clusters_from_antecedents(ante: Sequence[Optional[int]]) -> List[List[int]]:
return components(len(ante), [(i, j) for j, i in enumerate(ante) if i is not None])
def non_transitive_triples(n: int, prob: Callable[[int, int], float], threshold: float = 0.5):
"""All triples a < b < c where two of the three pairs are classified coreferent and the third is not."""
out = []
for a in range(n):
for b in range(a + 1, n):
for c in range(b + 1, n):
yes = [prob(a, b) > threshold, prob(b, c) > threshold, prob(a, c) > threshold]
if sum(yes) == 2:
out.append((a, b, c))
return out
test_mention_pair_model.py 158 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/mention-pair-model/. The authors are listed in prov/XJ8G58.jsonl.
import random
from mention_pair_model import (DisjointSet, best_first, closest_first, clusters_from_antecedents,
components, log_loss, log_loss_grad, ng_cardie_instances,
non_transitive_triples, soon_instances, train)
# The example of the page: Mary(0) met John(1). He(2) gave her(3) a book(4). Mary(5) thanked ...
CHAIN = [0, 1, 1, 0, 2, 0]
PRON = [False, False, True, True, False, False]
P = {(0, 1): 0.1, (0, 2): 0.2, (1, 2): 0.9, (0, 3): 0.8, (1, 3): 0.3, (2, 3): 0.52,
(0, 4): 0.05, (1, 4): 0.05, (2, 4): 0.05, (3, 4): 0.05,
(0, 5): 0.95, (1, 5): 0.1, (2, 5): 0.1, (3, 5): 0.4, (4, 5): 0.05}
def prob(i, j):
return P[(i, j)]
def test_soon_instances():
assert soon_instances(CHAIN) == [(1, 2, 1), (0, 3, 1), (1, 3, 0), (2, 3, 0), (3, 5, 1), (4, 5, 0)]
def test_ng_cardie_instances():
got = ng_cardie_instances(CHAIN, PRON)
assert got == [(1, 2, 1), (0, 3, 1), (1, 3, 0), (2, 3, 0), (0, 5, 1), (1, 5, 0), (2, 5, 0), (4, 5, 0)]
def test_closest_and_best_first():
cf = closest_first(6, prob)
bf = best_first(6, prob)
assert cf == [None, None, 1, 2, None, 0]
assert bf == [None, None, 1, 0, None, 0]
assert clusters_from_antecedents(cf) == [[0, 5], [1, 2, 3], [4]]
assert clusters_from_antecedents(bf) == [[0, 3, 5], [1, 2], [4]]
def test_pairwise_decisions_are_not_transitive():
assert (0, 2, 3) in non_transitive_triples(6, prob)
assert sorted(non_transitive_triples(6, prob)) == [(0, 2, 3), (0, 3, 5), (1, 2, 3)]
# Linking all pairs above 0.5 and closing transitively merges two gold entities.
links = [k for k, v in P.items() if v > 0.5]
assert components(6, links) == [[0, 1, 2, 3, 5], [4]]
def brute_closest(n, prob):
out = [None] * n
for j in range(n):
cands = [i for i in range(j) if prob(i, j) > 0.5]
out[j] = max(cands) if cands else None
return out
def brute_best(n, prob):
out = [None] * n
for j in range(n):
cands = [i for i in range(j) if prob(i, j) > 0.5]
if cands:
top = max(prob(i, j) for i in cands)
out[j] = max(i for i in cands if prob(i, j) == top)
return out
def test_linkers_against_definitions():
rng = random.Random(5)
for _ in range(200):
n = rng.randint(1, 9)
table = {(i, j): rng.choice([0.1, 0.3, 0.5, 0.6, 0.7, 0.9]) for j in range(n) for i in range(j)}
f = lambda i, j: table[(i, j)]
assert closest_first(n, f) == brute_closest(n, f)
assert best_first(n, f) == brute_best(n, f)
def bfs_components(n, links):
adj = {k: set() for k in range(n)}
for a, b in links:
adj[a].add(b)
adj[b].add(a)
seen, out = set(), []
for s in range(n):
if s in seen:
continue
comp, stack = [], [s]
seen.add(s)
while stack:
x = stack.pop()
comp.append(x)
for y in adj[x]:
if y not in seen:
seen.add(y)
stack.append(y)
out.append(sorted(comp))
return sorted(out)
def test_union_find_against_search():
rng = random.Random(6)
for _ in range(200):
n = rng.randint(1, 12)
links = [(rng.randrange(n), rng.randrange(n)) for _ in range(rng.randint(0, 10))]
assert components(n, links) == bfs_components(n, links)
ds = DisjointSet(3)
ds.union(0, 1)
assert ds.find(0) == ds.find(1) != ds.find(2)
def synthetic_docs(rng, count):
"""Documents of mentions (entity, gender, is_pronoun, sentence); entities have a name and a gender."""
docs = []
for _ in range(count):
ents = [(e, rng.choice("mfn")) for e in range(3)]
ms = []
for s in range(4):
for _ in range(rng.randint(1, 2)):
e, g = rng.choice(ents)
ms.append((e, g, rng.random() < 0.4, s))
docs.append(ms)
return docs
def features(a, b):
"""Bias, same name (both not pronouns and same entity name), anaphor is a pronoun,
gender agreement, and the sentence distance (scaled)."""
same_name = 1.0 if (not a[2] and not b[2] and a[0] == b[0]) else 0.0
return [1.0, same_name, 1.0 if b[2] else 0.0, 1.0 if a[1] == b[1] else 0.0, (b[3] - a[3]) / 3.0]
def instances(docs):
data = []
for ms in docs:
for i, j, y in soon_instances([m[0] for m in ms]):
data.append((features(ms[i], ms[j]), y))
return data
def test_gradient_finite_differences():
rng = random.Random(8)
data = instances(synthetic_docs(rng, 5))
h = 1e-6
for _ in range(5):
w = [rng.uniform(-1, 1) for _ in range(5)]
g = log_loss_grad(w, data, 0.01)
for k in range(5):
up, dn = list(w), list(w)
up[k] += h
dn[k] -= h
num = (log_loss(up, data, 0.01) - log_loss(dn, data, 0.01)) / (2 * h)
assert abs(num - g[k]) < 1e-5
def test_training_learns_string_match_and_agreement():
rng = random.Random(9)
data = instances(synthetic_docs(rng, 60))
w = train(data, 5, steps=400)
assert log_loss(w, data, 0.01) < log_loss([0.0] * 5, data, 0.01)
assert w[1] > 0 and w[3] > 0 # same name and gender agreement push toward coreference
History
Rule-based methods such as the Hobbs algorithm resolved pronouns from syntax. In the 1990s, the MUC-6 and MUC-7 evaluations made coreference of all noun phrases a task with annotated data, and learned pairwise classifiers appeared (McCarthy and Lehnert 1995, and Aone and Bennett 1995, among others). Soon, Ng and Lim (2001) gave the version that became the standard baseline, with 12 simple features and closest-first linking, and they were the first learned system to reach results close to the best systems of MUC-6 and MUC-7. Ng and Cardie (2002) improved it with best-first linking, new training pairs and many more features.
References
- Wee Meng Soon, Hwee Tou Ng and Daniel Chung Yong Lim, A machine learning approach to coreference resolution of noun phrases, Computational Linguistics 27(4), 2001, pages 521 to 544, Section 2.2 (the 12 features), Section 2.3 (the training pairs), Section 2.4 (the C5 decision tree), Section 2.5 (closest-first linking), the MUC-6 and MUC-7 results
- Vincent Ng and Claire Cardie, Improving machine learning approaches to coreference resolution, ACL 2002, pages 104 to 111, Section 3 (best-first clustering, the new training pairs, the split string match features), Table 2 (MUC-6 and MUC-7 results)
- Nikhil Bansal, Avrim Blum and Shuchi Chawla, Correlation clustering, Machine Learning 56, 2004, pages 89 to 113, the NP-hardness of correlation clustering on complete graphs with positive and negative edges
Where this leads
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 XJ8G58 Edit this page History Report an error Markdown