Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit f0b3759

Browse files
committed
chore(set_theory/zfc/basic): reverse sInter_coe (#18773)
It now matches `coe_sUnion`, and works as a `norm_cast` lemma. Mathlib 4: leanprover-community/mathlib4#3345
1 parent 52fa514 commit f0b3759

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/set_theory/zfc/basic.lean

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,8 +1114,9 @@ begin
11141114
exact H _ hxz
11151115
end
11161116

1117-
@[simp, norm_cast] theorem sInter_coe {x : Set.{u}} (h : x.nonempty) : ⋂₀ (x : Class.{u}) = ⋂₀ x :=
1118-
set.ext $ λ y, sInter_apply.trans (Set.mem_sInter h).symm
1117+
@[simp, norm_cast] theorem coe_sInter {x : Set.{u}} (h : x.nonempty) :
1118+
↑(⋂₀ x) = ⋂₀ (x : Class.{u}) :=
1119+
set.ext $ λ y, (Set.mem_sInter h).trans sInter_apply.symm
11191120

11201121
theorem mem_of_mem_sInter {x y z : Class} (hy : y ∈ ⋂₀ x) (hz : z ∈ x) : y ∈ z :=
11211122
by { obtain ⟨w, rfl, hw⟩ := hy, exact coe_mem.2 (hw z hz) }

0 commit comments

Comments
 (0)