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

Theorem rnmptc 7217
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 5713 . . . . 5 (𝐴 × {𝐵}) = (𝑥 ∈ 𝐴 ↦ 𝐵)
42, 3eqtr4i 2786 . . . 4 𝐹 = (𝐴 × {𝐵})
54rneqi 5920 . . 3 ran 𝐹 = ran (𝐴 × {𝐵})
6 rnxp 6164 . . 3 (𝐴 ≠ ∅ → ran (𝐴 × {𝐵}) = {𝐵})
75, 6eqtrid 2807 . 2 (𝐴 ≠ ∅ → ran 𝐹 = {𝐵})
81, 7syl 18 1 (𝜑 → ran 𝐹 = {𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569   ≠ wne 2955  ∅c0 4277  {csn 4584   ↦ cmpt 5185   × cxp 5649  ran crn 5652
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-mpt 5186  df-xp 5657  df-rel 5658  df-cnv 5659  df-dm 5661  df-rn 5662
This theorem is used by:  mptiffisupp  33337  qsalrel  43429  limsup0  46840  limsuppnfdlem  46847  limsup10ex  46919  liminf10ex  46920  fourierdlem60  47312  fourierdlem61  47313  sge0z  47521
  Copyright terms: Public domain W3C validator