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 36463
Description: The relation constructed in weiunpo 36460, weiunso 36461, weiunfr 36462, and weiunwe 36464 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 36458 . . . . . . . . 9 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → (𝐹: 𝑥𝐴 𝐵𝐴 ∧ ∀𝑡 𝑥𝐴 𝐵𝑡(𝐹𝑡) / 𝑥𝐵 ∧ ∀𝑠𝐴𝑡 𝑠 / 𝑥𝐵 ¬ 𝑠𝑅(𝐹𝑡)))
65simp1d 1143 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝐹: 𝑥𝐴 𝐵𝐴)
7 simpr 484 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝑝 𝑥𝐴 𝐵)
86, 7ffvelcdmd 7112 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → (𝐹𝑝) ∈ 𝐴)
9 seex 5652 . . . . . . 7 ((𝑅 Se 𝐴 ∧ (𝐹𝑝) ∈ 𝐴) → {𝑟𝐴𝑟𝑅(𝐹𝑝)} ∈ V)
101, 8, 9syl2anc 584 . . . . . 6 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑟𝐴𝑟𝑅(𝐹𝑝)} ∈ V)
11 snex 5445 . . . . . 6 {(𝐹𝑝)} ∈ V
12 unexg 7769 . . . . . 6 (({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∈ V ∧ {(𝐹𝑝)} ∈ V) → ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∈ V)
1310, 11, 12sylancl 586 . . . . 5 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∈ V)
14 ssrab2 4093 . . . . . . . 8 {𝑟𝐴𝑟𝑅(𝐹𝑝)} ⊆ 𝐴
1514a1i 11 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑟𝐴𝑟𝑅(𝐹𝑝)} ⊆ 𝐴)
168snssd 4817 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {(𝐹𝑝)} ⊆ 𝐴)
1715, 16unssd 4205 . . . . . 6 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ⊆ 𝐴)
18 simpl3 1194 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑥𝐴 𝐵𝑉)
19 elex 3502 . . . . . . . . 9 (𝐵𝑉𝐵 ∈ V)
2019ralimi 3083 . . . . . . . 8 (∀𝑥𝐴 𝐵𝑉 → ∀𝑥𝐴 𝐵 ∈ V)
2118, 20syl 17 . . . . . . 7 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑥𝐴 𝐵 ∈ V)
22 nfv 1914 . . . . . . . 8 𝑠 𝐵 ∈ V
23 nfcsb1v 3936 . . . . . . . . 9 𝑥𝑠 / 𝑥𝐵
2423nfel1 2922 . . . . . . . 8 𝑥𝑠 / 𝑥𝐵 ∈ V
25 csbeq1a 3925 . . . . . . . . 9 (𝑥 = 𝑠𝐵 = 𝑠 / 𝑥𝐵)
2625eleq1d 2826 . . . . . . . 8 (𝑥 = 𝑠 → (𝐵 ∈ V ↔ 𝑠 / 𝑥𝐵 ∈ V))
2722, 24, 26cbvralw 3306 . . . . . . 7 (∀𝑥𝐴 𝐵 ∈ V ↔ ∀𝑠𝐴 𝑠 / 𝑥𝐵 ∈ V)
2821, 27sylib 218 . . . . . 6 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑠𝐴 𝑠 / 𝑥𝐵 ∈ V)
29 ssralv 4067 . . . . . 6 (({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ⊆ 𝐴 → (∀𝑠𝐴 𝑠 / 𝑥𝐵 ∈ V → ∀𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V))
3017, 28, 29sylc 65 . . . . 5 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V)
31 iunexg 7996 . . . . 5 ((({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∈ V ∧ ∀𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V) → 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V)
3213, 30, 31syl2anc 584 . . . 4 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵 ∈ V)
3363ad2ant1 1134 . . . . . . . . 9 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝐹: 𝑥𝐴 𝐵𝐴)
34 simp2 1138 . . . . . . . . 9 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝑞 𝑥𝐴 𝐵)
3533, 34ffvelcdmd 7112 . . . . . . . 8 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → (𝐹𝑞) ∈ 𝐴)
36 breq1 5154 . . . . . . . . . 10 (𝑟 = (𝐹𝑞) → (𝑟𝑅(𝐹𝑝) ↔ (𝐹𝑞)𝑅(𝐹𝑝)))
3736elrab 3698 . . . . . . . . 9 ((𝐹𝑞) ∈ {𝑟𝐴𝑟𝑅(𝐹𝑝)} ↔ ((𝐹𝑞) ∈ 𝐴 ∧ (𝐹𝑞)𝑅(𝐹𝑝)))
38 elun1 4195 . . . . . . . . 9 ((𝐹𝑞) ∈ {𝑟𝐴𝑟𝑅(𝐹𝑝)} → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
3937, 38sylbir 235 . . . . . . . 8 (((𝐹𝑞) ∈ 𝐴 ∧ (𝐹𝑞)𝑅(𝐹𝑝)) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
4035, 39sylan 580 . . . . . . 7 (((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) ∧ (𝐹𝑞)𝑅(𝐹𝑝)) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
41 fvex 6927 . . . . . . . . . 10 (𝐹𝑞) ∈ V
4241elsn 4649 . . . . . . . . 9 ((𝐹𝑞) ∈ {(𝐹𝑝)} ↔ (𝐹𝑞) = (𝐹𝑝))
43 elun2 4196 . . . . . . . . 9 ((𝐹𝑞) ∈ {(𝐹𝑝)} → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
4442, 43sylbir 235 . . . . . . . 8 ((𝐹𝑞) = (𝐹𝑝) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
4544ad2antrl 728 . . . . . . 7 (((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) ∧ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝)) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
462, 3weiunlem1 36457 . . . . . . . . 9 (𝑞𝑇𝑝 ↔ ((𝑞 𝑥𝐴 𝐵𝑝 𝑥𝐴 𝐵) ∧ ((𝐹𝑞)𝑅(𝐹𝑝) ∨ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝))))
4746simprbi 496 . . . . . . . 8 (𝑞𝑇𝑝 → ((𝐹𝑞)𝑅(𝐹𝑝) ∨ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝)))
48473ad2ant3 1136 . . . . . . 7 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → ((𝐹𝑞)𝑅(𝐹𝑝) ∨ ((𝐹𝑞) = (𝐹𝑝) ∧ 𝑞(𝐹𝑞) / 𝑥𝑆𝑝)))
4940, 45, 48mpjaodan 961 . . . . . 6 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → (𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}))
50 id 22 . . . . . . . 8 (𝑡 = 𝑞𝑡 = 𝑞)
51 fveq2 6914 . . . . . . . . 9 (𝑡 = 𝑞 → (𝐹𝑡) = (𝐹𝑞))
5251csbeq1d 3915 . . . . . . . 8 (𝑡 = 𝑞(𝐹𝑡) / 𝑥𝐵 = (𝐹𝑞) / 𝑥𝐵)
5350, 52eleq12d 2835 . . . . . . 7 (𝑡 = 𝑞 → (𝑡(𝐹𝑡) / 𝑥𝐵𝑞(𝐹𝑞) / 𝑥𝐵))
545simp2d 1144 . . . . . . . 8 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → ∀𝑡 𝑥𝐴 𝐵𝑡(𝐹𝑡) / 𝑥𝐵)
55543ad2ant1 1134 . . . . . . 7 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → ∀𝑡 𝑥𝐴 𝐵𝑡(𝐹𝑡) / 𝑥𝐵)
5653, 55, 34rspcdva 3626 . . . . . 6 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝑞(𝐹𝑞) / 𝑥𝐵)
57 csbeq1 3914 . . . . . . 7 (𝑠 = (𝐹𝑞) → 𝑠 / 𝑥𝐵 = (𝐹𝑞) / 𝑥𝐵)
5857eliuni 5005 . . . . . 6 (((𝐹𝑞) ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)}) ∧ 𝑞(𝐹𝑞) / 𝑥𝐵) → 𝑞 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵)
5949, 56, 58syl2anc 584 . . . . 5 ((((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) ∧ 𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝) → 𝑞 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵)
6059rabssdv 4088 . . . 4 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ⊆ 𝑠 ∈ ({𝑟𝐴𝑟𝑅(𝐹𝑝)} ∪ {(𝐹𝑝)})𝑠 / 𝑥𝐵)
6132, 60ssexd 5333 . . 3 (((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) ∧ 𝑝 𝑥𝐴 𝐵) → {𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ∈ V)
6261ralrimiva 3146 . 2 ((𝑅 We 𝐴𝑅 Se 𝐴 ∧ ∀𝑥𝐴 𝐵𝑉) → ∀𝑝 𝑥𝐴 𝐵{𝑞 𝑥𝐴 𝐵𝑞𝑇𝑝} ∈ V)
63 df-se 5646 . 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 848  w3a 1087   = wceq 1539  wcel 2108  wral 3061  {crab 3436  Vcvv 3481  csb 3911  cun 3964  wss 3966  {csn 4634   ciun 4999   class class class wbr 5151  {copab 5213  cmpt 5234   Se wse 5643   We wwe 5644  wf 6565  cfv 6569  crio 7394
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 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2708  ax-rep 5288  ax-sep 5305  ax-nul 5315  ax-pr 5441  ax-un 7761
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2065  df-mo 2540  df-eu 2569  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2892  df-ne 2941  df-ral 3062  df-rex 3071  df-rmo 3380  df-reu 3381  df-rab 3437  df-v 3483  df-sbc 3795  df-csb 3912  df-dif 3969  df-un 3971  df-in 3973  df-ss 3983  df-nul 4343  df-if 4535  df-pw 4610  df-sn 4635  df-pr 4637  df-op 4641  df-uni 4916  df-iun 5001  df-br 5152  df-opab 5214  df-mpt 5235  df-id 5587  df-po 5601  df-so 5602  df-fr 5645  df-se 5646  df-we 5647  df-xp 5699  df-rel 5700  df-cnv 5701  df-co 5702  df-dm 5703  df-rn 5704  df-iota 6522  df-fun 6571  df-fn 6572  df-f 6573  df-fv 6577  df-riota 7395
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator