Skip to content

[Merged by Bors] - chore(Analysis/Convex): change the definition of stdSimplexEquivIcc - #28869

Closed
joelriou wants to merge 13 commits into
leanprover-community:masterfrom
joelriou:fix-stdSimplex-equiv-icc
Closed

joelriou wants to merge 13 commits into
leanprover-community:masterfrom
joelriou:fix-stdSimplex-equiv-icc

Conversation

@joelriou

@joelriou joelriou commented Aug 24, 2025 •

Copy link
Copy Markdown
Contributor

The definition of the bijection between the standard simplex of dimension 1 and the interval [0, 1] is changed. Now, it sends the zeroth vertex to 0 and the first to 1. (Previously, it was confusingly the opposite.)

We also add a lemma convexHull_rangle_single_eq_stdSimplex similar to convexHull_basis_eq_stdSimplex but using Pi.single instead of if ... then ... else.


Open in Gitpod

@joelriou joelriou added the WIP Work in progress label Aug 24, 2025
@github-actions github-actions Bot added the t-analysis Analysis (normed *, calculus) label Aug 24, 2025
@github-actions

github-actions Bot commented Aug 24, 2025 •

Copy link
Copy Markdown

PR summary a00728860c

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ convexHull_rangle_single_eq_stdSimplex
+ pi_eq_sum_univ'
+ stdSimplexEquivIcc_one
+ stdSimplexEquivIcc_zero
+ stdSimplexHomeomorphUnitInterval_one
+ stdSimplexHomeomorphUnitInterval_zero
+ sum_single_smul

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh 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).

Comment thread Mathlib/Analysis/Convex/Basic.lean Resolved

@grunweg grunweg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for doing this. I agree that this makes more sense. I have only minor comments.

Comment thread Mathlib/Analysis/Convex/Basic.lean Resolved
Comment thread Mathlib/Analysis/Convex/Topology.lean Resolved
Comment thread Mathlib/Algebra/BigOperators/Pi.lean Resolved
@grunweg grunweg added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Aug 28, 2025
@joelriou joelriou removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Aug 28, 2025
@grunweg

grunweg commented Aug 28, 2025

Copy link
Copy Markdown
Contributor

Thanks!
maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by grunweg.

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 28, 2025
Comment thread Mathlib/Analysis/Convex/Basic.lean Resolved
@sgouezel sgouezel added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Aug 28, 2025
@mathlib4-dependent-issues-bot mathlib4-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, 2025
@joelriou joelriou added the WIP Work in progress label Aug 29, 2025
@mathlib4-dependent-issues-bot mathlib4-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 29, 2025
@mathlib4-dependent-issues-bot

Copy link
Copy Markdown

This PR/issue depends on:

@joelriou joelriou removed WIP Work in progress awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Aug 29, 2025
@sgouezel

Copy link
Copy Markdown
Contributor

bors r+
Thanks!

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Aug 29, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Aug 29, 2025
…28869)

The definition of the bijection between the standard simplex of dimension `1` and the interval `[0, 1]` is changed. Now, it sends the zeroth vertex to `0` and the first to `1`. (Previously, it was confusingly the opposite.)

We also add a lemma `convexHull_rangle_single_eq_stdSimplex` similar to `convexHull_basis_eq_stdSimplex` but using `Pi.single` instead of `if ... then ... else`.

Co-authored-by: Joël Riou <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Aug 29, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(Analysis/Convex): change the definition of stdSimplexEquivIcc [Merged by Bors] - chore(Analysis/Convex): change the definition of stdSimplexEquivIcc Aug 29, 2025
@mathlib-bors mathlib-bors Bot closed this Aug 29, 2025
FormulaRabbit81 pushed a commit to YaelDillies/mathlib4 that referenced this pull request Aug 30, 2025
…eanprover-community#28869)

The definition of the bijection between the standard simplex of dimension `1` and the interval `[0, 1]` is changed. Now, it sends the zeroth vertex to `0` and the first to `1`. (Previously, it was confusingly the opposite.)

We also add a lemma `convexHull_rangle_single_eq_stdSimplex` similar to `convexHull_basis_eq_stdSimplex` but using `Pi.single` instead of `if ... then ... else`.

Co-authored-by: Joël Riou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-analysis Analysis (normed *, calculus)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants