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

Theorem ceqsralt 3475
 Description: Restricted quantifier version of ceqsalt 3474. (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 3111 . . . 4 (∀𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ ∀𝑥(𝑥𝐵 → (𝑥 = 𝐴𝜑)))
2 eleq1 2877 . . . . . . . 8 (𝑥 = 𝐴 → (𝑥𝐵𝐴𝐵))
32pm5.32ri 579 . . . . . . 7 ((𝑥𝐵𝑥 = 𝐴) ↔ (𝐴𝐵𝑥 = 𝐴))
43imbi1i 353 . . . . . 6 (((𝑥𝐵𝑥 = 𝐴) → 𝜑) ↔ ((𝐴𝐵𝑥 = 𝐴) → 𝜑))
5 impexp 454 . . . . . 6 (((𝑥𝐵𝑥 = 𝐴) → 𝜑) ↔ (𝑥𝐵 → (𝑥 = 𝐴𝜑)))
6 impexp 454 . . . . . 6 (((𝐴𝐵𝑥 = 𝐴) → 𝜑) ↔ (𝐴𝐵 → (𝑥 = 𝐴𝜑)))
74, 5, 63bitr3i 304 . . . . 5 ((𝑥𝐵 → (𝑥 = 𝐴𝜑)) ↔ (𝐴𝐵 → (𝑥 = 𝐴𝜑)))
87albii 1821 . . . 4 (∀𝑥(𝑥𝐵 → (𝑥 = 𝐴𝜑)) ↔ ∀𝑥(𝐴𝐵 → (𝑥 = 𝐴𝜑)))
9 19.21v 1940 . . . 4 (∀𝑥(𝐴𝐵 → (𝑥 = 𝐴𝜑)) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑)))
101, 8, 93bitri 300 . . 3 (∀𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑)))
1110a1i 11 . 2 ((Ⅎ𝑥𝜓 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (∀𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑))))
12 biimt 364 . . 3 (𝐴𝐵 → (∀𝑥(𝑥 = 𝐴𝜑) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑))))
13123ad2ant3 1132 . 2 ((Ⅎ𝑥𝜓 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (∀𝑥(𝑥 = 𝐴𝜑) ↔ (𝐴𝐵 → ∀𝑥(𝑥 = 𝐴𝜑))))
14 ceqsalt 3474 . 2 ((Ⅎ𝑥𝜓 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (∀𝑥(𝑥 = 𝐴𝜑) ↔ 𝜓))
1511, 13, 143bitr2d 310 1 ((Ⅎ𝑥𝜓 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (∀𝑥𝐵 (𝑥 = 𝐴𝜑) ↔ 𝜓))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   ∧ w3a 1084  ∀wal 1536   = wceq 1538  Ⅎwnf 1785   ∈ wcel 2111  ∀wral 3106 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-12 2175  ax-ext 2770 This theorem depends on definitions:  df-bi 210  df-an 400  df-3an 1086  df-ex 1782  df-nf 1786  df-cleq 2791  df-clel 2870  df-ral 3111 This theorem is referenced by:  ceqsralv  3480  cdleme32fva  37752
 Copyright terms: Public domain W3C validator