MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ordtbas2 Structured version   Visualization version   GIF version

Theorem ordtbas2 22351
Description: Lemma for ordtbas 22352. (Contributed by Mario Carneiro, 3-Sep-2015.)
Hypotheses
Ref Expression
ordtval.1 𝑋 = dom 𝑅
ordtval.2 𝐴 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
ordtval.3 𝐵 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
ordtval.4 𝐶 = ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
Assertion
Ref Expression
ordtbas2 (𝑅 ∈ TosetRel → (fi‘(𝐴𝐵)) = ((𝐴𝐵) ∪ 𝐶))
Distinct variable groups:   𝑎,𝑏,𝐴   𝑥,𝑎,𝑦,𝑅,𝑏   𝑋,𝑎,𝑏,𝑥,𝑦   𝐵,𝑎,𝑏
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦,𝑎,𝑏)

Proof of Theorem ordtbas2
Dummy variables 𝑚 𝑛 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssun1 4107 . . . . . 6 𝐴 ⊆ (𝐴𝐵)
2 ssun2 4108 . . . . . . 7 (𝐴𝐵) ⊆ ({𝑋} ∪ (𝐴𝐵))
3 ordtval.1 . . . . . . . . . 10 𝑋 = dom 𝑅
4 ordtval.2 . . . . . . . . . 10 𝐴 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
5 ordtval.3 . . . . . . . . . 10 𝐵 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
63, 4, 5ordtuni 22350 . . . . . . . . 9 (𝑅 ∈ TosetRel → 𝑋 = ({𝑋} ∪ (𝐴𝐵)))
7 dmexg 7759 . . . . . . . . . 10 (𝑅 ∈ TosetRel → dom 𝑅 ∈ V)
83, 7eqeltrid 2844 . . . . . . . . 9 (𝑅 ∈ TosetRel → 𝑋 ∈ V)
96, 8eqeltrrd 2841 . . . . . . . 8 (𝑅 ∈ TosetRel → ({𝑋} ∪ (𝐴𝐵)) ∈ V)
10 uniexb 7623 . . . . . . . 8 (({𝑋} ∪ (𝐴𝐵)) ∈ V ↔ ({𝑋} ∪ (𝐴𝐵)) ∈ V)
119, 10sylibr 233 . . . . . . 7 (𝑅 ∈ TosetRel → ({𝑋} ∪ (𝐴𝐵)) ∈ V)
12 ssexg 5248 . . . . . . 7 (((𝐴𝐵) ⊆ ({𝑋} ∪ (𝐴𝐵)) ∧ ({𝑋} ∪ (𝐴𝐵)) ∈ V) → (𝐴𝐵) ∈ V)
132, 11, 12sylancr 587 . . . . . 6 (𝑅 ∈ TosetRel → (𝐴𝐵) ∈ V)
14 ssexg 5248 . . . . . 6 ((𝐴 ⊆ (𝐴𝐵) ∧ (𝐴𝐵) ∈ V) → 𝐴 ∈ V)
151, 13, 14sylancr 587 . . . . 5 (𝑅 ∈ TosetRel → 𝐴 ∈ V)
16 ssun2 4108 . . . . . 6 𝐵 ⊆ (𝐴𝐵)
17 ssexg 5248 . . . . . 6 ((𝐵 ⊆ (𝐴𝐵) ∧ (𝐴𝐵) ∈ V) → 𝐵 ∈ V)
1816, 13, 17sylancr 587 . . . . 5 (𝑅 ∈ TosetRel → 𝐵 ∈ V)
19 elfiun 9198 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝑧 ∈ (fi‘(𝐴𝐵)) ↔ (𝑧 ∈ (fi‘𝐴) ∨ 𝑧 ∈ (fi‘𝐵) ∨ ∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛))))
2015, 18, 19syl2anc 584 . . . 4 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘(𝐴𝐵)) ↔ (𝑧 ∈ (fi‘𝐴) ∨ 𝑧 ∈ (fi‘𝐵) ∨ ∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛))))
213, 4ordtbaslem 22348 . . . . . . . 8 (𝑅 ∈ TosetRel → (fi‘𝐴) = 𝐴)
2221, 1eqsstrdi 3976 . . . . . . 7 (𝑅 ∈ TosetRel → (fi‘𝐴) ⊆ (𝐴𝐵))
23 ssun1 4107 . . . . . . 7 (𝐴𝐵) ⊆ ((𝐴𝐵) ∪ 𝐶)
2422, 23sstrdi 3934 . . . . . 6 (𝑅 ∈ TosetRel → (fi‘𝐴) ⊆ ((𝐴𝐵) ∪ 𝐶))
2524sseld 3921 . . . . 5 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘𝐴) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
26 cnvtsr 18315 . . . . . . . . . 10 (𝑅 ∈ TosetRel → 𝑅 ∈ TosetRel )
27 df-rn 5601 . . . . . . . . . . 11 ran 𝑅 = dom 𝑅
28 eqid 2739 . . . . . . . . . . 11 ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})
2927, 28ordtbaslem 22348 . . . . . . . . . 10 (𝑅 ∈ TosetRel → (fi‘ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
3026, 29syl 17 . . . . . . . . 9 (𝑅 ∈ TosetRel → (fi‘ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
31 tsrps 18314 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → 𝑅 ∈ PosetRel)
323psrn 18302 . . . . . . . . . . . . . 14 (𝑅 ∈ PosetRel → 𝑋 = ran 𝑅)
3331, 32syl 17 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → 𝑋 = ran 𝑅)
34 vex 3437 . . . . . . . . . . . . . . . . . 18 𝑦 ∈ V
35 vex 3437 . . . . . . . . . . . . . . . . . 18 𝑥 ∈ V
3634, 35brcnv 5794 . . . . . . . . . . . . . . . . 17 (𝑦𝑅𝑥𝑥𝑅𝑦)
3736bicomi 223 . . . . . . . . . . . . . . . 16 (𝑥𝑅𝑦𝑦𝑅𝑥)
3837notbii 320 . . . . . . . . . . . . . . 15 𝑥𝑅𝑦 ↔ ¬ 𝑦𝑅𝑥)
3938a1i 11 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑦𝑅𝑥))
4033, 39rabeqbidv 3421 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} = {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})
4133, 40mpteq12dv 5166 . . . . . . . . . . . 12 (𝑅 ∈ TosetRel → (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
4241rneqd 5850 . . . . . . . . . . 11 (𝑅 ∈ TosetRel → ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
435, 42eqtrid 2791 . . . . . . . . . 10 (𝑅 ∈ TosetRel → 𝐵 = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
4443fveq2d 6787 . . . . . . . . 9 (𝑅 ∈ TosetRel → (fi‘𝐵) = (fi‘ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})))
4530, 44, 433eqtr4d 2789 . . . . . . . 8 (𝑅 ∈ TosetRel → (fi‘𝐵) = 𝐵)
4645, 16eqsstrdi 3976 . . . . . . 7 (𝑅 ∈ TosetRel → (fi‘𝐵) ⊆ (𝐴𝐵))
4746, 23sstrdi 3934 . . . . . 6 (𝑅 ∈ TosetRel → (fi‘𝐵) ⊆ ((𝐴𝐵) ∪ 𝐶))
4847sseld 3921 . . . . 5 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘𝐵) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
49 ssun2 4108 . . . . . . . 8 𝐶 ⊆ ((𝐴𝐵) ∪ 𝐶)
5021, 4eqtrdi 2795 . . . . . . . . . . . . . . 15 (𝑅 ∈ TosetRel → (fi‘𝐴) = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
5150eleq2d 2825 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → (𝑚 ∈ (fi‘𝐴) ↔ 𝑚 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})))
52 breq2 5079 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑎 → (𝑦𝑅𝑥𝑦𝑅𝑎))
5352notbid 318 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑎 → (¬ 𝑦𝑅𝑥 ↔ ¬ 𝑦𝑅𝑎))
5453rabbidv 3415 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑎 → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
5554cbvmptv 5188 . . . . . . . . . . . . . . . 16 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) = (𝑎𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
5655elrnmpt 5868 . . . . . . . . . . . . . . 15 (𝑚 ∈ V → (𝑚 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}))
5756elv 3439 . . . . . . . . . . . . . 14 (𝑚 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
5851, 57bitrdi 287 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → (𝑚 ∈ (fi‘𝐴) ↔ ∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}))
5945, 5eqtrdi 2795 . . . . . . . . . . . . . . 15 (𝑅 ∈ TosetRel → (fi‘𝐵) = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
6059eleq2d 2825 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → (𝑛 ∈ (fi‘𝐵) ↔ 𝑛 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})))
61 breq1 5078 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑏 → (𝑥𝑅𝑦𝑏𝑅𝑦))
6261notbid 318 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑏 → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑏𝑅𝑦))
6362rabbidv 3415 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑏 → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
6463cbvmptv 5188 . . . . . . . . . . . . . . . 16 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = (𝑏𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
6564elrnmpt 5868 . . . . . . . . . . . . . . 15 (𝑛 ∈ V → (𝑛 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
6665elv 3439 . . . . . . . . . . . . . 14 (𝑛 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
6760, 66bitrdi 287 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → (𝑛 ∈ (fi‘𝐵) ↔ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
6858, 67anbi12d 631 . . . . . . . . . . . 12 (𝑅 ∈ TosetRel → ((𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵)) ↔ (∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})))
69 reeanv 3295 . . . . . . . . . . . . 13 (∃𝑎𝑋𝑏𝑋 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) ↔ (∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
70 ineq12 4142 . . . . . . . . . . . . . . . 16 ((𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → (𝑚𝑛) = ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
71 inrab 4241 . . . . . . . . . . . . . . . 16 ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}
7270, 71eqtrdi 2795 . . . . . . . . . . . . . . 15 ((𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7372reximi 3179 . . . . . . . . . . . . . 14 (∃𝑏𝑋 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7473reximi 3179 . . . . . . . . . . . . 13 (∃𝑎𝑋𝑏𝑋 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7569, 74sylbir 234 . . . . . . . . . . . 12 ((∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7668, 75syl6bi 252 . . . . . . . . . . 11 (𝑅 ∈ TosetRel → ((𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵)) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}))
7776imp 407 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
78 vex 3437 . . . . . . . . . . . 12 𝑚 ∈ V
7978inex1 5242 . . . . . . . . . . 11 (𝑚𝑛) ∈ V
80 eqid 2739 . . . . . . . . . . . 12 (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) = (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8180elrnmpog 7418 . . . . . . . . . . 11 ((𝑚𝑛) ∈ V → ((𝑚𝑛) ∈ ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ↔ ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}))
8279, 81ax-mp 5 . . . . . . . . . 10 ((𝑚𝑛) ∈ ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ↔ ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8377, 82sylibr 233 . . . . . . . . 9 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑚𝑛) ∈ ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}))
84 ordtval.4 . . . . . . . . 9 𝐶 = ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8583, 84eleqtrrdi 2851 . . . . . . . 8 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑚𝑛) ∈ 𝐶)
8649, 85sselid 3920 . . . . . . 7 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑚𝑛) ∈ ((𝐴𝐵) ∪ 𝐶))
87 eleq1 2827 . . . . . . 7 (𝑧 = (𝑚𝑛) → (𝑧 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ (𝑚𝑛) ∈ ((𝐴𝐵) ∪ 𝐶)))
8886, 87syl5ibrcom 246 . . . . . 6 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑧 = (𝑚𝑛) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
8988rexlimdvva 3224 . . . . 5 (𝑅 ∈ TosetRel → (∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9025, 48, 893jaod 1427 . . . 4 (𝑅 ∈ TosetRel → ((𝑧 ∈ (fi‘𝐴) ∨ 𝑧 ∈ (fi‘𝐵) ∨ ∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛)) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9120, 90sylbid 239 . . 3 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘(𝐴𝐵)) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9291ssrdv 3928 . 2 (𝑅 ∈ TosetRel → (fi‘(𝐴𝐵)) ⊆ ((𝐴𝐵) ∪ 𝐶))
93 ssfii 9187 . . . 4 ((𝐴𝐵) ∈ V → (𝐴𝐵) ⊆ (fi‘(𝐴𝐵)))
9413, 93syl 17 . . 3 (𝑅 ∈ TosetRel → (𝐴𝐵) ⊆ (fi‘(𝐴𝐵)))
9594adantr 481 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → (𝐴𝐵) ⊆ (fi‘(𝐴𝐵)))
96 simprl 768 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → 𝑎𝑋)
97 eqidd 2740 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
9854rspceeqv 3576 . . . . . . . . . . . . . 14 ((𝑎𝑋 ∧ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
9996, 97, 98syl2anc 584 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
1008adantr 481 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → 𝑋 ∈ V)
101 rabexg 5256 . . . . . . . . . . . . . 14 (𝑋 ∈ V → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ V)
102 eqid 2739 . . . . . . . . . . . . . . 15 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) = (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
103102elrnmpt 5868 . . . . . . . . . . . . . 14 ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ V → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
104100, 101, 1033syl 18 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
10599, 104mpbird 256 . . . . . . . . . . . 12 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
106105, 4eleqtrrdi 2851 . . . . . . . . . . 11 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ 𝐴)
1071, 106sselid 3920 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ (𝐴𝐵))
10895, 107sseldd 3923 . . . . . . . . 9 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ (fi‘(𝐴𝐵)))
109 simprr 770 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → 𝑏𝑋)
110 eqidd 2740 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
11163rspceeqv 3576 . . . . . . . . . . . . . 14 ((𝑏𝑋 ∧ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
112109, 110, 111syl2anc 584 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
113 rabexg 5256 . . . . . . . . . . . . . 14 (𝑋 ∈ V → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ V)
114 eqid 2739 . . . . . . . . . . . . . . 15 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
115114elrnmpt 5868 . . . . . . . . . . . . . 14 ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ V → ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
116100, 113, 1153syl 18 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
117112, 116mpbird 256 . . . . . . . . . . . 12 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
118117, 5eleqtrrdi 2851 . . . . . . . . . . 11 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ 𝐵)
11916, 118sselid 3920 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ (𝐴𝐵))
12095, 119sseldd 3923 . . . . . . . . 9 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ (fi‘(𝐴𝐵)))
121 fiin 9190 . . . . . . . . 9 (({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ (fi‘(𝐴𝐵)) ∧ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ (fi‘(𝐴𝐵))) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) ∈ (fi‘(𝐴𝐵)))
122108, 120, 121syl2anc 584 . . . . . . . 8 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) ∈ (fi‘(𝐴𝐵)))
12371, 122eqeltrrid 2845 . . . . . . 7 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)} ∈ (fi‘(𝐴𝐵)))
124123ralrimivva 3124 . . . . . 6 (𝑅 ∈ TosetRel → ∀𝑎𝑋𝑏𝑋 {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)} ∈ (fi‘(𝐴𝐵)))
12580fmpo 7917 . . . . . 6 (∀𝑎𝑋𝑏𝑋 {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)} ∈ (fi‘(𝐴𝐵)) ↔ (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}):(𝑋 × 𝑋)⟶(fi‘(𝐴𝐵)))
126124, 125sylib 217 . . . . 5 (𝑅 ∈ TosetRel → (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}):(𝑋 × 𝑋)⟶(fi‘(𝐴𝐵)))
127126frnd 6617 . . . 4 (𝑅 ∈ TosetRel → ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ⊆ (fi‘(𝐴𝐵)))
12884, 127eqsstrid 3970 . . 3 (𝑅 ∈ TosetRel → 𝐶 ⊆ (fi‘(𝐴𝐵)))
12994, 128unssd 4121 . 2 (𝑅 ∈ TosetRel → ((𝐴𝐵) ∪ 𝐶) ⊆ (fi‘(𝐴𝐵)))
13092, 129eqssd 3939 1 (𝑅 ∈ TosetRel → (fi‘(𝐴𝐵)) = ((𝐴𝐵) ∪ 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3o 1085   = wceq 1539  wcel 2107  wral 3065  wrex 3066  {crab 3069  Vcvv 3433  cun 3886  cin 3887  wss 3888  {csn 4562   cuni 4840   class class class wbr 5075  cmpt 5158   × cxp 5588  ccnv 5589  dom cdm 5590  ran crn 5591  wf 6433  cfv 6437  cmpo 7286  ficfi 9178  PosetRelcps 18291   TosetRel ctsr 18292
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2710  ax-sep 5224  ax-nul 5231  ax-pow 5289  ax-pr 5353  ax-un 7597
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-reu 3073  df-rab 3074  df-v 3435  df-sbc 3718  df-csb 3834  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-int 4881  df-iun 4927  df-br 5076  df-opab 5138  df-mpt 5159  df-tr 5193  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-ord 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6395  df-fun 6439  df-fn 6440  df-f 6441  df-f1 6442  df-fo 6443  df-f1o 6444  df-fv 6445  df-oprab 7288  df-mpo 7289  df-om 7722  df-1st 7840  df-2nd 7841  df-1o 8306  df-er 8507  df-en 8743  df-fin 8746  df-fi 9179  df-ps 18293  df-tsr 18294
This theorem is referenced by:  ordtbas  22352  leordtval  22373
  Copyright terms: Public domain W3C validator