Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  snelmap Structured version   Visualization version   GIF version

Theorem snelmap 45843
Description: Membership of the element in the range of a constant map. (Contributed by Glauco Siliprandi, 3-Mar-2021.)
Hypotheses
Ref Expression
snelmap.a (𝜑𝐴𝑉)
snelmap.b (𝜑𝐵𝑊)
snelmap.n (𝜑𝐴 ≠ ∅)
snelmap.e (𝜑 → (𝐴 × {𝑥}) ∈ (𝐵m 𝐴))
Assertion
Ref Expression
snelmap (𝜑𝑥𝐵)

Proof of Theorem snelmap
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 snelmap.n . . 3 (𝜑𝐴 ≠ ∅)
2 n0 4310 . . 3 (𝐴 ≠ ∅ ↔ ∃𝑦 𝑦𝐴)
31, 2sylib 221 . 2 (𝜑 → ∃𝑦 𝑦𝐴)
4 vex 3462 . . . . . . . 8 𝑥 ∈ V
54fvconst2 7209 . . . . . . 7 (𝑦𝐴 → ((𝐴 × {𝑥})‘𝑦) = 𝑥)
65eqcomd 2772 . . . . . 6 (𝑦𝐴𝑥 = ((𝐴 × {𝑥})‘𝑦))
76adantl 487 . . . . 5 ((𝜑𝑦𝐴) → 𝑥 = ((𝐴 × {𝑥})‘𝑦))
8 snelmap.e . . . . . . . 8 (𝜑 → (𝐴 × {𝑥}) ∈ (𝐵m 𝐴))
9 snelmap.b . . . . . . . . 9 (𝜑𝐵𝑊)
10 snelmap.a . . . . . . . . 9 (𝜑𝐴𝑉)
11 elmapg 8845 . . . . . . . . 9 ((𝐵𝑊𝐴𝑉) → ((𝐴 × {𝑥}) ∈ (𝐵m 𝐴) ↔ (𝐴 × {𝑥}):𝐴𝐵))
129, 10, 11syl2anc 596 . . . . . . . 8 (𝜑 → ((𝐴 × {𝑥}) ∈ (𝐵m 𝐴) ↔ (𝐴 × {𝑥}):𝐴𝐵))
138, 12mpbid 235 . . . . . . 7 (𝜑 → (𝐴 × {𝑥}):𝐴𝐵)
1413adantr 486 . . . . . 6 ((𝜑𝑦𝐴) → (𝐴 × {𝑥}):𝐴𝐵)
15 simpr 490 . . . . . 6 ((𝜑𝑦𝐴) → 𝑦𝐴)
1614, 15ffvelcdmd 7087 . . . . 5 ((𝜑𝑦𝐴) → ((𝐴 × {𝑥})‘𝑦) ∈ 𝐵)
177, 16eqeltrd 2866 . . . 4 ((𝜑𝑦𝐴) → 𝑥𝐵)
1817ex 418 . . 3 (𝜑 → (𝑦𝐴𝑥𝐵))
1918exlimdv 1966 . 2 (𝜑 → (∃𝑦 𝑦𝐴𝑥𝐵))
203, 19mpd 16 1 (𝜑𝑥𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401   = wceq 1570  wex 1812  wcel 2146  wne 2961  c0 4289  {csn 4594   × cxp 5664  wf 6539  cfv 6543  (class class class)co 7423  m cmap 8833
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-nul 5274  ax-pow 5341  ax-pr 5409  ax-un 7745
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-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-ral 3083  df-rex 3093  df-rab 3420  df-v 3460  df-sbc 3748  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-br 5115  df-opab 5179  df-mpt 5198  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-fv 6551  df-ov 7426  df-oprab 7427  df-mpo 7428  df-map 8835
This theorem is used by:  mapssbi  45970
  Copyright terms: Public domain W3C validator