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

Theorem ordtbas2 20976
Description: Lemma for ordtbas 20977. (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 3768 . . . . . 6 𝐴 ⊆ (𝐴𝐵)
2 ssun2 3769 . . . . . . 7 (𝐴𝐵) ⊆ ({𝑋} ∪ (𝐴𝐵))
3 ordtval.1 . . . . . . . . . 10 𝑋 = dom 𝑅
4 ordtval.2 . . . . . . . . . 10 𝐴 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
5 ordtval.3 . . . . . . . . . 10 𝐵 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
63, 4, 5ordtuni 20975 . . . . . . . . 9 (𝑅 ∈ TosetRel → 𝑋 = ({𝑋} ∪ (𝐴𝐵)))
7 dmexg 7082 . . . . . . . . . 10 (𝑅 ∈ TosetRel → dom 𝑅 ∈ V)
83, 7syl5eqel 2703 . . . . . . . . 9 (𝑅 ∈ TosetRel → 𝑋 ∈ V)
96, 8eqeltrrd 2700 . . . . . . . 8 (𝑅 ∈ TosetRel → ({𝑋} ∪ (𝐴𝐵)) ∈ V)
10 uniexb 6958 . . . . . . . 8 (({𝑋} ∪ (𝐴𝐵)) ∈ V ↔ ({𝑋} ∪ (𝐴𝐵)) ∈ V)
119, 10sylibr 224 . . . . . . 7 (𝑅 ∈ TosetRel → ({𝑋} ∪ (𝐴𝐵)) ∈ V)
12 ssexg 4795 . . . . . . 7 (((𝐴𝐵) ⊆ ({𝑋} ∪ (𝐴𝐵)) ∧ ({𝑋} ∪ (𝐴𝐵)) ∈ V) → (𝐴𝐵) ∈ V)
132, 11, 12sylancr 694 . . . . . 6 (𝑅 ∈ TosetRel → (𝐴𝐵) ∈ V)
14 ssexg 4795 . . . . . 6 ((𝐴 ⊆ (𝐴𝐵) ∧ (𝐴𝐵) ∈ V) → 𝐴 ∈ V)
151, 13, 14sylancr 694 . . . . 5 (𝑅 ∈ TosetRel → 𝐴 ∈ V)
16 ssun2 3769 . . . . . 6 𝐵 ⊆ (𝐴𝐵)
17 ssexg 4795 . . . . . 6 ((𝐵 ⊆ (𝐴𝐵) ∧ (𝐴𝐵) ∈ V) → 𝐵 ∈ V)
1816, 13, 17sylancr 694 . . . . 5 (𝑅 ∈ TosetRel → 𝐵 ∈ V)
19 elfiun 8321 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝑧 ∈ (fi‘(𝐴𝐵)) ↔ (𝑧 ∈ (fi‘𝐴) ∨ 𝑧 ∈ (fi‘𝐵) ∨ ∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛))))
2015, 18, 19syl2anc 692 . . . 4 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘(𝐴𝐵)) ↔ (𝑧 ∈ (fi‘𝐴) ∨ 𝑧 ∈ (fi‘𝐵) ∨ ∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛))))
213, 4ordtbaslem 20973 . . . . . . . 8 (𝑅 ∈ TosetRel → (fi‘𝐴) = 𝐴)
2221, 1syl6eqss 3647 . . . . . . 7 (𝑅 ∈ TosetRel → (fi‘𝐴) ⊆ (𝐴𝐵))
23 ssun1 3768 . . . . . . 7 (𝐴𝐵) ⊆ ((𝐴𝐵) ∪ 𝐶)
2422, 23syl6ss 3607 . . . . . 6 (𝑅 ∈ TosetRel → (fi‘𝐴) ⊆ ((𝐴𝐵) ∪ 𝐶))
2524sseld 3594 . . . . 5 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘𝐴) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
26 cnvtsr 17203 . . . . . . . . . 10 (𝑅 ∈ TosetRel → 𝑅 ∈ TosetRel )
27 df-rn 5115 . . . . . . . . . . 11 ran 𝑅 = dom 𝑅
28 eqid 2620 . . . . . . . . . . 11 ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})
2927, 28ordtbaslem 20973 . . . . . . . . . 10 (𝑅 ∈ TosetRel → (fi‘ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
3026, 29syl 17 . . . . . . . . 9 (𝑅 ∈ TosetRel → (fi‘ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
31 tsrps 17202 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → 𝑅 ∈ PosetRel)
323psrn 17190 . . . . . . . . . . . . . 14 (𝑅 ∈ PosetRel → 𝑋 = ran 𝑅)
3331, 32syl 17 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → 𝑋 = ran 𝑅)
34 vex 3198 . . . . . . . . . . . . . . . . . 18 𝑦 ∈ V
35 vex 3198 . . . . . . . . . . . . . . . . . 18 𝑥 ∈ V
3634, 35brcnv 5294 . . . . . . . . . . . . . . . . 17 (𝑦𝑅𝑥𝑥𝑅𝑦)
3736bicomi 214 . . . . . . . . . . . . . . . 16 (𝑥𝑅𝑦𝑦𝑅𝑥)
3837notbii 310 . . . . . . . . . . . . . . 15 𝑥𝑅𝑦 ↔ ¬ 𝑦𝑅𝑥)
3938a1i 11 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑦𝑅𝑥))
4033, 39rabeqbidv 3190 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} = {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})
4133, 40mpteq12dv 4724 . . . . . . . . . . . 12 (𝑅 ∈ TosetRel → (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
4241rneqd 5342 . . . . . . . . . . 11 (𝑅 ∈ TosetRel → ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
435, 42syl5eq 2666 . . . . . . . . . 10 (𝑅 ∈ TosetRel → 𝐵 = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
4443fveq2d 6182 . . . . . . . . 9 (𝑅 ∈ TosetRel → (fi‘𝐵) = (fi‘ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})))
4530, 44, 433eqtr4d 2664 . . . . . . . 8 (𝑅 ∈ TosetRel → (fi‘𝐵) = 𝐵)
4645, 16syl6eqss 3647 . . . . . . 7 (𝑅 ∈ TosetRel → (fi‘𝐵) ⊆ (𝐴𝐵))
4746, 23syl6ss 3607 . . . . . 6 (𝑅 ∈ TosetRel → (fi‘𝐵) ⊆ ((𝐴𝐵) ∪ 𝐶))
4847sseld 3594 . . . . 5 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘𝐵) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
49 ssun2 3769 . . . . . . . 8 𝐶 ⊆ ((𝐴𝐵) ∪ 𝐶)
5021, 4syl6eq 2670 . . . . . . . . . . . . . . 15 (𝑅 ∈ TosetRel → (fi‘𝐴) = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
5150eleq2d 2685 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → (𝑚 ∈ (fi‘𝐴) ↔ 𝑚 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})))
52 vex 3198 . . . . . . . . . . . . . . 15 𝑚 ∈ V
53 breq2 4648 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑎 → (𝑦𝑅𝑥𝑦𝑅𝑎))
5453notbid 308 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑎 → (¬ 𝑦𝑅𝑥 ↔ ¬ 𝑦𝑅𝑎))
5554rabbidv 3184 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑎 → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
5655cbvmptv 4741 . . . . . . . . . . . . . . . 16 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) = (𝑎𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
5756elrnmpt 5361 . . . . . . . . . . . . . . 15 (𝑚 ∈ V → (𝑚 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}))
5852, 57ax-mp 5 . . . . . . . . . . . . . 14 (𝑚 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
5951, 58syl6bb 276 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → (𝑚 ∈ (fi‘𝐴) ↔ ∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}))
6045, 5syl6eq 2670 . . . . . . . . . . . . . . 15 (𝑅 ∈ TosetRel → (fi‘𝐵) = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
6160eleq2d 2685 . . . . . . . . . . . . . 14 (𝑅 ∈ TosetRel → (𝑛 ∈ (fi‘𝐵) ↔ 𝑛 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})))
62 vex 3198 . . . . . . . . . . . . . . 15 𝑛 ∈ V
63 breq1 4647 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑏 → (𝑥𝑅𝑦𝑏𝑅𝑦))
6463notbid 308 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑏 → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑏𝑅𝑦))
6564rabbidv 3184 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑏 → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
6665cbvmptv 4741 . . . . . . . . . . . . . . . 16 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = (𝑏𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
6766elrnmpt 5361 . . . . . . . . . . . . . . 15 (𝑛 ∈ V → (𝑛 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
6862, 67ax-mp 5 . . . . . . . . . . . . . 14 (𝑛 ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
6961, 68syl6bb 276 . . . . . . . . . . . . 13 (𝑅 ∈ TosetRel → (𝑛 ∈ (fi‘𝐵) ↔ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
7059, 69anbi12d 746 . . . . . . . . . . . 12 (𝑅 ∈ TosetRel → ((𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵)) ↔ (∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})))
71 reeanv 3102 . . . . . . . . . . . . 13 (∃𝑎𝑋𝑏𝑋 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) ↔ (∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
72 ineq12 3801 . . . . . . . . . . . . . . . 16 ((𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → (𝑚𝑛) = ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
73 inrab 3891 . . . . . . . . . . . . . . . 16 ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}
7472, 73syl6eq 2670 . . . . . . . . . . . . . . 15 ((𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7574reximi 3008 . . . . . . . . . . . . . 14 (∃𝑏𝑋 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7675reximi 3008 . . . . . . . . . . . . 13 (∃𝑎𝑋𝑏𝑋 (𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7771, 76sylbir 225 . . . . . . . . . . . 12 ((∃𝑎𝑋 𝑚 = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∧ ∃𝑏𝑋 𝑛 = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
7870, 77syl6bi 243 . . . . . . . . . . 11 (𝑅 ∈ TosetRel → ((𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵)) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}))
7978imp 445 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8052inex1 4790 . . . . . . . . . . 11 (𝑚𝑛) ∈ V
81 eqid 2620 . . . . . . . . . . . 12 (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) = (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8281elrnmpt2g 6757 . . . . . . . . . . 11 ((𝑚𝑛) ∈ V → ((𝑚𝑛) ∈ ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ↔ ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}))
8380, 82ax-mp 5 . . . . . . . . . 10 ((𝑚𝑛) ∈ ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ↔ ∃𝑎𝑋𝑏𝑋 (𝑚𝑛) = {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8479, 83sylibr 224 . . . . . . . . 9 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑚𝑛) ∈ ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}))
85 ordtval.4 . . . . . . . . 9 𝐶 = ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)})
8684, 85syl6eleqr 2710 . . . . . . . 8 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑚𝑛) ∈ 𝐶)
8749, 86sseldi 3593 . . . . . . 7 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑚𝑛) ∈ ((𝐴𝐵) ∪ 𝐶))
88 eleq1 2687 . . . . . . 7 (𝑧 = (𝑚𝑛) → (𝑧 ∈ ((𝐴𝐵) ∪ 𝐶) ↔ (𝑚𝑛) ∈ ((𝐴𝐵) ∪ 𝐶)))
8987, 88syl5ibrcom 237 . . . . . 6 ((𝑅 ∈ TosetRel ∧ (𝑚 ∈ (fi‘𝐴) ∧ 𝑛 ∈ (fi‘𝐵))) → (𝑧 = (𝑚𝑛) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9089rexlimdvva 3034 . . . . 5 (𝑅 ∈ TosetRel → (∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9125, 48, 903jaod 1390 . . . 4 (𝑅 ∈ TosetRel → ((𝑧 ∈ (fi‘𝐴) ∨ 𝑧 ∈ (fi‘𝐵) ∨ ∃𝑚 ∈ (fi‘𝐴)∃𝑛 ∈ (fi‘𝐵)𝑧 = (𝑚𝑛)) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9220, 91sylbid 230 . . 3 (𝑅 ∈ TosetRel → (𝑧 ∈ (fi‘(𝐴𝐵)) → 𝑧 ∈ ((𝐴𝐵) ∪ 𝐶)))
9392ssrdv 3601 . 2 (𝑅 ∈ TosetRel → (fi‘(𝐴𝐵)) ⊆ ((𝐴𝐵) ∪ 𝐶))
94 ssfii 8310 . . . 4 ((𝐴𝐵) ∈ V → (𝐴𝐵) ⊆ (fi‘(𝐴𝐵)))
9513, 94syl 17 . . 3 (𝑅 ∈ TosetRel → (𝐴𝐵) ⊆ (fi‘(𝐴𝐵)))
9695adantr 481 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → (𝐴𝐵) ⊆ (fi‘(𝐴𝐵)))
97 simprl 793 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → 𝑎𝑋)
98 eqidd 2621 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎})
9955eqeq2d 2630 . . . . . . . . . . . . . . 15 (𝑥 = 𝑎 → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ↔ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}))
10099rspcev 3304 . . . . . . . . . . . . . 14 ((𝑎𝑋 ∧ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎}) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
10197, 98, 100syl2anc 692 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
1028adantr 481 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → 𝑋 ∈ V)
103 rabexg 4803 . . . . . . . . . . . . . 14 (𝑋 ∈ V → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ V)
104 eqid 2620 . . . . . . . . . . . . . . 15 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) = (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
105104elrnmpt 5361 . . . . . . . . . . . . . 14 ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ V → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
106102, 103, 1053syl 18 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
107101, 106mpbird 247 . . . . . . . . . . . 12 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
108107, 4syl6eleqr 2710 . . . . . . . . . . 11 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ 𝐴)
1091, 108sseldi 3593 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ (𝐴𝐵))
11096, 109sseldd 3596 . . . . . . . . 9 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ (fi‘(𝐴𝐵)))
111 simprr 795 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → 𝑏𝑋)
112 eqidd 2621 . . . . . . . . . . . . . 14 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦})
11365eqeq2d 2630 . . . . . . . . . . . . . . 15 (𝑥 = 𝑏 → ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ↔ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}))
114113rspcev 3304 . . . . . . . . . . . . . 14 ((𝑏𝑋 ∧ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
115111, 112, 114syl2anc 692 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
116 rabexg 4803 . . . . . . . . . . . . . 14 (𝑋 ∈ V → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ V)
117 eqid 2620 . . . . . . . . . . . . . . 15 (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) = (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
118117elrnmpt 5361 . . . . . . . . . . . . . 14 ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ V → ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
119102, 116, 1183syl 18 . . . . . . . . . . . . 13 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ({𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ↔ ∃𝑥𝑋 {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
120115, 119mpbird 247 . . . . . . . . . . . 12 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
121120, 5syl6eleqr 2710 . . . . . . . . . . 11 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ 𝐵)
12216, 121sseldi 3593 . . . . . . . . . 10 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ (𝐴𝐵))
12396, 122sseldd 3596 . . . . . . . . 9 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ (fi‘(𝐴𝐵)))
124 fiin 8313 . . . . . . . . 9 (({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∈ (fi‘(𝐴𝐵)) ∧ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦} ∈ (fi‘(𝐴𝐵))) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) ∈ (fi‘(𝐴𝐵)))
125110, 123, 124syl2anc 692 . . . . . . . 8 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑎} ∩ {𝑦𝑋 ∣ ¬ 𝑏𝑅𝑦}) ∈ (fi‘(𝐴𝐵)))
12673, 125syl5eqelr 2704 . . . . . . 7 ((𝑅 ∈ TosetRel ∧ (𝑎𝑋𝑏𝑋)) → {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)} ∈ (fi‘(𝐴𝐵)))
127126ralrimivva 2968 . . . . . 6 (𝑅 ∈ TosetRel → ∀𝑎𝑋𝑏𝑋 {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)} ∈ (fi‘(𝐴𝐵)))
12881fmpt2 7222 . . . . . 6 (∀𝑎𝑋𝑏𝑋 {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)} ∈ (fi‘(𝐴𝐵)) ↔ (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}):(𝑋 × 𝑋)⟶(fi‘(𝐴𝐵)))
129127, 128sylib 208 . . . . 5 (𝑅 ∈ TosetRel → (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}):(𝑋 × 𝑋)⟶(fi‘(𝐴𝐵)))
130 frn 6040 . . . . 5 ((𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}):(𝑋 × 𝑋)⟶(fi‘(𝐴𝐵)) → ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ⊆ (fi‘(𝐴𝐵)))
131129, 130syl 17 . . . 4 (𝑅 ∈ TosetRel → ran (𝑎𝑋, 𝑏𝑋 ↦ {𝑦𝑋 ∣ (¬ 𝑦𝑅𝑎 ∧ ¬ 𝑏𝑅𝑦)}) ⊆ (fi‘(𝐴𝐵)))
13285, 131syl5eqss 3641 . . 3 (𝑅 ∈ TosetRel → 𝐶 ⊆ (fi‘(𝐴𝐵)))
13395, 132unssd 3781 . 2 (𝑅 ∈ TosetRel → ((𝐴𝐵) ∪ 𝐶) ⊆ (fi‘(𝐴𝐵)))
13493, 133eqssd 3612 1 (𝑅 ∈ TosetRel → (fi‘(𝐴𝐵)) = ((𝐴𝐵) ∪ 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384  w3o 1035   = wceq 1481  wcel 1988  wral 2909  wrex 2910  {crab 2913  Vcvv 3195  cun 3565  cin 3566  wss 3567  {csn 4168   cuni 4427   class class class wbr 4644  cmpt 4720   × cxp 5102  ccnv 5103  dom cdm 5104  ran crn 5105  wf 5872  cfv 5876  cmpt2 6637  ficfi 8301  PosetRelcps 17179   TosetRel ctsr 17180
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897  ax-un 6934
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ne 2792  df-ral 2914  df-rex 2915  df-reu 2916  df-rab 2918  df-v 3197  df-sbc 3430  df-csb 3527  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-pss 3583  df-nul 3908  df-if 4078  df-pw 4151  df-sn 4169  df-pr 4171  df-tp 4173  df-op 4175  df-uni 4428  df-int 4467  df-iun 4513  df-br 4645  df-opab 4704  df-mpt 4721  df-tr 4744  df-id 5014  df-eprel 5019  df-po 5025  df-so 5026  df-fr 5063  df-we 5065  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-rn 5115  df-res 5116  df-ima 5117  df-pred 5668  df-ord 5714  df-on 5715  df-lim 5716  df-suc 5717  df-iota 5839  df-fun 5878  df-fn 5879  df-f 5880  df-f1 5881  df-fo 5882  df-f1o 5883  df-fv 5884  df-ov 6638  df-oprab 6639  df-mpt2 6640  df-om 7051  df-1st 7153  df-2nd 7154  df-wrecs 7392  df-recs 7453  df-rdg 7491  df-1o 7545  df-oadd 7549  df-er 7727  df-en 7941  df-fin 7944  df-fi 8302  df-ps 17181  df-tsr 17182
This theorem is referenced by:  ordtbas  20977  leordtval  20998
  Copyright terms: Public domain W3C validator