On the (Im)possibility of Obfuscating Programs 2: Without the Size 1^|M| a Simulator with Oracle Access to ⟨M⟩ Cannot Decide Every Decidable Promise Problem Closed under Functional EquivalenceResearch Paper
Motivation
Barak, Goldreich, Impagliazzo, Rudich, Sahai, Vadhan and Yang (J. ACM 59(2), 2012) proved that virtual-black-box obfuscation is impossible in general: there are programs from which any obfuscated copy leaks something that oracle access to the program does not. The definition being refuted asks that whatever can be computed from the obfuscated code can also be computed by a simulator that only has oracle access to the program and is told an upper bound on its size.
Appendix A of the paper studies the computability analogue of this definition, where running time is unbounded. Rice's theorem says that no non-trivial property of the function computed by a Turing machine is decidable. The appendix asks a relative version: if a property of programs depends only on the computed function and is decidable from the code on a promise, can it also be decided from black-box access alone? Theorem A.2 answers yes when the simulator is given the size 1∣M∣. Theorem A.4, the goal of this mission, shows that the size cannot be dropped. The result says which part of the simulator's interface is essential: an upper bound on program length is needed already in the computability setting, not only to pay for running time.
Setting
A machineM is a one-tape Turing machine over the tape alphabet {0,1}, with 0 the blank, and with states 0,1,…,q; state 0 is initial. In state s reading symbol a the machine either halts or moves to a new state and performs one action (move left, move right, or write a symbol). One such transition is one step. The size∣M∣=q+1 is the number of states.
Inputs are natural numbers in unary: input x is the tape 1x, so ∣x∣=x. When M halts, its output is the number of consecutive 1s starting at the head. The computed function[M]:N⇀N is defined where M halts. The step-bounded function is
⟨M⟩(1t,x)={y⊥if M(x) halts with output y after at most t steps,otherwise.
A promise problemΠ=(ΠY,ΠN) is a pair of disjoint sets of machines. It is closed under [⋅] if [M]=[M′] implies M∈ΠY⟺M′∈ΠY and M∈ΠN⟺M′∈ΠN. It is decidable if a program T reading the description ┌M┐ outputs 1 on ΠY and 0 on ΠN; outside ΠY∪ΠN, T may diverge.
An oracle machineS may query ⟨M⟩: it asks (t,x) and receives ⟨M⟩(1t,x). S⟨M⟩() is its output with this oracle and no input. In particular S does not know ∣M∣.
Conjecture A.3 (Rice's theorem, third generalization) asserts: for every promise problem Π closed under [⋅] and decidable, there is an oracle machine S with
M∈ΠY⇒S⟨M⟩()=1,M∈ΠN⇒S⟨M⟩()=0.
The proof uses the description complexity of a partial function, KC(f)=min{∣M∣:[M]=f}.
Formalization targets
Goal: Theorem A.4
¬Conjecture A.3.
There is a decidable promise problem closed under [⋅] that no oracle machine without the size can decide. The witness is
ΠY={M:M always halts and ∃x<KC([M]),[M](x)=1},ΠN={M:M always halts and [M]≡0}.
Milestones, in the order of the paper's proof
Π is closed under [⋅].
KC([M])≤∣M∣.
Π is decidable.
The machine Z that reads its input and returns 0 satisfies ⟨Z⟩(1t,x)=⊥ for t<∣x∣ and 0 otherwise, and Z∈ΠN.
If S⟨M0⟩()=σ, there is n such that every M agreeing with M0 on all ⟨⋅⟩(1t,x) with t,∣x∣≤n also has S⟨M⟩()=σ.
For all n,r some machine computes Nn,r(x)=0,1,r (for ∣x∣≤n, ∣x∣=n+1, ∣x∣≥n+2) and has the same step profile as Z on all ∣x∣≤n.
For every n some r has KC(Nn,r)>n+1, so machines computing Nn,r lie in ΠY.
Significance
The result. Theorem A.4 separates two interfaces for a simulator. With 1∣M∣, every decidable promise problem closed under [⋅] is decided from black-box access (Theorem A.2). Without it, some are not. The size bound in the virtual-black-box definition is therefore doing real work even when complexity is ignored, and any computability-theoretic notion of obfuscation must hand the simulator a bound on the program's length.
Formalizing it. The theorem is proved in the paper in a few lines, and the proof rests on facts the paper does not argue: that a halting oracle computation reads only finitely many oracle values, that a machine with a prescribed function and a prescribed running time on short inputs exists, and that some Nn,r has description complexity above n+1. The paper says only "Let r be a string of Kolmogorov complexity 2n"; the counting argument behind it is left implicit. No machine-checked proof of Theorem A.4 or of Theorem A.2 is known to exist. This mission produces one in a model with literal step counts, together with reusable statements about step-bounded Turing machines and the use principle for oracle programs.
Difficulty
The obvious attempt at Conjecture A.3 is to search for a machine consistent with the observed values of ⟨M⟩ and run T on it. Without a size bound the search space is infinite, and a finite prefix of ⟨M⟩ never pins down [M]. The difficulty of the formal proof is elsewhere. It has to build Nn,r as an actual Turing machine with an exact step count on short inputs, and to prove that its description complexity exceeds n+1. Both need the step semantics to be exact. A fuel-based semantics in which larger programs need more fuel on the same input does not support the construction of Nn,r.
Formalization scope
Machines are Mathlib's Post–Turing machines Turing.TM0.Machine Bool (Fin (q+1)), with the blank false and initial state 0. [M] is TM0.eval followed by the head read-out; ⟨M⟩(1t,x) iterates TM0.step at most t times. ∣M∣ is the number of states, so there are finitely many machines of each size. Inputs are unary, ∣x∣=x. This is forced, because the proof compares inputs both with numbers (x<KC([M]), Nn,r(n+1)=1) and with lengths (∣x∣≤n, t<∣x∣). The paper's string r is a natural number. The description ┌M┐ is the encoding of q and the transition table, and the decider T is a Mathlib Nat.Partrec.Code acting on it. KC is sInf over N, which would be 0 for a function no machine computes; that case does not arise for f=[M], and milestone 7 asserts KC>n+1 outright.
Oracle machines are the published uniform oracle programs FriedbergMuchnik.Program with semantics oracleEval. A query (t,x) is coded Nat.pair t x, and the answers ⊥ and y are coded 0 and y+1. S⟨M⟩() runs S on the fixed input 0.
The simulator is a single program chosen before M, and it only sees the values of ⟨M⟩ it queries. A formalization in which S is an arbitrary function of the whole oracle, or receives ∣M∣, would make the goal false, and one in which the oracle is [M] changes the statement. Both are excluded here.
Needed infrastructure: computability of simulating a TM0 machine from its description (for milestone 3), the use principle for oracleEval with a total oracle (milestone 5), explicit construction and step analysis of Z and Nn,r (milestones 4 and 6), and a counting bound on machines of bounded size (milestone 7). The first two are reusable beyond this mission. Proofs of individual milestones are welcome independently.
Selected references
B. Barak, O. Goldreich, R. Impagliazzo, S. Rudich, A. Sahai, S. Vadhan, K. Yang, On the (Im)possibility of Obfuscating Programs, Journal of the ACM 59(2), 2012. https://doi.org/10.1145/2160158.2160159 (Appendix A, Conjecture A.3 and Theorem A.4, p. A:42 of the author's copy).
The Groupoid Model Refutes Uniqueness of Identity ProofsResearch Paper
Equality and the identity of proofs
In dependent type theory, a proof of equality is itself a mathematical object. If two objects a,b:A are equal, the identity type IdA(a,b) contains the evidence for that equality. A further identity type can express equality between two such proofs. The uniqueness of identity proofs principle, abbreviated UIP, says that any two proofs of the same equality are themselves propositionally equal.
Hofmann and Streicher established that UIP cannot be derived from the rules of intensional Martin-Löf type theory considered in their 1994 paper. Their result distinguishes the ordinary identity eliminator from stronger principles that identify all proofs of an equality. This mission formalizes their mathematical theorem in Lean, including the object language in which derivability is being asserted.
The primary source is the authors’ manuscript dated 21 March 1994, A Groupoid Model Refutes Uniqueness of Identity Proofs, linked from Hofmann’s own bibliography as SH.dvi.gz. Its Theorem 1 appears on manuscript page 2; Section 3 identifies a particular closed type witnessing the theorem. References to manuscript pagination below refer to this ten-page version, rather than the five-page conference pagination.
The object theory and its universe
A context is a finite sequence of typed variables. A judgement Γ⊢t:A states that an expression t is a term of type A in context Γ. A judgemental equality is an equality generated by the theory’s structural, congruence and computation rules. A propositional equality is a term of an identity type. These are different judgement forms in the object theory.
The language includes dependent products Π, dependent sums Σ, intensional identity types with reflexivity and the eliminator J, natural numbers, and a first universe U with a generic decoding family El. A variable X:U ranges over codes for small types, and El(X) is the type it denotes. Following the operations explicitly described in Section 2.3 of the pinned manuscript, this presentation supplies U and El without additional constructors for codes of the small type formers. The ordinary type formers remain available on types themselves. The universe has no code in itself, and the language has no induction principle over universe codes.
The type
A0=ΣX:U.El(X)
is well formed in the empty context. Its elements are pairs consisting of a small-type code and an element of the decoded type. It is a large type; its formation does not require a code U:U. The presentation of the rule system and its relation to the standard rules cited in the paper are recorded with the Lean definitions.
Formalization targets
The goal is the existential Theorem 1: there is a closed well-formed type for which diagonal UIP is not derivable. A supporting milestone uses the explicit witness from Section 3. In the context
Γ0=(x:A0,p:IdA0(x,x),q:IdA0(x,x)),
the type
IdIdA0(x,x)(p,reflA0(x))
has no derivable term. The source’s displayed context contains the variable q even though the conclusion does not use it. The formal target preserves this binder. Establishing the typing of A0 and the underivability judgement yields the existential statement printed as Theorem 1.
The standard formulation of UIP is the judgement
x:A0,y:A0,p,q:IdA0(x,y)⊢IdIdA0(x,y)(p,q).
Its underivability is a companion target. The source states that this formulation and the diagonal formulation are equivalent using J.
The semantic supporting target uses the source’s explicit groupoid interpretation of A0. A groupoid is a category in which every arrow is invertible. In the 1994 construction the universe is the discrete groupoid of small groupoids: its arrows between distinct universe codes are absent. Decoding sends a code to the corresponding small groupoid. The total space of decoding interprets A0. Identity types at objects a,b are interpreted by the discrete groupoid on the arrows a→b. The resulting total groupoid fails the semantic UIP property.
Mathematical significance and existing formalizations
The source result establishes a limit on derivability in intensional type theory. It also separates J from stronger identity elimination principles, including the K eliminator discussed in Section 3.1. A proof in this mission must justify a judgement about the entire specified object theory. Constructing a groupoid with a nonidentity automorphism supplies a semantic ingredient; connecting it to syntactic underivability requires the interpretation and its soundness.
Existing formalization work is relevant. HoTTLean provides a deep embedding of type-theoretic syntax, semantic soundness results, and a construction of a groupoid model with dependent products, sums and identity types. Its 2026 account describes its universe conventions and remaining scope. Those conventions must be compared with the discrete universe in the 1994 manuscript before reusing the construction. This mission makes no claim that groupoid semantics has never been mechanized.
The fuller 1998 Hofmann–Streicher account supplies detailed rules and model constructions. It also studies universes with isomorphisms as identity proofs. Section 4.12 distinguishes their closure properties from those of a discrete universe. This mission retains the discrete universe of the pinned 1994 source and states its selected universe operations explicitly.
The principal difficulty
The model must validate dependent substitution and the eliminator J, including their computation and stability requirements. An interpretation of objects alone cannot establish soundness of open terms. Terms must act coherently on arrows, and equality judgements must be respected. Dependent products and sums must retain this action and remain stable under substitution. These are substantive mathematical obligations of the formalization.
Formalization scope
The object theory is deeply embedded: its expressions, substitution operations and derivability rules are mathematical data in Lean. The main theorem concerns this derivability relation. Its premises do not assume semantic soundness, UIP failure, or another form of the paper’s conclusion. Draft theorem bodies are left open for contributors; the meaning of the object theory is fixed by the definition layer.
Semantic definitions use explicit small groupoids and discrete identity groupoids. Foundational definitions and supporting lemmas can be reused in further formalizations of dependent type theory. Contributions establishing the model’s category-with-attributes structure, its dependent type formers, its substitution laws and syntax soundness are welcome as parts of the proof of the main target.
Milestones and open proof work
The linked milestones cover the equivalence of the two syntactic UIP formulations (Section 1), the comparison of the two semantic total spaces (Sections 2–2.3), semantic UIP failure (Section 3), and the unconditional syntactic counterexample at the explicit closed type (Section 3). The existential Theorem 1 is the mission goal.
The semantic comparison and semantic failure have checked local proofs. The syntactic independence goals remain open. In particular, the category-with-attributes construction, dependent type formers and their stability, interpretation of the specified syntax, and soundness are substantial outstanding parts of the explicit-witness milestone. No completed syntax/model bridge or separate formal soundness interface is being claimed. Contributors may expose these steps through proof sketches as the concrete semantic interfaces are developed; soundness must not be assumed as a premise of the goal.
Selected references
Martin Hofmann and Thomas Streicher, The Groupoid Model Refutes Uniqueness of Identity Proofs, LICS 1994, pp. 208–212. DOI. Author-linked manuscript.
Martin Hofmann and Thomas Streicher, The groupoid interpretation of type theory, Twenty-five Years of Constructive Type Theory, Oxford Logic Guides 36, 1998, pp. 83–111. Full text.
Bengt Nordström, Kent Petersson and Jan M. Smith, Programming in Martin-Löf’s Type Theory, Oxford University Press, 1990. Full text.
Steve Awodey and collaborators, HoTTLean, 2026 account of its groupoid-model formalization. Abstract. Source repository.
Multivariate Amortised Resource Analysis for Term Rewrite SystemsResearch Paper
Motivation
Static resource analysis aims to derive machine-checkable upper bounds on the computational cost of a program without executing it on every input. In Tarjan's potential method (1985), each program state is assigned a nonnegative potential so that the drop in potential across a step pays for both its immediate cost and the potential required by subsequent operations. Hofmann and Jost (POPL 2003) turned the potential method into a type-and-effect system—automatic amortised resource analysis (AARA)—capable of inferring linear heap-space bounds for first-order functional programs via linear programming. Hoffmann, Aehlig, and Hofmann (TOPLAS 2012) extended AARA to multivariate polynomial bounds for fixed data types such as lists and binary trees by indexing resource annotations with predetermined binomial basis functions.
In Multivariate Amortised Resource Analysis for Term Rewrite Systems (TLCA 2015), Martin Hofmann and Georg Moser generalize multivariate AARA from fixed built-in types to arbitrary constructor term rewrite systems (TRSs) over user-defined inductive data structures. Instead of hard-coding polynomial basis functions per type, they generate the basis of basic resource functions uniformly as the accepting-run counts of bottom-up nondeterministic tree automata over the constructor signature. This framework encompasses arbitrary constructor trees while reducing resource verification of rewrite rules to linear constraints over annotation coefficients.
Setting
Let C and D be arity-indexed families of constructor symbols (C : Nat → Type u) and defined function symbols (D : Nat → Type u). First-order terms (Term C D) are built from variables (Term.var x), constructor applications c(t1,…,tn), and defined applications f(t1,…,tn). A ground constructor value (Value C) is a variable-free term constructed solely from symbols in C; its size∣v∣ (Value.size) is the total number of constructor nodes in v, and Value.toTerm embeds values injectively into terms (IsValue).
A term rewrite system (RewriteSystem C D) is a predicate R on rewrite rules (RewriteRule C D) of the form f(l1,…,ln)→r. Standing syntactic conditions (FiniteConstructors C, FiniteSignature C D, FiniteSystem R, SyntacticallyOrthogonal R, CompletelyDefined R) require that C is finite and nonempty, C⊎D is finite with at least one constant, R is finite, each rule is left-linear with constructor patterns li that are pairwise non-overlapping, and every ground call f(v1,…,vn) matches some rule in R. Under a normalised substitutionσ (Substitution.Normalised, mapping every variable in dom(σ) to a constructor value), the big-step judgment σ⊢t⇒mv (Evaluates R σ t m v.toTerm) states that tσ evaluates to value v in m counted innermost rewrite steps.
A bottom-up nondeterministic tree automatonA (TreeAutomaton C) consists of a finite state space Fin(stateCount), a designated final state qf, and duplicate-free transition lists c(q1,…,qn)→q for each n-ary constructor c∈Cn. For any state q, the run count (A.runCount v q) on v=c(v1,…,vn) is defined recursively by
and the basic function computed by A is pA(v)=runCountA(v,qf) (A.basic). The type of basic resource functions is BF={f:Value C→N∣∃A,pA=f} (BasicFunction C). A representative policyP (RepPolicy C) selects one representative automaton P.rep(p) for each p∈BF satisfying pP.rep(p)=p, formalizing the fixed enumeration A of Sections 3–4. Given p=(p1,…,pn)∈BFn, the multivariate basic function (multivariateBasic) is
p(v1,…,vn)=i=1∏npi(vi).
A resource annotation of length n (Annotation C n) is a finite list of pairs (p,w) with p∈BFn and w∈Q≥0, representing the finitely supported coefficient family qp(Q)=∑(p′,w)∈Q,p′=pw (annotationCoefficient). Its potential (potential) on values v1,…,vn is
Φ(v1,…,vn:Q)=(p,w)∈Q∑w⋅p(v1,…,vn).
A unary function r:Value C→Q is a resource function (IsResourceFunction C r) if r(v)=Φ(v:Q) for some length-1 annotation Q. The additive shift◃c(Q) (additiveShift P c Q) expands the last coordinate pm+1 of each tuple in a length-(m+1) annotation along the c-transitions into the final state of A=P.rep(pm+1), replacing pm+1 by the rerooted child basic functions (p(A,q1),…,p(A,qn)). The sharing operatorΥ(Q) (annotationShare S P Q) contracts the last two coordinates of a length-(m+2) annotation via the Cartesian-product basic function BasicFunction.product S P.
Finally, an annotated signature pair F (AnnotatedSignatures C D) provides charged (counted, ⊢) and uncharged (costFree, ⊢cf) signature relations (AnnotatedSignature C D). The resource typing judgmentΓ:Q⊢(cf)t:Q′ (Typing S P F mode n xs Q t Q') formalizes the inference rules of Figure 2 (variable, defined call, constructor, annotation weakening, simultaneous context/annotation exchange, context weakening via projection at the canonical one-state basic function ∅, variable sharing, and n-ary function/constructor composition governed by compositionCoefficients and listPremiseMode). A rewrite system R is bounded (BoundedSignatures S P F R) if every rule f(l1,…,ln)→r in R and every signature entry (Q,Q′) for f admits an iterated constructor pattern expansion (PatternExpansion) of (l1,…,ln) and Q into variables (x1,…,xl) and an annotation shifted such that x1,…,xl:P0⊢(cf)r:Q′ holds with P0+1=shifted in counted mode and P0=shifted in cost-free mode.
Formalization targets
Main goal: Theorem 16 (HofmannMoser.theorem_16, p. 252)
For a finite, completely defined, syntactically orthogonal constructor TRS R over a finite signature (C,D) that is bounded (BoundedSignatures S P F R) with respect to extensional annotated signatures F, if Γ:Q⊢t:Q′ is derivable in counted mode for a context Γ=(x1,…,xn) of distinct variables and σ⊢t⇒mv holds for a normalised substitution σ mapping each xi to a constructor value vi, then
Φ(v1,…,vn:Q)−Φ(v:Q′)≥m.
Milestones
Proposition 3 (HofmannMoser.proposition_3, p. 245) — Recursive decomposition of the basic function p(A,α) at a constructor node c(v1,…,vn):
Proposition 4 (HofmannMoser.proposition_4, p. 246) — Exponential upper bound on the number of accepting runs of a q-state tree automaton A on a value v of size ∣v∣:
pA(v)≤q∣v∣.
Lemma 7 (HofmannMoser.lemma_7, p. 247) — Closure of the class RF of resource functions over a finite nonempty constructor signature under pointwise addition and pointwise multiplication:
r,r′∈RF⟹(v↦r(v)+r′(v))∈RF∧(v↦r(v)⋅r′(v))∈RF.
Lemma 9 (HofmannMoser.lemma_9, p. 248) — Diagonalization of binary multivariate basic functions via the Cartesian-product automaton:
∀p∈BF(2),∃p′∈BF,∀v,p(v,v)=p′(v).
Lemma 12 (HofmannMoser.lemma_12, p. 248) — Potential preservation across the additive constructor shift ◃c:
Lemma 13 (HofmannMoser.lemma_13, p. 249) — Potential preservation across the variable-sharing operator Υ:
Φ(w1,…,wm,v,v:Q)=Φ(w1,…,wm,v:Υ(Q)).
Significance
The result itself. Theorem 16 is the core soundness theorem of multivariate amortised resource analysis for term rewrite systems: it guarantees that syntactic typing constraints on rewrite rules suffice to bound the dynamic number of innermost evaluation steps on all ground constructor inputs. Together with Proposition 4 and polynomial growth conditions on the automata occurring in an annotation, Theorem 16 yields concrete polynomial and exponential complexity bounds for first-order functional programs presented as TRSs.
Formalizing it. While Hofmann and Moser proved Theorem 16 on paper (TLCA 2015, pp. 252–254) and univariate amortised complexity of functional data structures has been formalized in Isabelle/HOL (Nipkow and Brinkop 2019), no machine-checked formalization of Hofmann and Moser's multivariate tree-automata framework existed in Lean 4. A faithful formalization also resolves a subtle indexing ambiguity in the printed text of Section 3: because nondeterministic automata with identical accepted languages can have different accepting-run counts, and distinct automata with the same run-count function can have incompatible state spaces under constructor shifting, the formal development separates extensional basic functions (BasicFunction C) from the fixed representative policy (RepPolicy C) used by constructor shifts. In our local verification suite, all six milestones (Propositions 3 and 4, Lemmas 7, 9, 12, and 13) have been machine-checked in Lean 4.30 to validate the definitions; the published mission items open these milestones and the full soundness proof of Theorem 16 on the platform.
Difficulty
Two main obstacles arise when formalizing this paper:
Automaton indexing and constructor shifting. A naive formalization that indexes annotations by raw automata up to isomorphism fails on the paper's own addition/multiplication examples (pp. 251–252), where Cartesian-product automata created by sharing (annotationShare) must match basic functions occurring in signature annotations (BasicFunction). Conversely, indexing purely by accepted languages fails because run counts are not language-invariant, and Definition 11's printed equation (1) on p. 248 must reroot the same parent representative A=P.rep(p) at its child states rather than matching state labels across unrelated automata.
Arbitrary-arity composition in Theorem 16. The paper sketches the inductive step of Theorem 16 for binary applications f(t1,t2) (pp. 252–254). In the formal system (Typing.composition), a function or constructor symbol has arbitrary positive arity last+1, its argument contexts Γ0,…,Γlast are concatenated via argumentContexts, and the intermediate annotations Pi and Ri are coupled through the coefficient equations of compositionCoefficients and the mode switch listPremiseMode (which charges the single all-canonical index =∅ and treats all non-canonical indices as cost-free). Proving the telescoping potential inequality across all last+1 argument evaluations and combining it with the pattern-expansion induction for BoundedSignatures is the central proof obligation of Theorem 16.
Formalization scope
The development is written in core Lean 4 (v4.30.0, without Mathlib) across three foundational definition modules:
Definitions.Def_HofmannMoser_Potential: ground constructor trees (Value), value size (Value.size), finite constructor signatures (FiniteConstructors), bottom-up tree automata (TreeAutomaton), canonical and rerooted automata (canonical, reroot), Cartesian-product automata (product with an unreachable padding state ensuring nonemptiness of transition sets), basic functions (BasicFunction), representative policies (RepPolicy, classicalRepPolicy), annotations (Annotation), potentials (potential), additive shifts (additiveShift), and sharing (annotationShare).
Definitions.Def_HofmannMoser_Typing: charged and cost-free modes (TypingMode), annotated signatures (AnnotatedSignature, AnnotatedSignatures, AnnotatedSignatureExtensional), annotation coefficient lookup (annotationCoefficient, annotationCoefficientList), n-ary composition constraints (compositionCoefficients), in-place pattern and annotation shifting (PatternExpansion, additiveShiftAt), the resource typing judgment (Typing), and syntactic rule boundedness (Bounded, BoundedSignatures).
To prevent any trivializing formalization, BoundedSignatures is defined strictly via syntactic left-hand-side constructor pattern expansion (PatternExpansion) and typing of rule right-hand sides (Definition 15), never by assuming semantic step-count soundness on rewrite steps. Contributions proving the six milestones, intermediate substitution and pattern-expansion lemmas for PatternExpansion and additiveShiftAt, and the main induction for Theorem 16 are welcome.
Selected references
Martin Hofmann and Georg Moser, Multivariate Amortised Resource Analysis for Term Rewrite Systems, 13th International Conference on Typed Lambda Calculi and Applications (TLCA 2015), LIPIcs vol. 38, pp. 241–256, 2015. https://doi.org/10.4230/LIPIcs.TLCA.2015.241
Robert Endre Tarjan, Amortized Computational Complexity, SIAM Journal on Algebraic and Discrete Methods 6(2), pp. 306–318, 1985. https://doi.org/10.1137/0606031
Martin Hofmann and Steffen Jost, Static Prediction of Heap Space Usage for First-Order Functional Programs, 30th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2003), pp. 185–197, 2003. https://doi.org/10.1145/604131.604148
Jan Hoffmann, Klaus Aehlig, and Martin Hofmann, Multivariate Amortized Resource Analysis, ACM Transactions on Programming Languages and Systems (TOPLAS) 34(3), Article 14, 2012. https://doi.org/10.1145/2220365.2220367
Continuum Hypothesis: Independence from ZFCTextbook
Motivation
The continuum hypothesis (CH) asks how large the set of real numbers is. Cantor proved that ∣Z∣=∣Q∣<∣R∣, and in 1878 he conjectured that no set has cardinality strictly between that of the integers and that of the reals. Settling CH was the first of Hilbert's problems at the 1900 International Congress of Mathematicians. The question was answered by showing that it cannot be answered from the standard axioms: CH is independent of Zermelo–Fraenkel set theory with choice (ZFC).
Timeline (as recorded in the source):
1878 — Cantor formulates the (weak) continuum hypothesis; in 1882 he states CH in its modern form.
1900 — Hilbert lists CH as the first of his problems.
1906 — Kőnig proves a theorem that, combined with Hausdorff's notion of cofinality (1908), shows 2ℵ0=ℵα whenever α has cofinality ω.
1930 — Patai: if 2κ is the γ-th successor of κ for every infinite κ, then γ is finite.
1938/1940 — Gödel proves that AC and GCH hold in the constructible universe L, so Con(ZF)⇒Con(ZFC+GCH).
1947 — Sierpiński proves that ZF + GCH implies AC.
1963 — Cohen invents forcing and proves Con(ZFC)⇒Con(ZFC+¬CH).
1986 — Freiling shows that ¬CH is equivalent to his axiom of symmetry.
Setting
A cardinal measures the size of a set; ∣A∣≤∣B∣ means there is an injection A→B, and ∣A∣=∣B∣ a bijection. ℵ0=∣N∣, 2κ=∣P(X)∣ for ∣X∣=κ, so ∣R∣=2ℵ0. ℵα is the α-th infinite cardinal, ℶα is defined by ℶ0=ℵ0, ℶα+1=2ℶα and suprema at limits, and cf denotes cofinality.
CH: there is no S⊆R with ℵ0<∣S∣<2ℵ0 (CH).
GCH: for every infinite cardinal κ there is no cardinal strictly between κ and 2κ (GCH).
Independence is a statement about a first-order theory. The language of set theory has one binary relation symbol ∈ (setLang). ZF (ZF) consists of extensionality, foundation, pairing, union, power set, infinity, and all instances of the separation and replacement schemas; ZFC (ZFC) adds the axiom of choice (acSentence). CH and GCH are also written as first-order sentences (chSentence, gchSentence): CH says that every subset of P(ω) injects into ω or receives an injection from P(ω). A theory is consistent if it has a model, and T⊨σ means σ holds in every model of T; by Gödel's completeness theorem these coincide with the proof-theoretic notions.
Formalization targets
Goal: independence of CH from ZFC
Con(ZFC)⟹ZFC⊨CH and ZFC⊨¬CH.
Milestones
∣Z∣=∣Q∣<∣R∣.
CH⟺2ℵ0=ℵ1.
(Gödel) Con(ZF)⇒Con(ZFC+GCH).
ZFC+GCH⊨CH.
(Cohen) Con(ZFC)⇒Con(ZFC+¬CH).
(Kőnig) 2ℵ0=ℵα when cf(α)=ω; and cf(2ℵ0)>ℵ0.
(Sierpiński) ZF+GCH⊨AC.
GCH⟺∀α,2ℵα=ℵα+1⟺∀α,ℵα=ℶα.
Under GCH: A<B⇒2A<2B for infinite A, and the three-case formula for ℵαℵβ.
(Patai) ∀α,2ℵα=ℵα+γ implies γ<ω.
(Freiling) the axiom of symmetry is equivalent to ¬CH.
Significance
The independence theorem shows that the ZFC axioms do not determine the size of the continuum, and it was among the first independence results for a mathematical statement. Its two halves introduced the two main tools of modern set theory: inner models (Gödel's L) and forcing (Cohen). Many statements in analysis, topology and measure theory were subsequently shown to be independent by the same methods.
For formalization, the goal requires a model theory of ZF inside Lean: interpreting the first-order theory, building L inside an arbitrary model of ZF, and building forcing extensions of an arbitrary model of ZFC. The independence of CH was formalized in Lean 3 by the Flypitch project (Han and van Doorn, 2019–2020); no Lean 4 / Mathlib formalization is known to this mission. The cardinal-arithmetic milestones (2, 6, 8–11) are theorems of ZFC that can be proved directly in Lean's cardinal library.
Difficulty
Neither half follows from cardinal arithmetic in Lean: Lean's foundations prove that models of ZFC exist, but (assuming they are consistent) they prove neither CH nor its negation about Lean's own Cardinal, so an argument inside Lean's cardinal arithmetic alone cannot produce the required models. Gödel's half needs relativization of formulas to a definable inner class and absoluteness of the construction of L; Cohen's half needs a generic extension in which a new family of ℵ2 reals is added while cardinals are preserved (the countable chain condition). Both require a theory of definability inside arbitrary, possibly non-well-founded, models of a first-order theory.
Formalization scope
Syntax and semantics are Mathlib's first-order logic (FirstOrder.Language, Theory.IsSatisfiable, Theory.ModelsBoundedFormula written ⊨ᵇ). Formulas name their variables by natural numbers; close φ is the universal closure. Equality is the built-in equality of first-order logic.
Consistency is satisfiability and provability is semantic consequence over models with universe in Type. By the completeness theorem these agree with the syntactic notions.
The first-order CH uses P(ω) in place of R (they are equinumerous in ZF). The first-order GCH is the choice-free form "∣S∣≤∣T∣≤∣P(S)∣⇒∣T∣=∣S∣ or ∣T∣=∣P(S)∣, for S infinite".
The consistency results carry their hypotheses Con(ZF) or Con(ZFC) explicitly, even though these are provable in Lean. A solution may not replace a model of ZF by Lean's own universe in a way that assumes CH or its negation.
Results that need large-cardinal hypotheses or class forcing (Easton, Solovay, Foreman–Woodin, Merimovich) are not part of this mission.
Reusable infrastructure: the language of set theory with standard abbreviations (pairs, functions, ω, power set), satisfaction lemmas for the abbreviations, relativization, absoluteness, the constructible hierarchy, and forcing over models of ZFC.
K. Gödel, The Consistency of the Axiom of Choice and of the Generalized Continuum-Hypothesis, PNAS 24 (1938) 556–557. https://doi.org/10.1073/pnas.24.12.556
K. Gödel, The Consistency of the Axiom of Choice and of the Generalized Continuum-Hypothesis with the Axioms of Set Theory, Annals of Math. Studies 3, Princeton, 1940.
C. Freiling, Axioms of symmetry: throwing darts at the real number line, J. Symbolic Logic 51 (1986) 190–200. https://doi.org/10.2307/2273955
L. Gillman, Two classical surprises concerning the Axiom of Choice and the Continuum Hypothesis, Amer. Math. Monthly 109 (2002) 544–553. https://doi.org/10.2307/2695444
K. Kunen, Set Theory: An Introduction to Independence Proofs, North-Holland, 1980.
Singular Cardinals Hypothesis: Silver's reduction to countable cofinalityTextbook
Motivation
Cantor's continuum problem asks for the value of 2κ, the cardinality of the power set of an infinite cardinal κ. For regular cardinals ZFC says almost nothing: by Easton's theorem (1970) the function κ↦2κ on regular cardinals can be essentially any non-decreasing function with cf(2κ)>κ. For singular cardinals the picture is different, and the singular cardinals hypothesis (SCH) is the natural statement of "GCH-like behaviour at singular cardinals". It arose from the question whether the least cardinal at which GCH fails can be singular.
Timeline.
Scott (1961): if GCH holds on a set of measure one below a measurable cardinal κ, then 2κ=κ+.
Solovay (1974): above a strongly compact cardinal, SCH holds.
Silver (1975): if κ is singular of uncountable cofinality and 2λ=λ+ for all infinite λ<κ, then 2κ=κ+. Consequently the least failure of SCH has countable cofinality.
Silver, Prikry: from a supercompact cardinal, a model of ¬SCH (Prikry forcing over a measurable κ with 2κ>κ+).
Gitik (1989–1991), building on Woodin:ZFC+¬SCH is equiconsistent with a measurable cardinal of Mitchell order κ++.
Todorcevic, Veličković (1980s): the proper forcing axiom implies 2ℵ0=ℵ2.
Viale (2006): the proper forcing axiom implies SCH.
Setting
All cardinals live in one universe. For a cardinal κ, κ+ is its successor cardinal and cfκ its cofinality (the cofinality of the initial ordinal of κ). A cardinal is singular if it is infinite and cfκ<κ, and a strong limit if κ=0 and 2λ<κ for all λ<κ.
GCH:2κ=κ+ for every infinite κ.
SCH (first form, following Mitchell 1992): 2κ=κ+ for every singular strong limit κ.
SCH2 (second form): for every singular κ, 2cfκ<κ implies κcfκ=κ+.
A normal measure on κ is a nonprincipal κ-complete ultrafilter on κ under which every regressive function is constant on a measure-one set; κ is measurable if it is uncountable and carries one. κ is strongly compact if it is uncountable and every proper κ-complete filter on any set extends to a κ-complete ultrafilter. The proper forcing axiom (PFA) asserts that for every proper poset P and every ℵ1 dense subsets of P there is a filter meeting all of them.
Formalization targets
Goal: Silver's reduction
(∀λsingular strong limit,cfλ=ℵ0⇒2λ=λ+)⟹SCH.
SCH itself is independent of ZFC, so it cannot be a goal; the goal is the ZFC theorem that SCH can only first fail at countable cofinality.
Milestones (in order)
GCH ⇒ SCH.
κcfκ=2κ for every singular strong limit κ.
SCH2⇒ SCH.
Silver's theorem: κ singular, cfκ>ℵ0, GCH below κ⇒2κ=κ+ (already published and proved on the platform as JechSetTheory.silver).
The second-form reduction: SCH2 at all λ of countable cofinality implies SCH2 everywhere (published, open, as JechSetTheory.sch_of_sch_cof_aleph0).
The least counterexample to SCH has cofinality ℵ0.
Scott's theorem: D a normal measure on κ and {α<κ:2∣α∣=∣α∣+}∈D imply 2κ=κ+.
Solovay's theorem: if κ is strongly compact, then 2μ=μ+ for every singular strong limit μ>κ.
PFA ⇒2ℵ0=ℵ2.
PFA ⇒ SCH.
Significance
The goal locates the first possible failure of SCH: any model of ¬SCH must have a counterexample of countable cofinality, which is why Prikry-type forcing (which adds an ω-sequence) is the standard tool for producing failures, and why ℵω is the canonical test case. Milestones 1, 7, 8 and 10 show that very different hypotheses (GCH, large cardinals, forcing axioms) all imply SCH, while milestone 9 shows PFA does so without GCH.
These results are classical and have complete published proofs (Jech, Set Theory, Chapters 8, 20, 24, 31). Silver's theorem is already machine-checked on this platform; the rest, including the stationary-set form of Silver's theorem needed for the goal, are not yet formalized here.
Difficulty
The naive attempt at the goal, "apply Silver's theorem at the least counterexample", fails: Silver's theorem as stated needs GCH at all infinite cardinals below κ, but SCH below κ says nothing about regular cardinals or non-strong-limits. The proof needs the stronger, stationary-set version of Silver's theorem (Galvin–Hajnal style), applied to the stationary set of singular strong limits of countable cofinality below κ. Scott's and Solovay's theorems need ultrapower arguments, and PFA ⇒ SCH needs reflection and covering-type combinatorics; none of these exist in Mathlib.
Formalization scope
Cardinals are Mathlib Cardinal.{u}; singularity is Cardinal.IsSingular, strong limit is Cardinal.IsStrongLimit, cofinality is κ.ord.cof, successor is Order.succ κ. The second form reuses the published predicate JechSetTheory.SCHAt.
A measure on κ is an ultrafilter on Ordinal.{u} containing the ordinals below κ; completeness quantifies over index types of universe u. "Proper filter" in the definition of strong compactness is Filter.NeBot; without it no cardinal would be strongly compact and Solovay's theorem would be vacuous.
Properness of a poset is encoded by the Gray–Shelah game characterization (names for ordinals in maximal-antichain form, forcing unfolded into predensity), because Mathlib has no forcing relation; this encoding deserves particular scrutiny. Posets are nonempty preorders with q≤p meaning q is stronger.
Not formalized: the consistency and equiconsistency results (Gitik, Prikry forcing, Silver's supercompact construction, inner-model lower bounds) and the strictness of "SCH2 is stronger than SCH"; these are statements about models of ZFC rather than theorems of ZFC.
Reusable infrastructure welcome: clubs and stationary sets on cardinals (partly available in Def_JechStationary), ultrapowers by normal measures, Fodor's lemma, Galvin–Hajnal bounds.
Selected references
W. J. Mitchell, On the singular cardinal hypothesis, Trans. Amer. Math. Soc. 329(2), 507–530, 1992.
J. Silver, On the singular cardinals problem, Proc. ICM Vancouver 1974, 265–268, 1975.
T. Jech, Set Theory, 3rd millennium ed., Springer, 2003.
M. Gitik, The strength of the failure of the singular cardinal hypothesis, Ann. Pure Appl. Logic 51, 215–240, 1991.
M. Viale, The proper forcing axiom and the singular cardinal hypothesis, J. Symbolic Logic 71(2), 473–479, 2006.
S. Shelah, Proper and Improper Forcing, Springer, 1998.
On the (Im)possibility of Obfuscating Programs 1: A Decidable Promise Problem Closed under Functional Equivalence Is Decided by a Simulator Given Only Oracle Access to ⟨M⟩ and the Size 1^|M|Research Paper
Motivation
Program obfuscation asks for a compiler that turns a program into one computing the same function while revealing nothing beyond what black-box access to the function reveals. Barak, Goldreich, Impagliazzo, Rudich, Sahai, Vadhan and Yang (J. ACM 59(2), 2012; conference version CRYPTO 2001) showed that this "virtual black box" notion cannot be achieved in general. Part of their motivation is an informal reading of Rice's Theorem: since every non-trivial semantic property of programs is undecidable from the code, "the only useful thing you can do with a machine is run it". Section 5 of the paper asks whether a complexity-theoretic analogue holds, and Appendix A asks what the right computability-theoretic statement is once one passes from languages to promise problems.
Classical Rice's Theorem (Rice, 1953) concerns languages: a decidable set of machines closed under functional equivalence is empty or everything. For promise problems the naive analogue (Conjecture A.1 of the paper) is false: the problem "halts everywhere and outputs 1 on 0" versus "halts everywhere and outputs 0 on 0" is decidable, non-trivial, and closed under functional equivalence. Appendix A replaces "trivial" by "decidable by a simulator that only runs the machine", proves that version (Theorem A.2), and shows that the size bound given to the simulator cannot be dropped (Theorem A.4, a separate mission in this series). This mission formalizes Theorem A.2.
Setting
A machineM is a program for a partial recursive function, identified with its description, a natural number ┌M┐. Its computed function[M]:N⇀N is possibly partial, and [M]≡[M′] means equality of partial functions. The size∣M∣ is the length of the binary description of M; there are at most 2s machines of size s.
The bounded run of M is
⟨M⟩(1t,x)={y⊥if M(x) halts with output y within budget t,otherwise.
An oracle machineS may query ⟨M⟩ at any pair (t,x) of its choice; S⟨M⟩(z) is its output on input z. Oracle access to ⟨M⟩ is what running M provides: one may choose inputs and budgets, but one never sees the code.
A promise problemΠ=(ΠY,ΠN) is a pair of disjoint sets of machines. A machine TdecidesΠ if T(┌M┐)=1 for M∈ΠY and T(┌M┐)=0 for M∈ΠN; nothing is asked of T outside ΠY∪ΠN. Π is closed under[⋅] if [M]≡[M′] implies M∈ΠY⇔M′∈ΠY and M∈ΠN⇔M′∈ΠN.
A machine N is n-compatible with M if ⟨N⟩(1t,x)=⟨M⟩(1t,x) for all t≤n and all x with ∣x∣≤n, and Sn denotes the set of machines of size ∣M∣ that are n-compatible with M.
Formalization targets
Goal: Theorem A.2 (p. A:41)
If Π is closed under [⋅] and decidable, then there is one oracle machine S such that for every machine M
M∈ΠY⇒S⟨M⟩(1∣M∣)=1,M∈ΠN⇒S⟨M⟩(1∣M∣)=0.
Milestones (proof of Theorem A.2, pp. A:41–A:42)
Fact (1): n-compatibility with M is decidable by one oracle machine with oracle ⟨M⟩, uniformly in M, N, n.
Fact (3): if [M]≡[N], there is n′ with N not n-compatible with M for every n>n′.
There is n′′ such that every N∈Sn with n>n′′ satisfies [N]≡[M].
If some stage n finds T, run for n steps, halting on all of Sn with a common answer σ, then σ=T(┌M┐).
For M∈ΠY (resp. ΠN) such a stage exists, with answer 1 (resp. 0).
Significance
The result. Theorem A.2 is the precise sense in which a semantic property of programs, decidable from the code on a promise, is decidable without the code: running the program on chosen inputs for chosen budgets, plus a bound on its length, suffices. It is the computability-theoretic counterpart of Conjecture 5.2, the complexity-theoretic statement whose failure (Theorem 5.3, under cryptographic assumptions) is one face of the impossibility of obfuscation. Together with Theorem A.4 it isolates the size bound as the ingredient that makes the generalization true.
Formalizing it. The theorem has a complete proof in the paper, about one page long. No machine-checked version is known: the Prove2Me catalogue has classical Rice's Theorem for index sets of Nat.Partrec.Code (FamousTheorems.rice_theorem, which this proof does not use) but nothing on promise problems, bounded-run oracles, or simulators. A formal proof produces reusable infrastructure: the oracle ⟨M⟩ as a total function on query codes, decidability of compatibility relative to it, and a dovetailing simulator assembled as a uniform oracle program.
Difficulty
Each mathematical step is elementary; the work lies in the effective content. The obvious idea, "query ⟨M⟩ until [M] is known and then decide", fails: [M] is an infinite object, and no finite set of queries pins it down. The paper's simulator instead uses the size bound to restrict attention to finitely many candidate codes, and needs T to agree on every surviving candidate at a common budget. Turning this into one oracle program requires enumerating all codes of a given size, deciding compatibility from finitely many oracle answers, comparing bounded runs of T, and searching over n, all uniformly in M and with no access to ┌M┐. Termination holds only on promise instances, since T may diverge elsewhere, so the argument cannot assume a total decider.
Formalization scope
Machines are Mathlib's Nat.Partrec.Code; descriptions are Encodable.encode; [M] is Code.eval; ⟨M⟩(1t,x) is Code.evaln t M x : Option ℕ, with none for ⊥. The budget of evaln is fuel rather than a literal Turing-machine step count. It is monotone in t, converges to [M], and is primitive recursive in (t,M,x), and these are the only properties of step counts that the proof uses. Inputs are natural numbers, ∣x∣ is Nat.size x, and ∣M∣ is Nat.size (encode M). Oracle machines are the published uniform oracle programs FriedbergMuchnik.Program with semantics oracleEval (a single syntax tree with an oracle-query instruction, equivalent to relative partial recursiveness). The oracle ⟨M⟩ is the total function sending Nat.pair t x to 0 for ⊥ and to y + 1 for an output y. The simulator's input 1∣M∣ is the number ∣M∣, since unary versus binary is immaterial here. "S⟨M⟩(1∣M∣)=1" means that the run halts with output 1. Promise problems carry their disjointness, as in the paper, although no statement uses it. The decider T is a Code applied to descriptions and may diverge off the promise.
The trivializing readings are excluded. S is chosen before M (one program, not one per machine). It receives the size of M, never its description, and many machines share each size. It sees only the finitely many oracle answers a halting run queries. The oracle is the bounded-run function ⟨M⟩, not [M] or the code.
Contributions welcome: proofs of the milestones; a primitive-recursive enumeration of the codes of a given size; a proof that oracle M is uniformly computable from M, which is useful beyond this mission.
Selected references
B. Barak, O. Goldreich, R. Impagliazzo, S. Rudich, A. Sahai, S. Vadhan, K. Yang, On the (Im)possibility of Obfuscating Programs, Journal of the ACM 59(2), 2012. https://doi.org/10.1145/2160158.2160159
S. Even, A. L. Selman, Y. Yacobi, The complexity of promise problems with applications to public-key cryptography, Information and Control 61(2), 1984. https://doi.org/10.1016/S0019-9958(84)80056-X
Single-fold Diophantine representationsOpen Problem
Motivation
A Diophantine representation translates membership in a computably enumerable set into solvability of one polynomial equation. The source asks whether the entire auxiliary witness can always be made unique. The source is OpenAI's September 2026 manuscript.
Setting
A single-fold representation uses an integer polynomial evaluated at natural-number inputs and witnesses. An input belongs to the represented set exactly when a witness makes the polynomial zero, and any two complete witnesses at the same input must coincide.
Formalization targets
a∈S⟺∃w∈Nm:P(a,w)=0,P(a,w)=P(a,v)=0⟹w=v.
The proposition MainStatement holds, which asserts a single-fold Diophantine representation result with positive lengths. For every n ≥ 1 and every set S of n-tuples of natural numbers that is recursively enumerable (the predicate a ∈ S is REPred, i.e. semi-decidable), there exist m ≥ 1 and an integer polynomial P in the n input variables and m witness variables such that P represents S. Here evaluation takes natural-number inputs a and witnesses w, casts them to integers, and evaluates P over ℤ. Representation means that for every input a, first, a lies in S exactly when some witness w ∈ ℕ^m satisfies P(a,w)=0, and second, any two witnesses w and v with P(a,w)=0 and P(a,v)=0 are equal. So there is exactly one witness for members of S and none for nonmembers, and the uniqueness condition is imposed on every input a, with all witness coordinates included in w.
The target strengthens mere existential representation by enforcing uniqueness across every auxiliary coordinate. It covers all recursively enumerable sets of positive-length natural tuples. The manuscript presents a mathematical argument; the attached goal currently has status Open, so the requested contribution is a Lean proof of the displayed formal target.
Difficulty
Encoding a computation with extra witnesses can introduce many choices that do not affect the represented input. Every such auxiliary choice must be controlled, rather than leaving hidden coordinates outside the uniqueness assertion.
Formalization scope
The input length and witness length are positive naturals. REPred expresses recursive enumerability. Polynomial coefficients and evaluation are integral, while variables range over naturals cast into the integers. The goal is existential and does not require one fixed universal polynomial.
The shared definitions are supplied by SingleFold. The target uses Lean 4.33.1 with the pinned Mathlib environment. Contributions should preserve the existing statement and develop reusable supporting lemmas in its definitions.
Selected references
OpenAI, Single-fold Diophantine representations, preprint, September 2026. Manuscript.
A CH obstruction to a prescribed categoricity thresholdResearch Paper
Motivation: categoricity transfer beyond first-order logic
A class of structures is categorical in a cardinal λ if it has exactly one model of size λ up to isomorphism. Morley's theorem (1965) says that a complete first-order theory in a countable language categorical in one uncountable cardinal is categorical in all of them. Abstract elementary classes (AECs), introduced by Shelah in the 1970s, axiomatize classes of structures with a well-behaved notion of strong substructure (closure under isomorphism, coherence, unions of chains, a Löwenheim–Skolem number) without requiring first-order axiomatizability; they cover classes defined in infinitary logics and many classes of modules. Shelah's categoricity conjecture for AECs, in its eventual form, asks whether categoricity in one sufficiently large cardinal transfers to all sufficiently large cardinals. A sharper, prescribed-threshold form names the threshold explicitly: with H(K)=ℶ(2LS(K))+ (the Hanf number for existence of arbitrarily large models), categoricity in some λ≥H(K) should imply categoricity in every μ≥H(K). Deciding which form holds is a central question in non-elementary model theory.
Timeline
1965 — Morley proves the categoricity theorem for countable first-order theories (Trans. AMS 1965).
1970s — Shelah introduces abstract elementary classes (see the survey of Boney–Vasey 2017, §2).
1990 — Hart and Shelah show categoricity in Lω1,ω can stop at ℵk while holding for ℵ0,…,ℵk−1, using finite-support group constructions (Israel J. Math. 1990).
1999 — Shelah proves categoricity transfer for AECs with amalgamation and records H(K) as the existence bound (APAL 1999).
2016 — Kolesnikov and Lambie-Hanson study Hanf numbers for amalgamation of coloring classes (JSL 2016).
2017 — Vasey proves downward transfer from a successor cardinal ≥H(K) under amalgamation and tameness (APAL 2017).
2021 — Grossberg distinguishes the prescribed-bound and eventual forms of the conjecture (A Course in Model Theory I, draft, Ch. 2 §4).
2022–2023 — Espíndola announces a proof of eventual categoricity and, for arbitrary AECs, a transfer at the prescribed bound via accessible categories (arXiv:1906.09169, arXiv:2301.13167).
2024 — Šaroch and Trlifaj state the prescribed-threshold formulation with both endpoints included (Bull. LMS 2024, §2.3).
2026 — An OpenAI preprint, A CH obstruction to a prescribed categoricity threshold (OpenAI Math Release, September 24, 2026), claims that under CH there is an AEC with LS(K)=ℵ0, categorical on a tail but with two nonisomorphic models at H(K)=ℶω2; this conflicts with the transfer claimed in Espíndola 2023 (Theorem 4.1). The preprint has not been peer reviewed and its theorem is not formally verified.
Setting
Work with relational structures in a finitary relational languageL (a set of relation symbols, each with a finite arity). An abstract elementary class is a class K of L-structures with a relation M⪯KN ("strong substructure") such that: ⪯K is a partial order on K refining substructure; K and ⪯K are closed under isomorphism; coherence holds (M0⊆M1, M0⪯KM2, M1⪯KM2 imply M0⪯KM1); unions of ⪯K-chains are in K, are ⪯K-extensions of each member, and are ⪯K-below any common strong extension (Tarski–Vaught chain axioms); and there is a Löwenheim–Skolem numberLS(K)≥ℵ0+∣L∣, the least θ such that every subset A of a model M lies in some N⪯KM with ∣N∣≤∣A∣+θ.
K is categorical in μ if it has a model of size μ and any two models of size μ are isomorphic. The beth numbers are ℶ0=ℵ0, ℶα+1=2ℶα and suprema at limits. CH is 2ℵ0=ℵ1.
Formalization targets
Goal: the CH counterexample (Theorem 1.1)
Assume CH. There is a countable finitary relational language L and an AEC K in L such that
LS(K)=ℵ0,ℶω2=H(K)=ℶ(2ℵ0)+,
K has two nonisomorphic models of cardinality ℶω2, and, with Λ=ℶ(2ℵ1)+,
Kis categorical in every cardinal μ≥Λ.
Hence Λ+>H(K) is a categoricity cardinal from which downward transfer to H(K) fails, while eventual categoricity holds for this K. The goal statement is published on the platform with status Open: no machine-checked proof exists yet.
Significance
The result itself. Combined with Gödel's relative consistency of CH, the theorem shows that, if ZFC is consistent, the prescribed-threshold form of Shelah's categoricity conjecture is not provable in ZFC (Corollary 6.1 of the source). The example has no amalgamation or joint embedding, which explains why transfer theorems that assume these properties are unaffected, and it is compatible with qualitative eventual categoricity. It also bears directly on a published claim of transfer at the prescribed bound for arbitrary AECs.
Formalizing it. Because the result contradicts a claimed theorem in the literature, an independent machine check is especially valuable. The formal statement verifies every AEC axiom explicitly, not just the two cardinal-arithmetic conclusions. Mathlib has cardinal and ordinal arithmetic, beth numbers and ZFC sets; the AEC framework built here would be reusable for further formal work in non-elementary model theory.
Difficulty
Most known non-transfer examples (Hart–Shelah) fail categoricity at small cardinals; here the failure must happen exactly at the Hanf-type bound ℶω2 while categoricity holds on a tail, with LS(K)=ℵ0. One must build two nonisomorphic models at ℶω2 and simultaneously rule out any two nonisomorphic models above Λ, without appealing to a general eventual-categoricity theorem. All AEC axioms — in particular coherence and smoothness of unions of arbitrary directed chains — must survive the exceptional sets used to separate models, which is where naive constructions break.
Formalization scope
Structures are RelModel L with carrier a ZFSet (so cardinalities are cardinals of genuine sets in universe u) and relations indexed by arity; L:N→Type with ΣnLn countable.
ClassData packages a predicate of objects and a strong-substructure relation; IsAEC lists the axioms above, including invariance under isomorphisms compatible with inclusion, coherence, and the union axioms for chains indexed by any nonzero ordinal.
HasLSNumber ℵ₀ asserts both that ℵ0 is a Löwenheim–Skolem bound and that it is the least one.
hanf κ = beth (succ (2^κ)).ord, endpoint = beth (ω_2), tailThreshold = beth (succ (2^{ℵ₁})).ord. The equality endpoint = hanf ℵ₀ is part of the goal (it follows from CH).
Categorical μ includes existence of a model of size μ; TwoModels asks for two nonisomorphic models of the given size.
CH is a hypothesis of the theorem, in the same universe; the consistency corollary is not part of the goal.
K. Gödel, The consistency of the axiom of choice and of the generalized continuum-hypothesis, Proc. Nat. Acad. Sci. USA (1938). https://doi.org/10.1073/pnas.24.12.556
B. Hart and S. Shelah, Categoricity over P for first order T or categoricity for φ∈L_{ω1ω} can stop at ℵ_k while holding for ℵ_0,…,ℵ_{k−1}, Israel J. Math. (1990). https://doi.org/10.1007/BF02807869
A. Kolesnikov and C. Lambie-Hanson, The Hanf number for amalgamation of coloring classes, J. Symb. Logic (2016). https://doi.org/10.1017/jsl.2015.48
J. Šaroch and J. Trlifaj, Deconstructible abstract elementary classes of modules and categoricity, Bull. London Math. Soc. (2024). https://doi.org/10.1112/blms.13172
C. Espíndola, A complete classification of categoricity spectra of accessible categories with directed colimits, preprint, 2023. https://arxiv.org/abs/2301.13167
Compositional Shape Analysis by Means of Bi-Abduction 1: The Best Abductive Solution for Points-To Symbolic Heaps Is a Computable Disjunction of Symbolic HeapsResearch Paper
Motivation
Automatic verification of programs that manipulate pointers needs procedure specifications: preconditions saying which part of the heap a procedure touches and postconditions saying what it leaves behind. Writing them by hand does not scale to millions of lines of code. Calcagno, Distefano, O'Hearn and Yang (J. ACM 58(6), 2011) infer them compositionally with bi-abduction: when symbolic execution reaches a call whose precondition is not implied by the current state, it asks for the missing memory M that would make it hold. This abduction question in separation logic,
Δ∗M⊨H,
is the engine behind the Abductor tool and, later, Facebook Infer.
The question has many solutions (M=false is always one), so its quality matters. The paper defines an order ≾ on solutions that prefers less memory and then logical strength, shows that a best solution always exists as a semantic object, and then asks whether it can be written down and computed in the language that the analysis actually manipulates: symbolic heaps. For the fragment whose only spatial predicate is points-to, it answers yes. That answer, Theorem 3.25, is the goal of this mission.
Setting
Values are natural numbers; 0 is nil and the nonzero naturals are the locations. A heaph is a finite partial map from locations to values; a stacks assigns a value to every variable; a state is a pair (s,h). Write h=h0⊎h1 when h0,h1 have disjoint domains and h is their union. A predicate is an arbitrary set of states. On predicates:
s,h⊨F∗G iff h=h0⊎h1 with s,h0⊨F and s,h1⊨G;
s,h⊨F−∗G iff for every h′ disjoint from h with s,h′⊨F, we have s,h⊎h′⊨G;
emp holds in the empty heap, true everywhere, and ¬, ∨, ∧, ∃X, ∀X are the Boolean and quantifier operations; F⊨G is inclusion.
Symbolic heaps of the Points-to Instantiation. Expressions E are variables or natural-number constants. A pure formula Π is a conjunction of E=E′ and E=E′. A spatial formula Σ is a ∗-conjunction of points-to facts E↦E′, possibly with ∗true; here s,h⊨E↦E′ iff [[E]]s=0 and h is the one-cell heap [[[E]]s↦[[E′]]s]. A symbolic heap is H=∃X.Π∧Σ, and a disjunctionD=H1∨⋯∨Hn. In the abduction question (5), Δ∗D⊨H, the left-hand side Δ=Π∧L1↦R1∗⋯∗Ln↦Rn is quantifier-free.
Orders.M≤M′ iff M′⊨M∗true (spatially smaller), and
M≾M′⟺(M≤M′∧M′≤M)∨(M≤M′∧M′≤M∧M⊨M′).
min(F) keeps the states of F no proper subheap of which (with the same stack) is in F. Elsewhere(F)=¬(F−∗false) says that some separate heap satisfies F, and the compatible preorder is D≤cD′⟺(D∧Elsewhere(Δ))≤(D′∧Elsewhere(Δ)). Subtraction is F−G=F∧¬((¬emp)∗G).
Formalization targets
Goal: Theorem 3.25
There is a single algorithm f such that for every quantifier-free Δ and symbolic heap H of the Points-to Instantiation, the disjunction D=f(Δ,H) satisfies
Δ∗D⊨HandD≾M for every predicate M with Δ∗M⊨H.
Both halves are part of the goal: the best solution is expressible as a disjunction of symbolic heaps, and it is computable.
Milestones, in the order the paper's argument uses them
Lemma 3.16. If D is a minimal solution w.r.t. ≤c, then min(D∨¬Elsewhere(Δ)) is the minimal solution w.r.t. ≾.
Figure 2 derives solutions (§3.4.2). If Δ∗[D]▹H is derivable, then Δ∗D⊨H.
Lemma 3.18. For all Δ,H some D with Δ∗[D]▹H is derivable, and the proof search terminates.
Lemma 3.19. If Δ∗[D]▹H is derivable and Δ∗F⊨H, then D≤cF.
Lemma 3.20.Incompat(Δ) and ¬Elsewhere(Δ) are semantically equivalent.
Lemma 3.23. Six algebraic properties of subtraction, including min(F1∨⋯∨Fn)=G1∨⋯∨Gn with Gi=((Fi−F1)⋯−Fn).
Quantifier removal for pure formulae (§3.4.4).∃X.Π is equivalent to a computable pure formula without X.
Subtraction with quantifiers (§3.4.4).(∃X.Δ)−(∃Y.Δ′) is a computable disjunction of symbolic heaps.
Significance
The result. Semantically the best solution is min(Δ−∗H) (Theorem 3.13 of the paper), a formula that nests −∗ and negation around ∗, which no automatic separation-logic prover handles and which says nothing directly about the shape of the missing memory. Theorem 3.25 shows that in the points-to fragment this object collapses to a finite disjunction of symbolic heaps, the format in which an analysis draws "pictures of memory", and that it can be computed. It gives an optimal abduction procedure against which the paper's heuristic procedure can be measured.
Formalizing it. The theorem is proved in the paper, but several steps are given as sketches ("the proof of each of these properties is straightforward", "a straightforward exercise"), Lemma 3.18 has only a proof sketch, and the quantifier-free subtraction display on p. 33 is incomplete as printed (it inspects only the points-to facts and not the pure part of the subtracted heap). A machine-checked development would supply the missing arguments, fix the subtraction step, and give a verified reference implementation of optimal abduction for points-to symbolic heaps. No part of it is known to have been formalized.
Difficulty
The obvious route is to compute min(Δ−∗H) directly, but −∗ quantifies over all heaps, and symbolic heaps have no syntax for it. The paper splits the problem into three phases (a ≤c-minimal solution from a proof system, the incompatible solutions, and min), and each phase carries its own difficulty. The proof system's minimality (Lemma 3.19) must hold against arbitrary semantic predicates, not only symbolic heaps, and it fails as soon as Δ may denote more than one heap for a given stack (the paper notes that adding list segments breaks it). Computing min needs subtraction of symbolic heaps with quantifiers, which in turn needs quantifier elimination for Boolean combinations of equalities over an infinite domain, and the paper's quantifier-free subtraction step has to be repaired. Showing that the final disjunction is ≾-least, not merely a solution, needs all three phases.
Formalization scope
All statements live in the namespace BiAbduction.Systematic. Values are ℕ with nil 0, locations are the nonzero naturals, variables are ℕ (program and logical variables form one sort), and heaps are maps ℕ → Option ℕ with 0 unallocated and finite domain. Finiteness of heaps is essential, since min relies on well-foundedness of the subheap order. Predicates are arbitrary Set (Stack × Heap). The syntax is built from ℕ, Bool, Sum, Prod and List by abbreviations, so "computed by an algorithm" is Mathlib's Computable₂ with the standard Primcodable encodings. The left-hand side Δ has no true conjunct, as in the paper's proofs; the right-hand side may have one. Figure 2 is an inductive relation in which psto may match any right-hand points-to fact. The soundness and ≤c-minimality statements assume the paper's bound-variable convention (no variable bound in H occurs in Δ); the goal does not need it.
The goal cannot be met by a degenerate reading. The competitors M range over all predicates, not only over disjunctions, and computability refers to fixed standard encodings. The points-to semantics excludes nil addresses, and heaps are finite.
A complete development needs the separation-logic algebra of predicates (associativity and commutativity of ∗, the adjunction between ∗ and −∗), properties of min under finite heaps, the soundness and minimality of the proof system, quantifier elimination for equality logic, and a computability argument for list-manipulating procedures. The semantic layer and the quantifier-elimination result are reusable beyond this mission. Contributions to any milestone, and to the supporting lemmas of §3.3 (Lemmas 3.10–3.11, Theorem 3.13), are welcome.
Theorem numbers and page references are those of the accepted manuscript of the J. ACM article (72 pages), not of the typeset journal version.
Selected references
C. Calcagno, D. Distefano, P. W. O'Hearn, H. Yang, Compositional Shape Analysis by means of Bi-Abduction, Journal of the ACM 58(6), Article 26, 2011. https://doi.org/10.1145/2049697.2049700
C. Calcagno, D. Distefano, P. W. O'Hearn, H. Yang, Compositional Shape Analysis by means of Bi-Abduction, POPL 2009. https://doi.org/10.1145/1480881.1480917
D. Pym, P. W. O'Hearn, H. Yang, Possible Worlds and Resources: The Semantics of BI, Theoretical Computer Science 315(1), 2004. https://doi.org/10.1016/j.tcs.2003.11.020
13 thms3 active usersReviewed
🏆Completed
Captain: Lucas
Jech Set Theory I: Silver's Theorem on Singular CardinalsTextbook
Motivation
How large can the power set of an infinite set be? For a regular cardinal κ (one that is not the supremum of fewer than κ smaller ordinals) the answer is: almost anything. Easton's theorem (1970) shows that the function κ↦2κ on regular cardinals can be prescribed arbitrarily in any model of ZFC, subject only to monotonicity and König's inequality cf(2κ)>κ. For a long time it was expected that singular cardinals — those that are such a supremum, like ℵω — would behave the same way.
They do not. In 1974 Jack Silver proved that the Generalized Continuum Hypothesis cannot fail for the first time at a singular cardinal of uncountable cofinality: if 2α=α+ for every infinite α<κ and cfκ>ω, then 2κ=κ+. This was the first ZFC theorem constraining the continuum function at singular cardinals, and it opened the area now called the singular cardinal problem.
A short timeline:
1970 — Easton: the continuum function on regular cardinals is essentially arbitrary.
1974 — Silver (ICM Vancouver): GCH cannot first fail at a singular cardinal of uncountable cofinality; more generally the Singular Cardinal Hypothesis is decided at cofinality ω.
1975 — Galvin and Hajnal: elementary inequalities for cardinal powers at singular cardinals of uncountable cofinality.
1976–77 — Baumgartner and Prikry, and independently Jensen, give elementary (non-forcing, non-ultrapower) proofs of Silver's theorem; the proof reproduced in Jech's Chapter 8 is of this kind.
1977 — Magidor: it is consistent, relative to large cardinals, that GCH holds below ℵω while 2ℵω>ℵω+1 — so Silver's restriction to uncountable cofinality is necessary.
1980s onwards — Shelah's pcf theory, whose flagship result ℵωℵ0<ℵω4 (when ℵω is a strong limit) grows out of exactly the stationary-set machinery assembled here.
This mission is the first in a series formalizing Thomas Jech, Set Theory (Third Millennium Edition, Springer 2003). It covers Chapter 8, "Stationary Sets" (pp. 91–98).
Setting
Fix a regular uncountable cardinal κ and regard it as the well-ordered set of ordinals below it. A set C⊆κ is closed unbounded, or a club, if it is unbounded in κ and contains all of its limit points below κ (an ordinal α>0 is a limit point of C when sup(C∩α)=α). A set S⊆κ is stationary if S∩C=∅ for every club C. Clubs are closed under intersections of fewer than κ of them, so they generate a κ-complete filter, the club filter; its dual is the nonstationary ideal.
The club filter has a second closure property with no analogue for ordinary filters. The diagonal intersection of a κ-indexed family is
△α<κXα={ξ<κ:ξ∈α<ξ⋂Xα},
and a filter closed under diagonal intersections is called normal. A function f defined on S⊆κ is regressive if f(α)<α for all nonzero α∈S.
For cardinal arithmetic, cfκ denotes the cofinality of κ (the least length of an unbounded sequence in κ), κ+ the cardinal successor, and κ is singular when cfκ<κ. The Singular Cardinal Hypothesis (SCH) is the assertion that κcfκ=κ+ for every singular κ with 2cfκ<κ. A sequence of cardinals is normal if it is strictly increasing and continuous at limits.
Formalization targets
Goal — Silver's theorem (Jech 8.12)
κ singular,cfκ>ω,(∀αℵ0≤α<κ⇒2α=α+)⟹2κ=κ+.
This is the weakest statement of the chapter that still needs the full machinery: it fixes no particular κ and no particular cofinality, and it stays correct no matter how the singular cardinal problem develops above it.
Milestones, in dependency order
Lemma 8.4 — the diagonal intersection of κ clubs is a club; equivalently the club filter is normal.
Theorem 8.7 (Fodor) — a regressive function on a stationary set is constant on a stationary subset.
Theorem 8.10 (Solovay) — every stationary subset of κ is the union of κ pairwise disjoint stationary sets.
Lemma 8.14 — if ⟨κα⟩ is normal with limit κ, λcfκ<κ for λ<κ, and {α:καcfκα=κα+} is stationary in cfκ, then κcfκ=κ+.
Theorem 8.13 (Silver) — SCH at every cardinal of cofinality ω implies SCH everywhere.
Significance
Silver's theorem is the boundary between the two halves of cardinal arithmetic. Above it sit the ZFC theorems of pcf theory; below it sit the consistency results (Magidor, Prikry, Radin forcing) that show how much freedom is left, and they are confined to cofinality ω precisely because Theorems 8.12 and 8.13 close off everything else. Its proof also packages tools used throughout set theory: the normality of the club filter, Fodor's pressing-down lemma, and the technique of bounding almost disjoint families of functions by a stationary-set argument.
Formalization status: Mathlib already has clubs and stationary sets in an arbitrary well-ordered type (IsClub, IsStationary), with the finite and <κ-indexed intersection lemmas — Jech's Lemma 8.2 and Theorem 8.3. It does not have diagonal intersections, Fodor's theorem, Solovay's splitting theorem, or any singular cardinal arithmetic beyond the definitions of regular and singular cardinals. Each milestone below is therefore a genuine addition, and the first three are reusable well outside this mission.
Difficulty
The naive route to the goal — induct on α<κ and pass to the limit — fails immediately: 2κ for singular κ is not determined by the values 2α for α<κ in any elementary way; that is exactly the content of the independence results. What the proof must do instead is bound the number of functions on cfκ, and it gets that bound from a stationary set rather than from a club: uncountable cofinality is what makes the set of relevant stages stationary, and stationarity is what survives the diagonal argument. Cofinality ω breaks this at the first step, since every subset of ω that is unbounded is already a club and Fodor's theorem is empty.
The two hard pieces are Lemma 8.14 and, inside it, Lemma 8.16: given an almost disjoint family F of functions with f(α)∈Aα and ∣Aα∣≤ℵα on a stationary set of α, one must show ∣F∣≤ℵω1 by assigning to each f a pair (stationary set, bounded restriction) and checking the assignment is injective. That argument uses Fodor's theorem on a set of functions, and the bookkeeping does not simplify.
Formalization scope
The ambient order is Mathlib's type of ordinals below a cardinal, k.ord.ToType (written Below k in the mission's definition bundle); clubs and stationary sets are Mathlib's IsClub and IsStationary on that type, so a set is closed in the sense of being closed under suprema of directed subsets — equivalent, for a well-order with the order topology, to Jech's "contains its limit points". Families indexed by "α<κ" are functions out of that same type, which is what makes the diagonal intersection typecheck without a side condition. Cardinal exponentiation, cofinality (Ordinal.cof of k.ord) and the successor cardinal (Order.succ) are Mathlib's.
One trivializing formalization is ruled out explicitly: the GCH hypothesis of the goal is stated for infinite cardinals α<κ only. Quantified over all cardinals it would be unsatisfiable — 22=4=3=2+ — and Silver's theorem would become vacuous.
A complete development needs: diagonal intersections and the normality of the club filter; Fodor's theorem; the sets Eλκ={α<κ:cfα=λ} and their stationarity; Solovay's splitting theorem via Lemmas 8.8 and 8.9; almost disjoint families of ordinal functions and the counting Lemmas 8.15 and 8.16; and Theorem 5.22(ii) on cardinal powers, which Jech's proof of Theorem 8.13 cites. Contributions of any of these as separate reductions are welcome, as are alternative proofs of the goal (for instance via a generic elementary embedding) that bypass some of the chain.
Selected references
Thomas Jech, Set Theory, The Third Millennium Edition, revised and expanded. Springer Monographs in Mathematics, Springer, 2003 (ISBN 3-540-44085-2). Chapter 8, "Stationary Sets", pp. 91–98 — the source of every statement in this mission.
Jack Silver, On the singular cardinals problem. Proceedings of the International Congress of Mathematicians (Vancouver, 1974), vol. 1, pp. 265–268.
William B. Easton, Powers of regular cardinals. Annals of Mathematical Logic 1 (1970), pp. 139–178.
Fred Galvin and András Hajnal, Inequalities for cardinal powers. Annals of Mathematics 101 (1975), pp. 491–498.
James E. Baumgartner and Karel Prikry, Singular cardinals and the generalized continuum hypothesis. American Mathematical Monthly 84 (1977), pp. 108–113.
Menachem Magidor, On the singular cardinals problem I. Israel Journal of Mathematics 28 (1977), pp. 1–31.
Type-Based Termination Checking in AgdaResearch Paper
Motivation
A proof assistant based on type theory has to reject non-terminating definitions:
a function that loops can inhabit any type, including the empty one, and so proves
everything. Agda therefore checks every recursive definition for termination
before accepting it. Purely syntactic checks, which require some argument to
become structurally smaller at each recursive call, reject many terminating
programs, for example recursion through a higher-order function such as map,
or corecursive definitions by copattern matching whose productivity depends on
sizes rather than syntax.
Two lines of work address this. Size-change termination (Lee, Jones and
Ben-Amram, 2001) abstracts each call into a graph recording which arguments
decrease, and accepts a program when every infinite call sequence would force an
infinite descent. Sized types record an upper bound on the depth of data in its
type, so that termination follows from typing. Kanstantsin Nisht's 2024 master's
thesis, supervised by Andreas Abel, combines the two in a type-based termination
checker for Agda-style programs. Sizes are inferred automatically, and
termination is checked by size-change analysis over the inferred sizes. The thesis
proves that every program the checker accepts is well-typed and strongly
normalizing. This mission formalizes that soundness proof in Lean.
Setting
System Fωcop,SCT is a higher-order polymorphic lambda
calculus with copattern matching. Its kinds carry polaritiesπ∈{∘,+,−,⊤} that record how a type operator uses its argument.
Size expressions are ∞+n or minima (i1+n1)∧⋯∧(ik+nk) of size variables, and size contexts Ψ bound each size variable
from above. Sized inductive and coinductive typesμaS and νaR are
indexed by a size a. Programs are sequences of mutual blocksΞ of
functions defined by copattern clauses, checked against a global signature
Σ of previously accepted functions.
Termination is certified by an invocation-graph familyG, which
assigns to each pair of functions a set of bipartite graphs relating the caller's
size arguments to the callee's by < or ≤. The size-change criterion⊢G (SCTValid) requires a strict self-decrease in every
idempotent graph of the closure. Semantically, types denote Girard–Tait
reducibility candidates of strongly normalizing terms. Sizes denote ordinals, and
Σ⊨Ξ (SemMutualBlockValid) says that every function in Ξ
belongs to the interpretation of its type.
Algorithm 2 takes a block written without sizes, in System Fωc. It
encodes each declared type with fresh size variables, elaborates patterns and
clause bodies while emitting size constraints, solves the constraints with
Algorithm 1, builds the invocation-graph family of the calls, and accepts the
block if the size-change criterion holds. The result is a size-annotated block
Ξannot.
Formalization targets
Goal: soundness of the termination checker (Theorem 15, corrected)
If a new block extends a valid, closed signature without forward references, and
Algorithm 2 accepts it, then the annotated block is well-typed and every function
in it is strongly normalizing. Lean name: NishtAbel2024V2.theorem_15.
Milestones, in the thesis's order
Lemma 1 and Theorem 1: graph composition preserves conformance, and ⊢G makes the size-change call relation well-founded.
Theorems 2–3 (corrected): soundness of size judgments and of expression and clause typing.
Theorems 4–6 and Lemma 2 (corrected): strong normalization of mutual blocks, signatures and programs, and the embedding of lexicographic termination (Fωcop) into Fωcop,SCT.
Theorems 7–9 and Lemmas 3–5 (corrected): well-kindedness of the signature encoding, pattern and spine elaboration, and polarities of rigid size variables.
Theorems 10–12 (corrected): polarity of generated constraints, and absence of constraints from flexible to rigid size variables.
Theorems 13–14 and Corollary (corrected): typing of size-instantiated clauses, and coherence of the substitution computed by Algorithm 1.
Significance
The result. Theorem 15 is the soundness guarantee a proof assistant needs before
it can adopt the checker: accepted definitions cannot be used to derive a
contradiction through non-termination. Theorem 6 shows that the type system
subsumes lexicographic termination: every block typable in
Fωcop with a lexicographic size measure is typable in
Fωcop,SCT once the measure is erased. The semantic results,
Theorems 1–5, apply to any front end that produces derivations in
Fωcop,SCT, not only to Algorithm 2.
Formalizing it. The thesis's proofs are on paper. Formalizing them showed that
the first Lean statements of Theorems 2–3, 4–6, 7–9 with Lemmas 3–5, 10–12,
13–14 and 15 were all false. Each has a machine-checked counterexample, and each
refuted statement records the reason on its own page. Theorems 2–6 and 15 were
stated without the thesis's scope discipline: an existing function could share a
name with, or refer to, a function of the new block, forming a loop through the
existing signature that the size-change check of the new block does not see.
Theorem 11 checked one occurrence of a rigid size variable where the thesis
requires all occurrences to lie in least fixpoints. Theorems 13–14 omitted
well-formedness of the global signature. The Lemma 5 statement allowed inputs
that the thesis's encoding never produces. The counterexamples show where the
paper argument depends on assumptions it states informally. They do not refute
the thesis's theorems under those assumptions.
As of November 2026, Lemma 1 and Theorem 1 are proved over the original
definitions, with no statement over the corrected definitions yet. The corrected
Theorems 7–14 are proved, and the corrected Theorems 2–6 and 15 are open. The
milestone list shows the current state.
Difficulty
The central step is Theorem 4: a mutual block is strongly normalizing once its
calls satisfy the size-change criterion. Induction on a single size argument does
not suffice, because mutually recursive calls may decrease different arguments
along different call paths. Strong normalization of one function therefore
depends on the whole call structure of the block, and the semantic typing of
Theorem 3 has to hold uniformly while the existing signature stays fixed.
On the inference side, constraint solving is sound only if no constraint forces
a flexible size variable below a rigid one. Establishing this (Theorems 10–12)
requires tracking the polarity of every size occurrence through higher-kinded
type operators, including operators that ignore an argument. The first formal
attempts show that a statement of these invariants close to the prose is false,
so finding a provable statement is itself part of the work.
Formalization scope
Lean names with the suffix V2 (namespace NishtAbel2024V2) are the corrected
statements, built on three definition modules: NishtAbel2024V2_Syntax,
NishtAbel2024V2_Semantics and NishtAbel2024V2_Inference. The namespace
NishtAbel2024 holds the first formalization, whose refuted statements remain on
the platform with their disproofs. The corrected statements commit to the
following conventions.
Scope. A new block extends a closed, duplicate-free signature and refers only to itself and earlier functions (scopeBlockExtension; scopeOrderedBlocks for programs).
Ambient validity. The existing signature is assumed semantically valid in the world that includes the new block (SemSigValidIn).
Postchecked Algorithm 2. Acceptance includes a final check that each size-instantiated clause body type-checks (PostcheckedAlgorithm2Accepts). Corrected Theorem 13 and the typing half of Theorem 15 therefore rest on this check. The thesis's stronger claim, that inference always produces well-typed output from a well-formed signature, is not part of the targets.
Checked solver. Corrected Theorem 14 concerns CheckedConstraintSolver.checkedSolve, which returns Algorithm 1's substitution only when a finite coherence certificate succeeds.
Guarded inference. Corrected Theorems 10–12 concern the instrumented variants GuardedCompareTypes, SafeInferTerm and SafeCheckTerm; the last two erase to the original inference judgments.
Occurrences. Corrected Lemmas 4–5 bound the polarity of kinding-aware size occurrences (CheckUse) instead of stating the thesis's four-way classification.
Measures. Theorem 6 requires a non-empty lexicographic measure.
The main goal does not assume that the new block terminates. It assumes validity
of the existing signature only, so the strong normalization conclusion is not
built into the hypotheses.
Several proved milestones (scope stability, Theorem 2 size soundness, a guarded
Theorem 10, Theorems 7–9, Lemma 3, and the lexicographic graph construction of
Theorem 6) are stated over the original NishtAbel2024 definitions. They are
correct results about that model but do not transfer to the corrected
definitions. Contributions are welcome for:
a statement and proof of Lemma 1 and Theorem 1 over the corrected definitions;
proofs of corrected Theorems 2–3, 4–6 and 15;
a proof that the postcheck always succeeds for well-formed signatures, which would recover the thesis's form of Theorem 13;
a source-level review of Lemma 4.
Selected references
K. Nisht, Type-Based Termination Checking in Agda, MSc thesis, Chalmers University of Technology and University of Gothenburg, 2024; supervisor A. Abel. Extended abstract at TYPES 2024, Copenhagen. https://knisht.github.io/agda/msc.pdf
Monitoring Metric First-Order Temporal Properties: The Monitor M_Φ Outputs Exactly the Violations (¬Φ)^(D̄,τ̄,i) of a Bounded MFOTL Formula Φ, as Regular Sets, at Every Time Point iResearch Paper
Motivation
Runtime monitoring checks a running system against a specification by inspecting its trace of events as it is produced. Policies on data, such as "every published report was approved within the last 10 days" or "each value stored in in reaches out within 5 time units", quantify over data values and constrain the time between events. Metric first-order temporal logic (MFOTL) expresses such policies: it extends first-order logic with past and future temporal operators that carry intervals of allowed time differences.
Basin, Klaedtke, Müller and Zălinescu (J. ACM 62(2), Article 15, 2015) give a monitor for MFOTL properties □Φ with Φ bounded. It allows negation and quantification over the infinite domain N without restriction, because every relation it manipulates is represented by a finite automaton: the input structures are automatic structures. The paper implements it in the prototype tool MonPoly-Reg (§6). Its correctness rests on Theorem 3.9: the monitor reports exactly the violations of Φ, at every time point.
Setting
A signatureS=(C,R,ι) has finitely many constants and predicates with arities. Formulas are built from t≈t′ and r(t1,…,tι(r)) by ¬, ∨, ∃x and the temporal operators ∙I (previous), ∘I (next), SI (since) and UI (until), where I=[b,b′) is a nonempty interval of N with b′∈N∪{∞}. A formula is bounded if every UI in it has b′<∞.
A temporal structure(Dˉ,τˉ) assigns to each time point i∈N relations rDi⊆Nι(r) and a time stamp τi∈N; constants are rigid, τ0≤τ1≤⋯, and τˉ exceeds every bound. Satisfaction (Dˉ,τˉ,v,i)⊨φ is Definition 2.2; for example ψUIψ′ holds at i if ψ′ holds at some j≥i with τj−τi∈I and ψ holds at all k∈[i,j). For φ with free variables x1<⋯<xn, the satisfying set is
φ(Dˉ,τˉ,i)={dˉ∈Nn∣(Dˉ,τˉ,v[xˉ↦dˉ],i)⊨φfor some v}.
A domain representation is a regular language L over a finite alphabet with a surjection ν:L→N whose equality relation is regular. A relation A⊆Nk is regular if the words u1⊗⋯⊗uk (the letter-by-letter convolution, padded with #) with (ν(u1),…,ν(uk))∈A form a regular language.
The monitorMΦ (Fig. 2) reads (D0,τ0),(D1,τ1),… one element per loop iteration. It extends each Dj to D^j with auxiliary relations pα (and rα, sα for since and until) for every temporal subformula α, built incrementally by the constructions of §3.4 once a list Q of pending triples (α,j,S) says that enough of the future has been read. When D^i is complete it outputs the set (¬Φ^)D^i with τi, where Φ^ is Φ with each top-level temporal subformula α replaced by the atom pα(xˉ).
Formalization targets
Goal: Theorem 3.9
For every input satisfying the restrictions of §3.1 and every bounded Φ:
(i)(n,O,t)output by line 9⟹O=(¬Φ)(Dˉ,τˉ,n),Oregular,t=τn;(ii)∀n∈N,n=0or some output at index n−1 occurs,
where each output is followed by line 11 setting i to the next index. This records counter values reached inside the while loop, including values that may never appear at a loop entry. Part (ii) excludes the vacuous reading of (i).
Milestones
Lemma 3.4: φ^D^i=φ(Dˉ,τˉ,i) once the auxiliary relations of tsub(φ) are correct, and regularity is preserved.
Lemmas 3.5–3.8: the constructions for ∙I, ∘I, SI and bounded UI produce regular relations equal to the satisfying sets, with the stated characterizations of rα and sα.
Observations (1)–(3) of the proof of Theorem 3.9 on the list Q and the counter i.
The claim that line 7 can always be executed, in the form: if (α,j,∅)∈Qk then the build stores pαD^j=α(Dˉ,τˉ,j), which is regular.
Significance
Theorem 3.9 makes MΦ a sound and complete monitor for the safety fragment □Φ, Φ bounded: every violation at every time point is reported, nothing else is, and every output is a finitely represented (regular) set even though it may be infinite. It covers unrestricted negation and quantification, which finite-relation monitors (§4 of the paper) cannot handle. The incremental constructions of §3.4 are the template reused by later MFOTL monitors.
The paper gives a mathematical proof of its monitor's correctness. This mission asks for a Lean proof that checks the MFOTL semantics, automatic relations over N, and the correctness of this particular monitor, including the until construction whose printed version is defective (see Formalization scope).
Difficulty
Two parts are hard. The regularity claims need the fundamental property of automatic structures: first-order definable relations are regular, which requires closure of padded convolution languages under Boolean operations, cylindrification, permutation of tracks and projection, the last with removal of trailing padding. The arithmetic constraints of the since and until constructions additionally need successor and offset relations definable from ≺.
The scheduling argument is the other part. Correctness of a build at (α,j) requires that every input relation, at time points up to j+ℓj for until, was built before and not discarded since. Following only the syntax of α does not settle this: a needed relation for a subformula at a later time point may be built in the same iteration as α's.
Formalization scope
The domain is N, as §3.1 assumes. Relations are sets of lists of natural numbers, ordered by the sorted free variables. Interval upper bounds are in N∞; intervals carry the proof that they are nonempty. The representation (L,ν) is a single parameter shared by the hypothesis "every rDi is regular" and the regularity claims of the conclusions; it is never chosen existentially. The binary predicate ≺ interpreted as < is a hypothesis.
Two hypotheses on Φ besides boundedness are the paper's own "without loss of generality" assumptions: each temporal subformula occurs once in Φ (§3.6), and the direct subformulas of each SI, UI subformula have the same free variables (§3.4; achieved by padding with x≈x, as in §3.5). No other restriction is placed on Φ.
The printed until construction (§3.4.4) is repaired: the guard of Ur is "aˉ∈β^D^i+k for all ℓi−1≤k≤ℓi", since the printed guard empties rα in the paper's own example of §3.5; Us keeps only tuples with j′≥1, since otherwise a γ-witness at time point i−1 survives to time point i when τi=τi−1; and time-stamp equations are encoded additively. Lemma 3.8(i) reads aˉ∈Nn and adds j≤ℓi. "Effectively computable" in Theorem 3.9(i) is not formalized. Part (ii) uses the output at index n−1 as the record of the line-11 increment to n; for n=0, the counter is initialized by line 2. Loop-entry states alone can skip counter values reached within one iteration.
The monitor is a state machine whose builds and outputs are computed only from its store of relations; it never consults the satisfaction relation or satisfying sets. A formalization in which line 7 reads the semantics would turn Theorem 3.9(i) into a restatement of Lemma 3.4, and is ruled out. A build whose input is missing stores nothing, so a monitor that silently fails would violate (ii).
Contributions welcome: the theory of automatic relations (reusable beyond this mission), the semantic halves of Lemmas 3.4–3.8, and the scheduling invariants.
Selected references
D. Basin, F. Klaedtke, S. Müller, E. Zălinescu, Monitoring metric first-order temporal properties, J. ACM 62(2), Article 15, 2015. https://doi.org/10.1145/2699444
Relative independence of the separable quotient problemOpen Problem
Motivation
The separable quotient problem asks whether every infinite-dimensional Banach space admits a separable infinite-dimensional quotient. The selected statement isolates a negative result under the continuum hypothesis. The pinned manuscript supplies the research context.
Setting
A quotient is encoded as a surjective bounded linear map between Banach spaces over the same scalar field. The target considers both real and complex scalars.
The theorem states that, under the continuum hypothesis CH (the defined proposition that the cardinality of ℝ equals ℵ₁), the separable quotient assertion fails over both the real and the complex numbers, at any universe level u. Here SQ over a scalar field 𝕜 (ℝ or ℂ) asserts that every complete normed space X over 𝕜 in Type u that is not finite-dimensional has a separable quotient in the following sense: there exist a complete, separable, infinite-dimensional normed space Y over 𝕜, also in Type u, and a bounded 𝕜-linear map T from X to Y that is surjective. The conclusion is the conjunction of ¬SQ(ℝ) and ¬SQ(ℂ), so for each field there is an infinite-dimensional Banach space with no such bounded surjection onto an infinite-dimensional separable Banach space. The statement is admitted without proof in the source.
Significance and status
CH is an explicit assumption. The published goal does not state relative consistency, a positive model, or the complete independence assertion in the manuscript title. The target is currently Open on Prove2Me. The manuscript's mathematical argument and a machine-checked proof of the selected statement are separate deliverables.
Difficulty
The obstruction must rule out every bounded surjection onto every separable infinite-dimensional target space, rather than one proposed quotient.
Formalization scope
The exact published goal, its hypotheses and its referenced definition blocks specify the requested formalization. The explanatory formula above is a summary; all quantifiers and additional clauses in the linked statement remain required.
The available published material supplies this goal and its necessary definitions. Additional manuscript lemmas are not represented as attached milestones.
Selected references
OpenAI, Relative independence of the separable quotient problem, preprint, 2026. Manuscript.
A counterexample to Naimark's problem in ZFCOpen Problem
Motivation
Uniqueness of irreducible representations is a strong condition on a C*-algebra. The target asks for a counterexample to the expected compact-operator characterization without added set-theoretic hypotheses. The pinned manuscript supplies the research context.
Setting
Representations are nonzero star homomorphisms on complete complex inner product spaces. Irreducibility is expressed by closed invariant subspaces, and equivalence by an intertwining linear isometry.
The theorem states that, for every universe level choice, there exists a type A carrying a C*-algebra structure (over ℂ) with the following five properties. First, A is simple in the sense that it is nontrivial and its only closed two-sided ideals are {0} and A itself. Second, A is not finite-dimensional as a complex vector space. Third, there is a continuous linear functional τ : A → ℂ that is a faithful tracial state: τ has norm 1, τ(aa) is a nonnegative real number for every a, τ(ab) = τ(ba) for all a and b, and τ(aa) > 0 whenever a ≠ 0. Fourth, A has a unique irreducible representation up to unitary equivalence: whenever π and ρ are nonzero star-homomorphisms (non-unital algebra homomorphisms preserving star) from A into the bounded operators on complete complex inner product spaces H and K, taken in the stated universe levels, and each has no closed invariant subspace other than 0 and the whole space, there is a linear isometric isomorphism U : H → K with U(π(a)x) = ρ(a)(Ux) for all a and x. Fifth, for every complete complex inner product space H in the stated universe, A is not isomorphic to the algebra of compact operators on H, meaning there is no injective star-homomorphism φ : A → B(H) whose range is exactly the set of compact operators on H.
Significance and status
The target explicitly requires simplicity, infinite dimension, a faithful tracial state and failure of all compact-operator isomorphisms in the stated universes. No additional set-theoretic hypothesis appears in its binders. The target is currently Open on Prove2Me. The manuscript's mathematical argument and a machine-checked proof of the selected statement are separate deliverables.
Difficulty
The construction must combine infinite dimension, a faithful trace and uniqueness across the specified representation universes.
Formalization scope
The exact published goal, its hypotheses and its referenced definition blocks specify the requested formalization. The explanatory formula above is a summary; all quantifiers and additional clauses in the linked statement remain required.
The available published material supplies this goal and its necessary definitions. Additional manuscript lemmas are not represented as attached milestones.
Selected references
OpenAI, A counterexample to Naimark's problem in ZFC, preprint, 2026. Manuscript.
The Partition Principle does not imply ChoiceOpen Problem
Motivation
The Partition Principle reverses the cardinal comparison provided by a surjection without requiring a section. The source studies whether this weaker form of comparison can hold while full Choice fails. The source is OpenAI's September 2026 manuscript.
Setting
The Partition Principle says that a surjection from X onto Y implies an injection from Y into X. Ordinal-indexed Choice provides choices for families indexed by internal ordinals. The formal consistency predicate rules out finite derivations of falsity in a specified first-order proof system.
Formalization targets
Con(ZF)⟹Con(ZF+PP+ACwo+¬AC).
A relative consistency result in pure first-order set theory with membership and equality: if ZF, meaning the full axioms of extensionality, empty set, pairing, union, power set, infinity and foundation together with every instance of Separation and Replacement for arbitrary formulas with arbitrary parameters, and without Choice, is consistent, then so is the theory obtained by adding three sentences to ZF. Consistency is syntactic: no finite classical natural-deduction derivation of falsity exists from the theory, allowing any finite supply of free variables. The added sentences are the Partition Principle PP, which says that whenever there is a set surjection from X onto Y then there is a set injection from Y into X, with functions coded internally as sets of Kuratowski pairs and the injection not required to be a section of the surjection; the ordinal-indexed Choice axiom ACwo, which says that for every internal von Neumann ordinal (transitive and internally well-ordered by membership) every family of nonempty sets indexed by it has a choice function; and the negation of full Axiom of Choice AC, which says that every set of nonempty sets has a choice function.
The chosen goal is the relative syntactic consistency claim. A separate attached model-construction target gives a transitive extension under its stronger ground-model assumptions. The manuscript presents a mathematical argument; the attached goal currently has status Open, so the requested contribution is a Lean proof of the displayed formal target.
Difficulty
The function and ordinal notions must be expressed internally in the set-theoretic language. An ambient use of classical choice cannot substitute for satisfaction of the internal Choice sentence.
Formalization scope
The source theory includes every Separation and Replacement instance with parameters. The auxiliary model target assumes a countable transitive ground and a standard inaccessible in that ground; it is not presented as an assumption-free construction over arbitrary countable transitive models.
The shared definitions are supplied by PartitionConsistency, PartitionPrinciple. The target uses Lean 4.33.1 with the pinned Mathlib environment. Contributions should preserve the existing statement and develop reusable supporting lemmas in its definitions.
Selected references
OpenAI, The Partition Principle does not imply Choice, preprint, September 2026. Manuscript.
Finite congruence lattices: characterization and undecidabilityOpen Problem
Motivation
A finite algebra has a lattice of congruences, ordered by inclusion. The source studies which finite lattices arise in this way, and the available goal captures its colored-graph characterization. The source is OpenAI's September 2026 manuscript.
Setting
A congruence is an equivalence relation preserved by every basic operation of an algebra. A graph witness assigns lattice-valued colors to pairs of finitely many vertices, with symmetry, diagonal, triangle, separation, and seed-connectivity conditions.
Formalization targets
Representable(L)⟺HasGraphWitness(L).
For any finite type Lat carrying a lattice structure with a least element ⊥, Lat is Representable if and only if it HasGraphWitness. Representable means that there is a positive size n and an algebra on Fin n (a finite list of operations, each of some finite arity, acting on the carrier) such that Lat is order-isomorphic to the poset of congruences of that algebra, where a congruence is an equivalence relation compatible with every operation: if corresponding arguments are related coordinatewise, the outputs are related; congruences are ordered by the inherited order on equivalence relations. HasGraphWitness means that there is a positive size n and a Lat-valued coloring color of ordered pairs from Fin n satisfying five conditions: color is symmetric; color(a,b)=⊥ exactly when a=b; color(a,b) ≤ color(a,m) ⊔ color(m,b) for all a, b, m; whenever lower ≰ upper in Lat, some pair has color ≤ lower but not ≤ upper; and for every nonempty finite set of seed pairs, any pair whose color is at most the join of the seed colors is connected to the seeds. Connected is the equivalence closure of the relation Marked, where a,b are Marked if some self-map p of the vertices satisfies color(p x,p y) ≤ color(x,y) for all x,y and sends some seed pair (s,t) to (a,b).
The equivalence provides a finite combinatorial certificate for representation as an entire congruence lattice. It is the characterization component of the manuscript. The manuscript presents a mathematical argument; the attached goal currently has status Open, so the requested contribution is a Lean proof of the displayed formal target.
Difficulty
Representing a lattice inside a congruence lattice is weaker than obtaining all congruences. The witness’s seed-connectivity condition must capture this fullness and work in both directions.
Formalization scope
The lattice is finite and has a least element. The algebra carrier and graph witness carrier each have positive finite size. Operations have finite arities, and representation is an order isomorphism. The manuscript’s undecidability conclusions are not among the attached targets.
The shared definitions are supplied by FiniteCongruenceGraph. The target uses Lean 4.33.1 with the pinned Mathlib environment. Contributions should preserve the existing statement and develop reusable supporting lemmas in its definitions.
Selected references
OpenAI, Finite congruence lattices: characterization and undecidability, preprint, September 2026. Manuscript.
Simple F∞ overgroups of groups with decidable word problemResearch Paper
Motivation
A finitely generated group has decidable word problem if an algorithm decides, for every word in a fixed finite generating set and its inverses, whether it represents the identity. Embedding theorems translate this algorithmic property into algebra: Higman (1961) characterized subgroups of finitely presented groups, and Boone and Higman (1974) showed that decidable word problem is equivalent to embedding in a simple subgroup of a finitely presented group, asking whether the simple group can be finitely presented (the Boone–Higman conjecture).
This preprint proves a stronger statement in the direction of higher finiteness: every finitely generated group with decidable word problem embeds in a simple group of type F∞, i.e. one with a classifying space having finitely many cells in each dimension. Since type F∞ implies finite presentation, this implies the Boone–Higman conjecture.
Background
1961. Higman's embedding theorem: finitely generated subgroups of finitely presented groups are exactly the recursively presented groups.
1974. Boone and Higman characterize decidable word problem by embeddings into simple subgroups of finitely presented groups and pose the conjecture.
1975, 1987. Brown gives homological criteria for finiteness and establishes type F∞ for the Thompson–Higman groups.
1980. Thompson shows the simple overgroup can be chosen finitely generated with decidable word problem.
2022. Belk and Zaremsky introduce twisted Brin–Thompson groups and construct a simple group of type F∞ containing all finitely generated right-angled Artin groups.
2024–2026. Belk, Hyde and Matucci construct a simple F∞ group containing every countable abelian group; the Boone–Higman conjecture is verified for hyperbolic groups (Belk, Bleak, Matucci, Zaremsky) and for Aut(Fn) and mapping class groups (Belk, Fournier-Facio, Hyde, Zaremsky). The survey of Belk, Bleak, Matucci and Zaremsky raises the higher-finiteness question.
2026. The OpenAI preprint Simple F∞ overgroups of groups with decidable word problem (dated September 23, 2026) proves the theorem below, building on the companion preprint Finite algebraic envelopes and the Boone–Higman conjecture. It has not been peer reviewed; the Lean goal is open on this platform.
Setting
A classifying spaceK(H,1) is a connected CW complex with fundamental group H and contractible universal cover. H has type Fn if some K(H,1) has finite n-skeleton and type F∞ if some K(H,1) has finitely many cells in each dimension. Type F1 is finite generation and type F2 is finite presentation. A group is simple if it is nontrivial and has no normal subgroups besides 1 and itself.
In Lean (OAI.SimpleFInftyOvergroups, definitions SimpleOvergroups), HasDecidableWordProblem G asks for a finite generating tuple with a ComputablePred identity predicate on words; HasTypeFInfty H asks for a Hausdorff connected space X with a CW structure of finite type (Topology.CWComplex.FiniteType), a basepoint with H≃π1(X,x), and a surjective covering map from a contractible space.
Formalization targets
Goal: Theorem 1.1
Every finitely generated group G with decidable word problem admits an injective homomorphism G↪H into a nontrivial simple group H of type F∞.
The input need not be finitely presented and its word-problem algorithm may have arbitrary running time; the classifying space of H may be infinite-dimensional.
Significance
The result. Theorem 1.1 answers the higher-finiteness strengthening of the Boone–Higman conjecture and implies the conjecture itself. With the classical converse (finitely presented simple groups have decidable word problem), it characterizes groups with decidable word problem as the finitely generated subgroups of simple groups of type F∞.
Formalizing it. No machine-checked proof exists; the source is an unrefereed preprint. A formalization requires CW complexes of finite type, classifying spaces and covering theory (partially in Mathlib), Brown's homological finiteness criterion, Steinberg groups, and twisted Brin–Thompson groups with the Belk–Zaremsky finiteness theorem (Theorem 5.1 in the preprint, from the literature).
Difficulty
Finite presentation already fails to pass to subgroups; higher finiteness additionally requires controlling relations among relations in every dimension. Known families of simple F∞ groups contain large classes of groups but give no general construction from a word-problem algorithm. The proof needs an oligomorphic faithful action of a group of type F∞ with stabilizers of type F∞, built from an algebraic envelope whose Steinberg-group kernel must be annihilated exactly (Theorem 4.6).
Formalization scope
G and H live in the same universe Type u; G carries [Group.FG G].
IsSimpleGroup H together with Nontrivial H encodes simplicity.
Type F∞ is encoded topologically via a finite-type CW structure on a connected Hausdorff space whose universal cover (a surjective covering with contractible total space) witnesses asphericity.
The word problem uses ComputablePred on lists of (generator, sign) pairs for a specified generating tuple.
The statement is not vacuous: the hypothesis holds for many groups (e.g. all finitely presented residually finite groups), and the conclusion requires a genuine embedding.
Needed infrastructure: finite-type CW complexes and K(π,1) spaces, Brown's criterion, group actions with finiteness properties, Steinberg groups over noncommutative algebras, and twisted Brin–Thompson groups. Contributions toward any of these are welcome.
W. W. Boone, G. Higman, An algebraic characterization of groups with soluble word problem, J. Austral. Math. Soc. 18 (1974). https://doi.org/10.1017/S1446788700019108
J. Belk, C. Bleak, F. Matucci, M. C. B. Zaremsky, Progress around the Boone–Higman conjecture, 2025. https://arxiv.org/abs/2306.16356
J. Belk, C. Bleak, F. Matucci, M. C. B. Zaremsky, Hyperbolic groups satisfy the Boone–Higman conjecture, Duke Math. J. 175 (2026). https://doi.org/10.1215/00127094-2025-0055
Finite algebraic envelopes and the Boone–Higman conjectureResearch Paper
Motivation
The word problem for a group with a finite generating set asks whether a given word in the generators and their inverses represents the identity; it is decidable if one algorithm answers this for every word. Since Higman's embedding theorem (1961), a recurring theme in combinatorial group theory has been to characterize algorithmic properties of groups by embeddings into groups with good algebraic properties. Boone and Higman (1974) proved that a finitely generated group has decidable word problem if and only if it embeds in a simple subgroup of a finitely presented group, and asked whether the simple group can itself be taken finitely presented. This is the Boone–Higman conjecture.
This preprint states a proof of the conjecture: a finitely generated group has decidable word problem if and only if it embeds in a finitely presented simple group.
Background
1961. Higman characterizes finitely generated subgroups of finitely presented groups as the recursively presented groups.
1974. Boone and Higman prove the characterization G≤H≤K with H simple and K finitely presented, and ask whether H can be finitely presented.
1980. Thompson embeds every finitely generated group with decidable word problem into a finitely generated simple group with decidable word problem; a later proof is given by Darbinyan and Steenbock (2022).
2022. Belk and Zaremsky introduce twisted Brin–Thompson groups, which embed an acting group in a simple group; Zaremsky (2024) gives a finite-presentation criterion requiring a finitely presented acting group with finitely generated point stabilizers and finitely many orbits on unordered pairs.
2023–2026. The conjecture is verified for hyperbolic groups and contracting self-similar groups (Belk, Bleak, Matucci, Zaremsky), Baumslag–Solitar and free-by-cyclic groups (Bux, Llosa Isenrich, Wu), and Aut(Fn) and mapping class groups of punctured surfaces (Belk, Fournier-Facio, Hyde, Zaremsky); see the survey of Belk, Bleak, Matucci and Zaremsky.
2026. The OpenAI preprint Finite algebraic envelopes and the Boone–Higman conjecture (dated September 23, 2026) states a proof of the conjecture in general. It has not been peer reviewed; the Lean goal is open on this platform.
Setting
A group G is finitely generated if some finite tuple g1,…,gn generates it. A word is a finite list of letters gi±1; G has decidable word problem if for some finite generating tuple the set of words evaluating to 1 is computable. A group is finitely presented if it has a presentation with finitely many generators and relations, and simple if it is nontrivial with no normal subgroups other than 1 and itself. An embedding is an injective homomorphism.
In Lean (OAI.FiniteAlgebraicEnvelopes, definitions BooneHigman), words are List (Fin n × Bool), evalWord multiplies generators or their inverses, HasDecidableWordProblem G asserts a generating tuple whose identity predicate is ComputablePred, and EmbedsInFinitelyPresentedSimpleGroup G asserts a group in the same universe that is Group.IsFinitelyPresented and IsSimpleGroup, with an injective homomorphism from G.
Formalization targets
Goal: Theorem 1.1 (Boone–Higman conjecture)
For every finitely generated group G,
G has decidable word problem⟺G embeds in a finitely presented simple group.
The implication from right to left is classical (a finitely presented simple group has decidable word problem, and the property passes to finitely generated subgroups); the content is the forward implication.
Significance
The result. Theorem 1.1 gives a purely algebraic characterization of decidability of the word problem and settles a question open since 1974. Its intermediate result, Theorem 1.2, embeds every finitely generated group with decidable word problem in a finitely presented group with a faithful two-transitive action on a countably infinite set with finitely generated point stabilizers, which feeds Zaremsky's criterion for twisted Brin–Thompson groups.
Formalizing it. No machine-checked proof exists, and the source is an unrefereed preprint. Formalizing it requires computability of word problems, finite presentations (available in Mathlib as Group.IsFinitelyPresented), Steinberg groups over noncommutative rings, and twisted Brin–Thompson groups, which are not in Mathlib. The proof also uses Zaremsky's finite-presentation theorem (Theorem 2.3) from the literature, which a complete formalization must include.
Difficulty
Finite presentation does not pass to subgroups, so Boone and Higman's simple group H and finitely presented group K cannot simply be merged. Thompson's construction gives a finitely generated simple overgroup but provides no finite presentation. The new route needs a finitely presented group acting faithfully and two-transitively, built from a finitely presented algebra whose simplicity appears only after passing to a direct limit, and an exact calculation removing the kernel of the Steinberg group without assuming it is central.
Formalization scope
GroupType : Type u with [Group GroupType] [Group.FG GroupType]; the target group lives in the same universe.
Decidability is ComputablePred on words over a specified finite generating tuple (Subgroup.closure (range generators) = ⊤); since the word problem's decidability is independent of the finite generating set, this matches the source.
IsSimpleGroup includes nontriviality, matching the paper's convention.
The statement is not trivially true: both directions are required for every finitely generated group, including infinitely presented ones.
Needed infrastructure: computable group presentations, Steinberg groups, mapping tori of endomorphisms, twisted Brin–Thompson groups and Zaremsky's criterion. Contributions toward the classical backward implication, or toward Theorem 1.2, are welcome.
W. W. Boone, G. Higman, An algebraic characterization of groups with soluble word problem, J. Austral. Math. Soc. 18 (1974). https://doi.org/10.1017/S1446788700019108
R. J. Thompson, Embeddings into finitely generated simple groups which preserve the word problem, in Word Problems II, North-Holland, 1980. https://doi.org/10.1016/S0049-237X(08)71348-X
M. C. B. Zaremsky, Finite presentability of twisted Brin–Thompson groups, Proc. Roy. Soc. Edinburgh Sect. A (2024). https://doi.org/10.1017/prm.2024.131
J. Belk, C. Bleak, F. Matucci, M. C. B. Zaremsky, Hyperbolic groups satisfy the Boone–Higman conjecture, Duke Math. J. 175 (2026). https://doi.org/10.1215/00127094-2025-0055
J. Belk, C. Bleak, F. Matucci, M. C. B. Zaremsky, Progress around the Boone–Higman conjecture, 2025. https://arxiv.org/abs/2306.16356
K.-U. Bux, C. Llosa Isenrich, X. Wu, On the Boone–Higman conjecture for groups acting on locally finite trees, 2025. https://arxiv.org/abs/2408.05673
J. Belk, F. Fournier-Facio, J. Hyde, M. C. B. Zaremsky, Boone–Higman embeddings of Aut(F_n) and mapping class groups of punctured surfaces, 2026. https://arxiv.org/abs/2503.21882
A. Darbinyan, M. Steenbock, Embeddings into left-orderable simple groups, J. London Math. Soc. 105 (2022). https://doi.org/10.1112/jlms.12552
Weak and strong normalization in pure type systemsResearch Paper
Motivation: does having a normal form imply termination?
Pure type systems (PTSs) are a uniform framework covering the simply typed λ-calculus, System F, the calculus of constructions and the type theories behind proof assistants such as Coq and Lean. A system is specified by its sorts (like ∗ and □), axioms (∗:□) and product rules (which dependent function types may be formed). Normalization is the key metatheoretic property: it underlies logical consistency and decidability of type checking. There are two versions. A term is weakly normalizing if some sequence of β-reductions reaches a normal form, and strongly normalizing if every reduction sequence is finite. Strong normalization is what implementations need (any evaluation strategy terminates) but it is much harder to prove. The Barendregt–Geuvers–Klop conjecture asserts that, for pure type systems, the system-wide weak property already implies the strong one.
Timeline
1989 — Girard's Proofs and Types presents the Tait–Girard reducibility method for strong normalization (book).
1993 — Geuvers states the system-wide conjecture for β and βη reduction in his thesis (Logics and Type Systems, Nijmegen, Conjecture 8.1.2) (thesis).
1997 — Sørensen proves the implication for generalized nondependent, clean, negatable systems via continuation-passing translations (thesis, Copenhagen, Theorem 3.5.20).
2001 — Barthe, Hatcliff and Sørensen prove a uniform nondependent version (TCS 2001).
2006 — Barthe and Coquand show that erasing λ-domain annotations can identify non-convertible terms in non-normalizing PTSs (JFP 2006), a constraint on erasure-based approaches.
2014 — Roux and van Doorn develop a structural theory of PTSs, preserving weak normalization under sums and added rules (RTA–TLCA 2014).
2023 — Mull reduces the conjecture within tiered systems to an irrelevance-eliminating translation (TYPES 2022, LIPIcs 2023) and extends the nondependent results in his thesis (Chicago, 2023).
2025 — Roux proposes internal strong-normalization proofs for specific systems (TYPES 2025 abstract).
2026 — An OpenAI preprint, Weak and strong normalization in pure type systems (OpenAI Math Release, September 25, 2026), claims the β-version of the conjecture for every PTS, with no functionality assumption. The preprint has not been peer reviewed and its theorem is not formally verified.
Setting
A specification consists of a type S of sorts, an axiom relation A⊆S2 and a rule relation R⊆S3; neither is assumed functional. Expressions are
M,N,A,B::=x∣s∣MN∣λx:A.M∣Πx:A.B,s∈S,
up to renaming of bound variables. β-reduction is the compatible closure of (λx:A.M)N→βM[x:=N], with steps allowed everywhere, including inside the annotation A of a λ and both parts of a Π. TypingΓ⊢M:A is generated by the seven standard PTS rules (axiom, variable, weakening, product, abstraction, application, conversion up to =β). A context is valid if each declared type is typed by a sort in the preceding prefix, and M is legal in Γ if Γ⊢M:A or Γ⊢A:M for some A.
The system is weakly (strongly) normalizing if every legal expression in every valid context is weakly (strongly) normalizing.
Formalization targets
Goal: β-Barendregt–Geuvers–Klop (Theorem 1)
For every specification P=(S,A,R),
(∀Γvalid,∀Mlegal in Γ:Mis weakly β-normalizing)⟹(∀Γvalid,∀Mlegal in Γ:Mis strongly β-normalizing).
Both quantifiers range over the whole system; the theorem does not claim that an individual weakly normalizing term is strongly normalizing, and it says nothing about η-reduction. The goal statement is published on the platform with status Open: no machine-checked proof exists yet.
Significance
The result itself. For any PTS, a proof that every legal term has a normal form now yields termination of every β-reduction strategy, including reductions inside types and annotations that may continue after the computational body is normal. Earlier results needed nondependent products, cleanliness, negatability, a tiered sort hierarchy, or a translation requiring extra product rules; the general case — arbitrary sorts and nonfunctional rules — was not covered by any earlier result since Geuvers' 1993 formulation.
Formalizing it. The statement is entirely syntactic and finitary, so it is a natural target for a proof assistant, and the relevant objects (de Bruijn syntax, substitution, typing derivations) are standard formalization material. The proof in the source is long (over 70 pages) and combines reducibility candidates with a fixed-point construction over sort profiles; a machine check would substantially raise confidence. A formal PTS metatheory library (substitution lemmas, confluence, subject reduction) would be reusable for other type-theory formalizations.
Difficulty
The obvious route — reducibility candidates à la Tait–Girard — needs a model of types built by recursion on sorts, which fails for impredicative or nonfunctional specifications where a type can have several sorts and no hierarchy is available. Translation methods (CPS or irrelevance elimination) need specific product rules to preserve typing, which a general specification may lack. Weak normalization of one term cannot be used alone; the argument must exploit normal forms of other open expressions. Annotations add a further complication: erasing them can change the equational theory (Barthe–Coquand), so reduction inside annotations must be tracked rather than erased.
Formalization scope
Expressions use de Bruijn indices (Expr S with var, sort, app, lam, pi), so α-equivalence is syntactic; substitution is parallel substitution with lifting.
Beta is full compatible closure, including lam_domain, pi_domain and pi_body steps; conversion is Relation.EqvGen Beta.
HasType has exactly the seven PTS rules; contexts are lists stored newest-first, each declaration typed in its prefix (ValidContext). Legal includes expressions occurring as types.
Weak normalization is reduction to a normal form; strong normalization is accessibility for the converse of Beta.
The sort type S is arbitrary (any universe), and axioms and rules are arbitrary relations: no functionality, finiteness or hierarchy assumptions.
Needed infrastructure: renaming/substitution lemmas, confluence of β, subject reduction for PTSs, reducibility candidates. All are reusable for any PTS formalization.
G. Barthe, J. Hatcliff and M. H. Sørensen, Weak normalization implies strong normalization in a class of non-dependent pure type systems, Theoret. Comput. Sci. (2001). https://doi.org/10.1016/S0304-3975(01)00012-3
G. Barthe and T. Coquand, Remarks on the equational theory of non-normalizing pure type systems, J. Funct. Programming (2006). https://doi.org/10.1017/S0956796803004726
Witnessed symmetric choice is strictly stronger than choiceless polynomial time with countingResearch Paper
Motivation
A logic for unordered finite structures (graphs, databases, relational inputs given up to isomorphism) must give answers that do not depend on how the input elements are named. Many polynomial-time algorithms nevertheless make arbitrary intermediate choices, for example the pivot in Gaussian elimination, without changing their final answer. Choiceless polynomial time with counting (CPT), introduced by Blass, Gurevich and Shelah (1999), forbids such choices entirely: it computes with hereditarily finite sets over the input elements and can count, but can never pick one element from a set merely because the set is nonempty.
Witnessed symmetric choice (WSC), in the form of Lichter and Schweitzer (2022, arXiv version 3), adds a controlled form of choice: the logic may pick an element of a set provided it also constructs automorphisms of the input showing that all elements of that set are interchangeable, so the answer cannot depend on which one was picked. Lichter and Schweitzer asked whether CPT + WSC is strictly more expressive than CPT. This mission concerns a proof that it is.
Timeline
1992. Cai, Fürer and Immerman construct graph pairs that hide a global parity obstruction from bounded-variable counting logic (doi:10.1007/BF01305232).
1998. Gire and Hoang introduce a fixpoint logic with a symmetry-based choice construct (doi:10.1006/inco.1998.2712).
2003. Dawar and Richerby define a fixed-point logic with symmetric choice, with parameters and nesting (doi:10.1007/978-3-540-45220-1_16).
2008. Dawar, Richerby and Rossman show that preordered CFI queries are CPT-definable, and that bounded-rank CPT fails on them (doi:10.1016/j.apal.2007.11.011).
2022–2023. Lichter and Schweitzer define CPT + WSC, show that definable isomorphism testing yields canonization, and ask whether WSC strictly adds expressive power (arXiv:2205.14003).
The source of this mission is an OpenAI preprint dated September 24, 2026; its companion preprint (September 23, 2026) proves that CPT does not capture polynomial time.
Setting
Let A be a finite set of atoms and HF(A) the hereditarily finite sets over A. CPT terms are built from variables, ∅, Atoms, Pair(a,b)={a,b}, Union, Unique (the member of a singleton, else ∅), Card (the von Neumann ordinal ∣a∣), comprehensions {s(aˉ,u):u∈t(aˉ),θ(aˉ,u)} and iteration from ∅; formulas use input relations, equality and Boolean connectives. A sentence(Φ,p) pairs a closed formula with a polynomial p that bounds the number of iteration steps and the hereditary size of all intermediate objects on inputs with n atoms; exceeding the bounds yields a default or a failure value †.
A WSC operator iterates a step term in which, at each stage, a choice term proposes a nonempty set D; one element is chosen, and a witness term must produce automorphisms of the entire input that fix the parameters and all earlier stages and map any element of D to any other. If the witnesses are valid along every possible choice sequence, the output formula's value on the terminal state is returned; otherwise the value is †.
The true-model class of a sentence is the set of finite structures on which it returns true; false and † are both outside it.
Formalization targets
Goal: Theorem 1.1
For the fixed vocabulary τ of eight binary relations there is a CPT + WSC sentence (Φ,p) with exactly one WSC occurrence such that
(i)(Φ,p)returns true or false on every finite τ-structure;(ii)TrueModels(Φ,p)=TrueModels(Ψ,q)for every CPT sentence (Ψ,q).
The Lean statement OAI.WitnessedChoice.main (via BGS.MainStatement) is open on the platform.
Significance
Since every CPT sentence is a CPT + WSC sentence, Theorem 1.1 gives a strict inclusion of definable Boolean queries and answers the expressiveness question posed by Lichter and Schweitzer in the true-model sense. The separation holds against CPT with counting and sets of arbitrary finite rank, not a rank-restricted fragment. It leaves open whether CPT + WSC captures polynomial time and the effect of nesting WSC operators.
The result is proved in an OpenAI preprint, which has not been peer reviewed. No machine-checked proof exists.
Difficulty
Two different tasks must be done. The upper bound requires a legal WSC definition on all inputs, not only on the intended grid structures: witnesses must be genuine automorphisms of the whole input fixing the full history, which the sentence must check, with a fallback when the input is not of the intended shape. The lower bound must defeat every CPT sentence, including those that build nested sets of large rank; rank-sensitive support arguments (Dawar–Richerby–Rossman) do not suffice. The paper uses a nonabelian automorphism group whose central subgroup has rank-independent small supports, then a counting equivalence and a bounded-width description of complete CPT evaluations.
Formalization scope
Syntax is a mutual inductive Term n / Formula n with de Bruijn-style Fin n variables, including iterate and the wsc formula; wscCount counts WSC occurrences.
Evaluation returns Option (none is †). resource p n = ⌊p(n)⌋ bounds iteration length and transitive-closure size.
WSC validity (GoodWSC) quantifies over all choice prefixes; witnesses are permutationGraph g for permutations g that are input automorphisms, fix the free parameters and every earlier stage, and act transitively on the choice set.
FiniteInput packs any finite carrier type with the eight-symbol relations (Ed, Cf, EB, VB, I, Z δ, δ : ZMod 3). Sentence.isCPT means wscCount = 0.
A complete development needs hereditarily finite sets with permutation actions, support and counting-equivalence theory, and the grid structures; much of this is shared with the companion CPT noncapture mission. Contributions formalizing Proposition 4.4 (a total all-input definition), Proposition 5.3 (transitivity for every parameter tree), Theorem 5.5 (opposite grid answers), Proposition 6.3 (small-orbit support bound), Theorem 8.1 (transfer through small supports) and Theorem 9.3 (eventual equality for every CPT sentence) are welcome.
A. Blass, Y. Gurevich, S. Shelah, On polynomial time computation over unordered structures, J. Symbolic Logic, 2002. https://doi.org/10.2178/jsl/1190150152
A. Dawar, D. Richerby, B. Rossman, Choiceless polynomial time, counting and the Cai–Fürer–Immerman graphs, Ann. Pure Appl. Logic, 2008. https://doi.org/10.1016/j.apal.2007.11.011
J.-Y. Cai, M. Fürer, N. Immerman, An optimal lower bound on the number of variables for graph identification, Combinatorica, 1992. https://doi.org/10.1007/BF01305232
F. Gire, H. K. Hoang, An extension of fixpoint logic with a symmetry-based choice construct, Inform. and Comput., 1998. https://doi.org/10.1006/inco.1998.2712
Choiceless polynomial time with counting does not capture polynomial timeResearch Paper
Motivation
Descriptive complexity asks whether complexity classes can be characterized by logics, without reference to machines. Immerman and Vardi (1982) showed that on ordered finite structures, first-order logic with a least fixed-point operator expresses exactly the polynomial-time queries. On unordered structures, such as graphs given only up to isomorphism, an algorithm must not depend on an arbitrary ordering of the input, and whether some logic captures polynomial time there is a central open question (Chandra–Harel 1982, Gurevich 1988).
Choiceless polynomial time with counting (CPT), introduced by Blass, Gurevich and Shelah (1999), was for decades the strongest candidate: it computes with hereditarily finite sets built over the input elements, can count, and is invariant under automorphisms by construction. Blass, Gurevich and Shelah conjectured that CPT is still a proper fragment of polynomial time. This mission concerns a proof of that conjecture.
2000. Shelah claims noncapture for counting extensions; later accounts continue to list the problem as open.
2008. Dawar, Richerby and Rossman show that CFI queries over ordered base graphs are CPT-definable, and that bounded-rank CPT with counting fails on them (doi:10.1016/j.apal.2007.11.011).
With unknowns (λa)a∈X and (μy)y∈Y (separate families), the system consists of
a∈Xt∑λa=1(t∈X),μy=a∈Xt∑λaC(y,a)
for every (t,y)∈X×Y such that some a∈Xt and x∈Y satisfy I(a,x) and EB(y,x). The queryQ(A) says this system is consistent over F3. No promise is imposed on the input.
A CPT program is a fixed finite set of rules that updates dynamic functions whose values are hereditarily finite sets over the atoms of A, using pairing, union, comprehension, equality, membership, the input relations, and the cardinality operation (which returns a von Neumann ordinal). A program definesQ if for fixed polynomials T,S, on every input of size n it halts within T(n) steps, touches at most S(n) hereditarily finite objects, and accepts exactly when Q(A) holds. No bound on set rank is imposed.
Formalization targets
Goal: Theorem 1
Qis isomorphism-invariant,Q∈P(from an ordered encoding),Q∈/CPT.
The Lean statement OAI.CPTSeparation.main is the conjunction of these three clauses. It is open on the platform.
Significance
The theorem confirms the Blass–Gurevich–Shelah noncapture conjecture for the full counting formalism: CPT does not capture polynomial time on unordered structures. It removes the leading candidate logic from Gurevich's question, which itself remains open. Because Q is expressible in fixed-point logic with a solvability or rank operator over F3 (Corollary 3, p. 3), it also shows that neither of those logics is contained in CPT. The lower bound holds for programs of arbitrary set rank, unlike the bounded-rank lower bounds of Dawar–Richerby–Rossman.
The result is proved in an OpenAI preprint, which has not been peer reviewed. No machine-checked proof exists.
Difficulty
The polynomial-time upper bound is Gaussian elimination. The obstacle is the lower bound against every CPT program, including those that build sets of unbounded rank. Bounded-variable counting games handle fixed-point logic with counting but do not by themselves control CPT, which is strictly stronger (it decides CFI queries over ordered base graphs). Rank-dependent support arguments give lower bounds only for each fixed rank. The paper needs support bounds independent of rank, for which it uses a nonabelian automorphism group acting on grid structures, then a counting equivalence for all supported objects, and finally a transfer to complete computations via an interpretation characterization of CPT.
Formalization scope
Input A gives a Boolean-valued binary relation for each Symbol (Ed, Cf, EB, VB, I, Z δ with δ : ZMod 3). Input.query is the existence of λ, μ satisfying the normalization and consistency equations exactly as above; an empty system is consistent.
OrdinaryPolynomialTime asks for a function on ordered tables and a Turing.TM2ComputableInPolyTime machine with finite alphabets computing it from the cell-by-cell table encoding, agreeing with the query for every ordering of every structure.
FullCPT defines terms and rules over hereditarily finite sets (Lists quotient), a state of finitely many nonempty locations, synchronous consistent updates, halt/accept flags, and the set of occurring objects (active elements plus roots of evaluated terms). EvaluationDefinable Q asks for one program and polynomials time, space that accept exactly the inputs satisfying Q, halting within time and with at most space occurring objects.
This is the original operational formulation; the paper's proof passes through the interpretation characterization of CPT (Grädel–Pakusa–Schalthöfer–Kaiser), which a formal proof must either formalize or bypass.
A complete development needs: hereditarily finite sets and automorphism actions on them, support theory, counting equivalence games, the grid structures with their automorphism group, and a CPT-to-interpretation translation. Contributions formalizing Proposition 2 (polynomial-time decidability), Proposition 8 (small-orbit support bound), Proposition 13 (quantitative homogeneity) and Theorem 14 (transfer through small supports) are welcome.
A. Blass, Y. Gurevich, S. Shelah, On polynomial time computation over unordered structures, J. Symbolic Logic, 2002. https://doi.org/10.2178/jsl/1190150152
J.-Y. Cai, M. Fürer, N. Immerman, An optimal lower bound on the number of variables for graph identification, Combinatorica, 1992. https://doi.org/10.1007/BF01305232
A. Dawar, D. Richerby, B. Rossman, Choiceless polynomial time, counting and the Cai–Fürer–Immerman graphs, Ann. Pure Appl. Logic, 2008. https://doi.org/10.1016/j.apal.2007.11.011
E. Grädel, W. Pakusa, S. Schalthöfer, Ł. Kaiser, Characterising choiceless polynomial time with first-order interpretations, LICS, 2015. https://doi.org/10.1109/LICS.2015.68
Turing reducibility compares sets of natural numbers by their information content: A≤TB if an oracle Turing machine with oracle B computes the characteristic function of A. Identifying mutually reducible sets gives the Turing degreesDT, partially ordered by ≤T. A central question of computability theory since the 1970s is how much of the underlying computational structure the abstract order remembers. The strongest possible answer is rigidity: the order has no nontrivial automorphisms, so every degree is determined by its position in the order.
1977. Jockusch and Solovay prove that every jump-preserving automorphism fixes all degrees above 0(4) (doi:10.1007/BF03007659).
1980. Nerode and Shore prove that every automorphism fixes some cone of degrees, whose base may depend on the automorphism (doi:10.1016/0003-4843(80)90004-2).
1999. Shore and Slaman prove that the Turing jump is definable from the order, so every automorphism preserves it (Math. Res. Lett., 1999).
2005. Slaman and Woodin's manuscript Definability in Degree Structures shows that every automorphism fixes all degrees above 0′′, that the automorphism group is countable, that every automorphism has an arithmetic representation on sets of integers, and that rigidity is equivalent to their biinterpretability conjecture; see also Slaman's survey (doi:10.1142/9789812794055_0002).
2007. Shore gives direct degree-theoretic definitions of the jump (J. Math. Log., 2007).
2018. Kjos-Hanssen shows that automorphisms induced by permutations of the integers are trivial (doi:10.1017/bsl.2018.15).
After these results the remaining problem was rigidity at degrees outside the known fixed cone. The source of this mission, an OpenAI preprint dated September 24, 2026, proves full rigidity.
Setting
An oracle is a function A:N→{0,1} (a set of natural numbers). A≤TB means that the characteristic function of A is partial recursive relative to B. This is a preorder; its quotient by A≡TB⟺(A≤TB∧B≤TA) is the set DT of Turing degrees, partially ordered by ≤T. An automorphism of (DT,≤T) is a bijection π:DT→DT with
a≤Tb⟺π(a)≤Tπ(b).
No definability, Borel or continuity hypothesis is imposed on π.
Formalization targets
Goal: Theorem 1.1
∀π∈Aut(DT,≤T)∀a∈DT:π(a)=a.
The Lean statement OAI.TuringRigidity.ManuscriptMain.rigidity is open on the platform.
Significance
Rigidity says that the order ≤T alone determines every Turing degree. By the theorem of Slaman and Woodin, it is equivalent to their biinterpretability conjecture: the degrees are biinterpretable without parameters with full second-order arithmetic (Corollary 5.1). Consequently every relation on degrees that is definable in second-order arithmetic and invariant under Turing equivalence is definable in the degree order, which settles a family of definability questions at once.
The result is proved in an OpenAI preprint; it has not been peer reviewed, and no machine-checked proof exists. Its proof relies on the Slaman–Woodin representation theorem, whose cited source is an unpublished 2005 manuscript; a formalization would either need to formalize that input as well or isolate it as an explicit hypothesis, and would make the dependence fully transparent.
Difficulty
Earlier methods fix cones of degrees: coding arguments work above a sufficiently high base such as 0′′, where enough information can be coded and decoded. Below that base the coding machinery is not available, and an arbitrary automorphism carries no a priori regularity. The proof must turn the arithmetic (hence Borel) representation of an automorphism into recovery of every individual real, using a category argument that works for every irrational parameter, not only generic ones.
Formalization scope
Oracles are ℕ → Bool; reducibility is Mathlib's TuringReducible between the characteristic functions viewed as partial functions ℕ →. ℕ (values 0 and 1).
Degree is Antisymmetrization Oracle Reduces with the induced partial order; automorphisms are order isomorphisms Degree ≃o Degree, i.e. bijections preserving and reflecting ≤T.
The statement quantifies over all order isomorphisms, with no measurability or definability assumption, as in the paper.
A complete development needs relativized computability (oracle machines, joins, the jump), Borel and Baire-category arguments on 2N and R, and the Slaman–Woodin representation theorem (Theorem 3.1). Formalizing that theorem would itself be a substantial and reusable contribution. Contributions formalizing Proposition 4.1 (recovery of an irrational from four values of a Borel subadditive map with countable fibers) are welcome.
T. A. Slaman, Global properties of the Turing degrees and the Turing jump, in Computational Prospects of Infinity, Part I, 2008. https://doi.org/10.1142/9789812794055_0002
C. G. Jockusch, Jr., R. M. Solovay, Fixed points of jump preserving automorphisms of degrees, Israel J. Math., 1977. https://doi.org/10.1007/BF03007659
R. A. Shore, T. A. Slaman, Defining the Turing jump, Math. Res. Lett., 1999.
R. A. Shore, Direct and local definitions of the Turing jump, J. Math. Log., 2007.
B. Kjos-Hanssen, Permutations of the integers induce only the trivial automorphism of the Turing degrees, Bull. Symb. Log., 2018. https://doi.org/10.1017/bsl.2018.15
Computing the Random 3-SAT ThresholdResearch Paper
Motivation
Random 3-SAT, a conjunction of random three-literal clauses on n variables, is the classic test case for the typical behavior of satisfiability. Experiments placed the hardest instances near the density where half the formulas are satisfiable, and statistical physics predicts a sharp satisfiability threshold near 4.267. Once a limiting threshold α3 is known to exist, a natural question is whether it is a computable real: is there an algorithm that, given r, outputs a rational within 2−r of α3? Existence alone does not imply this, since limits of computable sequences need not be computable (Specker 1949). This mission asks for such an algorithm.
Timeline
1949. Specker constructs a bounded monotone computable sequence of rationals with a noncomputable limit.
1999. Friedgut, with an appendix by Bourgain, proves a sharp transition about a size-dependent location (doi:10.1090/S0894-0347-99-00305-7).
2003, 2006. Hajiaghayi and Sorkin, and Kaporis, Kirousis and Lalas, prove the lower bound 3.52 (arXiv:math/0310193).
2002–2006. Mézard, Parisi and Zecchina develop the cavity/survey-propagation picture; Mertens, Mézard and Zecchina predict α3≈4.267.
2009. Díaz, Kirousis, Mitsche and Pérez-Giménez prove the upper bound 4.4898.
2013. Bayati, Gamarnik and Tetali prove limits for normalized optimization values via sparse interpolation (doi:10.1214/12-AOP816).
2022. Ding, Sly and Sun prove the satisfiability conjecture with the predicted value for all large k (doi:10.4007/annals.2022.196.1.1).
2026. Carenini proves a polynomial scaling window and the existence of limiting thresholds for every fixed k≥3 (ECCC TR26-229, made public October 5, 2026); priority for the satisfiability conjecture belongs to Carenini.
The source of this mission is an OpenAI preprint dated September 27, 2026. Its contribution is computability of α3, beyond existence.
Setting
For n≥3, a proper random 3-clause chooses three distinct variables uniformly from x1,…,xn and gives each an independent fair sign. Let Φ(n,m) be the conjunction of m≥0 independent such clauses (sampled with replacement from the 8(3n) possibilities; the empty formula is satisfiable) and
p(n,m)=P{Φ(n,m)is satisfiable}.
A real α is computable if a single algorithm, on input r, halts with a rational qr satisfying ∣qr−α∣≤2−r.
Formalization targets
Goal: Theorem 1.1
There is α3∈(0,∞) such that for every fixed real a≥0
n→∞limp(n,⌊an⌋)={1,0,a<α3,a>α3,
and one finite deterministic Turing machine, on input 1r, halts with a rational qr with ∣qr−α3∣≤2−r, using no oracle, advice, or noncomputable constant. Lean: OAI.FixedClauseThreshold.Computability.main, open on the platform.
Significance
The theorem makes the random 3-SAT threshold an effectively approximable constant: in principle its digits can be certified, although no efficiency bound is obtained. The method produces two families of finite certificates, rational lower bounds from a deletion estimate and rational upper bounds from finite hierarchical approximations of a soft pressure, and a fair search over them halts without any computable rate of finite-size convergence. The paper also gives a self-contained existence proof of α3 (Theorem 4.4) for the same proper-clause model.
The result is proved in an OpenAI preprint; it has not been peer reviewed, and no machine-checked proof exists.
Difficulty
Finite-size satisfiability probabilities are computable, but their convergence rate is unknown, so truncating at a finite n certifies nothing. Lower certificates need an explicit bound on how far the finite-size centers can lie above the limit. Upper certificates are harder: one must show that above α3 some finite, checkable object witnesses unsatisfiability in the limit. This requires a variational (Parisi-type) description of the limiting pressure of the soft constraint model, approximated by finitely many rational parameters with a proof that the approximation is complete at every rational density above the threshold.
Formalization scope
ProperClause n k is Fin n → Option Bool with exactly k defined entries; Formula n k m := Fin m → ProperClause n k; properSATProbability n 3 m is the exact counting ratio, equal to p(n,m).
MainStatement asserts ∃α>0 with the two strict-side limits at m=⌊an⌋, a sequence q : ℕ → ℚ with Computable (fun r => encode (q r)), a Nat.Partrec.Codec with c.eval r = some (encode (q r)), and ∣qr−α∣≤2−r for all r.
The input is a natural number rather than a unary string, which is equivalent for computability; the r=0 case is a harmless extra requirement.
Nothing is asserted at a=α3.
Infrastructure: Mathlib's Computable/Nat.Partrec.Code, finite counting for random formulas, Poisson clause processes, interpolation bounds, and Ruelle cascades for the upper certificates. Formalizations of Lemma 2.1 (finite-certificate search, purely computability-theoretic and reusable), Theorem 4.4 and Theorem 8.4 are welcome.
M. Bayati, D. Gamarnik, P. Tetali, Combinatorial approach to the interpolation method and scaling limits in sparse random graphs, Ann. Probab., 2013. https://doi.org/10.1214/12-AOP816
M. Hajiaghayi, G. B. Sorkin, The satisfiability threshold of random 3-SAT is at least 3.52, preprint, 2003. https://arxiv.org/abs/math/0310193
Generalized Star Height at Most ThreeResearch Paper
Motivation: how many nested stars does a regular language need?
A regular expression describes a set of words using letters, union, concatenation and the Kleene starP∗ (any finite repetition of words from P). The star height of an expression is the depth of nesting of its stars, and it measures how many layers of unbounded repetition a regular language genuinely needs. For ordinary expressions this hierarchy is infinite. Allowing complement as an additional operation changes the picture: Boolean conditions can replace some layers of repetition, and the generalized star-height problem asks how far this goes. Whether every regular language has generalized star height at most some fixed number — and in particular whether one star always suffices — has been one of the longest-standing questions in the algebraic theory of automata.
Timeline
1963 — Eggan connects ordinary star height with the cycle structure of transition graphs and raises the question of its unboundedness (Michigan Math. J. 1963).
1965 — Schützenberger characterizes the star-free languages (generalized height 0) as those recognized by finite aperiodic monoids (Inform. Control 1965).
1966 — Dejean and Schützenberger show that ordinary star height is unbounded already over a two-letter alphabet (Inform. Control 1966).
1992 — Pin, Straubing and Thérien prove generalized height at most one for languages recognized by finite nilpotent groups of class two and for further monoid classes (Inform. Comput. 1992, Theorems 7.3 and 7.8).
2002 — Straubing distinguishes the questions "is generalized star height bounded?" and "is it at most one?" in his account of the problem (LATIN 2002, p. 537).
2016–2017 — Bourne and Ruškuc prove height-one bounds for subword-counting languages with factors of length at most three (Theor. Comput. Sci. 2016); Bourne extends this to arbitrary fixed factors in his thesis (St Andrews, 2017, hdl:10023/12024).
2026 — Companion OpenAI preprints prove uniform bounds of thirteen (Finite Monoid Computations and a Uniform Generalized Star-Height Bound) and four (Generalized Star Height at Most Four).
2026 — The OpenAI preprint Generalized Star Height at Most Three (OpenAI Math Release, September 25, 2026) claims the bound three. It has not been peer reviewed and its theorem is not formally verified. Whether height one always suffices remains open; no language of generalized height greater than one is known.
Setting
Fix a finite alphabet Σ and let Σ∗ be the set of finite words. A generalized regular expression over Σ is built from the constants 0 (denoting ∅) and 1 (denoting {ε}), single letters a∈Σ, union P∪Q, concatenation PQ, complement ¬P (taken in Σ∗), and star P∗. Its height is defined by
For a regular language L⊆Σ∗, the generalized star heighthΣ(L) is the least height of an expression over Σ denoting L.
In Lean (namespace OAI.GeneralizedStarHeight), expressions are an inductive type Expression Alphabet with exactly these seven constructors, Expression.language interprets them in Mathlib's Language Alphabet (complement is Language complement, i.e. relative to all words), Expression.height is the recursion above, and HasHeightAtMost L n means some expression has language L and height at most n.
Formalization targets
Goal: generalized star height at most three (Theorem 1.1)
For every finite alphabet Σ and every regular language L⊆Σ∗,
hΣ(L)≤3.
The goal is published on the platform with status Open.
Significance
The result itself. Before 2026 it was not known whether generalized star height is bounded at all; all positive results covered restricted families of monoids or languages. Theorem 1.1 gives a uniform bound independent of the alphabet and of the recognizing automaton, settling the boundedness question. It leaves open the sharper question of whether height one always suffices: no language is known to require height two. A uniform bound also implies that the hierarchy of generalized heights has at most four nonempty levels, which narrows where any separating example must be sought.
Formalizing it. The statement is short and fully elementary, but the proof composes many constructions (finite-monoid recognition, prefix codes of episodes, split identities, marker scales) whose height accounting is error-prone. A formal proof would certify the boundedness theorem itself. Mathlib already has regular languages (Language.IsRegular) and ordinary regular expressions; this mission adds generalized expressions with complement and their height.
Difficulty
The classical lower bounds for ordinary star height do not transfer once complement is allowed, and complement can simulate many but not obviously all counting arguments. The natural approach — write each fiber of a morphism from Σ∗ to a finite monoid by an expression that simulates the monoid computation letter by letter — needs one star per level of the computation's dependence on earlier history, and the depth of this dependence grows with the monoid. Group components are the difficulty: aperiodic monoids give height zero, but counting modulo n and nonabelian group computations require stars, and a uniform bound must handle arbitrary finite groups nested inside arbitrary monoids without the number of stars growing with their size.
Formalization scope
The alphabet is any Type u with [Finite Alphabet]; regularity is Mathlib's Language.IsRegular (acceptance by a finite-state DFA).
Expressions must use letters of the same alphabet, so no auxiliary letters may be introduced; complement is relative to all words over that alphabet.
height charges 1 only for stars; complement, union and concatenation are free, exactly as in the source. Since HasHeightAtMost asks only for existence of an expression, no bound on expression size or computability is claimed, matching the source's remark that the construction bounds nesting only.
Needed infrastructure: recognition of regular languages by finite monoids, prefix codes and unique factorization, and closure of bounded-height expressions under Boolean operations. The generalized-expression layer is reusable for the companion bounds (four and thirteen) and for formal work on star-free languages.
T. Bourne and N. Ruškuc, On the star-height of subword counting languages and their relationship to Rees zero-matrix semigroups, Theor. Comput. Sci. 653 (2016). https://doi.org/10.1016/j.tcs.2016.09.024
T. Bourne, Counting subwords and other results related to the generalised star-height problem for regular languages, PhD thesis, University of St Andrews, 2017. https://hdl.handle.net/10023/12024