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

Theorem rnmptc 7206
Description: Range of a constant function in maps-to notation. (Contributed by Glauco Siliprandi, 11-Dec-2019.) Remove extra hypothesis. (Revised by SN, 17-Apr-2024.)
Hypotheses
Ref Expression
rnmptc.f 𝐹 = (𝑥𝐴𝐵)
rnmptc.a (𝜑𝐴 ≠ ∅)
Assertion
Ref Expression
rnmptc (𝜑 → ran 𝐹 = {𝐵})
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥)   𝐹(𝑥)

Proof of Theorem rnmptc
StepHypRef Expression
1 rnmptc.a . 2 (𝜑𝐴 ≠ ∅)
2 rnmptc.f . . . . 5 𝐹 = (𝑥𝐴𝐵)
3 fconstmpt 5724 . . . . 5 (𝐴 × {𝐵}) = (𝑥𝐴𝐵)
42, 3eqtr4i 2795 . . . 4 𝐹 = (𝐴 × {𝐵})
54rneqi 5928 . . 3 ran 𝐹 = ran (𝐴 × {𝐵})
6 rnxp 6169 . . 3 (𝐴 ≠ ∅ → ran (𝐴 × {𝐵}) = {𝐵})
75, 6eqtrid 2816 . 2 (𝐴 ≠ ∅ → ran 𝐹 = {𝐵})
81, 7syl 18 1 (𝜑 → ran 𝐹 = {𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1567  wne 2964  c0 4294  {csn 4594  cmpt 5196   × cxp 5660  ran crn 5663
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-11 2198  ax-ext 2741  ax-sep 5261  ax-pr 5405
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-sb 2098  df-clab 2748  df-cleq 2761  df-clel 2844  df-ne 2965  df-ral 3086  df-rex 3096  df-rab 3424  df-v 3465  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4295  df-if 4493  df-sn 4595  df-pr 4597  df-op 4601  df-br 5114  df-opab 5178  df-mpt 5197  df-xp 5668  df-rel 5669  df-cnv 5670  df-dm 5672  df-rn 5673
This theorem is referenced by:  mptiffisupp  32978  qsalrel  42898  limsup0  46299  limsuppnfdlem  46306  limsup10ex  46378  liminf10ex  46379  fourierdlem60  46771  fourierdlem61  46772  sge0z  46980
  Copyright terms: Public domain W3C validator