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

Theorem elimampo 7561
Description: Membership in the image of an operation. (Contributed by SN, 27-Apr-2025.)
Hypotheses
Ref Expression
rngop.1 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶)
elimampo.d (𝜑 → 𝐷 ∈ 𝑉)
elimampo.x (𝜑 → 𝑋 ⊆ 𝐴)
elimampo.y (𝜑 → 𝑌 ⊆ 𝐵)
Assertion
Ref Expression
elimampo (𝜑 → (𝐷 ∈ (𝐹 “ (𝑋 × 𝑌)) ↔ ∃𝑥 ∈ 𝑋 ∃𝑦 ∈ 𝑌 𝐷 = 𝐶))
Distinct variable groups:   𝑦,𝐴,𝑥   𝑥,𝐷,𝑦   𝜑,𝑥,𝑦   𝑥,𝐴   𝑥,𝐵,𝑦   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦
Allowed substitution hints:   𝐶(𝑥, 𝑦)   𝐹(𝑥, 𝑦)   𝑉(𝑥, 𝑦)

Proof of Theorem elimampo
StepHypRef Expression
1 df-ima 5664 . . . 4 (𝐹 “ (𝑋 × 𝑌)) = ran (𝐹 ↾ (𝑋 × 𝑌))
21eleq2i 2852 . . 3 (𝐷 ∈ (𝐹 “ (𝑋 × 𝑌)) ↔ 𝐷 ∈ ran (𝐹 ↾ (𝑋 × 𝑌)))
3 rngop.1 . . . . . . 7 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶)
43reseq1i 5967 . . . . . 6 (𝐹 ↾ (𝑋 × 𝑌)) = ((𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) ↾ (𝑋 × 𝑌))
5 elimampo.x . . . . . . 7 (𝜑 → 𝑋 ⊆ 𝐴)
6 elimampo.y . . . . . . 7 (𝜑 → 𝑌 ⊆ 𝐵)
7 resmpo 7544 . . . . . . 7 ((𝑋 ⊆ 𝐴 ∧ 𝑌 ⊆ 𝐵) → ((𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) ↾ (𝑋 × 𝑌)) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶))
85, 6, 7syl2anc 596 . . . . . 6 (𝜑 → ((𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) ↾ (𝑋 × 𝑌)) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶))
94, 8eqtrid 2807 . . . . 5 (𝜑 → (𝐹 ↾ (𝑋 × 𝑌)) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶))
109rneqd 5921 . . . 4 (𝜑 → ran (𝐹 ↾ (𝑋 × 𝑌)) = ran (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶))
1110eleq2d 2846 . . 3 (𝜑 → (𝐷 ∈ ran (𝐹 ↾ (𝑋 × 𝑌)) ↔ 𝐷 ∈ ran (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶)))
122, 11bitrid 286 . 2 (𝜑 → (𝐷 ∈ (𝐹 “ (𝑋 × 𝑌)) ↔ 𝐷 ∈ ran (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶)))
13 elimampo.d . . 3 (𝜑 → 𝐷 ∈ 𝑉)
14 eqid 2760 . . . 4 (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶) = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶)
1514elrnmpog 7559 . . 3 (𝐷 ∈ 𝑉 → (𝐷 ∈ ran (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶) ↔ ∃𝑥 ∈ 𝑋 ∃𝑦 ∈ 𝑌 𝐷 = 𝐶))
1613, 15syl 18 . 2 (𝜑 → (𝐷 ∈ ran (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶) ↔ ∃𝑥 ∈ 𝑋 ∃𝑦 ∈ 𝑌 𝐷 = 𝐶))
1712, 16bitrd 282 1 (𝜑 → (𝐷 ∈ (𝐹 “ (𝑋 × 𝑌)) ↔ ∃𝑥 ∈ 𝑋 ∃𝑦 ∈ 𝑌 𝐷 = 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1569   ∈ wcel 2144  ∃wrex 3086   ⊆ wss 3896   × cxp 5649  ran crn 5652   ↾ cres 5653   “ cima 5654   ∈ cmpo 7426
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-10 2177  ax-11 2193  ax-12 2212  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-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  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-xp 5657  df-rel 5658  df-cnv 5659  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-oprab 7428  df-mpo 7429
This theorem is used by:  psdmul  22496  elrgspnlem2  33854
  Copyright terms: Public domain W3C validator