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

Theorem caovcang 7451
Description: Convert an operation cancellation law to class notation. (Contributed by NM, 20-Aug-1995.) (Revised by Mario Carneiro, 30-Dec-2014.)
Hypothesis
Ref Expression
caovcang.1 ((𝜑 ∧ (𝑥𝑇𝑦𝑆𝑧𝑆)) → ((𝑥𝐹𝑦) = (𝑥𝐹𝑧) ↔ 𝑦 = 𝑧))
Assertion
Ref Expression
caovcang ((𝜑 ∧ (𝐴𝑇𝐵𝑆𝐶𝑆)) → ((𝐴𝐹𝐵) = (𝐴𝐹𝐶) ↔ 𝐵 = 𝐶))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐵,𝑦,𝑧   𝑥,𝐶,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧   𝑥,𝐹,𝑦,𝑧   𝑥,𝑆,𝑦,𝑧   𝑥,𝑇,𝑦,𝑧

Proof of Theorem caovcang
StepHypRef Expression
1 caovcang.1 . . 3 ((𝜑 ∧ (𝑥𝑇𝑦𝑆𝑧𝑆)) → ((𝑥𝐹𝑦) = (𝑥𝐹𝑧) ↔ 𝑦 = 𝑧))
21ralrimivvva 3115 . 2 (𝜑 → ∀𝑥𝑇𝑦𝑆𝑧𝑆 ((𝑥𝐹𝑦) = (𝑥𝐹𝑧) ↔ 𝑦 = 𝑧))
3 oveq1 7262 . . . . 5 (𝑥 = 𝐴 → (𝑥𝐹𝑦) = (𝐴𝐹𝑦))
4 oveq1 7262 . . . . 5 (𝑥 = 𝐴 → (𝑥𝐹𝑧) = (𝐴𝐹𝑧))
53, 4eqeq12d 2754 . . . 4 (𝑥 = 𝐴 → ((𝑥𝐹𝑦) = (𝑥𝐹𝑧) ↔ (𝐴𝐹𝑦) = (𝐴𝐹𝑧)))
65bibi1d 343 . . 3 (𝑥 = 𝐴 → (((𝑥𝐹𝑦) = (𝑥𝐹𝑧) ↔ 𝑦 = 𝑧) ↔ ((𝐴𝐹𝑦) = (𝐴𝐹𝑧) ↔ 𝑦 = 𝑧)))
7 oveq2 7263 . . . . 5 (𝑦 = 𝐵 → (𝐴𝐹𝑦) = (𝐴𝐹𝐵))
87eqeq1d 2740 . . . 4 (𝑦 = 𝐵 → ((𝐴𝐹𝑦) = (𝐴𝐹𝑧) ↔ (𝐴𝐹𝐵) = (𝐴𝐹𝑧)))
9 eqeq1 2742 . . . 4 (𝑦 = 𝐵 → (𝑦 = 𝑧𝐵 = 𝑧))
108, 9bibi12d 345 . . 3 (𝑦 = 𝐵 → (((𝐴𝐹𝑦) = (𝐴𝐹𝑧) ↔ 𝑦 = 𝑧) ↔ ((𝐴𝐹𝐵) = (𝐴𝐹𝑧) ↔ 𝐵 = 𝑧)))
11 oveq2 7263 . . . . 5 (𝑧 = 𝐶 → (𝐴𝐹𝑧) = (𝐴𝐹𝐶))
1211eqeq2d 2749 . . . 4 (𝑧 = 𝐶 → ((𝐴𝐹𝐵) = (𝐴𝐹𝑧) ↔ (𝐴𝐹𝐵) = (𝐴𝐹𝐶)))
13 eqeq2 2750 . . . 4 (𝑧 = 𝐶 → (𝐵 = 𝑧𝐵 = 𝐶))
1412, 13bibi12d 345 . . 3 (𝑧 = 𝐶 → (((𝐴𝐹𝐵) = (𝐴𝐹𝑧) ↔ 𝐵 = 𝑧) ↔ ((𝐴𝐹𝐵) = (𝐴𝐹𝐶) ↔ 𝐵 = 𝐶)))
156, 10, 14rspc3v 3565 . 2 ((𝐴𝑇𝐵𝑆𝐶𝑆) → (∀𝑥𝑇𝑦𝑆𝑧𝑆 ((𝑥𝐹𝑦) = (𝑥𝐹𝑧) ↔ 𝑦 = 𝑧) → ((𝐴𝐹𝐵) = (𝐴𝐹𝐶) ↔ 𝐵 = 𝐶)))
162, 15mpan9 506 1 ((𝜑 ∧ (𝐴𝑇𝐵𝑆𝐶𝑆)) → ((𝐴𝐹𝐵) = (𝐴𝐹𝐶) ↔ 𝐵 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  (class class class)co 7255
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-iota 6376  df-fv 6426  df-ov 7258
This theorem is referenced by:  caovcand  7452  caofcan  41830
  Copyright terms: Public domain W3C validator