Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  imaeqsexv Structured version   Visualization version   GIF version

Theorem imaeqsexv 33360
Description: Substitute a function value into an existential quantifier over an image. (Contributed by Scott Fenton, 27-Sep-2024.)
Hypothesis
Ref Expression
imaeqsex.1 (𝑥 = (𝐹𝑦) → (𝜑𝜓))
Assertion
Ref Expression
imaeqsexv ((𝐹 Fn 𝐴𝐵𝐴) → (∃𝑥 ∈ (𝐹𝐵)𝜑 ↔ ∃𝑦𝐵 𝜓))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵,𝑦   𝑥,𝐹,𝑦   𝜑,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝐴(𝑦)

Proof of Theorem imaeqsexv
StepHypRef Expression
1 df-rex 3057 . . 3 (∃𝑥 ∈ (𝐹𝐵)𝜑 ↔ ∃𝑥(𝑥 ∈ (𝐹𝐵) ∧ 𝜑))
2 fvelimab 6762 . . . . 5 ((𝐹 Fn 𝐴𝐵𝐴) → (𝑥 ∈ (𝐹𝐵) ↔ ∃𝑦𝐵 (𝐹𝑦) = 𝑥))
32anbi1d 633 . . . 4 ((𝐹 Fn 𝐴𝐵𝐴) → ((𝑥 ∈ (𝐹𝐵) ∧ 𝜑) ↔ (∃𝑦𝐵 (𝐹𝑦) = 𝑥𝜑)))
43exbidv 1929 . . 3 ((𝐹 Fn 𝐴𝐵𝐴) → (∃𝑥(𝑥 ∈ (𝐹𝐵) ∧ 𝜑) ↔ ∃𝑥(∃𝑦𝐵 (𝐹𝑦) = 𝑥𝜑)))
51, 4syl5bb 286 . 2 ((𝐹 Fn 𝐴𝐵𝐴) → (∃𝑥 ∈ (𝐹𝐵)𝜑 ↔ ∃𝑥(∃𝑦𝐵 (𝐹𝑦) = 𝑥𝜑)))
6 rexcom4 3162 . . 3 (∃𝑦𝐵𝑥((𝐹𝑦) = 𝑥𝜑) ↔ ∃𝑥𝑦𝐵 ((𝐹𝑦) = 𝑥𝜑))
7 eqcom 2743 . . . . . . 7 ((𝐹𝑦) = 𝑥𝑥 = (𝐹𝑦))
87anbi1i 627 . . . . . 6 (((𝐹𝑦) = 𝑥𝜑) ↔ (𝑥 = (𝐹𝑦) ∧ 𝜑))
98exbii 1855 . . . . 5 (∃𝑥((𝐹𝑦) = 𝑥𝜑) ↔ ∃𝑥(𝑥 = (𝐹𝑦) ∧ 𝜑))
10 fvex 6708 . . . . . 6 (𝐹𝑦) ∈ V
11 imaeqsex.1 . . . . . 6 (𝑥 = (𝐹𝑦) → (𝜑𝜓))
1210, 11ceqsexv 3445 . . . . 5 (∃𝑥(𝑥 = (𝐹𝑦) ∧ 𝜑) ↔ 𝜓)
139, 12bitri 278 . . . 4 (∃𝑥((𝐹𝑦) = 𝑥𝜑) ↔ 𝜓)
1413rexbii 3160 . . 3 (∃𝑦𝐵𝑥((𝐹𝑦) = 𝑥𝜑) ↔ ∃𝑦𝐵 𝜓)
15 r19.41v 3250 . . . 4 (∃𝑦𝐵 ((𝐹𝑦) = 𝑥𝜑) ↔ (∃𝑦𝐵 (𝐹𝑦) = 𝑥𝜑))
1615exbii 1855 . . 3 (∃𝑥𝑦𝐵 ((𝐹𝑦) = 𝑥𝜑) ↔ ∃𝑥(∃𝑦𝐵 (𝐹𝑦) = 𝑥𝜑))
176, 14, 163bitr3ri 305 . 2 (∃𝑥(∃𝑦𝐵 (𝐹𝑦) = 𝑥𝜑) ↔ ∃𝑦𝐵 𝜓)
185, 17bitrdi 290 1 ((𝐹 Fn 𝐴𝐵𝐴) → (∃𝑥 ∈ (𝐹𝐵)𝜑 ↔ ∃𝑦𝐵 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wex 1787  wcel 2112  wrex 3052  wss 3853  cima 5539   Fn wfn 6353  cfv 6358
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-sbc 3684  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-opab 5102  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6316  df-fun 6360  df-fn 6361  df-fv 6366
This theorem is referenced by:  imaeqsalv  33361
  Copyright terms: Public domain W3C validator