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

Theorem rexraleqim 3604
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 2767 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝑌 ↔ 𝑧 = 𝑌))
31, 2imbi12d 347 . . . . . 6 (𝑥 = 𝑧 → ((𝜓 → 𝑥 = 𝑌) ↔ (𝜑 → 𝑧 = 𝑌)))
43rspcva 3578 . . . . 5 ((𝑧 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝜓 → 𝑥 = 𝑌)) → (𝜑 → 𝑧 = 𝑌))
5 rexraleqim.2 . . . . . 6 (𝑧 = 𝑌 → (𝜑 ↔ 𝜃))
65biimpd 232 . . . . 5 (𝑧 = 𝑌 → (𝜑 → 𝜃))
74, 6syli 40 . . . 4 ((𝑧 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝜓 → 𝑥 = 𝑌)) → (𝜑 → 𝜃))
87impancom 457 . . 3 ((𝑧 ∈ 𝐴 ∧ 𝜑) → (∀𝑥 ∈ 𝐴 (𝜓 → 𝑥 = 𝑌) → 𝜃))
98rexlimiva 3159 . 2 (∃𝑧 ∈ 𝐴 𝜑 → (∀𝑥 ∈ 𝐴 (𝜓 → 𝑥 = 𝑌) → 𝜃))
109imp 412 1 ((∃𝑧 ∈ 𝐴 𝜑 ∧ ∀𝑥 ∈ 𝐴 (𝜓 → 𝑥 = 𝑌)) → 𝜃)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091
This theorem is used by:  cramerlem3  23040  elttcirr  37510
  Copyright terms: Public domain W3C validator