Repository navigation
Conversation
added 30 commits
October 28, 2026 00:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port HoTTLean from Lean v4.25.0-rc2 to Lean and Mathlib v4.34.1, including SynthLean, the groupoid model, and both natural and unstructured model semantics. The unit-type example is now checked against the current groupoid model, and the unstructured interpreter supports independent object and morphism universes.
This branch starts directly from
sosudo/HoTTLean:combinedat6d171a58c095239ecbb325872a398e95d234578f, with cleanup applied on top.lake test, including a permanent regression test for generatedfunctor_maplemmas, nestedreassoc/simpattributes, and independent universes. Retain the legacytest.leanimport shim.theoremfor proposition-valued declarations, remove redundant instance parameters, qualify ambiguous namespaces, and apply Mathlib formatting conventions.The dependency is pinned to the cleaned Lean v4.34.1 port in sinhp/Poly#41, at
sosudo/Poly@ba73d51. That port is still awaiting upstream review.Validation:
lake -R updatelake exe cache getlake buildlake build NaturalModellake testlake env lean test.leanHoTTLean.ForMathlib.CategoryTheory:Groupoid,Localization.Predicate, andMorphismProperty.Basic.lake -R -Kenv=dev build HoTTLean:docs, followed by restoring the unchanged default manifest.git diff --check.The three existing production proof holes in
HoTTLean.ForPolyand six production axiom declarations are unchanged fromcombined. No production proof holes, axioms, or linter suppressions are added.