Repository navigation
fix: rename two lemmas that Tau Ceti v4.37.0-rc1 also declares - #306
Merged
Merged
Conversation
Tau Ceti v4.37.0-rc1 declares `Finset.measurable_inf'` (new file TauCeti/MeasureTheory/Order/Lattice.lean) and `MeasureTheory.Measure.eq_dirac_of_subsingleton` (TauCeti/MeasureTheory/Measure/Dirac.lean), with the same statements as LML's ForMathlib copies. A project that imports both LML and Tau Ceti, such as LMLExplore, then fails to import them together. LML cannot import Tau Ceti, so its copies are renamed: - `Finset.measurable_inf'` -> `Finset.measurable_inf'''`, since Tau Ceti also has `Finset.measurable_inf''`. `to_dual existing` now names `Finset.measurable_sup'` explicitly, so `to_dual` still translates `measurable_max` into `measurable_min`. - `Measure.eq_dirac_of_subsingleton` -> `Measure.eq_dirac_of_subsingleton'`, and its 3 uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0196ftMSzkiTpRgwCeJW1wh6
RemyDegenne
commented
Nov 23, 2026
Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
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.
Tau Ceti's
v4.37.0-rc1tag declares two lemmas under the same full names, and with the same statements, as LML'sForMathlibcopies:v4.37.0-rc1Finset.measurable_inf'ForMathlib/MeasureTheory/Order/Lattice.leanMeasureTheory/Order/Lattice.lean#L33(new file)MeasureTheory.Measure.eq_dirac_of_subsingletonForMathlib/MeasureTheory/Measure/Dirac.leanMeasureTheory/Measure/Dirac.lean#L148A project that imports both, such as LMLExplore, fails to import them together. LMLExplore's sync to
v4.37.0-rc1is blocked on this, at itslake exe axiomsaudit and full lint. LML cannot import Tau Ceti, so LML's copies are renamed.Renamed declarations
Finset.measurable_inf'Finset.measurable_inf'''(Tau Ceti also hasFinset.measurable_inf'', its pointwise version)MeasureTheory.Measure.eq_dirac_of_subsingletonMeasureTheory.Measure.eq_dirac_of_subsingleton'There are no deprecated aliases, since an alias under the old name would recreate the clash.
Finset.measurable_inf'had no uses by name. Its@[to_dual existing (attr := fun_prop)]now namesFinset.measurable_sup'explicitly, so thatto_dualstill translatesmeasurable_maxintomeasurable_min.eq_dirac_of_subsingletonhad 3 uses, inStationaryEnvandKernel/Basic.Checks run locally
lake build --wfail LeanMachineLearning LMLTutorialpasses.lake lintpasses.🤖 Generated with Claude Code
https://claude.ai/code/session_0196ftMSzkiTpRgwCeJW1wh6