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

Theorem rgen2a 3218
Description: Generalization rule for restricted quantification. Note that 𝑥 and 𝑦 are not required to be disjoint. This proof illustrates the use of dvelim 2474. This theorem relies on the full set of axioms up to ax-ext 2794 and it should no longer be used. Usage of rgen2 3193 is highly encouraged. (Contributed by NM, 23-Nov-1994.) (Proof shortened by Andrew Salmon, 25-May-2011.) (Proof shortened by Wolf Lammen, 1-Jan-2020.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypothesis
Ref Expression
rgen2a.1 ((𝑥𝐴𝑦𝐴) → 𝜑)
Assertion
Ref Expression
rgen2a 𝑥𝐴𝑦𝐴 𝜑
Distinct variable group:   𝑦,𝐴
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥)

Proof of Theorem rgen2a
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eleq1 2901 . . . . . 6 (𝑧 = 𝑥 → (𝑧𝐴𝑥𝐴))
21dvelimv 2475 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑥 → (𝑥𝐴 → ∀𝑦 𝑥𝐴))
3 rgen2a.1 . . . . . . 7 ((𝑥𝐴𝑦𝐴) → 𝜑)
43ex 416 . . . . . 6 (𝑥𝐴 → (𝑦𝐴𝜑))
54alimi 1813 . . . . 5 (∀𝑦 𝑥𝐴 → ∀𝑦(𝑦𝐴𝜑))
62, 5syl6com 37 . . . 4 (𝑥𝐴 → (¬ ∀𝑦 𝑦 = 𝑥 → ∀𝑦(𝑦𝐴𝜑)))
7 eleq1 2901 . . . . . . 7 (𝑦 = 𝑥 → (𝑦𝐴𝑥𝐴))
87biimpd 232 . . . . . 6 (𝑦 = 𝑥 → (𝑦𝐴𝑥𝐴))
98, 4syli 39 . . . . 5 (𝑦 = 𝑥 → (𝑦𝐴𝜑))
109alimi 1813 . . . 4 (∀𝑦 𝑦 = 𝑥 → ∀𝑦(𝑦𝐴𝜑))
116, 10pm2.61d2 184 . . 3 (𝑥𝐴 → ∀𝑦(𝑦𝐴𝜑))
12 df-ral 3135 . . 3 (∀𝑦𝐴 𝜑 ↔ ∀𝑦(𝑦𝐴𝜑))
1311, 12sylibr 237 . 2 (𝑥𝐴 → ∀𝑦𝐴 𝜑)
1413rgen 3140 1 𝑥𝐴𝑦𝐴 𝜑
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  wal 1536  wcel 2114  wral 3130
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 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2178  ax-13 2391  ax-ext 2794
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-cleq 2815  df-clel 2894  df-ral 3135
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator