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

Theorem rnmptc 7207
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 5738 . . . . 5 (𝐴 × {𝐵}) = (𝑥𝐴𝐵)
42, 3eqtr4i 2763 . . . 4 𝐹 = (𝐴 × {𝐵})
54rneqi 5936 . . 3 ran 𝐹 = ran (𝐴 × {𝐵})
6 rnxp 6169 . . 3 (𝐴 ≠ ∅ → ran (𝐴 × {𝐵}) = {𝐵})
75, 6eqtrid 2784 . 2 (𝐴 ≠ ∅ → ran 𝐹 = {𝐵})
81, 7syl 17 1 (𝜑 → ran 𝐹 = {𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1541  wne 2940  c0 4322  {csn 4628  cmpt 5231   × cxp 5674  ran crn 5677
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-ral 3062  df-rab 3433  df-v 3476  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-op 4635  df-br 5149  df-opab 5211  df-mpt 5232  df-xp 5682  df-rel 5683  df-cnv 5684  df-dm 5686  df-rn 5687
This theorem is referenced by:  mptiffisupp  31910  qsalrel  41064  limsup0  44400  limsuppnfdlem  44407  limsup10ex  44479  liminf10ex  44480  fourierdlem60  44872  fourierdlem61  44873  sge0z  45081
  Copyright terms: Public domain W3C validator