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

Theorem rnmptc 7244
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 5720 . . . . 5 (𝐴 × {𝐵}) = (𝑥 ∈ 𝐴 ↦ 𝐵)
42, 3eqtr4i 2789 . . . 4 𝐹 = (𝐴 × {𝐵})
54rneqi 5931 . . 3 ran 𝐹 = ran (𝐴 × {𝐵})
6 rnxp 6180 . . 3 (𝐴 ≠ ∅ → ran (𝐴 × {𝐵}) = {𝐵})
75, 6eqtrid 2810 . 2 (𝐴 ≠ ∅ → ran 𝐹 = {𝐵})
81, 7syl 18 1 (𝜑 → ran 𝐹 = {𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ≠ wne 2959  ∅c0 4281  {csn 4588   ↦ cmpt 5192   × cxp 5656  ran crn 5659
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-br 5109  df-opab 5174  df-mpt 5193  df-xp 5664  df-rel 5665  df-cnv 5666  df-dm 5668  df-rn 5669
This theorem is used by:  mptiffisupp  33383  qsalrel  43559  limsup0  46977  limsuppnfdlem  46984  limsup10ex  47056  liminf10ex  47057  fourierdlem60  47449  fourierdlem61  47450  sge0z  47658
  Copyright terms: Public domain W3C validator