The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.Convex.Cone.Dual
21 declarations. Mathlib docs · Source
The topological dual of a cone and Farkas' lemma
Given a continuous bilinear pairing p between two R-modules M and N and a set s in M,
we define ProperCone.dual p C to be the proper cone in N consisting of all points y such that
0 ≤ p x y for all x ∈ s.
When the pairing is perfect, this gives us the algebraic dual of a cone.
See Mathlib/Geometry/Convex/Cone/Dual.lean for that case.
When the pairing is continuous and perfect (as a continuous pairing), this gives us the topological
dual instead. This is developed here.
We prove Farkas' lemma, which says that a proper cone C in a locally convex topological real
vector space E and a point x₀ not in C can be separated by a hyperplane. This is a geometric
interpretation of the Hahn-Banach separation theorem.
As a corollary, we prove that the double dual of a proper cone is itself.
Main statements
We prove the following theorems:
ProperCone.hyperplane_separation,ProperCone.hyperplane_separation_point: Farkas lemma.ProperCone.dual_dual_flip,ProperCone.dual_flip_dual: The double dual of a proper cone.
References
- https://en.wikipedia.org/wiki/Hyperplane_separation_theorem
- https://en.wikipedia.org/wiki/Farkas%27_lemma#Geometric_interpretation
theorem ProperCone.positive.congr_simp E1 #
∀ (R : Type u_2) (E : Type u_3) [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : AddCommMonoid E] [inst_4 : TopologicalSpace E] [inst_5 : Module R E] [inst_6 : PartialOrder E]
[inst_7 : IsOrderedAddMonoid E] [inst_8 : PosSMulMono R E] [inst_9 : OrderClosedTopology E],
ProperCone.positive R E = ProperCone.positive R E
theorem ProperCone.congr_simp E1 #
∀ (R : Type u_2) (E : Type u_3) [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : AddCommMonoid E] [inst_4 : TopologicalSpace E] [inst_5 : Module R E], ProperCone R E = ProperCone R E
theorem LinearMap.toContPerfPair.congr_simp E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : TopologicalSpace R]
[inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : TopologicalSpace M] [inst_5 : AddCommGroup N]
[inst_6 : Module R N] [inst_7 : TopologicalSpace N] (p p_1 : M →ₗ[R] N →ₗ[R] R) (e_p : p = p_1)
[inst_8 : p.IsContPerfPair] [inst_9 : IsTopologicalRing R], p.toContPerfPair = p_1.toContPerfPair
theorem ProperCone.dual.congr_simp E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
(p p_1 : M →ₗ[R] N →ₗ[R] R) (e_p : p = p_1) [inst_11 : p.IsContPerfPair] (s s_1 : Set M),
s = s_1 → ProperCone.dual p s = ProperCone.dual p_1 s_1
theorem PointedCone.isClosed_dual E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R]
[inst_2 : TopologicalSpace R] [ClosedIciTopology R] [inst_4 : IsOrderedRing R] [inst_5 : AddCommGroup M]
[inst_6 : AddCommGroup N] [inst_7 : Module R M] [inst_8 : Module R N] [inst_9 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} {s : Set M}, (∀ (x : M), Continuous ⇑(p x)) → IsClosed ↑(PointedCone.dual p s)
def ProperCone.dual E1 #
{R : Type u_1} →
{M : Type u_2} →
{N : Type u_3} →
[inst : CommRing R] →
[inst_1 : PartialOrder R] →
[inst_2 : IsOrderedRing R] →
[inst_3 : TopologicalSpace R] →
[ClosedIciTopology R] →
[inst_5 : AddCommGroup M] →
[inst_6 : Module R M] →
[inst_7 : TopologicalSpace M] →
[inst_8 : AddCommGroup N] →
[inst_9 : Module R N] →
[inst_10 : TopologicalSpace N] →
(p : M →ₗ[R] N →ₗ[R] R) → [p.IsContPerfPair] → Set M → ProperCone R N
The dual cone of a set s with respect to a perfect pairing p is the cone consisting of all
points y such that for all points x ∈ s we have 0 ≤ p x y.
theorem ProperCone.mem_dual E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair] {s : Set M} {y : N},
y ∈ ProperCone.dual p s ↔ ∀ ⦃x : M⦄, x ∈ s → 0 ≤ (p x) y
theorem ProperCone.dual_empty E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair], ProperCone.dual p ∅ = ⊤
theorem ProperCone.dual_zero E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair], ProperCone.dual p 0 = ⊤
theorem ProperCone.dual_univ E0 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair] [IsTopologicalRing R] [inst_13 : T1Space N],
ProperCone.dual p Set.univ = ⊥
theorem ProperCone.dual_le_dual E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair] {s t : Set M}, t ⊆ s → ProperCone.dual p s ≤ ProperCone.dual p t
theorem ProperCone.dual_singleton E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair] [inst_12 : IsTopologicalRing R] [inst_13 : OrderClosedTopology R]
(x : M), ProperCone.dual p {x} = ProperCone.comap (p.toContPerfPair x) (ProperCone.positive R R)
The inner dual cone of a singleton is given by the preimage of the positive cone under the
linear map p x.
theorem ProperCone.dual_union E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair] (s t : Set M),
ProperCone.dual p (s ∪ t) = ProperCone.dual p s ⊓ ProperCone.dual p t
theorem ProperCone.dual_insert E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair] (x : M) (s : Set M),
ProperCone.dual p (insert x s) = ProperCone.dual p {x} ⊓ ProperCone.dual p s
theorem ProperCone.dual_iUnion E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair] {ι : Sort u_4} (f : ι → Set M),
ProperCone.dual p (⋃ i, f i) = ⨅ i, ProperCone.dual p (f i)
theorem ProperCone.dual_sUnion E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair] (S : Set (Set M)),
ProperCone.dual p (⋃₀ S) = sInf (ProperCone.dual p '' S)
theorem ProperCone.subset_dual_dual E1 #
∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : PartialOrder R] [inst_2 : IsOrderedRing R]
[inst_3 : TopologicalSpace R] [inst_4 : ClosedIciTopology R] [inst_5 : AddCommGroup M] [inst_6 : Module R M]
[inst_7 : TopologicalSpace M] [inst_8 : AddCommGroup N] [inst_9 : Module R N] [inst_10 : TopologicalSpace N]
{p : M →ₗ[R] N →ₗ[R] R} [inst_11 : p.IsContPerfPair] {s : Set M}, s ⊆ ↑(ProperCone.dual p.flip ↑(ProperCone.dual p s))
Any set is a subset of its double dual cone.
theorem ProperCone.hyperplane_separation E3 #
∀ {E : Type u_1} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [IsTopologicalAddGroup E] [inst_3 : Module ℝ E]
[ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E] {K : Set E} (C : ProperCone ℝ E),
Convex ℝ K → IsCompact K → Disjoint K ↑C → ∃ f, (∀ x ∈ C, 0 ≤ f x) ∧ ∀ x ∈ K, f x < 0
Geometric interpretation of Farkas' lemma. Also stronger version of the Hahn-Banach separation theorem for proper cones.
theorem ProperCone.hyperplane_separation_point E3 #
∀ {E : Type u_1} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [IsTopologicalAddGroup E] [inst_3 : Module ℝ E]
[ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E] {x₀ : E} (C : ProperCone ℝ E),
x₀ ∉ C → ∃ f, (∀ x ∈ C, 0 ≤ f x) ∧ f x₀ < 0
Geometric interpretation of Farkas' lemma. Also stronger version of the Hahn-Banach separation theorem for proper cones.
theorem ProperCone.dual_flip_dual E3 #
∀ {E : Type u_1} {F : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [IsTopologicalAddGroup E]
[inst_3 : TopologicalSpace F] [inst_4 : AddCommGroup F] [inst_5 : Module ℝ E] [ContinuousSMul ℝ E]
[LocallyConvexSpace ℝ E] [inst_8 : Module ℝ F] (p : E →ₗ[ℝ] F →ₗ[ℝ] ℝ) [inst_9 : p.IsContPerfPair]
(C : ProperCone ℝ E), ProperCone.dual p.flip ↑(ProperCone.dual p ↑C) = C
The double dual of a proper cone is itself.
theorem ProperCone.dual_dual_flip E3 #
∀ {E : Type u_1} {F : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [IsTopologicalAddGroup E]
[inst_3 : TopologicalSpace F] [inst_4 : AddCommGroup F] [inst_5 : Module ℝ E] [ContinuousSMul ℝ E]
[LocallyConvexSpace ℝ E] [inst_8 : Module ℝ F] (p : F →ₗ[ℝ] E →ₗ[ℝ] ℝ) [inst_9 : p.IsContPerfPair]
(C : ProperCone ℝ E), ProperCone.dual p ↑(ProperCone.dual p.flip ↑C) = C
The double dual of a proper cone is itself.