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 36456
Description: The relation constructed in weiunpo 36453, weiunso 36454, weiunfr 36455, and weiunwe 36457 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 1193 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝑅 Se 𝐴)
2 weiun.1 . . . . . . . . . 10 𝐹 = (𝑤 𝑥𝐴 𝐵 ↦ (𝑢 ∈ {𝑥𝐴𝑤𝐵}∀𝑣 ∈ {𝑥𝐴𝑤𝐵} ¬ 𝑣𝑅𝑢))
3 weiun.2 . . . . . . . . . 10 𝑇 = {⟨𝑦, 𝑧⟩ ∣ ((𝑦 𝑥𝐴 𝐵𝑧 𝑥𝐴 𝐵) ∧ ((𝐹𝑦)𝑅(𝐹𝑧) ∨ ((𝐹𝑦) = (𝐹𝑧) ∧ 𝑦(𝐹𝑦) / 𝑥𝑆𝑧)))}
4 simpl1 1192 . . . . . . . . . 10 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝑅 We 𝐴)
52, 3, 4, 1weiunlem2 36451 . . . . . . . . 9 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → (𝐹: 𝑥𝐴 𝐵𝐴 ∧ ∀𝑡 𝑥𝐴 𝐵𝑡(𝐹𝑡) / 𝑥𝐵 ∧ ∀𝑠𝐴𝑡 𝑠 / 𝑥𝐵 ¬ 𝑠𝑅(𝐹𝑡)))
65simp1d 1142 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝐹: 𝑥𝐴 𝐵𝐴)
7 simpr 484 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝑝 𝑥𝐴 𝐵)
86, 7ffvelcdmd 7057 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → (𝐹𝑝) ∈ 𝐴)
9 seex 5597 . . . . . . 7 ((𝑅 Se 𝐴 ∧ (𝐹𝑝) ∈ 𝐴) → {𝑟𝐴𝑟𝑅(𝐹𝑝)} ∈ V)
101, 8, 9syl2anc 584 . . . . . 6 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑟𝐴𝑟𝑅(𝐹𝑝)} ∈ V)
11 snex 5391 . . . . . 6 {(𝐹𝑝)} ∈ V
12 unexg 7719 . . . . . 6 (({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∈ V ∧ {(𝐹𝑝)} ∈ V) → ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∈ V)
1310, 11, 12sylancl 586 . . . . 5 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∈ V)
14 ssrab2 4043 . . . . . . . 8 {𝑟𝐴𝑟𝑅(𝐹𝑝)} ⊆ 𝐴
1514a1i 11 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑟𝐴𝑟𝑅(𝐹𝑝)} ⊆ 𝐴)
168snssd 4773 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {(𝐹𝑝)} ⊆ 𝐴)
1715, 16unssd 4155 . . . . . 6 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ⊆ 𝐴)
18 simpl3 1194 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑥𝐴 𝐵𝑉)
19 elex 3468 . . . . . . . . 9 (𝐵𝑉𝐵 ∈ V)
2019ralimi 3066 . . . . . . . 8 (∀𝑥𝐴 𝐵𝑉 → ∀𝑥𝐴 𝐵 ∈ V)
2118, 20syl 17 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑥𝐴 𝐵 ∈ V)
22 nfv 1914 . . . . . . . 8 𝑠 𝐵 ∈ V
23 nfcsb1v 3886 . . . . . . . . 9 𝑥𝑠 / 𝑥𝐵
2423nfel1 2908 . . . . . . . 8 𝑥𝑠 / 𝑥𝐵 ∈ V
25 csbeq1a 3876 . . . . . . . . 9 (𝑥 = 𝑠𝐵 = 𝑠 / 𝑥𝐵)
2625eleq1d 2813 . . . . . . . 8 (𝑥 = 𝑠 → (𝐵 ∈ V ↔ 𝑠 / 𝑥𝐵 ∈ V))
2722, 24, 26cbvralw 3280 . . . . . . 7 (∀𝑥𝐴 𝐵 ∈ V ↔ ∀𝑠𝐴 𝑠 / 𝑥𝐵 ∈ V)
2821, 27sylib 218 . . . . . 6 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑠𝐴 𝑠 / 𝑥𝐵 ∈ V)
29 ssralv 4015 . . . . . 6 (({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ⊆ 𝐴 → (∀𝑠𝐴 𝑠 / 𝑥𝐵 ∈ V → ∀𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V))
3017, 28, 29sylc 65 . . . . 5 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V)
31 iunexg 7942 . . . . 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 7057 . . . . . . . 8 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → (𝐹𝑞) ∈ 𝐴)
36 breq1 5110 . . . . . . . . . 10 (𝑟 = (𝐹𝑞) → (𝑟𝑅(𝐹𝑝) ↔ (𝐹𝑞)𝑅(𝐹𝑝)))
3736elrab 3659 . . . . . . . . 9 ((𝐹𝑞) ∈ {𝑟𝐴𝑟𝑅(𝐹𝑝)} ↔ ((𝐹𝑞) ∈ 𝐴 ∧ (𝐹𝑞)𝑅(𝐹𝑝)))
38 elun1 4145 . . . . . . . . 9 ((𝐹𝑞) ∈ {𝑟𝐴𝑟𝑅(𝐹𝑝)} → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
3937, 38sylbir 235 . . . . . . . 8 (((𝐹𝑞) ∈ 𝐴 ∧ (𝐹𝑞)𝑅(𝐹𝑝)) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
4035, 39sylan 580 . . . . . . 7 (((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) ∧ (𝐹𝑞)𝑅(𝐹𝑝)) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
41 fvex 6871 . . . . . . . . . 10 (𝐹𝑞) ∈ V
4241elsn 4604 . . . . . . . . 9 ((𝐹𝑞) ∈ {(𝐹𝑝)} ↔ (𝐹𝑞) = (𝐹𝑝))
43 elun2 4146 . . . . . . . . 9 ((𝐹𝑞) ∈ {(𝐹𝑝)} → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
4442, 43sylbir 235 . . . . . . . 8 ((𝐹𝑞) = (𝐹𝑝) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
4544ad2antrl 728 . . . . . . 7 (((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) ∧ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝)) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
462, 3weiunlem1 36450 . . . . . . . . 9 (𝑞𝑇𝑝 ↔ ((𝑞 𝑥𝐴 𝐵𝑝 𝑥𝐴 𝐵) ∧ ((𝐹𝑞)𝑅(𝐹𝑝) ∨ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝))))
4746simprbi 496 . . . . . . . 8 (𝑞𝑇𝑝 → ((𝐹𝑞)𝑅(𝐹𝑝) ∨ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝)))
48473ad2ant3 1135 . . . . . . 7 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → ((𝐹𝑞)𝑅(𝐹𝑝) ∨ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝)))
4940, 45, 48mpjaodan 960 . . . . . 6 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
50 id 22 . . . . . . . 8 (𝑡 = 𝑞𝑡 = 𝑞)
51 fveq2 6858 . . . . . . . . 9 (𝑡 = 𝑞 → (𝐹𝑡) = (𝐹𝑞))
5251csbeq1d 3866 . . . . . . . 8 (𝑡 = 𝑞(𝐹𝑡) / 𝑥𝐵 = (𝐹𝑞) / 𝑥𝐵)
5350, 52eleq12d 2822 . . . . . . 7 (𝑡 = 𝑞 → (𝑡(𝐹𝑡) / 𝑥𝐵𝑞(𝐹𝑞) / 𝑥𝐵))
545simp2d 1143 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑡 𝑥𝐴 𝐵𝑡(𝐹𝑡) / 𝑥𝐵)
55543ad2ant1 1133 . . . . . . 7 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → ∀𝑡 𝑥𝐴 𝐵𝑡(𝐹𝑡) / 𝑥𝐵)
5653, 55, 34rspcdva 3589 . . . . . 6 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝑞(𝐹𝑞) / 𝑥𝐵)
57 csbeq1 3865 . . . . . . 7 (𝑠 = (𝐹𝑞) → 𝑠 / 𝑥𝐵 = (𝐹𝑞) / 𝑥𝐵)
5857eliuni 4961 . . . . . 6 (((𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∧ 𝑞(𝐹𝑞) / 𝑥𝐵) → 𝑞 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵)
5949, 56, 58syl2anc 584 . . . . 5 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝑞 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵)
6059rabssdv 4038 . . . 4 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ⊆ 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵)
6132, 60ssexd 5279 . . 3 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ∈ V)
6261ralrimiva 3125 . 2 ((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) → ∀𝑝 𝑥𝐴 𝐵{𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ∈ V)
63 df-se 5592 . 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 1540  wcel 2109  wral 3044  {crab 3405  Vcvv 3447  csb 3862  cun 3912  wss 3914  {csn 4589   ciun 4955   class class class wbr 5107  {copab 5169  cmpt 5188   Se wse 5589   We wwe 5590  wf 6507  cfv 6511  crio 7343
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-rep 5234  ax-sep 5251  ax-nul 5261  ax-pr 5387  ax-un 7711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rmo 3354  df-reu 3355  df-rab 3406  df-v 3449  df-sbc 3754  df-csb 3863  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-nul 4297  df-if 4489  df-pw 4565  df-sn 4590  df-pr 4592  df-op 4596  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5170  df-mpt 5189  df-id 5533  df-po 5546  df-so 5547  df-fr 5591  df-se 5592  df-we 5593  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-iota 6464  df-fun 6513  df-fn 6514  df-f 6515  df-fv 6519  df-riota 7344
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator