Skip to content

[Merged by Bors] - feat(Geometry): affine maps from the standard simplex - #43260

Closed
joelriou wants to merge 4 commits into
leanprover-community:masterfrom
joelriou:stdsimplex-affinemapmk
Closed

joelriou wants to merge 4 commits into
leanprover-community:masterfrom
joelriou:stdsimplex-affinemapmk

Conversation

@joelriou

Copy link
Copy Markdown
Contributor

We introduce a constructor for affine maps from a standard simplex to a convex space, and we show that affine maps from the standard simplex to modules are continuous.


Open in Gitpod

@github-actions

github-actions Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

PR summary 46970355ac

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
3 files Mathlib.Analysis.Convex.MetricSpace Mathlib.Geometry.Convex.ConvexSpace.AffineSpace Mathlib.Geometry.Convex.ConvexSpace.Module
1
Mathlib.Geometry.Convex.ConvexSpace.ModuleTopology (new file) 1170

Declarations diff (regex)

+ StdSimplex.affineMapMk_apply_eq_sum_of_fintype
+ StdSimplex.coe_affineMapMk_of_fintype
+ affineMap
+ affineMapMk
+ affineMapMk_apply
+ affineMapMk_single
+ affineMapMk_surjective
+ affineMap_ext
+ affineMap_id
+ coe_affineMap
+ comp_affineMapMk
+ continuous_of_affineMap
+ continuous_of_isAffineMap

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 4697035).

  • +15 new declarations
  • −0 removed declarations
+Convexity.ConvexSpace.congr_simp
+Convexity.StdSimplex.affineMap
+Convexity.StdSimplex.affineMapMk
+Convexity.StdSimplex.affineMapMk_apply
+Convexity.StdSimplex.affineMapMk_apply_eq_sum_of_fintype
+Convexity.StdSimplex.affineMapMk_single
+Convexity.StdSimplex.affineMapMk_surjective
+Convexity.StdSimplex.affineMap_ext
+Convexity.StdSimplex.affineMap_ext_iff
+Convexity.StdSimplex.affineMap_id
+Convexity.StdSimplex.coe_affineMap
+Convexity.StdSimplex.coe_affineMapMk_of_fintype
+Convexity.StdSimplex.comp_affineMapMk
+Convexity.StdSimplex.continuous_of_affineMap
+Convexity.StdSimplex.continuous_of_isAffineMap

No changes to strong technical debt.
No changes to weak technical debt.

Current commit 46970355ac
Reference commit 0a52a37b7f

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).

@jcommelin jcommelin added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Sep 1, 2026
@joelriou joelriou removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Sep 1, 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 Sep 1, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Sep 1, 2026
We introduce a constructor for affine maps from a standard simplex to a convex space, and we show that affine maps from the standard simplex to modules are continuous.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Sep 1, 2026
@mathlib-bors

mathlib-bors Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

@mathlib-bors mathlib-bors Bot removed the bors-staging This PR is currently being built by bors on the staging branch. label Sep 1, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Sep 1, 2026
We introduce a constructor for affine maps from a standard simplex to a convex space, and we show that affine maps from the standard simplex to modules are continuous.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Sep 1, 2026
@mathlib-bors

mathlib-bors Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

@mathlib-bors mathlib-bors Bot removed the bors-staging This PR is currently being built by bors on the staging branch. label Sep 1, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Sep 1, 2026
We introduce a constructor for affine maps from a standard simplex to a convex space, and we show that affine maps from the standard simplex to modules are continuous.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Sep 1, 2026
@mathlib-bors

mathlib-bors Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

@mathlib-bors mathlib-bors Bot added bors-staging This PR is currently being built by bors on the staging branch. and removed bors-staging This PR is currently being built by bors on the staging branch. labels Sep 1, 2026
@mathlib-bors

mathlib-bors Bot commented Sep 1, 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 Sep 1, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Sep 1, 2026
We introduce a constructor for affine maps from a standard simplex to a convex space, and we show that affine maps from the standard simplex to modules are continuous.
mathlib-bors Bot pushed a commit that referenced this pull request Sep 1, 2026
We introduce a constructor for affine maps from a standard simplex to a convex space, and we show that affine maps from the standard simplex to modules are continuous.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Sep 1, 2026
@mathlib-bors

mathlib-bors Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

@mathlib-bors mathlib-bors Bot removed the bors-staging This PR is currently being built by bors on the staging branch. label Sep 1, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Sep 1, 2026
We introduce a constructor for affine maps from a standard simplex to a convex space, and we show that affine maps from the standard simplex to modules are continuous.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Sep 1, 2026
@mathlib-bors

mathlib-bors Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title feat(Geometry): affine maps from the standard simplex [Merged by Bors] - feat(Geometry): affine maps from the standard simplex Sep 1, 2026
@mathlib-bors mathlib-bors Bot closed this Sep 1, 2026
joelriou added a commit to joelriou/mathlib4 that referenced this pull request Sep 5, 2026
…munity#43260)

We introduce a constructor for affine maps from a standard simplex to a convex space, and we show that affine maps from the standard simplex to modules are continuous.
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