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

Theorem ralab2 3687
Description: Universal quantification over a class abstraction. (Contributed by Mario Carneiro, 3-Sep-2015.) Drop ax-8 2112. (Revised by Gino Giotto, 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 3143 . 2 (∀𝑥 ∈ {𝑦𝜑}𝜓 ↔ ∀𝑥(𝑥 ∈ {𝑦𝜑} → 𝜓))
2 nfsab1 2808 . . . 4 𝑦 𝑥 ∈ {𝑦𝜑}
3 nfv 1911 . . . 4 𝑦𝜓
42, 3nfim 1893 . . 3 𝑦(𝑥 ∈ {𝑦𝜑} → 𝜓)
5 nfv 1911 . . 3 𝑥(𝜑𝜒)
6 eleq1ab 2801 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦𝜑} ↔ 𝑦 ∈ {𝑦𝜑}))
7 abid 2803 . . . . 5 (𝑦 ∈ {𝑦𝜑} ↔ 𝜑)
86, 7syl6bb 289 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦𝜑} ↔ 𝜑))
9 ralab2.1 . . . 4 (𝑥 = 𝑦 → (𝜓𝜒))
108, 9imbi12d 347 . . 3 (𝑥 = 𝑦 → ((𝑥 ∈ {𝑦𝜑} → 𝜓) ↔ (𝜑𝜒)))
114, 5, 10cbvalv1 2357 . 2 (∀𝑥(𝑥 ∈ {𝑦𝜑} → 𝜓) ↔ ∀𝑦(𝜑𝜒))
121, 11bitri 277 1 (∀𝑥 ∈ {𝑦𝜑}𝜓 ↔ ∀𝑦(𝜑𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wal 1531  wcel 2110  {cab 2799  wral 3138
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-10 2141  ax-11 2157  ax-12 2173
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-ral 3143
This theorem is referenced by:  ralrab2  3689  ssintab  4892  efgval  18842  efger  18843  elintabg  39932  elintima  39996
  Copyright terms: Public domain W3C validator