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

Theorem ralab2 3719
Description: Universal quantification over a class abstraction. (Contributed by Mario Carneiro, 3-Sep-2015.) Drop ax-8 2110. (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 3068 . 2 (∀𝑥 ∈ {𝑦𝜑}𝜓 ↔ ∀𝑥(𝑥 ∈ {𝑦𝜑} → 𝜓))
2 nfsab1 2725 . . . 4 𝑦 𝑥 ∈ {𝑦𝜑}
3 nfv 1913 . . . 4 𝑦𝜓
42, 3nfim 1895 . . 3 𝑦(𝑥 ∈ {𝑦𝜑} → 𝜓)
5 nfv 1913 . . 3 𝑥(𝜑𝜒)
6 eleq1ab 2719 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦𝜑} ↔ 𝑦 ∈ {𝑦𝜑}))
7 abid 2721 . . . . 5 (𝑦 ∈ {𝑦𝜑} ↔ 𝜑)
86, 7bitrdi 287 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦𝜑} ↔ 𝜑))
9 ralab2.1 . . . 4 (𝑥 = 𝑦 → (𝜓𝜒))
108, 9imbi12d 344 . . 3 (𝑥 = 𝑦 → ((𝑥 ∈ {𝑦𝜑} → 𝜓) ↔ (𝜑𝜒)))
114, 5, 10cbvalv1 2347 . 2 (∀𝑥(𝑥 ∈ {𝑦𝜑} → 𝜓) ↔ ∀𝑦(𝜑𝜒))
121, 11bitri 275 1 (∀𝑥 ∈ {𝑦𝜑}𝜓 ↔ ∀𝑦(𝜑𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wal 1535  wcel 2108  {cab 2717  wral 3067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-10 2141  ax-11 2158  ax-12 2178
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-ex 1778  df-nf 1782  df-sb 2065  df-clab 2718  df-ral 3068
This theorem is referenced by:  ralrab2  3720  elintabg  4981  ssintab  4989  efgval  19759  efger  19760  elintima  43615
  Copyright terms: Public domain W3C validator