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

Theorem swopolem 5476
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 3190 . 2 (𝜑 → ∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
3 breq1 5060 . . . 4 (𝑥 = 𝑋 → (𝑥𝑅𝑦𝑋𝑅𝑦))
4 breq1 5060 . . . . 5 (𝑥 = 𝑋 → (𝑥𝑅𝑧𝑋𝑅𝑧))
54orbi1d 913 . . . 4 (𝑥 = 𝑋 → ((𝑥𝑅𝑧𝑧𝑅𝑦) ↔ (𝑋𝑅𝑧𝑧𝑅𝑦)))
63, 5imbi12d 347 . . 3 (𝑥 = 𝑋 → ((𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)) ↔ (𝑋𝑅𝑦 → (𝑋𝑅𝑧𝑧𝑅𝑦))))
7 breq2 5061 . . . 4 (𝑦 = 𝑌 → (𝑋𝑅𝑦𝑋𝑅𝑌))
8 breq2 5061 . . . . 5 (𝑦 = 𝑌 → (𝑧𝑅𝑦𝑧𝑅𝑌))
98orbi2d 912 . . . 4 (𝑦 = 𝑌 → ((𝑋𝑅𝑧𝑧𝑅𝑦) ↔ (𝑋𝑅𝑧𝑧𝑅𝑌)))
107, 9imbi12d 347 . . 3 (𝑦 = 𝑌 → ((𝑋𝑅𝑦 → (𝑋𝑅𝑧𝑧𝑅𝑦)) ↔ (𝑋𝑅𝑌 → (𝑋𝑅𝑧𝑧𝑅𝑌))))
11 breq2 5061 . . . . 5 (𝑧 = 𝑍 → (𝑋𝑅𝑧𝑋𝑅𝑍))
12 breq1 5060 . . . . 5 (𝑧 = 𝑍 → (𝑧𝑅𝑌𝑍𝑅𝑌))
1311, 12orbi12d 915 . . . 4 (𝑧 = 𝑍 → ((𝑋𝑅𝑧𝑧𝑅𝑌) ↔ (𝑋𝑅𝑍𝑍𝑅𝑌)))
1413imbi2d 343 . . 3 (𝑧 = 𝑍 → ((𝑋𝑅𝑌 → (𝑋𝑅𝑧𝑧𝑅𝑌)) ↔ (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌))))
156, 10, 14rspc3v 3634 . 2 ((𝑋𝐴𝑌𝐴𝑍𝐴) → (∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)) → (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌))))
162, 15mpan9 509 1 ((𝜑 ∧ (𝑋𝐴𝑌𝐴𝑍𝐴)) → (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wo 843  w3a 1082   = wceq 1531  wcel 2108  wral 3136   class class class wbr 5057
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ral 3141  df-rab 3145  df-v 3495  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  df-br 5058
This theorem is referenced by:  swoer  8311  swoord1  8312  swoord2  8313
  Copyright terms: Public domain W3C validator