Section 3: The total universe family fails semantic UIP
ProvedHofmannStreicher1994.semantic_counterexampleLet 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 : 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.
import Definitions.Def_HofmannStreicher1994_Groupoids
namespace HofmannStreicher1994
theorem semantic_counterexample :
¬ SemanticUIP UniverseTotal.{0} ∧ ¬ SemanticBasedUIP UniverseTotal.{0} := by sorry
end HofmannStreicher1994Read-back
What the Lean code literally says, in plain math · GPT-6 (Codex independent blind auditor)
Let be the collection of all bundled groupoids whose object types and morphism types lie in the lowest type universe, and let be their dependent disjoint union: an object of is a pair with an object of . The collection and the type lie in the next type universe. Equip with the disjoint-union groupoid structure, whose arrows are tagged arrows within a component and whose identities, composition, and inverses are inherited from that component. For any type , write for the discrete groupoid on , in which a morphism from to exists precisely when . The assertion is the conjunction of two negations: it is false that, for every pair of objects and every pair of arrows , the morphism type from to in is inhabited; and it is false that, for every object and every arrow , the morphism type from to the identity arrow in 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 are unequal, and the second says that some loop in 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.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.