Users' Mathboxes Mathbox for Matthew House < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  weiunse Structured version   Visualization version   GIF version

Theorem weiunse 36403
Description: The relation constructed in weiunpo 36400, weiunso 36401, weiunfr 36402, and weiunwe 36404 is set-like if all members of the indexed union are sets. (Contributed by Matthew House, 23-Aug-2025.)
Hypotheses
Ref Expression
weiun.1 𝐹 = (𝑤 𝑥𝐴 𝐵 ↦ (𝑢 ∈ {𝑥𝐴𝑤𝐵}∀𝑣 ∈ {𝑥𝐴𝑤𝐵} ¬ 𝑣𝑅𝑢))
weiun.2 𝑇 = {⟨𝑦, 𝑧⟩ ∣ ((𝑦 𝑥𝐴 𝐵𝑧 𝑥𝐴 𝐵) ∧ ((𝐹𝑦)𝑅(𝐹𝑧) ∨ ((𝐹𝑦) = (𝐹𝑧) ∧ 𝑦(𝐹𝑦) / 𝑥𝑆𝑧)))}
Assertion
Ref Expression
weiunse ((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) → 𝑇 Se 𝑥𝐴 𝐵)
Distinct variable groups:   𝑢,𝐴,𝑣,𝑤,𝑥   𝑦,𝐴,𝑧,𝑥   𝑢,𝐵,𝑣,𝑤   𝑦,𝐵,𝑧   𝑦,𝐹,𝑧   𝑢,𝑅,𝑣,𝑤   𝑦,𝑅,𝑧   𝑦,𝑆,𝑧
Allowed substitution hints:   𝐵(𝑥)   𝑅(𝑥)   𝑆(𝑥,𝑤,𝑣,𝑢)   𝑇(𝑥,𝑦,𝑧,𝑤,𝑣,𝑢)   𝐹(𝑥,𝑤,𝑣,𝑢)   𝑉(𝑥,𝑦,𝑧,𝑤,𝑣,𝑢)

Proof of Theorem weiunse
Dummy variables 𝑡 𝑝 𝑞 𝑟 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl2 1192 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝑅 Se 𝐴)
2 weiun.1 . . . . . . . . . 10 𝐹 = (𝑤 𝑥𝐴 𝐵 ↦ (𝑢 ∈ {𝑥𝐴𝑤𝐵}∀𝑣 ∈ {𝑥𝐴𝑤𝐵} ¬ 𝑣𝑅𝑢))
3 weiun.2 . . . . . . . . . 10 𝑇 = {⟨𝑦, 𝑧⟩ ∣ ((𝑦 𝑥𝐴 𝐵𝑧 𝑥𝐴 𝐵) ∧ ((𝐹𝑦)𝑅(𝐹𝑧) ∨ ((𝐹𝑦) = (𝐹𝑧) ∧ 𝑦(𝐹𝑦) / 𝑥𝑆𝑧)))}
4 simpl1 1191 . . . . . . . . . 10 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝑅 We 𝐴)
52, 3, 4, 1weiunlem2 36398 . . . . . . . . 9 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → (𝐹: 𝑥𝐴 𝐵𝐴 ∧ ∀𝑡 𝑥𝐴 𝐵𝑡(𝐹𝑡) / 𝑥𝐵 ∧ ∀𝑠𝐴𝑡 𝑠 / 𝑥𝐵 ¬ 𝑠𝑅(𝐹𝑡)))
65simp1d 1142 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝐹: 𝑥𝐴 𝐵𝐴)
7 simpr 484 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝑝 𝑥𝐴 𝐵)
86, 7ffvelcdmd 7084 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → (𝐹𝑝) ∈ 𝐴)
9 seex 5624 . . . . . . 7 ((𝑅 Se 𝐴 ∧ (𝐹𝑝) ∈ 𝐴) → {𝑟𝐴𝑟𝑅(𝐹𝑝)} ∈ V)
101, 8, 9syl2anc 584 . . . . . 6 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑟𝐴𝑟𝑅(𝐹𝑝)} ∈ V)
11 snex 5416 . . . . . 6 {(𝐹𝑝)} ∈ V
12 unexg 7744 . . . . . 6 (({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∈ V ∧ {(𝐹𝑝)} ∈ V) → ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∈ V)
1310, 11, 12sylancl 586 . . . . 5 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∈ V)
14 ssrab2 4060 . . . . . . . 8 {𝑟𝐴𝑟𝑅(𝐹𝑝)} ⊆ 𝐴
1514a1i 11 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑟𝐴𝑟𝑅(𝐹𝑝)} ⊆ 𝐴)
168snssd 4789 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {(𝐹𝑝)} ⊆ 𝐴)
1715, 16unssd 4172 . . . . . 6 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ⊆ 𝐴)
18 simpl3 1193 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑥𝐴 𝐵𝑉)
19 elex 3484 . . . . . . . . 9 (𝐵𝑉𝐵 ∈ V)
2019ralimi 3072 . . . . . . . 8 (∀𝑥𝐴 𝐵𝑉 → ∀𝑥𝐴 𝐵 ∈ V)
2118, 20syl 17 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑥𝐴 𝐵 ∈ V)
22 nfv 1913 . . . . . . . 8 𝑠 𝐵 ∈ V
23 nfcsb1v 3903 . . . . . . . . 9 𝑥𝑠 / 𝑥𝐵
2423nfel1 2914 . . . . . . . 8 𝑥𝑠 / 𝑥𝐵 ∈ V
25 csbeq1a 3893 . . . . . . . . 9 (𝑥 = 𝑠𝐵 = 𝑠 / 𝑥𝐵)
2625eleq1d 2818 . . . . . . . 8 (𝑥 = 𝑠 → (𝐵 ∈ V ↔ 𝑠 / 𝑥𝐵 ∈ V))
2722, 24, 26cbvralw 3289 . . . . . . 7 (∀𝑥𝐴 𝐵 ∈ V ↔ ∀𝑠𝐴 𝑠 / 𝑥𝐵 ∈ V)
2821, 27sylib 218 . . . . . 6 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑠𝐴 𝑠 / 𝑥𝐵 ∈ V)
29 ssralv 4032 . . . . . 6 (({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ⊆ 𝐴 → (∀𝑠𝐴 𝑠 / 𝑥𝐵 ∈ V → ∀𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V))
3017, 28, 29sylc 65 . . . . 5 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V)
31 iunexg 7969 . . . . 5 ((({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∈ V ∧ ∀𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V) → 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V)
3213, 30, 31syl2anc 584 . . . 4 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V)
3363ad2ant1 1133 . . . . . . . . 9 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝐹: 𝑥𝐴 𝐵𝐴)
34 simp2 1137 . . . . . . . . 9 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝑞 𝑥𝐴 𝐵)
3533, 34ffvelcdmd 7084 . . . . . . . 8 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → (𝐹𝑞) ∈ 𝐴)
36 breq1 5126 . . . . . . . . . 10 (𝑟 = (𝐹𝑞) → (𝑟𝑅(𝐹𝑝) ↔ (𝐹𝑞)𝑅(𝐹𝑝)))
3736elrab 3675 . . . . . . . . 9 ((𝐹𝑞) ∈ {𝑟𝐴𝑟𝑅(𝐹𝑝)} ↔ ((𝐹𝑞) ∈ 𝐴 ∧ (𝐹𝑞)𝑅(𝐹𝑝)))
38 elun1 4162 . . . . . . . . 9 ((𝐹𝑞) ∈ {𝑟𝐴𝑟𝑅(𝐹𝑝)} → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
3937, 38sylbir 235 . . . . . . . 8 (((𝐹𝑞) ∈ 𝐴 ∧ (𝐹𝑞)𝑅(𝐹𝑝)) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
4035, 39sylan 580 . . . . . . 7 (((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) ∧ (𝐹𝑞)𝑅(𝐹𝑝)) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
41 fvex 6898 . . . . . . . . . 10 (𝐹𝑞) ∈ V
4241elsn 4621 . . . . . . . . 9 ((𝐹𝑞) ∈ {(𝐹𝑝)} ↔ (𝐹𝑞) = (𝐹𝑝))
43 elun2 4163 . . . . . . . . 9 ((𝐹𝑞) ∈ {(𝐹𝑝)} → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
4442, 43sylbir 235 . . . . . . . 8 ((𝐹𝑞) = (𝐹𝑝) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
4544ad2antrl 728 . . . . . . 7 (((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) ∧ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝)) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
462, 3weiunlem1 36397 . . . . . . . . 9 (𝑞𝑇𝑝 ↔ ((𝑞 𝑥𝐴 𝐵𝑝 𝑥𝐴 𝐵) ∧ ((𝐹𝑞)𝑅(𝐹𝑝) ∨ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝))))
4746simprbi 496 . . . . . . . 8 (𝑞𝑇𝑝 → ((𝐹𝑞)𝑅(𝐹𝑝) ∨ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝)))
48473ad2ant3 1135 . . . . . . 7 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → ((𝐹𝑞)𝑅(𝐹𝑝) ∨ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝)))
4940, 45, 48mpjaodan 960 . . . . . 6 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
50 id 22 . . . . . . . 8 (𝑡 = 𝑞𝑡 = 𝑞)
51 fveq2 6885 . . . . . . . . 9 (𝑡 = 𝑞 → (𝐹𝑡) = (𝐹𝑞))
5251csbeq1d 3883 . . . . . . . 8 (𝑡 = 𝑞(𝐹𝑡) / 𝑥𝐵 = (𝐹𝑞) / 𝑥𝐵)
5350, 52eleq12d 2827 . . . . . . 7 (𝑡 = 𝑞 → (𝑡(𝐹𝑡) / 𝑥𝐵𝑞(𝐹𝑞) / 𝑥𝐵))
545simp2d 1143 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑡 𝑥𝐴 𝐵𝑡(𝐹𝑡) / 𝑥𝐵)
55543ad2ant1 1133 . . . . . . 7 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → ∀𝑡 𝑥𝐴 𝐵𝑡(𝐹𝑡) / 𝑥𝐵)
5653, 55, 34rspcdva 3606 . . . . . 6 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝑞(𝐹𝑞) / 𝑥𝐵)
57 csbeq1 3882 . . . . . . 7 (𝑠 = (𝐹𝑞) → 𝑠 / 𝑥𝐵 = (𝐹𝑞) / 𝑥𝐵)
5857eliuni 4977 . . . . . 6 (((𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∧ 𝑞(𝐹𝑞) / 𝑥𝐵) → 𝑞 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵)
5949, 56, 58syl2anc 584 . . . . 5 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝑞 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵)
6059rabssdv 4055 . . . 4 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ⊆ 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵)
6132, 60ssexd 5304 . . 3 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ∈ V)
6261ralrimiva 3133 . 2 ((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) → ∀𝑝 𝑥𝐴 𝐵{𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ∈ V)
63 df-se 5618 . 2 (𝑇 Se 𝑥𝐴 𝐵 ↔ ∀𝑝 𝑥𝐴 𝐵{𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ∈ V)
6462, 63sylibr 234 1 ((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) → 𝑇 Se 𝑥𝐴 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wo 847  w3a 1086   = wceq 1539  wcel 2107  wral 3050  {crab 3419  Vcvv 3463  csb 3879  cun 3929  wss 3931  {csn 4606   ciun 4971   class class class wbr 5123  {copab 5185  cmpt 5205   Se wse 5615   We wwe 5616  wf 6536  cfv 6540  crio 7368
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-10 2140  ax-11 2156  ax-12 2176  ax-ext 2706  ax-rep 5259  ax-sep 5276  ax-nul 5286  ax-pr 5412  ax-un 7736
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2808  df-nfc 2884  df-ne 2932  df-ral 3051  df-rex 3060  df-rmo 3363  df-reu 3364  df-rab 3420  df-v 3465  df-sbc 3771  df-csb 3880  df-dif 3934  df-un 3936  df-in 3938  df-ss 3948  df-nul 4314  df-if 4506  df-pw 4582  df-sn 4607  df-pr 4609  df-op 4613  df-uni 4888  df-iun 4973  df-br 5124  df-opab 5186  df-mpt 5206  df-id 5558  df-po 5572  df-so 5573  df-fr 5617  df-se 5618  df-we 5619  df-xp 5671  df-rel 5672  df-cnv 5673  df-co 5674  df-dm 5675  df-rn 5676  df-iota 6493  df-fun 6542  df-fn 6543  df-f 6544  df-fv 6548  df-riota 7369
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator