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

Theorem rexraleqim 3299
Description: Statement following from existence and generalization with equality. (Contributed by AV, 9-Feb-2019.)
Hypotheses
Ref Expression
rexraleqim.1 (𝑥 = 𝑧 → (𝜓𝜑))
rexraleqim.2 (𝑧 = 𝑌 → (𝜑𝜃))
Assertion
Ref Expression
rexraleqim ((∃𝑧𝐴 𝜑 ∧ ∀𝑥𝐴 (𝜓𝑥 = 𝑌)) → 𝜃)
Distinct variable groups:   𝑥,𝐴,𝑧   𝑥,𝑌,𝑧   𝜑,𝑥   𝜓,𝑧   𝜃,𝑧
Allowed substitution hints:   𝜑(𝑧)   𝜓(𝑥)   𝜃(𝑥)

Proof of Theorem rexraleqim
StepHypRef Expression
1 rexraleqim.1 . . . . . . 7 (𝑥 = 𝑧 → (𝜓𝜑))
2 eqeq1 2614 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝑌𝑧 = 𝑌))
31, 2imbi12d 333 . . . . . 6 (𝑥 = 𝑧 → ((𝜓𝑥 = 𝑌) ↔ (𝜑𝑧 = 𝑌)))
43rspcva 3280 . . . . 5 ((𝑧𝐴 ∧ ∀𝑥𝐴 (𝜓𝑥 = 𝑌)) → (𝜑𝑧 = 𝑌))
5 rexraleqim.2 . . . . . 6 (𝑧 = 𝑌 → (𝜑𝜃))
65biimpd 218 . . . . 5 (𝑧 = 𝑌 → (𝜑𝜃))
74, 6syli 38 . . . 4 ((𝑧𝐴 ∧ ∀𝑥𝐴 (𝜓𝑥 = 𝑌)) → (𝜑𝜃))
87impancom 455 . . 3 ((𝑧𝐴𝜑) → (∀𝑥𝐴 (𝜓𝑥 = 𝑌) → 𝜃))
98rexlimiva 3010 . 2 (∃𝑧𝐴 𝜑 → (∀𝑥𝐴 (𝜓𝑥 = 𝑌) → 𝜃))
109imp 444 1 ((∃𝑧𝐴 𝜑 ∧ ∀𝑥𝐴 (𝜓𝑥 = 𝑌)) → 𝜃)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  wrex 2897
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-v 3175
This theorem is referenced by:  cramerlem3  20314
  Copyright terms: Public domain W3C validator