-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prove
IsClosed.convexHull_subset_affineSpan_isInSight
except for `I…
…sInSight.of_convexHull_of_pos`
- Loading branch information
1 parent
ece7e0c
commit 0a4146d
Showing
3 changed files
with
63 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import Mathlib.Analysis.Convex.Between | ||
import LeanCamCombi.Mathlib.LinearAlgebra.AffineSpace.AffineMap | ||
|
||
open AffineMap | ||
|
||
variable {k V P : Type*} | ||
|
||
section OrderedRing | ||
variable [OrderedRing k] [AddCommGroup V] [Module k V] [AddTorsor V P] {Q : AffineSubspace k P} | ||
{p₀ p₁ p₂ : P} | ||
|
||
lemma AffineSubspace.mem_of_wbtw (h₀₁₂ : Wbtw k p₀ p₁ p₂) (h₀ : p₀ ∈ Q) (h₂ : p₂ ∈ Q) : p₁ ∈ Q := by | ||
obtain ⟨ε, -, rfl⟩ := h₀₁₂; exact lineMap_mem _ h₀ h₂ | ||
|
||
end OrderedRing | ||
|
||
section LinearOrderedField | ||
variable [LinearOrderedField k] [AddCommGroup V] [Module k V] [AddTorsor V P] | ||
{Q : AffineSubspace k P} {p₀ p₁ p₂ : P} | ||
|
||
lemma AffineSubspace.right_mem_of_wbtw (h₀₁₂ : Wbtw k p₀ p₁ p₂) (h₀ : p₀ ∈ Q) (h₁ : p₁ ∈ Q) | ||
(h₀₁ : p₀ ≠ p₁) : p₂ ∈ Q := by | ||
obtain ⟨ε, -, rfl⟩ := h₀₁₂ | ||
have hε : ε ≠ 0 := by rintro rfl; simp at h₀₁ | ||
simpa [hε] using lineMap_mem ε⁻¹ h₀ h₁ | ||
|
||
end LinearOrderedField |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters