Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Intrinsic.lean   Sprache: Lean

 

/-
Copyright (c) 2023 Paul Reichert. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Paul Reichert, Yaël Dillies
-/

module

public import Mathlib.Analysis.Normed.Affine.AddTorsorBases

/-!
# Intrinsic frontier and interior

This file defines the intrinsic frontier, interior and closure of a set in a normed additive torsor.
These are also known as relative frontier, interior, closure.

The intrinsic frontier/interior/closure of a set `s` is the frontier/interior/closure of `s`
considered as a set in its affine span.

The intrinsic interior is in general greater than the topological interior, the intrinsic frontier
in general less than the topological frontier, and the intrinsic closure in cases of interest the
same as the topological closure.

## Definitions

* `intrinsicInterior`: Intrinsic interior
* `intrinsicFrontier`: Intrinsic frontier
* `intrinsicClosure`: Intrinsic closure

## Results

The main results are:
* `AffineIsometry.intrinsicInterior_image`/`AffineIsometry.intrinsicFrontier_image`/
  `AffineIsometry.intrinsicClosure_image`: Intrinsic interiors/frontiers/closures commute with
  taking the image under an affine isometry.
* `Set.Nonempty.intrinsicInterior`: The intrinsic interior of a nonempty convex set is nonempty.

## References

* Chapter 8 of [Barry Simon, *Convexity*][simon2011]
* Chapter 1 of [Rolf Schneider, *Convex Bodies: The Brunn-Minkowski theory*][schneider2014].

## TODO

* `IsClosed s → IsExtreme �� s (intrinsicFrontier �� s)`
* `x ∈ s → y ∈ intrinsicInterior �� s → openSegment �� x y ⊆ intrinsicInterior �� s`
-/


@[expose] public section

open AffineSubspace Set Topology
open scoped Pointwise

variable {�� V W Q P : Type*}

section AddTorsor

variable (��) [Ring ��] [AddCommGroup V] [Module �� V] [TopologicalSpace P] [AddTorsor V P]
  {s t : Set P} {x : P}

/-- The intrinsic interior of a set is its interior considered as a set in its affine span. -/
def intrinsicInterior (s : Set P) : Set P :=
  (↑) '' interior ((↑) ⁻¹' s : Set <| affineSpan �� s)

/-- The intrinsic frontier of a set is its frontier considered as a set in its affine span. -/
def intrinsicFrontier (s : Set P) : Set P :=
  (↑) '' frontier ((↑) ⁻¹' s : Set <| affineSpan �� s)

/-- The intrinsic closure of a set is its closure considered as a set in its affine span. -/
def intrinsicClosure (s : Set P) : Set P :=
  (↑) '' closure ((↑) ⁻¹' s : Set <| affineSpan �� s)

variable {��}

@[simp]
theorem mem_intrinsicInterior :
    x ∈ intrinsicInterior �� s ↔ ∃ y, y ∈ interior ((↑) ⁻¹' s : Set <| affineSpan �� s) ∧ ↑y = x :=
  mem_image _ _ _

@[simp]
theorem mem_intrinsicFrontier :
    x ∈ intrinsicFrontier �� s ↔ ∃ y, y ∈ frontier ((↑) ⁻¹' s : Set <| affineSpan �� s) ∧ ↑y = x :=
  mem_image _ _ _

@[simp]
theorem mem_intrinsicClosure :
    x ∈ intrinsicClosure �� s ↔ ∃ y, y ∈ closure ((↑) ⁻¹' s : Set <| affineSpan �� s) ∧ ↑y = x :=
  mem_image _ _ _

theorem intrinsicInterior_subset : intrinsicInterior �� s ⊆ s :=
  image_subset_iff.2 interior_subset

theorem intrinsicFrontier_subset (hs : IsClosed s) : intrinsicFrontier �� s ⊆ s :=
  image_subset_iff.2 (hs.preimage continuous_induced_dom).frontier_subset

theorem intrinsicFrontier_subset_intrinsicClosure : intrinsicFrontier �� s ⊆ intrinsicClosure �� s :=
  image_mono frontier_subset_closure

theorem subset_intrinsicClosure : s ⊆ intrinsicClosure �� s :=
  fun x hx => ⟨⟨x, subset_affineSpan _ _ hx⟩, subset_closure hx, rfl⟩

@[simp]
theorem intrinsicInterior_empty : intrinsicInterior �� (∅ : Set P) = ∅ := by simp [intrinsicInterior]

@[simp]
theorem intrinsicFrontier_empty : intrinsicFrontier �� (∅ : Set P) = ∅ := by simp [intrinsicFrontier]

@[simp]
theorem intrinsicClosure_empty : intrinsicClosure �� (∅ : Set P) = ∅ := by simp [intrinsicClosure]

@[simp]
theorem intrinsicClosure_nonempty : (intrinsicClosure �� s).Nonempty ↔ s.Nonempty :=
  ⟨by simp_rw [nonempty_iff_ne_empty]; rintro h rfl; exact h intrinsicClosure_empty,
    Nonempty.mono subset_intrinsicClosure⟩

alias ⟨Set.Nonempty.ofIntrinsicClosure, Set.Nonempty.intrinsicClosure⟩ := intrinsicClosure_nonempty

@[simp]
theorem intrinsicInterior_singleton (x : P) : intrinsicInterior �� ({x} : Set P) = {x} := by
  simp only [intrinsicInterior, preimage_coe_affineSpan_singleton, interior_univ, image_univ,
    Subtype.range_coe_subtype, mem_affineSpan_singleton, ofPred_eq_eq_singleton]

@[simp]
theorem intrinsicFrontier_singleton (x : P) : intrinsicFrontier �� ({x} : Set P) = ∅ := by
  rw [intrinsicFrontier, preimage_coe_affineSpan_singleton, frontier_univ, image_empty]

@[simp]
theorem intrinsicClosure_singleton (x : P) : intrinsicClosure �� ({x} : Set P) = {x} := by
  simp only [intrinsicClosure, preimage_coe_affineSpan_singleton, closure_univ, image_univ,
    Subtype.range_coe_subtype, mem_affineSpan_singleton, ofPred_eq_eq_singleton]

/-!
Note that neither `intrinsicInterior` nor `intrinsicFrontier` is monotone.
-/



theorem intrinsicClosure_mono (h : s ⊆ t) : intrinsicClosure �� s ⊆ intrinsicClosure �� t := by
  refine image_subset_iff.2 fun x hx => ?_
  refine ⟨Set.inclusion (affineSpan_mono _ h) x, ?_, rfl⟩
  refine (continuous_inclusion (affineSpan_mono _ h)).closure_preimage_subset _ (closure_mono ?_ hx)
  exact fun y hy => h hy

theorem interior_subset_intrinsicInterior : interior s ⊆ intrinsicInterior �� s :=
  fun x hx => ⟨⟨x, subset_affineSpan _ _ <| interior_subset hx⟩,
    preimage_interior_subset_interior_preimage continuous_subtype_val hx, rfl⟩

theorem intrinsicClosure_subset_closure : intrinsicClosure �� s ⊆ closure s :=
  image_subset_iff.2 <| continuous_subtype_val.closure_preimage_subset _

theorem intrinsicFrontier_subset_frontier : intrinsicFrontier �� s ⊆ frontier s :=
  image_subset_iff.2 <| continuous_subtype_val.frontier_preimage_subset _

theorem intrinsicClosure_subset_affineSpan : intrinsicClosure �� s ⊆ affineSpan �� s :=
  (image_subset_range _ _).trans Subtype.range_coe.subset

@[simp]
theorem intrinsicClosure_sdiff_intrinsicFrontier (s : Set P) :
    intrinsicClosure �� s \ intrinsicFrontier �� s = intrinsicInterior �� s :=
  (image_sdiff Subtype.coe_injective _ _).symm.trans <| by
    rw [closure_sdiff_frontier, intrinsicInterior]

@[deprecated (since := "2026-06-03")]
alias intrinsicClosure_diff_intrinsicFrontier := intrinsicClosure_sdiff_intrinsicFrontier

@[simp]
theorem intrinsicClosure_sdiff_intrinsicInterior (s : Set P) :
    intrinsicClosure �� s \ intrinsicInterior �� s = intrinsicFrontier �� s :=
  (image_sdiff Subtype.coe_injective _ _).symm

@[deprecated (since := "2026-06-03")]
alias intrinsicClosure_diff_intrinsicInterior := intrinsicClosure_sdiff_intrinsicInterior

@[simp]
theorem intrinsicInterior_union_intrinsicFrontier (s : Set P) :
    intrinsicInterior �� s ∪ intrinsicFrontier �� s = intrinsicClosure �� s := by
  simp [intrinsicClosure, intrinsicInterior, intrinsicFrontier, closure_eq_interior_union_frontier,
    image_union]

@[simp]
theorem intrinsicFrontier_union_intrinsicInterior (s : Set P) :
    intrinsicFrontier �� s ∪ intrinsicInterior �� s = intrinsicClosure �� s := by
  rw [union_comm, intrinsicInterior_union_intrinsicFrontier]

theorem isClosed_intrinsicClosure (hs : IsClosed (affineSpan �� s : Set P)) :
    IsClosed (intrinsicClosure �� s) :=
  hs.isClosedEmbedding_subtypeVal.isClosedMap _ isClosed_closure

theorem isClosed_intrinsicFrontier (hs : IsClosed (affineSpan �� s : Set P)) :
    IsClosed (intrinsicFrontier �� s) :=
  hs.isClosedEmbedding_subtypeVal.isClosedMap _ isClosed_frontier

@[simp]
theorem affineSpan_intrinsicClosure (s : Set P) :
    affineSpan �� (intrinsicClosure �� s) = affineSpan �� s :=
  (affineSpan_le.2 intrinsicClosure_subset_affineSpan).antisymm <|
    affineSpan_mono _ subset_intrinsicClosure

protected theorem IsClosed.intrinsicClosure (hs : IsClosed ((↑) ⁻¹' s : Set <| affineSpan �� s)) :
    intrinsicClosure �� s = s := by
  rw [intrinsicClosure, hs.closure_eq, image_preimage_eq_of_subset]
  exact (subset_affineSpan _ _).trans Subtype.range_coe.superset

@[simp]
theorem intrinsicClosure_idem (s : Set P) :
    intrinsicClosure �� (intrinsicClosure �� s) = intrinsicClosure �� s := by
  refine IsClosed.intrinsicClosure ?_
  set t := affineSpan �� (intrinsicClosure �� s) with ht
  clear_value t
  obtain rfl := ht.trans (affineSpan_intrinsicClosure _)
  rw [intrinsicClosure, preimage_image_eq _ Subtype.coe_injective]
  exact isClosed_closure

theorem intrinsicClosure_eq_closure_inter_affineSpan (s : Set P) :
    intrinsicClosure �� s = closure s ∩ affineSpan �� s := by
  have h : Topology.IsInducing ((↑) : affineSpan �� s → P) := .subtypeVal
  rw [intrinsicClosure, h.closure_eq_preimage_closure_image, Set.image_preimage_eq_inter_range,
    Set.image_preimage_eq_of_subset ?_, Subtype.range_coe]
  rw [Subtype.range_coe]
  apply subset_affineSpan

theorem intrinsicInterior_prod_eq [AddCommGroup W] [Module �� W] [TopologicalSpace Q]
    [AddTorsor W Q] (s : Set P) (t : Set Q) :
    intrinsicInterior �� (s ×ˢ t) = intrinsicInterior �� s ×ˢ intrinsicInterior �� t := by
  let e : affineSpan �� (s ×ˢ t) ≃ₜ affineSpan �� s × affineSpan �� t :=
    (Homeomorph.setCongr (by simp [affineSpan_prod_eq])).trans (Homeomorph.Set.prod _ _)
  have : Subtype.val ∘ e.symm = fun p ↦ (p.1, p.2) := rfl
  have h : ((↑) ⁻¹' (s ×ˢ t) : Set _) = e ⁻¹' (((↑) ⁻¹' s) ×ˢ ((↑) ⁻¹' t)) := rfl
  simp_rw [intrinsicInterior, h, ← e.preimage_interior, interior_prod_eq, ← e.image_symm,
    ← image_comp, prod_image_image_eq, this]

section ImageOfHomeomorphAffineSpan

variable [AddCommGroup W] [Module �� W] [TopologicalSpace Q] [AddTorsor W Q]
  {f : P → Q} {s : Set P}

/-- If `f` agrees with a homeomorphism between the affine spans of `s` and `f '' s`, then pulling
`f '' s` back to the affine span of `s` recovers `s` itself. -/

private theorem preimage_image_eq_of_homeomorph_affineSpan
    (e : affineSpan �� s → affineSpan �� (f '' s)) (he_homeo : IsHomeomorph e)
    (he : ∀ x, (e x : Q) = f x) :
    (f ∘ (↑)) ⁻¹' (f '' s) = ((↑) ⁻¹' s : Set <| affineSpan �� s) := by
  ext x
  refine ⟨fun ⟨_, hy, hfy⟩ ↦ ?_ , fun hx ↦ ⟨_, hx, rfl⟩⟩
  change (x : P) ∈ s
  rwa [exists_eq_subtype_mk_iff.mp ⟨subset_affineSpan �� s hy, he_homeo.injective <| Subtype.ext <|
      by simpa [he] using hfy.symm⟩]

variable (e : [Nonempty s] → affineSpan �� s → affineSpan �� (f '' s))
  (he_homeo : [Nonempty s] → IsHomeomorph e) (he : [Nonempty s] → ∀ x, e x = f x)

include e he_homeo he

/-- Naturality of intrinsic interior under a map whose induced map on affine spans is a
homeomorphism. It is introduced here to share the proof of the affine equivalence and affine
isometry versions below. -/

private theorem intrinsicInterior_image_of_homeomorph_affineSpan :
    intrinsicInterior �� (f '' s) = f '' intrinsicInterior �� s := by
  rcases s.eq_empty_or_nonempty with rfl | hs
  · simp
  · have : Nonempty s := hs.to_subtype
    rw [intrinsicInterior, ← image_interior_preimage_comp e he_homeo,
      (funext he : (↑) ∘ e = f ∘ (↑)),
      preimage_image_eq_of_homeomorph_affineSpan e he_homeo he, image_comp]; rfl

/-- Naturality of intrinsic frontier under a map whose induced map on affine spans is a
homeomorphism. It is introduced here to share the proof of the affine equivalence and affine
isometry versions below. -/

private theorem intrinsicFrontier_image_of_homeomorph_affineSpan :
    intrinsicFrontier �� (f '' s) = f '' intrinsicFrontier �� s := by
  rcases s.eq_empty_or_nonempty with rfl | hs
  · simp
  · have : Nonempty s := hs.to_subtype
    rw [intrinsicFrontier, ← image_frontier_preimage_comp e he_homeo,
      (funext he : (↑) ∘ e = f ∘ (↑)),
      preimage_image_eq_of_homeomorph_affineSpan e he_homeo he, image_comp]; rfl

/-- Naturality of intrinsic closure under a map whose induced map on affine spans is a
homeomorphism. It is introduced here to share the proof of the affine equivalence and affine
isometry versions below. -/

private theorem intrinsicClosure_image_of_homeomorph_affineSpan :
    intrinsicClosure �� (f '' s) = f '' intrinsicClosure �� s := by
  rcases s.eq_empty_or_nonempty with rfl | hs
  · simp
  · have : Nonempty s := hs.to_subtype
    rw [intrinsicClosure, ← image_closure_preimage_comp e he_homeo,
      (funext he : (↑) ∘ e = f ∘ (↑)),
      preimage_image_eq_of_homeomorph_affineSpan e he_homeo he, image_comp]; rfl

end ImageOfHomeomorphAffineSpan

end AddTorsor

namespace ContinuousAffineEquiv

variable [Ring ��] [AddCommGroup V] [AddCommGroup W] [Module �� V] [Module �� W]
  [TopologicalSpace P] [TopologicalSpace Q] [AddTorsor V P] [AddTorsor W Q]

@[simp]
theorem intrinsicInterior_image (φ : P ≃ᴬ[��] Q) (s : Set P) :
    intrinsicInterior �� (φ '' s) = φ '' intrinsicInterior �� s :=
  let e : [Nonempty s] → (affineSpan �� s) ≃ᴬ[��] (affineSpan �� (φ '' s)) := fun [_] =>
    (φ.affineSubspaceMap (affineSpan �� s)).trans <| ofEq (map_span φ.toAffineMap s)
  intrinsicInterior_image_of_homeomorph_affineSpan
    (fun [_] => e.toHomeomorph) (fun [_] => e.toHomeomorph.isHomeomorph) (fun [_] _ => rfl)

@[simp]
theorem intrinsicFrontier_image (φ : P ≃ᴬ[��] Q) (s : Set P) :
    intrinsicFrontier �� (φ '' s) = φ '' intrinsicFrontier �� s :=
  let e : [Nonempty s] → (affineSpan �� s) ≃ᴬ[��] (affineSpan �� (φ '' s)) := fun [_] =>
    (φ.affineSubspaceMap (affineSpan �� s)).trans <| ofEq (map_span φ.toAffineMap s)
  intrinsicFrontier_image_of_homeomorph_affineSpan
    (fun [_] => e.toHomeomorph) (fun [_] => e.toHomeomorph.isHomeomorph) (fun [_] _ => rfl)

@[simp]
theorem intrinsicClosure_image (φ : P ≃ᴬ[��] Q) (s : Set P) :
    intrinsicClosure �� (φ '' s) = φ '' intrinsicClosure �� s :=
  let e : [Nonempty s] → (affineSpan �� s) ≃ᴬ[��] (affineSpan �� (φ '' s)) := fun [_] =>
    (φ.affineSubspaceMap (affineSpan �� s)).trans <| ofEq (map_span φ.toAffineMap s)
  intrinsicClosure_image_of_homeomorph_affineSpan
    (fun [_] => e.toHomeomorph) (fun [_] => e.toHomeomorph.isHomeomorph) (fun [_] _ => rfl)

end ContinuousAffineEquiv

namespace AffineIsometry

variable [NormedField ��] [SeminormedAddCommGroup V] [SeminormedAddCommGroup W] [NormedSpace �� V]
  [NormedSpace �� W] [MetricSpace P] [PseudoMetricSpace Q] [NormedAddTorsor V P]
  [NormedAddTorsor W Q]

@[simp]
theorem intrinsicInterior_image (φ : P →ᵃⁱ[��] Q) (s : Set P) :
    intrinsicInterior �� (φ '' s) = φ '' intrinsicInterior �� s :=
  let e : [Nonempty s] → (affineSpan �� s) ≃ᴬ[��] (affineSpan �� (φ '' s)) := fun [_] =>
    ((affineSpan �� s).isometryEquivMap φ).toContinuousAffineEquiv.trans <| ofEq <|
      (map_span φ.toAffineMap s).trans <| congrArg _ <| congrArg (· '' s) φ.coe_toAffineMap
  intrinsicInterior_image_of_homeomorph_affineSpan
    (fun [_] => e.toHomeomorph) (fun [_] => e.toHomeomorph.isHomeomorph) (fun [_] _ => rfl)

@[simp]
theorem intrinsicFrontier_image (φ : P →ᵃⁱ[��] Q) (s : Set P) :
    intrinsicFrontier �� (φ '' s) = φ '' intrinsicFrontier �� s :=
  let e : [Nonempty s] → (affineSpan �� s) ≃ᴬ[��] (affineSpan �� (φ '' s)) := fun [_] =>
    ((affineSpan �� s).isometryEquivMap φ).toContinuousAffineEquiv.trans <| ofEq <|
      (map_span φ.toAffineMap s).trans <| congrArg _ <| congrArg (· '' s) φ.coe_toAffineMap
  intrinsicFrontier_image_of_homeomorph_affineSpan
    (fun [_] => e.toHomeomorph) (fun [_] => e.toHomeomorph.isHomeomorph) (fun [_] _ => rfl)

@[simp]
theorem intrinsicClosure_image (φ : P →ᵃⁱ[��] Q) (s : Set P) :
    intrinsicClosure �� (φ '' s) = φ '' intrinsicClosure �� s :=
  let e : [Nonempty s] → (affineSpan �� s) ≃ᴬ[��] (affineSpan �� (φ '' s)) := fun [_] =>
    ((affineSpan �� s).isometryEquivMap φ).toContinuousAffineEquiv.trans <| ofEq <|
      (map_span φ.toAffineMap s).trans <| congrArg _ <| congrArg (· '' s) φ.coe_toAffineMap
  intrinsicClosure_image_of_homeomorph_affineSpan
    (fun [_] => e.toHomeomorph) (fun [_] => e.toHomeomorph.isHomeomorph) (fun [_] _ => rfl)

@[deprecated intrinsicInterior_image (since := "2026-05-08")]
alias image_intrinsicInterior := intrinsicInterior_image

@[deprecated intrinsicFrontier_image (since := "2026-05-08")]
alias image_intrinsicFrontier := intrinsicFrontier_image

@[deprecated intrinsicClosure_image (since := "2026-05-08")]
alias image_intrinsicClosure := intrinsicClosure_image

end AffineIsometry

namespace AffineEquiv

variable [NontriviallyNormedField ��] [CompleteSpace ��]
  [NormedAddCommGroup V] [NormedSpace �� V] [FiniteDimensional �� V]
  [NormedAddCommGroup W] [NormedSpace �� W]
  [MetricSpace P] [NormedAddTorsor V P]
  [MetricSpace Q] [NormedAddTorsor W Q]

@[simp]
theorem intrinsicInterior_image (φ : P ≃ᵃ[��] Q) (s : Set P) :
    intrinsicInterior �� (φ '' s) = φ '' intrinsicInterior �� s :=
  φ.toContinuousAffineEquiv.intrinsicInterior_image s

@[simp]
theorem intrinsicFrontier_image (φ : P ≃ᵃ[��] Q) (s : Set P) :
    intrinsicFrontier �� (φ '' s) = φ '' intrinsicFrontier �� s :=
  φ.toContinuousAffineEquiv.intrinsicFrontier_image s

@[simp]
theorem intrinsicClosure_image (φ : P ≃ᵃ[��] Q) (s : Set P) :
    intrinsicClosure �� (φ '' s) = φ '' intrinsicClosure �� s :=
  φ.toContinuousAffineEquiv.intrinsicClosure_image s

end AffineEquiv

section NormedAddTorsor

variable (��) [NontriviallyNormedField ��] [CompleteSpace ��] [NormedAddCommGroup V] [NormedSpace �� V]
  [FiniteDimensional �� V] [MetricSpace P] [NormedAddTorsor V P] (s : Set P)

@[simp]
theorem intrinsicClosure_eq_closure : intrinsicClosure �� s = closure s := by
  ext x
  simp only [mem_closure_iff, mem_intrinsicClosure]
  refine ⟨?_, fun h => ⟨⟨x, _⟩, ?_, Subtype.coe_mk _ ?_⟩⟩
  · rintro ⟨x, h, rfl⟩ t ht hx
    obtain ⟨z, hz₁, hz₂⟩ := h _ (continuous_induced_dom.isOpen_preimage t ht) hx
    exact ⟨z, hz₁, hz₂⟩
  · rintro _ ⟨t, ht, rfl⟩ hx
    obtain ⟨y, hyt, hys⟩ := h _ ht hx
    exact ⟨⟨_, subset_affineSpan �� s hys⟩, hyt, hys⟩
  · by_contra hc
    obtain ⟨z, hz₁, hz₂⟩ := h _ (affineSpan �� s).isClosed_of_finiteDimensional.isOpen_compl hc
    exact hz₁ (subset_affineSpan �� s hz₂)

variable {��}

@[simp]
theorem closure_sdiff_intrinsicInterior (s : Set P) :
    closure s \ intrinsicInterior �� s = intrinsicFrontier �� s :=
  intrinsicClosure_eq_closure �� s ▸ intrinsicClosure_sdiff_intrinsicInterior s

@[deprecated (since := "2026-06-03")]
alias closure_diff_intrinsicInterior := closure_sdiff_intrinsicInterior

@[simp]
theorem closure_sdiff_intrinsicFrontier (s : Set P) :
    closure s \ intrinsicFrontier �� s = intrinsicInterior �� s :=
  intrinsicClosure_eq_closure �� s ▸ intrinsicClosure_sdiff_intrinsicFrontier s

@[deprecated (since := "2026-06-03")]
alias closure_diff_intrinsicFrontier := closure_sdiff_intrinsicFrontier

end NormedAddTorsor

section Convex

variable [Field ��] [LinearOrder ��] [AddCommGroup V] [Module �� V] [TopologicalSpace V]
  [IsTopologicalAddGroup V] [ContinuousConstSMul �� V] {s : Set V}

protected theorem Convex.intrinsicClosure (hs : Convex �� s) : Convex �� (intrinsicClosure �� s) := by
  rw [intrinsicClosure_eq_closure_inter_affineSpan]
  exact hs.closure.inter (affineSpan �� s).convex

end Convex

section IntrinsicClosure

variable {E : Type*} [Field ��] [PartialOrder ��] [AddCommGroup E] [Module �� E] [TopologicalSpace E]
  [IsTopologicalAddGroup E] [ContinuousConstSMul �� E]

open Homeomorph in
/-- If `x ∈ intrinsicInterior �� C` and `y ∈ intrinsicClosure �� C`, then the open segment
from `x` to `y` stays in `intrinsicInterior �� C`. This is the intrinsic version
of `Convex.openSegment_interior_closure_subset_interior`. -/

theorem Convex.openSegment_intrinsicInterior_intrinsicClosure_subset_intrinsicInterior {C : Set E}
    (hC : Convex �� C) {x y : E} (hx : x ∈ intrinsicInterior �� C) (hy : y ∈ intrinsicClosure �� C) :
    openSegment �� x y ⊆ intrinsicInterior �� C := by
  rcases mem_intrinsicInterior.1 hx with ⟨xA, hxA, rfl⟩
  rcases mem_intrinsicClosure.1 hy with ⟨yA, hyA, rfl⟩
  let : Nonempty (affineSpan �� C) := ⟨xA⟩
  let A := (affineSpan �� C).subtype.comp (AffineEquiv.vaddConst �� xA).toAffineMap
  rw [intrinsicInterior, ← image_interior_preimage_comp (vaddConst xA) (vaddConst xA).isHomeomorph]
  intro _ hz
  have hA : ⇑A = Subtype.val ∘ vaddConst xA := rfl
  simpa [hA] using hC.openSegment_image_interior_closure_preimage_subset (A := A)
    (x := 0) (y := yA -ᵥ xA)
    (by simpa [hA, preimage_comp, ← (vaddConst xA).preimage_interior] using hxA)
    (by simpa [hA, preimage_comp, ← (vaddConst xA).preimage_closure] using hyA)
    (by simpa [A] using hz)

end IntrinsicClosure

private theorem aux {α β : Type*} [TopologicalSpace α] [TopologicalSpace β] (φ : α ≃ₜ β)
    (s : Set β) : (interior s).Nonempty ↔ (interior (φ ⁻¹' s)).Nonempty := by
  rw [← φ.image_symm, ← φ.symm.image_interior, image_nonempty]

variable [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] {s : Set V}

/-- The intrinsic interior of a nonempty convex set is nonempty. -/
protected theorem Set.Nonempty.intrinsicInterior (hscv : Convex ℝ s) (hsne : s.Nonempty) :
    (intrinsicInterior ℝ s).Nonempty := by
  have := hsne.coe_sort
  obtain ⟨p, hp⟩ := hsne
  let p' : _root_.affineSpan ℝ s := ⟨p, subset_affineSpan _ _ hp⟩
  rw [intrinsicInterior, image_nonempty,
    aux (AffineIsometryEquiv.constVSub ℝ p').symm.toHomeomorph,
    Convex.interior_nonempty_iff_affineSpan_eq_top, AffineIsometryEquiv.coe_toHomeomorph, ←
    AffineIsometryEquiv.coe_toAffineEquiv, ← comap_span, affineSpan_coe_preimage_eq_top, comap_top]
  exact hscv.affine_preimage
    ((_root_.affineSpan ℝ s).subtype.comp
      (AffineIsometryEquiv.constVSub ℝ p').symm.toAffineEquiv.toAffineMap)

theorem intrinsicInterior_nonempty (hs : Convex ℝ s) :
    (intrinsicInterior ℝ s).Nonempty ↔ s.Nonempty :=
  ⟨by simp_rw [nonempty_iff_ne_empty]; rintro h rfl; exact h intrinsicInterior_empty,
    Set.Nonempty.intrinsicInterior hs⟩

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.22 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,151
#Domains=932,598