ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  dom2lem GIF version

Theorem dom2lem 6750
Description: A mapping (first hypothesis) that is one-to-one (second hypothesis) implies its domain is dominated by its codomain. (Contributed by NM, 24-Jul-2004.)
Hypotheses
Ref Expression
dom2d.1 (𝜑 → (𝑥𝐴𝐶𝐵))
dom2d.2 (𝜑 → ((𝑥𝐴𝑦𝐴) → (𝐶 = 𝐷𝑥 = 𝑦)))
Assertion
Ref Expression
dom2lem (𝜑 → (𝑥𝐴𝐶):𝐴1-1𝐵)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑦,𝐶   𝑥,𝐷   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐶(𝑥)   𝐷(𝑦)

Proof of Theorem dom2lem
StepHypRef Expression
1 dom2d.1 . . . 4 (𝜑 → (𝑥𝐴𝐶𝐵))
21ralrimiv 2542 . . 3 (𝜑 → ∀𝑥𝐴 𝐶𝐵)
3 eqid 2170 . . . 4 (𝑥𝐴𝐶) = (𝑥𝐴𝐶)
43fmpt 5646 . . 3 (∀𝑥𝐴 𝐶𝐵 ↔ (𝑥𝐴𝐶):𝐴𝐵)
52, 4sylib 121 . 2 (𝜑 → (𝑥𝐴𝐶):𝐴𝐵)
61imp 123 . . . . . . 7 ((𝜑𝑥𝐴) → 𝐶𝐵)
73fvmpt2 5579 . . . . . . . 8 ((𝑥𝐴𝐶𝐵) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶)
87adantll 473 . . . . . . 7 (((𝜑𝑥𝐴) ∧ 𝐶𝐵) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶)
96, 8mpdan 419 . . . . . 6 ((𝜑𝑥𝐴) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶)
109adantrr 476 . . . . 5 ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶)
11 nfv 1521 . . . . . . . 8 𝑥(𝜑𝑦𝐴)
12 nffvmpt1 5507 . . . . . . . . 9 𝑥((𝑥𝐴𝐶)‘𝑦)
1312nfeq1 2322 . . . . . . . 8 𝑥((𝑥𝐴𝐶)‘𝑦) = 𝐷
1411, 13nfim 1565 . . . . . . 7 𝑥((𝜑𝑦𝐴) → ((𝑥𝐴𝐶)‘𝑦) = 𝐷)
15 eleq1 2233 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
1615anbi2d 461 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝜑𝑥𝐴) ↔ (𝜑𝑦𝐴)))
1716imbi1d 230 . . . . . . . 8 (𝑥 = 𝑦 → (((𝜑𝑥𝐴) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶) ↔ ((𝜑𝑦𝐴) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶)))
1815anbi1d 462 . . . . . . . . . . . 12 (𝑥 = 𝑦 → ((𝑥𝐴𝑦𝐴) ↔ (𝑦𝐴𝑦𝐴)))
19 anidm 394 . . . . . . . . . . . 12 ((𝑦𝐴𝑦𝐴) ↔ 𝑦𝐴)
2018, 19bitrdi 195 . . . . . . . . . . 11 (𝑥 = 𝑦 → ((𝑥𝐴𝑦𝐴) ↔ 𝑦𝐴))
2120anbi2d 461 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) ↔ (𝜑𝑦𝐴)))
22 fveq2 5496 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → ((𝑥𝐴𝐶)‘𝑥) = ((𝑥𝐴𝐶)‘𝑦))
2322adantr 274 . . . . . . . . . . . 12 ((𝑥 = 𝑦 ∧ (𝜑 ∧ (𝑥𝐴𝑦𝐴))) → ((𝑥𝐴𝐶)‘𝑥) = ((𝑥𝐴𝐶)‘𝑦))
24 dom2d.2 . . . . . . . . . . . . . 14 (𝜑 → ((𝑥𝐴𝑦𝐴) → (𝐶 = 𝐷𝑥 = 𝑦)))
2524imp 123 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) → (𝐶 = 𝐷𝑥 = 𝑦))
2625biimparc 297 . . . . . . . . . . . 12 ((𝑥 = 𝑦 ∧ (𝜑 ∧ (𝑥𝐴𝑦𝐴))) → 𝐶 = 𝐷)
2723, 26eqeq12d 2185 . . . . . . . . . . 11 ((𝑥 = 𝑦 ∧ (𝜑 ∧ (𝑥𝐴𝑦𝐴))) → (((𝑥𝐴𝐶)‘𝑥) = 𝐶 ↔ ((𝑥𝐴𝐶)‘𝑦) = 𝐷))
2827ex 114 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) → (((𝑥𝐴𝐶)‘𝑥) = 𝐶 ↔ ((𝑥𝐴𝐶)‘𝑦) = 𝐷)))
2921, 28sylbird 169 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝜑𝑦𝐴) → (((𝑥𝐴𝐶)‘𝑥) = 𝐶 ↔ ((𝑥𝐴𝐶)‘𝑦) = 𝐷)))
3029pm5.74d 181 . . . . . . . 8 (𝑥 = 𝑦 → (((𝜑𝑦𝐴) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶) ↔ ((𝜑𝑦𝐴) → ((𝑥𝐴𝐶)‘𝑦) = 𝐷)))
3117, 30bitrd 187 . . . . . . 7 (𝑥 = 𝑦 → (((𝜑𝑥𝐴) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶) ↔ ((𝜑𝑦𝐴) → ((𝑥𝐴𝐶)‘𝑦) = 𝐷)))
3214, 31, 9chvar 1750 . . . . . 6 ((𝜑𝑦𝐴) → ((𝑥𝐴𝐶)‘𝑦) = 𝐷)
3332adantrl 475 . . . . 5 ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) → ((𝑥𝐴𝐶)‘𝑦) = 𝐷)
3410, 33eqeq12d 2185 . . . 4 ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) → (((𝑥𝐴𝐶)‘𝑥) = ((𝑥𝐴𝐶)‘𝑦) ↔ 𝐶 = 𝐷))
3525biimpd 143 . . . 4 ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) → (𝐶 = 𝐷𝑥 = 𝑦))
3634, 35sylbid 149 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) → (((𝑥𝐴𝐶)‘𝑥) = ((𝑥𝐴𝐶)‘𝑦) → 𝑥 = 𝑦))
3736ralrimivva 2552 . 2 (𝜑 → ∀𝑥𝐴𝑦𝐴 (((𝑥𝐴𝐶)‘𝑥) = ((𝑥𝐴𝐶)‘𝑦) → 𝑥 = 𝑦))
38 nfmpt1 4082 . . 3 𝑥(𝑥𝐴𝐶)
39 nfcv 2312 . . 3 𝑦(𝑥𝐴𝐶)
4038, 39dff13f 5749 . 2 ((𝑥𝐴𝐶):𝐴1-1𝐵 ↔ ((𝑥𝐴𝐶):𝐴𝐵 ∧ ∀𝑥𝐴𝑦𝐴 (((𝑥𝐴𝐶)‘𝑥) = ((𝑥𝐴𝐶)‘𝑦) → 𝑥 = 𝑦)))
415, 37, 40sylanbrc 415 1 (𝜑 → (𝑥𝐴𝐶):𝐴1-1𝐵)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1348  wcel 2141  wral 2448  cmpt 4050  wf 5194  1-1wf1 5195  cfv 5198
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fv 5206
This theorem is referenced by:  dom2d  6751  dom3d  6752
  Copyright terms: Public domain W3C validator