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 45924
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 4303 . . 3 (𝐴 ≠ ∅ ↔ ∃𝑦 𝑦𝐴)
31, 2sylib 221 . 2 (𝜑 → ∃𝑦 𝑦𝐴)
4 vex 3457 . . . . . . . 8 𝑥 ∈ V
54fvconst2 7207 . . . . . . 7 (𝑦𝐴 → ((𝐴 × {𝑥})‘𝑦) = 𝑥)
65eqcomd 2768 . . . . . 6 (𝑦𝐴𝑥 = ((𝐴 × {𝑥})‘𝑦))
76adantl 487 . . . . 5 ((𝜑𝑦𝐴) → 𝑥 = ((𝐴 × {𝑥})‘𝑦))
8 snelmap.e . . . . . . . 8 (𝜑 → (𝐴 × {𝑥}) ∈ (𝐵m 𝐴))
9 snelmap.b . . . . . . . . 9 (𝜑𝐵𝑊)
10 snelmap.a . . . . . . . . 9 (𝜑𝐴𝑉)
11 elmapg 8842 . . . . . . . . 9 ((𝐵𝑊𝐴𝑉) → ((𝐴 × {𝑥}) ∈ (𝐵m 𝐴) ↔ (𝐴 × {𝑥}):𝐴𝐵))
129, 10, 11syl2anc 596 . . . . . . . 8 (𝜑 → ((𝐴 × {𝑥}) ∈ (𝐵m 𝐴) ↔ (𝐴 × {𝑥}):𝐴𝐵))
138, 12mpbid 235 . . . . . . 7 (𝜑 → (𝐴 × {𝑥}):𝐴𝐵)
1413adantr 486 . . . . . 6 ((𝜑𝑦𝐴) → (𝐴 × {𝑥}):𝐴𝐵)
15 simpr 490 . . . . . 6 ((𝜑𝑦𝐴) → 𝑦𝐴)
1614, 15ffvelcdmd 7082 . . . . 5 ((𝜑𝑦𝐴) → ((𝐴 × {𝑥})‘𝑦) ∈ 𝐵)
177, 16eqeltrd 2862 . . . 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 2145  wne 2957  c0 4282  {csn 4587   × cxp 5657  wf 6533  cfv 6537  (class class class)co 7417  m cmap 8830
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-10 2178  ax-11 2194  ax-12 2215  ax-ext 2734  ax-sep 5255  ax-nul 5267  ax-pow 5334  ax-pr 5402  ax-un 7740
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 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-rab 3415  df-v 3455  df-sbc 3743  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4283  df-if 4486  df-pw 4562  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-br 5108  df-opab 5172  df-mpt 5191  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-fv 6545  df-ov 7420  df-oprab 7421  df-mpo 7422  df-map 8832
This theorem is used by:  mapssbi  46051
  Copyright terms: Public domain W3C validator