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

Theorem rnmptc 7213
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 2787 . . . 4 𝐹 = (𝐴 × {𝐵})
54rneqi 5919 . . 3 ran 𝐹 = ran (𝐴 × {𝐵})
6 rnxp 6162 . . 3 (𝐴 ≠ ∅ → ran (𝐴 × {𝐵}) = {𝐵})
75, 6eqtrid 2808 . 2 (𝐴 ≠ ∅ → ran 𝐹 = {𝐵})
81, 7syl 18 1 (𝜑 → ran 𝐹 = {𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ≠ wne 2956  ∅c0 4279  {csn 4584   ↦ cmpt 5186   × cxp 5649  ran crn 5652
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-mpt 5187  df-xp 5657  df-rel 5658  df-cnv 5659  df-dm 5661  df-rn 5662
This theorem is used by:  mptiffisupp  33286  qsalrel  43292  limsup0  46703  limsuppnfdlem  46710  limsup10ex  46782  liminf10ex  46783  fourierdlem60  47175  fourierdlem61  47176  sge0z  47384
  Copyright terms: Public domain W3C validator