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

Theorem f1cdmsn 7216
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 6719 . . . . . . 7 (𝐹:𝐴1-1→{𝐵} → 𝐹:𝐴⟶{𝐵})
2 fvconst 7096 . . . . . . . . 9 ((𝐹:𝐴⟶{𝐵} ∧ 𝑦𝐴) → (𝐹𝑦) = 𝐵)
323adant3 1132 . . . . . . . 8 ((𝐹:𝐴⟶{𝐵} ∧ 𝑦𝐴𝑧𝐴) → (𝐹𝑦) = 𝐵)
4 fvconst 7096 . . . . . . . . 9 ((𝐹:𝐴⟶{𝐵} ∧ 𝑧𝐴) → (𝐹𝑧) = 𝐵)
543adant2 1131 . . . . . . . 8 ((𝐹:𝐴⟶{𝐵} ∧ 𝑦𝐴𝑧𝐴) → (𝐹𝑧) = 𝐵)
63, 5eqtr4d 2769 . . . . . . 7 ((𝐹:𝐴⟶{𝐵} ∧ 𝑦𝐴𝑧𝐴) → (𝐹𝑦) = (𝐹𝑧))
71, 6syl3an1 1163 . . . . . 6 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴𝑧𝐴) → (𝐹𝑦) = (𝐹𝑧))
8 f1veqaeq 7190 . . . . . . 7 ((𝐹:𝐴1-1→{𝐵} ∧ (𝑦𝐴𝑧𝐴)) → ((𝐹𝑦) = (𝐹𝑧) → 𝑦 = 𝑧))
983impb 1114 . . . . . 6 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴𝑧𝐴) → ((𝐹𝑦) = (𝐹𝑧) → 𝑦 = 𝑧))
107, 9mpd 15 . . . . 5 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴𝑧𝐴) → 𝑦 = 𝑧)
11103expia 1121 . . . 4 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴) → (𝑧𝐴𝑦 = 𝑧))
1211ralrimiv 3123 . . 3 ((𝐹:𝐴1-1→{𝐵} ∧ 𝑦𝐴) → ∀𝑧𝐴 𝑦 = 𝑧)
1312reximdva0 4302 . 2 ((𝐹:𝐴1-1→{𝐵} ∧ 𝐴 ≠ ∅) → ∃𝑦𝐴𝑧𝐴 𝑦 = 𝑧)
14 issn 4781 . 2 (∃𝑦𝐴𝑧𝐴 𝑦 = 𝑧 → ∃𝑥 𝐴 = {𝑥})
1513, 14syl 17 1 ((𝐹:𝐴1-1→{𝐵} ∧ 𝐴 ≠ ∅) → ∃𝑥 𝐴 = {𝑥})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1086   = wceq 1541  wex 1780  wcel 2111  wne 2928  wral 3047  wrex 3056  c0 4280  {csn 4573  wf 6477  1-1wf1 6478  cfv 6481
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-10 2144  ax-11 2160  ax-12 2180  ax-ext 2703  ax-sep 5232  ax-nul 5242  ax-pr 5368
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2535  df-eu 2564  df-clab 2710  df-cleq 2723  df-clel 2806  df-ne 2929  df-ral 3048  df-rex 3057  df-rab 3396  df-v 3438  df-dif 3900  df-un 3902  df-ss 3914  df-nul 4281  df-if 4473  df-sn 4574  df-pr 4576  df-op 4580  df-uni 4857  df-br 5090  df-opab 5152  df-id 5509  df-xp 5620  df-rel 5621  df-cnv 5622  df-co 5623  df-dm 5624  df-rn 5625  df-iota 6437  df-fun 6483  df-fn 6484  df-f 6485  df-f1 6486  df-fv 6489
This theorem is referenced by:  snnen2o  9129  sdom1  9134  1sdom2dom  9138
  Copyright terms: Public domain W3C validator