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

Theorem cdeqab1 3672
Description: Distribute conditional equality over abstraction. (Contributed by Mario Carneiro, 11-Aug-2016.)
Hypothesis
Ref Expression
cdeqnot.1 CondEq(𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
cdeqab1 CondEq(𝑥 = 𝑦 → {𝑥𝜑} = {𝑦𝜓})
Distinct variable groups:   𝜓,𝑥   𝜑,𝑦
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)

Proof of Theorem cdeqab1
StepHypRef Expression
1 nfv 1873 . . 3 𝑦𝜑
2 nfv 1873 . . 3 𝑥𝜓
3 cdeqnot.1 . . . 4 CondEq(𝑥 = 𝑦 → (𝜑𝜓))
43cdeqri 3666 . . 3 (𝑥 = 𝑦 → (𝜑𝜓))
51, 2, 4cbvab 2911 . 2 {𝑥𝜑} = {𝑦𝜓}
65cdeqth 3667 1 CondEq(𝑥 = 𝑦 → {𝑥𝜑} = {𝑦𝜓})
Colors of variables: wff setvar class
Syntax hints:  wb 198   = wceq 1507  {cab 2758  CondEqwcdeq 3663
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1965  ax-9 2059  ax-10 2079  ax-11 2093  ax-12 2106  ax-13 2301  ax-ext 2750
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2016  df-clab 2759  df-cleq 2771  df-cdeq 3664
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator