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

Theorem ralab2 3658
Description: Universal quantification over a class abstraction. (Contributed by Mario Carneiro, 3-Sep-2015.) Drop ax-8 2149. (Revised by GG, 1-Dec-2023.)
Hypothesis
Ref Expression
ralab2.1 (𝑥 = 𝑦 → (𝜓 ↔ 𝜒))
Assertion
Ref Expression
ralab2 (∀𝑥 ∈ {𝑦 ∣ 𝜑}𝜓 ↔ ∀𝑦(𝜑 → 𝜒))
Distinct variable groups:   𝑥,𝑦   𝜒,𝑥   𝜑,𝑥   𝜓,𝑦
Allowed substitution hints:   𝜑(𝑦)   𝜓(𝑥)   𝜒(𝑦)

Proof of Theorem ralab2
StepHypRef Expression
1 df-ral 3081 . 2 (∀𝑥 ∈ {𝑦 ∣ 𝜑}𝜓 ↔ ∀𝑥(𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓))
2 nfsab1 2749 . . . 4 Ⅎ𝑦 𝑥 ∈ {𝑦 ∣ 𝜑}
3 nfv 1949 . . . 4 Ⅎ𝑦𝜓
42, 3nfim 1931 . . 3 Ⅎ𝑦(𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓)
5 nfv 1949 . . 3 Ⅎ𝑥(𝜑 → 𝜒)
6 eleq1ab 2743 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦 ∣ 𝜑} ↔ 𝑦 ∈ {𝑦 ∣ 𝜑}))
7 abid 2745 . . . . 5 (𝑦 ∈ {𝑦 ∣ 𝜑} ↔ 𝜑)
86, 7bitrdi 290 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦 ∣ 𝜑} ↔ 𝜑))
9 ralab2.1 . . . 4 (𝑥 = 𝑦 → (𝜓 ↔ 𝜒))
108, 9imbi12d 347 . . 3 (𝑥 = 𝑦 → ((𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓) ↔ (𝜑 → 𝜒)))
114, 5, 10cbvalv1 2374 . 2 (∀𝑥(𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓) ↔ ∀𝑦(𝜑 → 𝜒))
121, 11bitri 278 1 (∀𝑥 ∈ {𝑦 ∣ 𝜑}𝜓 ↔ ∀𝑦(𝜑 → 𝜒))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1568   ∈ wcel 2147  {cab 2741  ∀wral 3080
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-10 2180  ax-11 2197  ax-12 2216
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-ral 3081
This theorem is used by:  ralrab2  3659  elintabg  4921  ssintab  4928  efgval  19958  efger  19959  tz9.1tco  37448  dfttc3gw  37488  elintima  44843
  Copyright terms: Public domain W3C validator