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

Theorem cdeqim 3395
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 3388 . . 3 (𝑥 = 𝑦 → (𝜑𝜓))
3 cdeqim.1 . . . 4 CondEq(𝑥 = 𝑦 → (𝜒𝜃))
43cdeqri 3388 . . 3 (𝑥 = 𝑦 → (𝜒𝜃))
52, 4imbi12d 333 . 2 (𝑥 = 𝑦 → ((𝜑𝜒) ↔ (𝜓𝜃)))
65cdeqi 3387 1 CondEq(𝑥 = 𝑦 → ((𝜑𝜒) ↔ (𝜓𝜃)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  CondEqwcdeq 3385
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 196  df-cdeq 3386
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator