Skip to content

chore: bump Mathlib to 2ddf59c - #80

Merged
RemyDegenne merged 2 commits into
stat-lib:mainfrom
RemyDegenne:bump-mathlib-2ddf59c
Nov 13, 2026
Merged

RemyDegenne merged 2 commits into
stat-lib:mainfrom
RemyDegenne:bump-mathlib-2ddf59c

Conversation

@RemyDegenne

@RemyDegenne RemyDegenne commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Moves Mathlib from 6135ffb to 2ddf59c (2026-11-10), the commit Tau Ceti's main pins. This lets LML require Statlib, after which LMLExplore can update Tau Ceti, LML and Mathlib together.

Fixes for Mathlib changes:

Also renames the one Statlib declaration whose name is taken in Tau Ceti main (4d91513, on the same Mathlib). Two declarations with the same name can't be imported into the same file, so this unblocks using Statlib alongside Tau Ceti, as LMLExplore will. Tau Ceti's lemma has the same statement. I checked by a text scan of declaration names and instance heads.

Renamed:

  • ProbabilityTheory.bayesBinaryRisk_eq_lintegral_enorm → ProbabilityTheory.bayesBinaryRisk_eq_lintegral_eNorm, following Mathlib's rename. It has no uses in Statlib.
  • MeasureTheory.Measure.AbsolutelyContinuous.pi → MeasureTheory.Measure.AbsolutelyContinuous.pi', because the name clashes with Tau Ceti.

Supersedes #75 and #77.

Checked locally: lake build --iofail, lake lint and lake exe mk_all --check pass. The two steps the Verso tutorial runs in this project also succeed: lake build subverso-extract-mod and lake build +Statlib.Inference.Inference:highlighted +Statlib.Inference.QMD:highlighted. Every anchor the tutorial uses is still in place.

🤖 Generated with Claude Code

https://claude.ai/code/session_0196ftMV379vy48QfzHBVNvo

RemyDegenne and others added 2 commits November 13, 2026 09:46
Move Mathlib from 6135ffb to 2ddf59c, the commit Tau Ceti's main pins,
so that LML can require Statlib and LMLExplore can sync to it.

- `EventuallyEqSet` refactor (mathlib4#45712): a.e. equality of sets is
  now pointwise `↔`; adapt three proofs.
- `enorm` renamed to `eNorm` (mathlib4#45735): fix the `ENorm EReal`
  instance and the deprecated lemma names; rename
  `bayesBinaryRisk_eq_lintegral_enorm` to
  `bayesBinaryRisk_eq_lintegral_eNorm` and two private lemmas to match.
- Fix the linter warnings, so that the build is warning-free.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0196ftMV379vy48QfzHBVNvo
Tau Ceti has a `MeasureTheory.Measure.AbsolutelyContinuous.pi` with the
same statement, so the two cannot be imported together.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0196ftMV379vy48QfzHBVNvo
@RemyDegenne
RemyDegenne merged commit b1c8cb5 into stat-lib:main Nov 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant