Skip to content

Commit 3a881d0

Browse files
authored
Merge pull request #263 from gaearon/patch-6
Fill in a bit of SetTheory.Set.prod_equiv_prod
2 parents c6dac02 + df95dda commit 3a881d0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

analysis/Analysis/Section_3_5.lean

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,14 @@ noncomputable abbrev SetTheory.Set.prod_associator (X Y Z:Set) : (X ×ˢ Y) ×ˢ
143143
left_inv := sorry
144144
right_inv := sorry
145145

146-
/-- Connections with the Mathlib set product -/
146+
/--
147+
Connections with the Mathlib set product, which consists of Lean pairs like `(x, y)`
148+
equipped with a proof that `x` is in the left set, and `y` is in the right set.
149+
Lean pairs like `(x, y)` are similar to our `OrderedPair`, but more general.
150+
-/
147151
noncomputable abbrev SetTheory.Set.prod_equiv_prod (X Y:Set) :
148152
((X ×ˢ Y):_root_.Set Object) ≃ (X:_root_.Set Object) ×ˢ (Y:_root_.Set Object) where
149-
toFun := sorry
153+
toFun := fun z ↦ ⟨(fst z, snd z), by simp⟩
150154
invFun := sorry
151155
left_inv := sorry
152156
right_inv := sorry

0 commit comments

Comments
 (0)