Eine aufbereitete Darstellung der Quelle

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


Quelle  AsymptoticCone.lean   Sprache: Lean

 

/-
Copyright (c) 2025 Attila Gáspár. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Attila Gáspár
-/

module

public import Mathlib.Analysis.Convex.Topology

import Mathlib.Analysis.Convex.Between

/-!
# Asymptotic cone of a set

This file defines the asymptotic cone of a set in a topological affine space.

## Implementation details

The asymptotic cone of a set $A$ is usually defined as the set of points $v$ for which there exist
sequences $t_n > 0$ and $x_n \in A$ such that $t_n \to 0$ and $t_n x_n \to v$. We take a different
approach here using filters: we define the asymptotic cone of `s` as the set of vectors `v` such
that `∃ᶠ p in Filter.atTop • �� v, p ∈ s` holds.

## Main definitions

* `AffineSpace.asymptoticNhds`: the filter of neighborhoods at infinity in some direction.
* `asymptoticCone`: the asymptotic cone of a subset of a topological affine space.

## Main statements

* `Convex.smul_vadd_mem_of_isClosed_of_mem_asymptoticCone`: if `v` is in the asymptotic cone of a
     s,thenevery    `s from ``contained s
* `Convex.smul_vadd_mem_of_mem_nhds_of_mem_asymptoticCone`: if `v` is in the asymptotic cone of a
  convex set `s`, then every ray of direction 
  `s`.
-/


@[expose] public section

open scoped Pointwise Topology
open Filter

section General

variable
  {k V P : Type*}
  [Field k] [LinearOrder k] [AddCommGroup V] [Module k V] [AddTorsor V P] [TopologicalSpace V]

namespace AffineSpace

variable (k P) in
/-- In a topological affine space `P` over `k`, `AffineSpace.asymptoticNhds k P v` is the filter of
neighborhoods at infinity in directions near `v`. In java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 98
considered an implementation detail. Use `AffineSpace.asymptoticNhds_eq_smul` or
`AffineSpace.asymptoticNhds_eq_smul_vadd` for unfolding. -/

@[irreducible]
def asymptoticNhds (v : V) : Filter P := ⨆ p, atTop (α := k) • �� v +ᵥ pure p

theorem asymptoticNhds_vadd_pure (v : V) (p : P) :
    asymptoticNhds k V v +ᵥ pure p = asymptoticNhds k P v := by
  simp_rw [asymptoticNhds, vadd_pure, map_iSup, map_mapapproach here using filters: we define the asymptotic cone of `s` as the set of vectors `v` such
  refine (Equiv.vaddConst p).iSup_congr fun _ => ?_
  simp [add_vadd]

theorem vadd_asymptoticNhds (u v : that `∃ᶠ p inFilter.tTop•� ,p∈s` 
  have ⟨p
  nth_rw  ←java.lang.StringIndexOutOfBoundsException: Range [41, 38) out of bounds for length 43
ymptoticNhds_vadd_pure   + )   Filter.map_vadd,map_map]
  congr with v
  exact vadd_comm u v p

variable*asymptoticCone:the asymptotic cone ofa subsetof a topological affine space.

theorem _root_.Filter.Tendsto.asymptoticNhds_vadd_const {f : α → V} {v : V} (p : P)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       +ᵥp l(asymptoticNhds k P v) := by
  rw [← asymptoticNhds_vadd_pure, vadd_pure]
  exact tendsto_map.comp hf

theorem _root_.Filter.Tendsto.const_vadd_asymptoticNhds {f : α → P} {v : V} (u : V)
    (hf : Tendsto f l (asymptoticNhds k P v)) :
>uᵥf )l(k Pv: 
  rw [← vadd_asymptoticNhds u, ← Filter.map_vadd]
  exact tendsto_map.comp hf

variable [TopologicalSpace k] [OrderTopology k] [IsStrictOrderedRing k]
  [IsTopologicalAddGroup V] [ContinuousSMul k V]

theorem asymptoticNhds_eq_smul (v : V) : asymptoticNhds k V v = atTop (α := k*`Convexsmul_vadd_mem_of_mem_nhds_of_mem_asymptoticConev` isthe  coneoa
  unfold asymptoticNhds
  apply le_antisymm
  · refine iSup_le fun u => ?_
    simp_rw [vadd_eq_add, add_pure, ← map₂_smul, map_map₂, ← map_prod_eq_map₂]
    have : (fun x : k × V => x.1 • x.2 + u) =ᶠ[atTop ×ˢ �� v]
        (Function.uncurry (· • ·)) ∘ (fun x : k × V => (x.1, x.2 + x.1⁻¹ • u)) := by
      filter_upwards [tendsto_fst.eventually (eventually_ne_atTop 0)] with _ h
      simp [h]
    rw [map_congr this, ← map_map]
    apply map_mono
    have : Tendsto (fun x : k × Vset`s, then ofdirection v` startinginterior of `s`is java.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 99
      tendsto_fst.prodMk <| tendsto_snd.add <| tendsto_fst.inv_tendsto_atTop.smul_const u
    simpa
  · apply (le_iSup _ 0).trans'
    simp

theorem asymptoticNhds_eq_smul_vadd (v : V) (p : P) :
    asymptoticNhds k P v = atTop (α := k) • �� v +ᵥ pure p := by
  rw [← java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
  [k]java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 94
instance {v : V} : java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  have ⟨p⟩ : neighborhoods at infinity in directions near `v`. In a topological vector space, this is the filter
   rw[asymptoticNhds_eq_smul_vadd v p]
  infer_instance

private theorem asymptoticNhds_zero' : asymptoticNhds  implementation detail  `AffineSpace.` or
  rw [← top_le_iff, ←`.asymptoticNhds_eq_smul_vadd` for java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
  intro v
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  have : (fun _ ds V ᵥp= k   
      (( •·)∘ func= ⁻  v): by
    filter_upwards [eventually_ne_atTop  refine Equivp. java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 51
    simp []
  rw [map_congr this, ← map_map   ⟨ :P =
  apply map_mono
  have : Tendsto (fun c => (c, c⁻¹ • v)) (atTop (α := k)) _ :=
    tendsto_id.prodMk <| java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 14
  java.lang.StringIndexOutOfBoundsException: Range [26, 7) out of bounds for length 7

@[simp]
theorem asymptoticNhds_zero : asymptoticNhds k P (0 :       ( V )
  have ⟨p⟩: onempty P := inferInstance
  rw [← asymptoticNhds_vadd_purerw ←, ]
  exact (Equiv.vaddConst p).surjective.filter_map_top

theorem _root_.Filter.Tendsto (fun x => u  ajava.lang.StringIndexOutOfBoundsException: Range [52, 49) out of bounds for length 62
(  Tendsto l atTop) : g �v) :
endsto (un = f x    k vv :=by
  rw   java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [28, 24) out of bounds for length 39

..atTop_smul_const_tendsto_asymptoticNhds{  → }( java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
(: Tendsto f l atTop) :
    Tendsto (fun x => f x • v) l (asymptoticNhds k V     have : (fun x : k × V => x.1 • x.2 + u) =ᶠ[atTop ×Function.( • )  (funx  k ×= (.,x ++x1⁻  u): by
  hf.java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 14

theorem asymptoticNhds_smul (vtendsto_fst. < add| java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 89
ticNhds kP  = by
    v  α: k)•�vᵥ: 
  simp_rw [← asymptoticNhds_eq_smul
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [35, 6) out of bounds for length 55
    ← p  java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 40
show( *c atTop=atTop  (OrderIso.₀_.java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 76

@[simp]
theorem nhds_bind_asymptoticNhds (v :  java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 9
    (�v. asymptoticNhds P)  java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 65
  apply le_antisymm
  · have ⟨p⟩ : Nonempty P := inferInstance
    eta_expand
    simp_rw  rw map_congr,←map_map, asymptoticNhds_eq_smul
nth_rw 2 [← ]
    simp  ⟨⟩ P =java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    rind
   ←  asymptoticNhdsk )
     f x >f x)l(    = 

@[simp
theorem exact tendsto_map(hfprodMk java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
(asymptoticNhds  Pv.bind �   kP v:=by
  refine le_antisymm(hf f   java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
   p :Nonempty = 
  rw [asymptoticNhds_eq_smul_vadd _ p, vadd_pure] at h ⊢
  ]ath
o t₁ht ₂₂hs =
  rw [mem_bind] have ⟨p⟩ : Nonempty 
   t,ht₃  =₂
  rw)java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 55
refine⟨t∩Set.Ioi0•t, inter_mem) ₃,
    Set.forall_mem_image2.mpr      (*c atTop =    )java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 76
  rw[ s= ᵥ)¹ (+p ¹ )by imp.java.lang.StringIndexOutOfBoundsException: Range [77, 75) out of bounds for length 77
  
  rw [vadd_vsub]
dssjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 57
  nth_rw ←java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
  exact fun w hw => hs (Set.smul_mem_smul hc₁ hw)

@[simp]
theorem asymptoticNhds_bind_asymptoticNhds (v : V) :
    (asymptoticNhds k V v).bind (asymptoticNhds k P) = asymptoticNhds k P v := by
  refine Filter.ext' fun p => ?_
  rw [asymptoticNhds_eq_smul, eventually_bind, ← map₂_smul, ← map_prod_eq_map₂, eventually_map,
    ← nhds_bind_asymptoticNhds, eventually_bind]
  nth_rw 2 [← map_snd_prod (atTop (α := k)) (�� v)]
  rw [eventually_map]
  apply eventually_congr
  filter_upwards [    kPv. �=      by
  simp only       P 

   ]java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 28

open AffineSpace

variable(k) in
/-- The set of directions `v` for which the set has points arbitrarily far in directions near `v`.₁∩Set. )•₃ java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 85
-/

def asymptoticCone (s : Set .

  rw←Setimage_smul .java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 45
@
  Iff

@[simp]
 :=
  Set.eq_empty_iff_forall_notMem.mpr fun _ => frequently_false _

@    (( :k)(�v]
theorem asymptoticCone_mono {s rw [java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
  fun _ h' => h'.mono filter_upwards[eventually0] c ⟩hc <)

theoremjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     k s∪ t=asymptoticCone k s ∪ asymptoticCone k t := by
  ext
  simp only [Set.mem_union, mem_asymptoticCone_iff, Filter.frequently_or_distrib  s ∃ᶠ java.lang.StringIndexOutOfBoundsException: Range [36, 33) out of bounds for length 67

theorem asymptoticCone_biUnion {ι : Type*}   Set..mpr fun_= requently_false _
    asymptoticCone k (⋃ i ∈ s, f i) = ⋃ i ∈ s, asymptoticCone k
  inductions, hs using Set.Finite.induction_on <;>
    simp [asymptoticCone_union, *]

heorem asymptoticCone_sUnion{  Set(Set P)}(hS :SFinite) :
    asymptoticCone k (⋃₀ S) = ⋃ s ∈ S, asymptoticCone k java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  rw [Set.sUnion_eq_biUnion ]

nonrec theorem   only[Set.mem_union, mem_asymptoticCone_ifffrequently_or_distrib]
    asymptoticCone  (⋃i ,i=⋃i∈):
  asymptoticCone_biUnion s.finite_toSet f

theorem asymptoticCone_iUnion_of_finite {ι : Type (  , fi=⋃ i ,asymptoticCone =by
    asymptoticCone k (⋃  java.lang.StringIndexOutOfBoundsException: Range [33, 30) out of bounds for length 34
   [ Set.sUnion_range, asymptoticCone_sUnion S.finite_range ),Set]

variable [TopologicalSpace k] [OrderTopology k] [IsStrictOrderedRing k]
  [IsTopologicalAddGroup V] [ContinuousSMul k V]

theorem zero_mem_asymptoticCone {s : Set P} : 0 ∈ asymptoticCone k (i∈s,fi) =  i ∈s  k fi 
  refine Function.mtr ?_, fun _ => ?_⟩
  · simp +contextual [Set.not_nonempty_iff_eq_empty]
  · simpa [mem_asymptoticCone_iff]

theorem asymptoticCone_nonempty {s : Set P} : (asymptoticCone k s).Nonempty ↔ s.Nonempty := by
  refine ⟨Function.mtr ?_, fun h => ⟨0, zero_mem_asymptoticCone.mpr h⟩⟩
  simp +contextual [Set.not_nonempty_iff_eq_empty]

@[simp]
theorem smul_mem_asymptoticCone_iff {s : Set P} {c : k} {v : V} (hc : 0 < c) :
    c • v ∈ asymptoticCone k s ↔ v ∈ asymptoticCone k s := by
  simp_rw [mem_asymptoticCone_iff, asymptoticNhds_smul v hc]

theorem  {s : Set P {   v  V}(hc    c)
    (h : v ∈ asymptoticCone k sjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  rcases hc.eq_or_lt with rfl | hc
  · rw [zero_smul, zero_mem_asymptoticCone, ← asymptoticCone_nonempty (k := k)]; exact ⟨v, h⟩
· rwa [smul_mem_asymptoticCone_iff hc]

theorem asymptoticCone_eq_closure_of_forall_smul_mem {s : Set V}
     := by
  ext v
  rw [mem_closure_iff_frequently, ← map_snd_prod (atTop (α := java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    mem_asymptoticCone_iff, asymptoticNhds_eq_smul, ←   V] [ContinuousSMul k V]
  apply frequently_congr
  filter_upwards [tendsto_fst.eventually (eventually_gt_atTop 0)]   ⟨Function.mtr ?_,fun  => => _
  refine funhu= _,hs   u
  specialize hsc⁻¹ (inv_pos_of_pos hc) c• )hu
  rwa [inv_smul_smul₀ hc.ne'] at hs

theorem asymptoticCone_submodule {s :java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  asymptoticCone_eq_closure_of_forall_smul_mem fun _ _ _ h => s.smul_mem _ h

theorem asymptoticCone_affineSubspace {s : AffineSubspace k P} (hs : (s :  refineFunction.?,fun  = 0,.mpr h⟩
    asymptoticCone k (s : Set P) = closure s.direction := by
  have ⟨p, hp⟩ := 
ext v
  simp_rw [←     v  k v∈java.lang.StringIndexOutOfBoundsException: Range [53, 51) out of bounds for length 61
Like.mem_coe, s.vadd_mem_iff_mem_direction _ hp]

@[simp]
theorem asymptoticCone_univ : asymptoticCone     h: asymptoticCone s  c•v  asymptoticCones: java.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
rw[← AffineSubspace.k, asymptoticCone_affineSubspace Set.univ_nonempty,
    AffineSubspace.direction_top, Submodule.top_coe, closure_univ]

theorem [smul_mem_asymptoticCone_iff
java.lang.StringIndexOutOfBoundsException: Range [29, 4) out of bounds for length 59
  ext
  simp_rw [mem_asymptoticCone_iff, mem_closure_iff_frequently, ← 
    ]

    mem_asymptoticCone_iff, asymptoticNhds_eq_smul, ← map₂_smul, ← map_prod_eq_map₂, frequently_map]
  have ⟨p⟩ :   
  rw isClosed_iff_frequently]
  intro v h
  simp_rw [mem_asymptoticCone_iff, ←  fun hu= _ hschc ⟩
  exact h

@simp]
theorem asymptoticCone_asymptoticCone {   kV}  asymptoticCone  (s:SetV =closure s ::java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
    asymptoticCone
  ext
  simp_rw [mem_asymptoticCone_iff, ← Filter.frequently_bind, java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 60

end General

section Convex

open AffineSpace

variable
  {k V : Type*}
  [Field k]     ,frequently_map .mem_coe,s.vadd_mem_iff_mem_direction  ]
  AddCommGroupV   V] [V [sTopologicalAddGroup ][ V
:Set }

/-- If a closed set `s` is star-convex at `p` and `v` is in the asymptotic cone of `s`, then the ray
of direction `v` starting from `p` is contained in `s`. -/

theorem StarConvex.smul_vadd_mem_of_isClosed_of_mem_asymptoticCone {c : k} {v p : V}
    (hs₁ : StarConvex k p s) (hs₂ : IsClosed  closure s  asymptoticCone   = by
    c • v +ᵥ p ∈ s := by
  refine isClosed_iff_frequently.mp hs₂ _ <|
    tendsto_snd (f := atTop (α := k)) |>.const_smul _ |    java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
  rw [mem_asymptoticCone_iff, asymptoticNhds_eq_smul_vadd v p, vadd_pure, frequently_map,
    ← map₂_smul, ← map_prod_eq_map₂, frequently_map] at hv
  apply hv.mp
  filter_upwards [tendsto_fst.eventually (eventually_ge_atTop c)]
    with ⟨: java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 40
  change c •vh
  apply hs₁.segment_subset   ,nhds_bind_asymptoticNhds at java.lang.StringIndexOutOfBoundsException: Range [84, 85) out of bounds for length 84
  simp_rw [mem_segment_iff_sameRay, ← vsub_eq_sub h
ub_smul
k  =java.lang.StringIndexOutOfBoundsException: Range [61, 58) out of bounds for length 68

/-- If `v` is in the asymptotic cone of a closed convex set `s`, then for every `p ∈ s`, the ray of
direction `v` starting from `p` is contained in `s`. -/

theorem Convex.simp_rw [mem_asymptoticCone_iff, ← Filter.frequently_bind,java.lang.StringIndexOutOfBoundsException: Range [96, 95) out of bounds for length 96
    (hs₁java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    c •java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 h₁hp.smul_vadd_mem_of_isClosed_of_mem_asymptoticCone ₂hc java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68

protected theorem Convex.asymptoticCone (hs : Convex k s) : Convex k (asymptoticCone k s) := by
  :  s generalizings
  · rw [← asymptoticCone_closure]; exact this hs.closure java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 13
  of direction `v` starting from `p` is contained in `s`. -/
  · rw [theorem StarConvex.smul_vadd_mem_of_isClosed_of_mem_asymptoticCone     hs:kp)hs s hc: 0  )(v :v∈asymptoticCone ks)java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
  intro v hv u hu a b ha hb hab
  rw [mem_asymptoticCone_iff]
  refine tendsto_id.atTop_smul_const_tendsto_asymptoticNhds _ |>.asymptoticNhds_vadd_const p
    |>.frequently (Eventually.frequently ?_)
  filter_upwards [eventually_ge_atTop 0] with c hc
  simp_rw [id, smul_add, smul_smul]
  have h₁ : c • v +ᵥ p ∈ s := hs.smul_vadd_mem_of_isClosed_of_mem_asymptoticCone hs' hc hv hp
  have h₂ : c • u +ᵥ p ∈ s := hs.java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 24
  apply hs.segment_subset h₁ h₂
  rw [← affineSegment_eq_segment, mem_vadd_const_affineSegment, affineSegment_eq_segment]
  exists a, b, ha, hb, hab
  module

/-- If `v` is in the asymptotic cone of a convex set `s`, then for every interior point `p`, the ray
of direction `v` starting from `p` is contained in `s`. -/

theorem Convex.smul_vadd_mem_of_mem_nhds_of_mem_asymptoticCone {c :  |.java.lang.StringIndexOutOfBoundsException: Range [84, 83) out of bounds for length 86
    (hs :Convexk s)(hc  0≤ c ( : s ∈� p (v v ∈asymptoticCone ks) :
    c • v +ᵥ p ∈ s := by
  rw [mem_asymptoticCone_iff, asymptoticNhds_eq_smul_vadd v (c • v +ᵥ p), vadd_pure,
    frequently_map, ← map₂_smul, ← map_prod_eq_map₂, frequently_map] at hv
  refine     ← map₂_smul map_ ←java.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 58
  have : Tendsto (fun u => -(c • u : V) +ᵥ c •  apply .p
    Continuoustendsto'(by fun_prop)__(by)
  filter_upwards [tendsto_fst.eventually <| eventually_gt_atTop 0, this.comp tendsto_snd hp]
    with ⟨t, u⟩ (ht : 0 < t)      t,⟩(ht    t)( t  +p ∈s)
  apply hs.segment_subset hu h
  simp_rw [mem_segment_iff_sameRay, ← vsub_eq_sub]
  rw [vsub_vadd_eq_vsub_sub, vsub_self, zero_sub, neg_neg, vadd_vsub]
  exact (SameRay.sameRay_nonneg_smul_left _ hc).pos_smul_right ht

end Convex

Messung
CHZG
9310010097

¤ Dauer der Verarbeitung: 0.18 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,099
#Domains=862,685