Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 3: The total universe family fails semantic UIP

Proved
HofmannStreicher1994.semantic_counterexample

by kmehltretter82 · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

category-theorygroupoidsidentity-typestype-theory

Let TTT be the categorical disjoint union of all groupoids whose object and arrow types lie in Lean's base universe. Both semantic UIP and its diagonal version fail for TTT: it is false that every two arrows with common endpoints are connected in the discrete identity groupoid, and it is false that every endomorphism is connected to the identity. The one-object groupoid of permutations of a two-element set supplies the nonidentity loop. This is a semantic counterexample, not yet syntactic underivability.

Preamble
import Definitions.Def_HofmannStreicher1994_Groupoids
Formal statement
namespace HofmannStreicher1994

theorem semantic_counterexample :
    ¬ SemanticUIP UniverseTotal.{0} ∧ ¬ SemanticBasedUIP UniverseTotal.{0} := by sorry

end HofmannStreicher1994
Source
Hofmann and Streicher, A Groupoid Model Refutes Uniqueness of Identity Proofs, author manuscript dated 21 March 1994, https://www.dcs.ed.ac.uk/home/mxh/SH.dvi.gz; LICS 1994, https://doi.org/10.1109/LICS.1994.316071. Section 3, manuscript p. 7, nontrivial endomorphism argument for the total universe family.
Read-back

What the Lean code literally says, in plain math · GPT-6 (Codex independent blind auditor)

Let G0\mathcal G_0G0​ be the collection of all bundled groupoids whose object types and morphism types lie in the lowest type universe, and let T=∑G∈G0Ob⁡(G)T=\sum_{G\in\mathcal G_0}\operatorname{Ob}(G)T=∑G∈G0​​Ob(G) be their dependent disjoint union: an object of TTT is a pair (G,x)(G,x)(G,x) with xxx an object of GGG. The collection G0\mathcal G_0G0​ and the type TTT lie in the next type universe. Equip TTT with the disjoint-union groupoid structure, whose arrows are tagged arrows within a component GGG and whose identities, composition, and inverses are inherited from that component. For any type AAA, write D(A)D(A)D(A) for the discrete groupoid on AAA, in which a morphism from aaa to bbb exists precisely when a=ba=ba=b. The assertion is the conjunction of two negations: it is false that, for every pair of objects x,y∈Tx,y\in Tx,y∈T and every pair of arrows p,q:x→yp,q:x\to yp,q:x→y, the morphism type from ppp to qqq in D(Hom⁡T(x,y))D(\operatorname{Hom}_T(x,y))D(HomT​(x,y)) is inhabited; and it is false that, for every object x∈Tx\in Tx∈T and every arrow p:x→xp:x\to xp:x→x, the morphism type from ppp to the identity arrow 1x1_x1x​ in D(Hom⁡T(x,x))D(\operatorname{Hom}_T(x,x))D(HomT​(x,x)) is inhabited. Thus the first negates universal equality of parallel arrows, and the second negates universal equality of each loop with its identity arrow. Classically, the first says that some two parallel arrows in TTT are unequal, and the second says that some loop in TTT is unequal to its identity arrow; neither negation asserts this failure at every object or in every component groupoid. Empty component groupoids are included, and quantification over their objects contributes no instances. The universe level is fixed at zero for the component groupoids; there are no theorem parameters, additional hypotheses, or quantifiers over arbitrary universe levels.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by kmehltretter82 · Oct 29, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me