Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(analysis/convex): Carathéodory's convexity theorem #2960

Closed
wants to merge 68 commits into from

Conversation

semorrison
Copy link
Collaborator

theorem caratheodory (s : set E) :
  convex_hull s = ⋃ (t : finset E) (w : ↑t ⊆ s) (b : t.card ≤ findim ℝ E + 1), convex_hull ↑t

and more explicitly

theorem eq_center_mass_card_dim_succ_of_mem_convex_hull (s : set E) (x : E) (h : x ∈ convex_hull s) :
  ∃ (t : finset E) (w : ↑t ⊆ s) (b : t.card ≤ findim ℝ E + 1)
    (f : E → ℝ), (∀ y ∈ t, 0 ≤ f y) ∧ t.sum f = 1 ∧ t.center_mass f id = x

@jcommelin jcommelin added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 11, 2020
@jcommelin jcommelin changed the title feat(analysis/convex): Carathéodory's convexity theorem feat(analysis/convex): Carathéodory's convexity theorem [deps: 3030] Jun 11, 2020
@semorrison semorrison removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 11, 2020
@semorrison semorrison changed the title feat(analysis/convex): Carathéodory's convexity theorem [deps: 3030] feat(analysis/convex): Carathéodory's convexity theorem Jun 11, 2020
@semorrison
Copy link
Collaborator Author

@jcommelin, did you want to split any further?

@jcommelin
Copy link
Member

@semorrison We can easily split off one more PR about finite dimensionality. I think it makes sense. I'll do it right now.

@jcommelin
Copy link
Member

Done in #3056 .

@jcommelin jcommelin added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 13, 2020
@jcommelin jcommelin changed the title feat(analysis/convex): Carathéodory's convexity theorem feat(analysis/convex): Carathéodory's convexity theorem [deps: 3056] Jun 13, 2020
@bryangingechen bryangingechen removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 13, 2020
@bryangingechen bryangingechen changed the title feat(analysis/convex): Carathéodory's convexity theorem [deps: 3056] feat(analysis/convex): Carathéodory's convexity theorem Jun 13, 2020
Copy link
Collaborator

@bryangingechen bryangingechen left a comment

Choose a reason for hiding this comment

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

LGTM

src/analysis/convex/caratheodory.lean Outdated Show resolved Hide resolved
@PatrickMassot
Copy link
Member

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Jun 16, 2020
bors bot pushed a commit that referenced this pull request Jun 16, 2020
```
theorem caratheodory (s : set E) :
  convex_hull s = ⋃ (t : finset E) (w : ↑t ⊆ s) (b : t.card ≤ findim ℝ E + 1), convex_hull ↑t
```
and more explicitly
```
theorem eq_center_mass_card_dim_succ_of_mem_convex_hull (s : set E) (x : E) (h : x ∈ convex_hull s) :
  ∃ (t : finset E) (w : ↑t ⊆ s) (b : t.card ≤ findim ℝ E + 1)
    (f : E → ℝ), (∀ y ∈ t, 0 ≤ f y) ∧ t.sum f = 1 ∧ t.center_mass f id = x
```



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Co-authored-by: Johan Commelin <johan@commelin.net>
@bors
Copy link

bors bot commented Jun 16, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(analysis/convex): Carathéodory's convexity theorem [Merged by Bors] - feat(analysis/convex): Carathéodory's convexity theorem Jun 16, 2020
@bors bors bot closed this Jun 16, 2020
@bors bors bot deleted the caratheodory2 branch June 16, 2020 07:23
cipher1024 pushed a commit to cipher1024/mathlib that referenced this pull request Mar 15, 2022
…ommunity#2960)

```
theorem caratheodory (s : set E) :
  convex_hull s = ⋃ (t : finset E) (w : ↑t ⊆ s) (b : t.card ≤ findim ℝ E + 1), convex_hull ↑t
```
and more explicitly
```
theorem eq_center_mass_card_dim_succ_of_mem_convex_hull (s : set E) (x : E) (h : x ∈ convex_hull s) :
  ∃ (t : finset E) (w : ↑t ⊆ s) (b : t.card ≤ findim ℝ E + 1)
    (f : E → ℝ), (∀ y ∈ t, 0 ≤ f y) ∧ t.sum f = 1 ∧ t.center_mass f id = x
```



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Co-authored-by: Johan Commelin <johan@commelin.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants