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

Theorem cdeqim 3739
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 3732 . . 3 (𝑥 = 𝑦 → (𝜑𝜓))
3 cdeqim.1 . . . 4 CondEq(𝑥 = 𝑦 → (𝜒𝜃))
43cdeqri 3732 . . 3 (𝑥 = 𝑦 → (𝜒𝜃))
52, 4imbi12d 347 . 2 (𝑥 = 𝑦 → ((𝜑𝜒) ↔ (𝜓𝜃)))
65cdeqi 3731 1 CondEq(𝑥 = 𝑦 → ((𝜑𝜒) ↔ (𝜓𝜃)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  CondEqwcdeq 3729
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This proof depends on definitions:  df-bi 210  df-cdeq 3730
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator