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

Theorem ordtbas2 22088
Description: Lemma for ordtbas 22089. (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 4086 . . . . . 6 𝐴 ⊆ (𝐴𝐵)
2 ssun2 4087 . . . . . . 7 (𝐴𝐵) ⊆ ({𝑋} ∪ (𝐴𝐵))
3 ordtval.1 . . . . . . . . . 10 𝑋 = dom 𝑅
4 ordtval.2 . . . . . . . . . 10 𝐴 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
5 ordtval.3 . . . . . . . . . 10 𝐵 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
63, 4, 5ordtuni 22087 . . . . . . . . 9 (𝑅 ∈ TosetRel → 𝑋 = ({𝑋} ∪ (𝐴𝐵)))
7 dmexg 7681 . . . . . . . . . 10 (𝑅 ∈ TosetRel → dom 𝑅 ∈ V)
83, 7eqeltrid 2842 . . . . . . . . 9 (𝑅 ∈ TosetRel → 𝑋 ∈ V)
96, 8eqeltrrd 2839 . . . . . . . 8 (𝑅 ∈ TosetRel → ({𝑋} ∪ (𝐴𝐵)) ∈ V)
10 uniexb 7549 . . . . . . . 8 (({𝑋} ∪ (𝐴𝐵)) ∈ V ↔ ({𝑋} ∪ (𝐴𝐵)) ∈ V)
119, 10sylibr 237 . . . . . . 7 (𝑅 ∈ TosetRel → ({𝑋} ∪ (𝐴𝐵)) ∈ V)
12 ssexg 5216 . . . . . . 7 (((𝐴𝐵) ⊆ ({𝑋} ∪ (𝐴𝐵)) ∧ ({𝑋} ∪ (𝐴𝐵)) ∈ V) → (𝐴𝐵) ∈ V)
132, 11, 12sylancr 590 . . . . . 6 (𝑅 ∈ TosetRel → (𝐴𝐵) ∈ V)
14 ssexg 5216 . . . . . 6 ((𝐴 ⊆ (𝐴𝐵) ∧ (𝐴𝐵) ∈ V) → 𝐴 ∈ V)
151, 13, 14sylancr 590 . . . . 5 (𝑅 ∈ TosetRel → 𝐴 ∈ V)
16 ssun2 4087 . . . . . 6 𝐵 ⊆ (𝐴𝐵)
17 ssexg 5216 . . . . . 6 ((𝐵 ⊆ (𝐴𝐵) ∧ (𝐴𝐵) ∈ V) → 𝐵 ∈ V)
1816, 13, 17sylancr 590 . . . . 5 (𝑅 ∈ TosetRel → 𝐵 ∈ V)
19 elfiun 9046 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝑧 ∈ (fi‘(𝐴𝐵)) ↔ (𝑧 ∈ (fi‘𝐴) ∨ 𝑧 ∈ (fi‘𝐵) ∨ ∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛))))
2015, 18, 19syl2anc 587 . . . 4 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘(𝐴𝐵)) ↔ (𝑧 ∈ (fi‘𝐴) ∨ 𝑧 ∈ (fi‘𝐵) ∨ ∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛))))
213, 4ordtbaslem 22085 . . . . . . . 8 (𝑅 ∈ TosetRel → (fi‘𝐴) = 𝐴)
2221, 1eqsstrdi 3955 . . . . . . 7 (𝑅 ∈ TosetRel → (fi‘𝐴) ⊆ (𝐴𝐵))
23 ssun1 4086 . . . . . . 7 (𝐴𝐵) ⊆ ((𝐴𝐵) ∪ 𝐶)
2422, 23sstrdi 3913 . . . . . 6 (𝑅 ∈ TosetRel → (fi‘𝐴) ⊆ ((𝐴𝐵) ∪ 𝐶))
2524sseld 3900 . . . . 5 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘𝐴) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
26 cnvtsr 18094 . . . . . . . . . 10 (𝑅 ∈ TosetRel → 𝑅 ∈ TosetRel )
27 df-rn 5562 . . . . . . . . . . 11 ran 𝑅 = dom 𝑅
28 eqid 2737 . . . . . . . . . . 11 ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})
2927, 28ordtbaslem 22085 . . . . . . . . . 10 (𝑅 ∈ TosetRel → (fi‘ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
3026, 29syl 17 . . . . . . . . 9 (𝑅 ∈ TosetRel → (fi‘ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
31 tsrps 18093 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → 𝑅 ∈ PosetRel)
323psrn 18081 . . . . . . . . . . . . . 14 (𝑅 ∈ PosetRel → 𝑋 = ran 𝑅)
3331, 32syl 17 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → 𝑋 = ran 𝑅)
34 vex 3412 . . . . . . . . . . . . . . . . . 18 𝑦 ∈ V
35 vex 3412 . . . . . . . . . . . . . . . . . 18 𝑥 ∈ V
3634, 35brcnv 5751 . . . . . . . . . . . . . . . . 17 (𝑦𝑅𝑥𝑥𝑅𝑦)
3736bicomi 227 . . . . . . . . . . . . . . . 16 (𝑥𝑅𝑦𝑦𝑅𝑥)
3837notbii 323 . . . . . . . . . . . . . . 15 𝑥𝑅𝑦 ↔ ¬ 𝑦𝑅𝑥)
3938a1i 11 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑦𝑅𝑥))
4033, 39rabeqbidv 3396 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} = {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})
4133, 40mpteq12dv 5140 . . . . . . . . . . . 12 (𝑅 ∈ TosetRel → (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
4241rneqd 5807 . . . . . . . . . . 11 (𝑅 ∈ TosetRel → ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
435, 42syl5eq 2790 . . . . . . . . . 10 (𝑅 ∈ TosetRel → 𝐵 = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
4443fveq2d 6721 . . . . . . . . 9 (𝑅 ∈ TosetRel → (fi‘𝐵) = (fi‘ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})))
4530, 44, 433eqtr4d 2787 . . . . . . . 8 (𝑅 ∈ TosetRel → (fi‘𝐵) = 𝐵)
4645, 16eqsstrdi 3955 . . . . . . 7 (𝑅 ∈ TosetRel → (fi‘𝐵) ⊆ (𝐴𝐵))
4746, 23sstrdi 3913 . . . . . 6 (𝑅 ∈ TosetRel → (fi‘𝐵) ⊆ ((𝐴𝐵) ∪ 𝐶))
4847sseld 3900 . . . . 5 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘𝐵) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
49 ssun2 4087 . . . . . . . 8 𝐶 ⊆ ((𝐴𝐵) ∪ 𝐶)
5021, 4eqtrdi 2794 . . . . . . . . . . . . . . 15 (𝑅 ∈ TosetRel → (fi‘𝐴) = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
5150eleq2d 2823 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → (𝑚 ∈ (fi‘𝐴) ↔ 𝑚 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})))
52 breq2 5057 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑎 → (𝑦𝑅𝑥𝑦𝑅𝑎))
5352notbid 321 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑎 → (¬ 𝑦𝑅𝑥 ↔ ¬ 𝑦𝑅𝑎))
5453rabbidv 3390 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑎 → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
5554cbvmptv 5158 . . . . . . . . . . . . . . . 16 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) = (𝑎𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
5655elrnmpt 5825 . . . . . . . . . . . . . . 15 (𝑚 ∈ V → (𝑚 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}))
5756elv 3414 . . . . . . . . . . . . . 14 (𝑚 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
5851, 57bitrdi 290 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → (𝑚 ∈ (fi‘𝐴) ↔ ∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}))
5945, 5eqtrdi 2794 . . . . . . . . . . . . . . 15 (𝑅 ∈ TosetRel → (fi‘𝐵) = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
6059eleq2d 2823 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → (𝑛 ∈ (fi‘𝐵) ↔ 𝑛 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})))
61 breq1 5056 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑏 → (𝑥𝑅𝑦𝑏𝑅𝑦))
6261notbid 321 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑏 → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑏𝑅𝑦))
6362rabbidv 3390 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑏 → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
6463cbvmptv 5158 . . . . . . . . . . . . . . . 16 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = (𝑏𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
6564elrnmpt 5825 . . . . . . . . . . . . . . 15 (𝑛 ∈ V → (𝑛 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
6665elv 3414 . . . . . . . . . . . . . 14 (𝑛 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
6760, 66bitrdi 290 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → (𝑛 ∈ (fi‘𝐵) ↔ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
6858, 67anbi12d 634 . . . . . . . . . . . 12 (𝑅 ∈ TosetRel → ((𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵)) ↔ (∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})))
69 reeanv 3279 . . . . . . . . . . . . 13 (∃𝑎𝑋𝑏𝑋 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) ↔ (∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
70 ineq12 4122 . . . . . . . . . . . . . . . 16 ((𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → (𝑚𝑛) = ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
71 inrab 4221 . . . . . . . . . . . . . . . 16 ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}
7270, 71eqtrdi 2794 . . . . . . . . . . . . . . 15 ((𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7372reximi 3166 . . . . . . . . . . . . . 14 (∃𝑏𝑋 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7473reximi 3166 . . . . . . . . . . . . 13 (∃𝑎𝑋𝑏𝑋 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7569, 74sylbir 238 . . . . . . . . . . . 12 ((∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7668, 75syl6bi 256 . . . . . . . . . . 11 (𝑅 ∈ TosetRel → ((𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵)) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}))
7776imp 410 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
78 vex 3412 . . . . . . . . . . . 12 𝑚 ∈ V
7978inex1 5210 . . . . . . . . . . 11 (𝑚𝑛) ∈ V
80 eqid 2737 . . . . . . . . . . . 12 (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) = (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8180elrnmpog 7345 . . . . . . . . . . 11 ((𝑚𝑛) ∈ V → ((𝑚𝑛) ∈ ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ↔ ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}))
8279, 81ax-mp 5 . . . . . . . . . 10 ((𝑚𝑛) ∈ ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ↔ ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8377, 82sylibr 237 . . . . . . . . 9 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑚𝑛) ∈ ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}))
84 ordtval.4 . . . . . . . . 9 𝐶 = ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8583, 84eleqtrrdi 2849 . . . . . . . 8 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑚𝑛) ∈ 𝐶)
8649, 85sseldi 3899 . . . . . . 7 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑚𝑛) ∈ ((𝐴𝐵) ∪ 𝐶))
87 eleq1 2825 . . . . . . 7 (𝑧 = (𝑚𝑛) → (𝑧 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ (𝑚𝑛) ∈ ((𝐴𝐵) ∪ 𝐶)))
8886, 87syl5ibrcom 250 . . . . . 6 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑧 = (𝑚𝑛) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
8988rexlimdvva 3213 . . . . 5 (𝑅 ∈ TosetRel → (∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9025, 48, 893jaod 1430 . . . 4 (𝑅 ∈ TosetRel → ((𝑧 ∈ (fi‘𝐴) ∨ 𝑧 ∈ (fi‘𝐵) ∨ ∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛)) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9120, 90sylbid 243 . . 3 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘(𝐴𝐵)) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9291ssrdv 3907 . 2 (𝑅 ∈ TosetRel → (fi‘(𝐴𝐵)) ⊆ ((𝐴𝐵) ∪ 𝐶))
93 ssfii 9035 . . . 4 ((𝐴𝐵) ∈ V → (𝐴𝐵) ⊆ (fi‘(𝐴𝐵)))
9413, 93syl 17 . . 3 (𝑅 ∈ TosetRel → (𝐴𝐵) ⊆ (fi‘(𝐴𝐵)))
9594adantr 484 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → (𝐴𝐵) ⊆ (fi‘(𝐴𝐵)))
96 simprl 771 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → 𝑎𝑋)
97 eqidd 2738 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
9854rspceeqv 3552 . . . . . . . . . . . . . 14 ((𝑎𝑋 ∧ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
9996, 97, 98syl2anc 587 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
1008adantr 484 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → 𝑋 ∈ V)
101 rabexg 5224 . . . . . . . . . . . . . 14 (𝑋 ∈ V → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ V)
102 eqid 2737 . . . . . . . . . . . . . . 15 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) = (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
103102elrnmpt 5825 . . . . . . . . . . . . . 14 ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ V → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
104100, 101, 1033syl 18 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
10599, 104mpbird 260 . . . . . . . . . . . 12 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
106105, 4eleqtrrdi 2849 . . . . . . . . . . 11 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ 𝐴)
1071, 106sseldi 3899 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ (𝐴𝐵))
10895, 107sseldd 3902 . . . . . . . . 9 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ (fi‘(𝐴𝐵)))
109 simprr 773 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → 𝑏𝑋)
110 eqidd 2738 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
11163rspceeqv 3552 . . . . . . . . . . . . . 14 ((𝑏𝑋 ∧ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
112109, 110, 111syl2anc 587 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
113 rabexg 5224 . . . . . . . . . . . . . 14 (𝑋 ∈ V → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ V)
114 eqid 2737 . . . . . . . . . . . . . . 15 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
115114elrnmpt 5825 . . . . . . . . . . . . . 14 ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ V → ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
116100, 113, 1153syl 18 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
117112, 116mpbird 260 . . . . . . . . . . . 12 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
118117, 5eleqtrrdi 2849 . . . . . . . . . . 11 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ 𝐵)
11916, 118sseldi 3899 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ (𝐴𝐵))
12095, 119sseldd 3902 . . . . . . . . 9 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ (fi‘(𝐴𝐵)))
121 fiin 9038 . . . . . . . . 9 (({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ (fi‘(𝐴𝐵)) ∧ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ (fi‘(𝐴𝐵))) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) ∈ (fi‘(𝐴𝐵)))
122108, 120, 121syl2anc 587 . . . . . . . 8 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) ∈ (fi‘(𝐴𝐵)))
12371, 122eqeltrrid 2843 . . . . . . 7 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)} ∈ (fi‘(𝐴𝐵)))
124123ralrimivva 3112 . . . . . 6 (𝑅 ∈ TosetRel → ∀𝑎𝑋𝑏𝑋 {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)} ∈ (fi‘(𝐴𝐵)))
12580fmpo 7838 . . . . . 6 (∀𝑎𝑋𝑏𝑋 {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)} ∈ (fi‘(𝐴𝐵)) ↔ (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}):(𝑋 × 𝑋)⟶(fi‘(𝐴𝐵)))
126124, 125sylib 221 . . . . 5 (𝑅 ∈ TosetRel → (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}):(𝑋 × 𝑋)⟶(fi‘(𝐴𝐵)))
127126frnd 6553 . . . 4 (𝑅 ∈ TosetRel → ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ⊆ (fi‘(𝐴𝐵)))
12884, 127eqsstrid 3949 . . 3 (𝑅 ∈ TosetRel → 𝐶 ⊆ (fi‘(𝐴𝐵)))
12994, 128unssd 4100 . 2 (𝑅 ∈ TosetRel → ((𝐴𝐵) ∪ 𝐶) ⊆ (fi‘(𝐴𝐵)))
13092, 129eqssd 3918 1 (𝑅 ∈ TosetRel → (fi‘(𝐴𝐵)) = ((𝐴𝐵) ∪ 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  w3o 1088   = wceq 1543  wcel 2110  wral 3061  wrex 3062  {crab 3065  Vcvv 3408  cun 3864  cin 3865  wss 3866  {csn 4541   cuni 4819   class class class wbr 5053  cmpt 5135   × cxp 5549  ccnv 5550  dom cdm 5551  ran crn 5552  wf 6376  cfv 6380  cmpo 7215  ficfi 9026  PosetRelcps 18070   TosetRel ctsr 18071
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-uni 4820  df-int 4860  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-oprab 7217  df-mpo 7218  df-om 7645  df-1st 7761  df-2nd 7762  df-1o 8202  df-er 8391  df-en 8627  df-fin 8630  df-fi 9027  df-ps 18072  df-tsr 18073
This theorem is referenced by:  ordtbas  22089  leordtval  22110
  Copyright terms: Public domain W3C validator