HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem mapdom2 3389
Description: Order-preserving property of set exponentiation. Theorem 6L(d) of [Enderton] p. 149.
Hypotheses
Ref Expression
mapdom1.1 AV
mapdom1.2 BV
mapdom1.3 CV
Assertion
Ref Expression
mapdom2 ((AB ∧ ¬ (A = ∅ ∧ C = ∅)) → (Cm A) ≼ (Cm B))

Proof of Theorem mapdom2
StepHypRef Expression
1 opreq1 3006 . . . . . . 7 (C = ∅ → (Cm A) = (∅ ↑m A))
2 mapdom1.1 . . . . . . . 8 AV
32map0b 3267 . . . . . . 7 A = ∅ → (∅ ↑m A) = ∅)
41, 3sylan9eqr 1145 . . . . . 6 ((¬ A = ∅ ∧ C = ∅) → (Cm A) = ∅)
5 0dom 3366 . . . . . 6 ∅ ≼ (Cm B)
64, 5syl6eqbr 2092 . . . . 5 ((¬ A = ∅ ∧ C = ∅) → (Cm A) ≼ (Cm B))
76a1i 7 . . . 4 (AB → ((¬ A = ∅ ∧ C = ∅) → (Cm A) ≼ (Cm B)))
8 mapdom1.2 . . . . . . . 8 BV
98domen 3284 . . . . . . 7 (AB ↔ ∃z(AzzB))
10 endomtr 3325 . . . . . . . . . . 11 (((Cm A) ≈ (Cm z) ∧ (Cm z) ≼ (Cm B)) → (Cm A) ≼ (Cm B))
11 mapdom1.3 . . . . . . . . . . . . 13 CV
1211enref 3295 . . . . . . . . . . . 12 CC
13 visset 1350 . . . . . . . . . . . . 13 zV
1411, 11, 2, 13mapen 3386 . . . . . . . . . . . 12 ((CCAz) → (Cm A) ≈ (Cm z))
1512, 14mpan 518 . . . . . . . . . . 11 (Az → (Cm A) ≈ (Cm z))
16 oprex 3018 . . . . . . . . . . . 12 (Cm z) ∈ V
17 ssundif 1764 . . . . . . . . . . . . . . . . 17 (zB ↔ (z ∪ (Bz)) = B)
18 feq2 2749 . . . . . . . . . . . . . . . . 17 ((z ∪ (Bz)) = B → ((x ∪ ((Bz) × {w})):(z ∪ (Bz))–→(C ∪ {w}) ↔ (x ∪ ((Bz) × {w})):B–→(C ∪ {w})))
1917, 18sylbi 174 . . . . . . . . . . . . . . . 16 (zB → ((x ∪ ((Bz) × {w})):(z ∪ (Bz))–→(C ∪ {w}) ↔ (x ∪ ((Bz) × {w})):B–→(C ∪ {w})))
20 snssi 1851 . . . . . . . . . . . . . . . . . 18 (wC → {w} ⊆ C)
21 ssequn2 1631 . . . . . . . . . . . . . . . . . 18 ({w} ⊆ C ↔ (C ∪ {w}) = C)
2220, 21sylib 173 . . . . . . . . . . . . . . . . 17 (wC → (C ∪ {w}) = C)
23 feq3 2750 . . . . . . . . . . . . . . . . 17 ((C ∪ {w}) = C → ((x ∪ ((Bz) × {w})):B–→(C ∪ {w}) ↔ (x ∪ ((Bz) × {w})):B–→C))
2422, 23syl 12 . . . . . . . . . . . . . . . 16 (wC → ((x ∪ ((Bz) × {w})):B–→(C ∪ {w}) ↔ (x ∪ ((Bz) × {w})):B–→C))
2519, 24sylan9bb 418 . . . . . . . . . . . . . . 15 ((zBwC) → ((x ∪ ((Bz) × {w})):(z ∪ (Bz))–→(C ∪ {w}) ↔ (x ∪ ((Bz) × {w})):B–→C))
26 visset 1350 . . . . . . . . . . . . . . . . 17 wV
2726fconst 2774 . . . . . . . . . . . . . . . 16 ((Bz) × {w}):(Bz)–→{w}
28 difdisj 1758 . . . . . . . . . . . . . . . . 17 (z ∩ (Bz)) = ∅
29 fun 2763 . . . . . . . . . . . . . . . . 17 (((x:z–→C ∧ ((Bz) × {w}):(Bz)–→{w}) ∧ (z ∩ (Bz)) = ∅) → (x ∪ ((Bz) × {w})):(z ∪ (Bz))–→(C ∪ {w}))
3028, 29mpan2 519 . . . . . . . . . . . . . . . 16 ((x:z–→C ∧ ((Bz) × {w}):(Bz)–→{w}) → (x ∪ ((Bz) × {w})):(z ∪ (Bz))–→(C ∪ {w}))
3127, 30mpan2 519 . . . . . . . . . . . . . . 15 (x:z–→C → (x ∪ ((Bz) × {w})):(z ∪ (Bz))–→(C ∪ {w}))
3225, 31syl5bi 183 . . . . . . . . . . . . . 14 ((zBwC) → (x:z–→C → (x ∪ ((Bz) × {w})):B–→C))
3311, 13elmap 3265 . . . . . . . . . . . . . 14 (x ∈ (Cm z) ↔ x:z–→C)
3411, 8elmap 3265 . . . . . . . . . . . . . 14 ((x ∪ ((Bz) × {w})) ∈ (Cm B) ↔ (x ∪ ((Bz) × {w})):B–→C)
3532, 33, 343imtr4g 426 . . . . . . . . . . . . 13 ((zBwC) → (x ∈ (Cm z) → (x ∪ ((Bz) × {w})) ∈ (Cm B)))
362, 8, 11mapdom2lem 3388 . . . . . . . . . . . . . . . . 17 (x ∈ (Cm z) → (x ∩ ((Bz) × {w})) = ∅)
372, 8, 11mapdom2lem 3388 . . . . . . . . . . . . . . . . . 18 (y ∈ (Cm z) → (y ∩ ((Bz) × {w})) = ∅)
3837cleqcomd 1106 . . . . . . . . . . . . . . . . 17 (y ∈ (Cm z) → ∅ = (y ∩ ((Bz) × {w})))
3936, 38sylan9eq 1144 . . . . . . . . . . . . . . . 16 ((x ∈ (Cm z) ∧ y ∈ (Cm z)) → (x ∩ ((Bz) × {w})) = (y ∩ ((Bz) × {w})))
4039biantrud 545 . . . . . . . . . . . . . . 15 ((x ∈ (Cm z) ∧ y ∈ (Cm z)) → ((x ∪ ((Bz) × {w})) = (y ∪ ((Bz) × {w})) ↔ ((x ∪ ((Bz) × {w})) = (y ∪ ((Bz) × {w})) ∧ (x ∩ ((Bz) × {w})) = (y ∩ ((Bz) × {w})))))
41 unineq 1680 . . . . . . . . . . . . . . 15 (((x ∪ ((Bz) × {w})) = (y ∪ ((Bz) × {w})) ∧ (x ∩ ((Bz) × {w})) = (y ∩ ((Bz) × {w}))) ↔ x = y)
4240, 41syl6bb 414 . . . . . . . . . . . . . 14 ((x ∈ (Cm z) ∧ y ∈ (Cm z)) → ((x ∪ ((Bz) × {w})) = (y ∪ ((Bz) × {w})) ↔ x = y))
4342a1i 7 . . . . . . . . . . . . 13 ((zBwC) → ((x ∈ (Cm z) ∧ y ∈ (Cm z)) → ((x ∪ ((Bz) × {w})) = (y ∪ ((Bz) × {w})) ↔ x = y)))
4435, 43dom2d 3307 . . . . . . . . . . . 12 ((zBwC) → ((Cm z) ∈ V → (Cm z) ≼ (Cm B)))
4516, 44mpi 44 . . . . . . . . . . 11 ((zBwC) → (Cm z) ≼ (Cm B))
4610, 15, 45syl2an 349 . . . . . . . . . 10 ((Az ∧ (zBwC)) → (Cm A) ≼ (Cm B))
4746anassrs 338 . . . . . . . . 9 (((AzzB) ∧ wC) → (Cm A) ≼ (Cm B))
4847exp 291 . . . . . . . 8 ((AzzB) → (wC → (Cm A) ≼ (Cm B)))
494819.23aiv 952 . . . . . . 7 (∃z(AzzB) → (wC → (Cm A) ≼ (Cm B)))
509, 49sylbi 174 . . . . . 6 (AB → (wC → (Cm A) ≼ (Cm B)))
515019.23adv 954 . . . . 5 (AB → (∃w wC → (Cm A) ≼ (Cm B)))
52 n0 1714 . . . . 5 C = ∅ ↔ ∃w wC)
5351, 52syl5ib 181 . . . 4 (AB → (¬ C = ∅ → (Cm A) ≼ (Cm B)))
547, 53jaod 329 . . 3 (AB → (((¬ A = ∅ ∧ C = ∅) ∨ ¬ C = ∅) → (Cm A) ≼ (Cm B)))
5554imp 277 . 2 ((AB ∧ ((¬ A = ∅ ∧ C = ∅) ∨ ¬ C = ∅)) → (Cm A) ≼ (Cm B))
56 exmid 494 . . . 4 (C = ∅ ∨ ¬ C = ∅)
5756biantru 543 . . 3 ((¬ A = ∅ ∨ ¬ C = ∅) ↔ ((¬ A = ∅ ∨ ¬ C = ∅) ∧ (C = ∅ ∨ ¬ C = ∅)))
58 ianor 253 . . 3 (¬ (A = ∅ ∧ C = ∅) ↔ (¬ A = ∅ ∨ ¬ C = ∅))
59 ordir 453 . . 3 (((¬ A = ∅ ∧ C = ∅) ∨ ¬ C = ∅) ↔ ((¬ A = ∅ ∨ ¬ C = ∅) ∧ (C = ∅ ∨ ¬ C = ∅)))
6057, 58, 593bitr4 158 . 2 (¬ (A = ∅ ∧ C = ∅) ↔ ((¬ A = ∅ ∧ C = ∅) ∨ ¬ C = ∅))
6155, 60sylan2b 347 1 ((AB ∧ ¬ (A = ∅ ∧ C = ∅)) → (Cm A) ≼ (Cm B))
Colors of variables: wff set class
Syntax hints:  ¬ wn 1   → wi 2   ↔ wb 127   ∨ wo 195   ∧ wa 196  ∃wex 678   = weq 797   = wceq 1091   ∈ wcel 1092  Vcvv 1348   ∖ cdif 1484   ∪ cun 1485   ∩ cin 1486   ⊆ wss 1487  ∅c0 1707  {csn 1808   class class class wbr 2054   × cxp 2408  –→wf 2418  (class class class)co 3001   ↑m cm 3258   ≈ cen 3271   ≼ cdom 3272
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-un 1076  ax-pow 1077
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-3an 583  df-ex 679  df-sb 853  df-eu 1009  df-mo 1010  df-clab 1093  df-cleq 1097  df-clel 1099  df-ral 1205  df-rex 1206  df-v 1349  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-nul 1708  df-pw 1799  df-sn 1811  df-pr 1812  df-op 1815  df-uni 1920  df-br 2063  df-opab 2098  df-id 2125  df-xp 2424  df-rel 2425  df-cnv 2426  df-co 2427  df-dm 2428  df-rn 2429  df-res 2430  df-ima 2431  df-fun 2432  df-fn 2433  df-f 2434  df-f1 2435  df-fo 2436  df-f1o 2437  df-fv 2438  df-opr 3003  df-oprab 3004  df-map 3259  df-en 3274  df-dom 3275
metamath.org