Skip to content

Commit dc8adfa

Browse files
Golf mem_maxTensorProduct
1 parent 0fe4263 commit dc8adfa

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Mathlib/Geometry/Convex/Cone/TensorProduct.lean

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,12 @@ set_option backward.isDefEq.respectTransparency false in
7171
all pairings with elementary dual tensors are nonnegative. -/
7272
@[simp]
7373
theorem mem_maxTensorProduct {C₁ : PointedCone R G} {C₂ : PointedCone R H} {z : G ⊗[R] H} :
74-
z ∈ maxTensorProduct (R := R) C₁ C₂ ↔
74+
z ∈ maxTensorProduct C₁ C₂ ↔
7575
∀ φ ∈ dual (Dual.eval R G) C₁,
7676
∀ ψ ∈ dual (Dual.eval R H) C₂,
77-
0 ≤ dualDistrib R G H (φ ⊗ₜ[R] ψ) z := by
78-
simp only [maxTensorProduct, minTensorProduct]
79-
rw [← hull_eq C₁, ← hull_eq C₂, mem_dual_hull]
80-
simp only [Set.forall_mem_image2, SetLike.mem_coe, mem_dual]
77+
0 ≤ dualDistrib R G H (φ ⊗ₜ[R] ψ) z := by
78+
simp only [maxTensorProduct, minTensorProduct, mem_dual_hull,
79+
Set.forall_mem_image2, SetLike.mem_coe]
8180

8281
/-- Elementary tensors are members of the maximal tensor product. -/
8382
theorem tmul_mem_maxTensorProduct {x y} {C₁ : PointedCone R G} {C₂ : PointedCone R H} (hx : x ∈ C₁)

0 commit comments

Comments
 (0)