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

Theorem swopolem 5486
Description: Perform the substitutions into the strict weak ordering law. (Contributed by Mario Carneiro, 31-Dec-2014.)
Hypothesis
Ref Expression
swopolem.1 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
Assertion
Ref Expression
swopolem ((𝜑 ∧ (𝑋𝐴𝑌𝐴𝑍𝐴)) → (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝜑,𝑥,𝑦,𝑧   𝑥,𝑅,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧   𝑦,𝑌,𝑧   𝑧,𝑍
Allowed substitution hints:   𝑌(𝑥)   𝑍(𝑥,𝑦)

Proof of Theorem swopolem
StepHypRef Expression
1 swopolem.1 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
21ralrimivvva 3195 . 2 (𝜑 → ∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
3 breq1 5072 . . . 4 (𝑥 = 𝑋 → (𝑥𝑅𝑦𝑋𝑅𝑦))
4 breq1 5072 . . . . 5 (𝑥 = 𝑋 → (𝑥𝑅𝑧𝑋𝑅𝑧))
54orbi1d 913 . . . 4 (𝑥 = 𝑋 → ((𝑥𝑅𝑧𝑧𝑅𝑦) ↔ (𝑋𝑅𝑧𝑧𝑅𝑦)))
63, 5imbi12d 347 . . 3 (𝑥 = 𝑋 → ((𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)) ↔ (𝑋𝑅𝑦 → (𝑋𝑅𝑧𝑧𝑅𝑦))))
7 breq2 5073 . . . 4 (𝑦 = 𝑌 → (𝑋𝑅𝑦𝑋𝑅𝑌))
8 breq2 5073 . . . . 5 (𝑦 = 𝑌 → (𝑧𝑅𝑦𝑧𝑅𝑌))
98orbi2d 912 . . . 4 (𝑦 = 𝑌 → ((𝑋𝑅𝑧𝑧𝑅𝑦) ↔ (𝑋𝑅𝑧𝑧𝑅𝑌)))
107, 9imbi12d 347 . . 3 (𝑦 = 𝑌 → ((𝑋𝑅𝑦 → (𝑋𝑅𝑧𝑧𝑅𝑦)) ↔ (𝑋𝑅𝑌 → (𝑋𝑅𝑧𝑧𝑅𝑌))))
11 breq2 5073 . . . . 5 (𝑧 = 𝑍 → (𝑋𝑅𝑧𝑋𝑅𝑍))
12 breq1 5072 . . . . 5 (𝑧 = 𝑍 → (𝑧𝑅𝑌𝑍𝑅𝑌))
1311, 12orbi12d 915 . . . 4 (𝑧 = 𝑍 → ((𝑋𝑅𝑧𝑧𝑅𝑌) ↔ (𝑋𝑅𝑍𝑍𝑅𝑌)))
1413imbi2d 343 . . 3 (𝑧 = 𝑍 → ((𝑋𝑅𝑌 → (𝑋𝑅𝑧𝑧𝑅𝑌)) ↔ (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌))))
156, 10, 14rspc3v 3639 . 2 ((𝑋𝐴𝑌𝐴𝑍𝐴) → (∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)) → (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌))))
162, 15mpan9 509 1 ((𝜑 ∧ (𝑋𝐴𝑌𝐴𝑍𝐴)) → (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wo 843  w3a 1083   = wceq 1536  wcel 2113  wral 3141   class class class wbr 5069
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ral 3146  df-rab 3150  df-v 3499  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-sn 4571  df-pr 4573  df-op 4577  df-br 5070
This theorem is referenced by:  swoer  8322  swoord1  8323  swoord2  8324
  Copyright terms: Public domain W3C validator