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

Theorem cdeqim 3761
Description: Distribute conditional equality over implication. (Contributed by Mario Carneiro, 11-Aug-2016.)
Hypotheses
Ref Expression
cdeqnot.1 CondEq(𝑥 = 𝑦 → (𝜑𝜓))
cdeqim.1 CondEq(𝑥 = 𝑦 → (𝜒𝜃))
Assertion
Ref Expression
cdeqim CondEq(𝑥 = 𝑦 → ((𝜑𝜒) ↔ (𝜓𝜃)))

Proof of Theorem cdeqim
StepHypRef Expression
1 cdeqnot.1 . . . 4 CondEq(𝑥 = 𝑦 → (𝜑𝜓))
21cdeqri 3754 . . 3 (𝑥 = 𝑦 → (𝜑𝜓))
3 cdeqim.1 . . . 4 CondEq(𝑥 = 𝑦 → (𝜒𝜃))
43cdeqri 3754 . . 3 (𝑥 = 𝑦 → (𝜒𝜃))
52, 4imbi12d 346 . 2 (𝑥 = 𝑦 → ((𝜑𝜒) ↔ (𝜓𝜃)))
65cdeqi 3753 1 CondEq(𝑥 = 𝑦 → ((𝜑𝜒) ↔ (𝜓𝜃)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  CondEqwcdeq 3751
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This theorem depends on definitions:  df-bi 208  df-cdeq 3752
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator