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

Theorem f1cdmsn 7288
Description: If a one-to-one function with a nonempty domain has a singleton as its codomain, its domain must also be a singleton. (Contributed by BTernaryTau, 1-Dec-2024.)
Assertion
Ref Expression
f1cdmsn ((𝐹:𝐴1-1→{𝐵} ∧ 𝐴 ≠ ∅) → ∃𝑥 𝐴 = {𝑥})
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝐵(𝑥)   𝐹(𝑥)

Proof of Theorem f1cdmsn
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 f1f 6790 . . . . . . 7 (𝐹:𝐴1-1→{𝐵} → 𝐹:𝐴⟶{𝐵})
2 fvconst 7170 . . . . . . . . 9 ((𝐹:𝐴⟶{𝐵} ∧ 𝑦𝐴) → (𝐹𝑦) = 𝐵)
323adant3 1129 . . . . . . . 8 ((𝐹:𝐴⟶{𝐵} ∧ 𝑦𝐴𝑧𝐴) → (𝐹𝑦) = 𝐵)
4 fvconst 7170 . . . . . . . . 9 ((𝐹:𝐴⟶{𝐵} ∧ 𝑧𝐴) → (𝐹𝑧) = 𝐵)
543adant2 1128 . . . . . . . 8 ((𝐹:𝐴⟶{𝐵} ∧ 𝑦𝐴𝑧𝐴) → (𝐹𝑧) = 𝐵)
63, 5eqtr4d 2769 . . . . . . 7 ((𝐹:𝐴⟶{𝐵} ∧ 𝑦𝐴𝑧𝐴) → (𝐹𝑦) = (𝐹𝑧))
71, 6syl3an1 1160 . . . . . 6 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴𝑧𝐴) → (𝐹𝑦) = (𝐹𝑧))
8 f1veqaeq 7264 . . . . . . 7 ((𝐹:𝐴1-1→{𝐵} ∧ (𝑦𝐴𝑧𝐴)) → ((𝐹𝑦) = (𝐹𝑧) → 𝑦 = 𝑧))
983impb 1112 . . . . . 6 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴𝑧𝐴) → ((𝐹𝑦) = (𝐹𝑧) → 𝑦 = 𝑧))
107, 9mpd 15 . . . . 5 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴𝑧𝐴) → 𝑦 = 𝑧)
11103expia 1118 . . . 4 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴) → (𝑧𝐴𝑦 = 𝑧))
1211ralrimiv 3135 . . 3 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴) → ∀𝑧𝐴 𝑦 = 𝑧)
1312reximdva0 4348 . 2 ((𝐹:𝐴1-1→{𝐵} ∧ 𝐴 ≠ ∅) → ∃𝑦𝐴𝑧𝐴 𝑦 = 𝑧)
14 issn 4831 . 2 (∃𝑦𝐴𝑧𝐴 𝑦 = 𝑧 → ∃𝑥 𝐴 = {𝑥})
1513, 14syl 17 1 ((𝐹:𝐴1-1→{𝐵} ∧ 𝐴 ≠ ∅) → ∃𝑥 𝐴 = {𝑥})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394  w3a 1084   = wceq 1534  wex 1774  wcel 2099  wne 2930  wral 3051  wrex 3060  c0 4322  {csn 4623  wf 6542  1-1wf1 6543  cfv 6546
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2167  ax-ext 2697  ax-sep 5296  ax-nul 5303  ax-pr 5425
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2529  df-eu 2558  df-clab 2704  df-cleq 2718  df-clel 2803  df-ne 2931  df-ral 3052  df-rex 3061  df-rab 3420  df-v 3464  df-dif 3949  df-un 3951  df-ss 3963  df-nul 4323  df-if 4524  df-sn 4624  df-pr 4626  df-op 4630  df-uni 4906  df-br 5146  df-opab 5208  df-id 5572  df-xp 5680  df-rel 5681  df-cnv 5682  df-co 5683  df-dm 5684  df-rn 5685  df-iota 6498  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fv 6554
This theorem is referenced by:  snnen2o  9264  sdom1  9269  1sdom2dom  9274
  Copyright terms: Public domain W3C validator