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

Theorem ralab2 3654
Description: Universal quantification over a class abstraction. (Contributed by Mario Carneiro, 3-Sep-2015.) Drop ax-8 2146. (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 3077 . 2 (∀𝑥 ∈ {𝑦 ∣ 𝜑}𝜓 ↔ ∀𝑥(𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓))
2 nfsab1 2746 . . . 4 Ⅎ𝑦 𝑥 ∈ {𝑦 ∣ 𝜑}
3 nfv 1946 . . . 4 Ⅎ𝑦𝜓
42, 3nfim 1928 . . 3 Ⅎ𝑦(𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓)
5 nfv 1946 . . 3 Ⅎ𝑥(𝜑 → 𝜒)
6 eleq1ab 2740 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦 ∣ 𝜑} ↔ 𝑦 ∈ {𝑦 ∣ 𝜑}))
7 abid 2742 . . . . 5 (𝑦 ∈ {𝑦 ∣ 𝜑} ↔ 𝜑)
86, 7bitrdi 290 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦 ∣ 𝜑} ↔ 𝜑))
9 ralab2.1 . . . 4 (𝑥 = 𝑦 → (𝜓 ↔ 𝜒))
108, 9imbi12d 347 . . 3 (𝑥 = 𝑦 → ((𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓) ↔ (𝜑 → 𝜒)))
114, 5, 10cbvalv1 2370 . 2 (∀𝑥(𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓) ↔ ∀𝑦(𝜑 → 𝜒))
121, 11bitri 278 1 (∀𝑥 ∈ {𝑦 ∣ 𝜑}𝜓 ↔ ∀𝑦(𝜑 → 𝜒))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1567   ∈ wcel 2144  {cab 2738  ∀wral 3076
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-10 2177  ax-11 2193  ax-12 2212
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-ral 3077
This theorem is used by:  ralrab2  3655  elintabg  4917  ssintab  4924  efgval  19931  efger  19932  tz9.1tco  37271  dfttc3gw  37311  elintima  44653
  Copyright terms: Public domain W3C validator