Skip to content

[Merged by Bors] - feat(Geometry): the barycenter of the standard simplex - #43206

Closed
joelriou wants to merge 10 commits into
leanprover-community:masterfrom
joelriou:barycenter
Closed

joelriou wants to merge 10 commits into
leanprover-community:masterfrom
joelriou:barycenter

Conversation

@joelriou

@joelriou joelriou commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

@joelriou joelriou added the t-convex-geometry Affine geometry, cones, simplices label Aug 29, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Aug 29, 2026
@github-actions github-actions Bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Aug 29, 2026
@github-actions

github-actions Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

PR summary e772a2c395

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Geometry.Convex.ConvexSpace.Barycenter (new file) 923

Declarations diff (regex)

+ barycenter
+ barycenter_fin_one
+ barycenter_of_unique
+ subBarycenter
+ subBarycenter_singleton
+ subBarycenter_weights_apply_eq_zero
+ weights_barycenter_apply

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit e772a2c).

  • +9 new declarations
  • −0 removed declarations
+Convexity.StdSimplex.barycenter
+Convexity.StdSimplex.barycenter_fin_one
+Convexity.StdSimplex.barycenter_of_unique
+Convexity.StdSimplex.subBarycenter
+Convexity.StdSimplex.subBarycenter.congr_simp
+Convexity.StdSimplex.subBarycenter_singleton
+Convexity.StdSimplex.subBarycenter_weights_apply_eq_zero
+Convexity.StdSimplex.weights_barycenter_apply
+Convexity.StdSimplex.weights_subBarycenter

No changes to strong technical debt.

Increase in weak tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type (weak)
exposed public sections 5033 1

Current commit e772a2c395
Reference commit 5961c0e3b7

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Aug 31, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

@github-actions github-actions Bot added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) large-import Automatically added label for PRs with a significant increase in transitive imports labels Aug 31, 2026

@jcommelin jcommelin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Aug 31, 2026
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Aug 31, 2026
@mathlib-bors

mathlib-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

This PR was included in a batch that was canceled, it will be automatically retried

@mathlib-bors mathlib-bors Bot removed the bors-staging This PR is currently being built by bors on the staging branch. label Aug 31, 2026
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Aug 31, 2026
@mathlib-bors

mathlib-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title feat(Geometry): the barycenter of the standard simplex [Merged by Bors] - feat(Geometry): the barycenter of the standard simplex Aug 31, 2026
@mathlib-bors mathlib-bors Bot closed this Aug 31, 2026
joelriou added a commit to joelriou/mathlib4 that referenced this pull request Sep 5, 2026
thatguycalledrob pushed a commit to SgurrStudio/mathlib4 that referenced this pull request Nov 26, 2026
…Morris's Pillai proof

Import into Mathlib/Imported, with sources linked in Mathlib/Imported/README.md:
* TauCeti/: the 251-file closure of Roth's theorem, Birkhoff's pointwise ergodic
  theorem and Weyl/van der Corput/polynomial equidistribution, from
  TauCetiProject/TauCeti@4c5271c (PR leanprover-community#43206), Apache 2.0;
* NormalNumbers/: the 8-file closure of Pillai's theorem from
  gotrevor/normal-numbers (Trevor Morris), Apache 2.0.
Only module paths change, plus small fixes for the newer Mathlib, listed in the README.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJxTXxnQuXK1GD5Xz5jpSj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. ready-to-merge This PR has been sent to bors. t-convex-geometry Affine geometry, cones, simplices

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants