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

Theorem rnmptc 7262
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 5728 . . . . 5 (𝐴 × {𝐵}) = (𝑥 ∈ 𝐴 ↦ 𝐵)
42, 3eqtr4i 2800 . . . 4 𝐹 = (𝐴 × {𝐵})
54rneqi 5939 . . 3 ran 𝐹 = ran (𝐴 × {𝐵})
6 rnxp 6189 . . 3 (𝐴 ≠ ∅ → ran (𝐴 × {𝐵}) = {𝐵})
75, 6eqtrid 2821 . 2 (𝐴 ≠ ∅ → ran 𝐹 = {𝐵})
81, 7syl 18 1 (𝜑 → ran 𝐹 = {𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ≠ wne 2970  ∅c0 4288  {csn 4595   ↦ cmpt 5200   × cxp 5664  ran crn 5667
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-br 5117  df-opab 5182  df-mpt 5201  df-xp 5672  df-rel 5673  df-cnv 5674  df-dm 5676  df-rn 5677
This theorem is used by:  mptiffisupp  33522  qsalrel  43659  limsup0  47136  limsuppnfdlem  47143  limsup10ex  47215  liminf10ex  47216  fourierdlem60  47608  fourierdlem61  47609  sge0z  47817
  Copyright terms: Public domain W3C validator