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

Theorem ceqsralt 3202
 Description: Restricted quantifier version of ceqsalt 3201. (Contributed by NM, 28-Feb-2013.) (Revised by Mario Carneiro, 10-Oct-2016.)
Assertion
Ref Expression
ceqsralt ((Ⅎ𝑥𝜓 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (∀𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ 𝜓))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)

Proof of Theorem ceqsralt
StepHypRef Expression
1 df-ral 2901 . . . 4 (∀𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ ∀𝑥(𝑥𝐵 → (𝑥 = 𝐴𝜑)))
2 eleq1 2676 . . . . . . . 8 (𝑥 = 𝐴 → (𝑥𝐵𝐴𝐵))
32pm5.32ri 668 . . . . . . 7 ((𝑥𝐵𝑥 = 𝐴) ↔ (𝐴𝐵𝑥 = 𝐴))
43imbi1i 338 . . . . . 6 (((𝑥𝐵𝑥 = 𝐴) → 𝜑) ↔ ((𝐴𝐵𝑥 = 𝐴) → 𝜑))
5 impexp 461 . . . . . 6 (((𝑥𝐵𝑥 = 𝐴) → 𝜑) ↔ (𝑥𝐵 → (𝑥 = 𝐴𝜑)))
6 impexp 461 . . . . . 6 (((𝐴𝐵𝑥 = 𝐴) → 𝜑) ↔ (𝐴𝐵 → (𝑥 = 𝐴𝜑)))
74, 5, 63bitr3i 289 . . . . 5 ((𝑥𝐵 → (𝑥 = 𝐴𝜑)) ↔ (𝐴𝐵 → (𝑥 = 𝐴𝜑)))
87albii 1737 . . . 4 (∀𝑥(𝑥𝐵 → (𝑥 = 𝐴𝜑)) ↔ ∀𝑥(𝐴𝐵 → (𝑥 = 𝐴𝜑)))
9 19.21v 1855 . . . 4 (∀𝑥(𝐴𝐵 → (𝑥 = 𝐴𝜑)) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑)))
101, 8, 93bitri 285 . . 3 (∀𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑)))
1110a1i 11 . 2 ((Ⅎ𝑥𝜓 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (∀𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑))))
12 biimt 349 . . 3 (𝐴𝐵 → (∀𝑥(𝑥 = 𝐴𝜑) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑))))
13123ad2ant3 1077 . 2 ((Ⅎ𝑥𝜓 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (∀𝑥(𝑥 = 𝐴𝜑) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑))))
14 ceqsalt 3201 . 2 ((Ⅎ𝑥𝜓 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (∀𝑥(𝑥 = 𝐴𝜑) ↔ 𝜓))
1511, 13, 143bitr2d 295 1 ((Ⅎ𝑥𝜓 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (∀𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ 𝜓))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383   ∧ w3a 1031  ∀wal 1473   = wceq 1475  Ⅎwnf 1699   ∈ wcel 1977  ∀wral 2896 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-12 2034  ax-ext 2590 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-ral 2901  df-v 3175 This theorem is referenced by:  ceqsralv  3207  cdleme32fva  34743
 Copyright terms: Public domain W3C validator