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

Theorem cdeqel 3734
Description: Distribute conditional equality over elementhood. (Contributed by Mario Carneiro, 11-Aug-2016.)
Hypotheses
Ref Expression
cdeqeq.1 CondEq(𝑥 = 𝑦𝐴 = 𝐵)
cdeqeq.2 CondEq(𝑥 = 𝑦𝐶 = 𝐷)
Assertion
Ref Expression
cdeqel CondEq(𝑥 = 𝑦 → (𝐴𝐶𝐵𝐷))

Proof of Theorem cdeqel
StepHypRef Expression
1 cdeqeq.1 . . . 4 CondEq(𝑥 = 𝑦𝐴 = 𝐵)
21cdeqri 3724 . . 3 (𝑥 = 𝑦𝐴 = 𝐵)
3 cdeqeq.2 . . . 4 CondEq(𝑥 = 𝑦𝐶 = 𝐷)
43cdeqri 3724 . . 3 (𝑥 = 𝑦𝐶 = 𝐷)
52, 4eleq12d 2854 . 2 (𝑥 = 𝑦 → (𝐴𝐶𝐵𝐷))
65cdeqi 3723 1 CondEq(𝑥 = 𝑦 → (𝐴𝐶𝐵𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209   = wceq 1570  wcel 2145  CondEqwcdeq 3721
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-cleq 2752  df-clel 2835  df-cdeq 3722
This theorem is used by:  nfccdeq  3736
  Copyright terms: Public domain W3C validator