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

Theorem dom3d 7941
Description: A mapping (first hypothesis) that is one-to-one (second hypothesis) implies its domain is dominated by its codomain. (Contributed by Mario Carneiro, 20-May-2013.)
Hypotheses
Ref Expression
dom2d.1 (𝜑 → (𝑥𝐴𝐶𝐵))
dom2d.2 (𝜑 → ((𝑥𝐴𝑦𝐴) → (𝐶 = 𝐷𝑥 = 𝑦)))
dom3d.3 (𝜑𝐴𝑉)
dom3d.4 (𝜑𝐵𝑊)
Assertion
Ref Expression
dom3d (𝜑𝐴𝐵)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑦,𝐶   𝑥,𝐷   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐶(𝑥)   𝐷(𝑦)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem dom3d
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 dom2d.1 . . . . . 6 (𝜑 → (𝑥𝐴𝐶𝐵))
2 dom2d.2 . . . . . 6 (𝜑 → ((𝑥𝐴𝑦𝐴) → (𝐶 = 𝐷𝑥 = 𝑦)))
31, 2dom2lem 7939 . . . . 5 (𝜑 → (𝑥𝐴𝐶):𝐴1-1𝐵)
4 f1f 6058 . . . . 5 ((𝑥𝐴𝐶):𝐴1-1𝐵 → (𝑥𝐴𝐶):𝐴𝐵)
53, 4syl 17 . . . 4 (𝜑 → (𝑥𝐴𝐶):𝐴𝐵)
6 dom3d.3 . . . 4 (𝜑𝐴𝑉)
7 dom3d.4 . . . 4 (𝜑𝐵𝑊)
8 fex2 7068 . . . 4 (((𝑥𝐴𝐶):𝐴𝐵𝐴𝑉𝐵𝑊) → (𝑥𝐴𝐶) ∈ V)
95, 6, 7, 8syl3anc 1323 . . 3 (𝜑 → (𝑥𝐴𝐶) ∈ V)
10 f1eq1 6053 . . . 4 (𝑧 = (𝑥𝐴𝐶) → (𝑧:𝐴1-1𝐵 ↔ (𝑥𝐴𝐶):𝐴1-1𝐵))
1110spcegv 3280 . . 3 ((𝑥𝐴𝐶) ∈ V → ((𝑥𝐴𝐶):𝐴1-1𝐵 → ∃𝑧 𝑧:𝐴1-1𝐵))
129, 3, 11sylc 65 . 2 (𝜑 → ∃𝑧 𝑧:𝐴1-1𝐵)
13 brdomg 7909 . . 3 (𝐵𝑊 → (𝐴𝐵 ↔ ∃𝑧 𝑧:𝐴1-1𝐵))
147, 13syl 17 . 2 (𝜑 → (𝐴𝐵 ↔ ∃𝑧 𝑧:𝐴1-1𝐵))
1512, 14mpbird 247 1 (𝜑𝐴𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wex 1701  wcel 1987  Vcvv 3186   class class class wbr 4613  cmpt 4673  wf 5843  1-1wf1 5844  cdom 7897
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fv 5855  df-dom 7901
This theorem is referenced by:  dom3  7943  xpdom2  7999  fopwdom  8012
  Copyright terms: Public domain W3C validator