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

Theorem swopolem 5044
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 2972 . 2 (𝜑 → ∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
3 breq1 4656 . . . 4 (𝑥 = 𝑋 → (𝑥𝑅𝑦𝑋𝑅𝑦))
4 breq1 4656 . . . . 5 (𝑥 = 𝑋 → (𝑥𝑅𝑧𝑋𝑅𝑧))
54orbi1d 739 . . . 4 (𝑥 = 𝑋 → ((𝑥𝑅𝑧𝑧𝑅𝑦) ↔ (𝑋𝑅𝑧𝑧𝑅𝑦)))
63, 5imbi12d 334 . . 3 (𝑥 = 𝑋 → ((𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)) ↔ (𝑋𝑅𝑦 → (𝑋𝑅𝑧𝑧𝑅𝑦))))
7 breq2 4657 . . . 4 (𝑦 = 𝑌 → (𝑋𝑅𝑦𝑋𝑅𝑌))
8 breq2 4657 . . . . 5 (𝑦 = 𝑌 → (𝑧𝑅𝑦𝑧𝑅𝑌))
98orbi2d 738 . . . 4 (𝑦 = 𝑌 → ((𝑋𝑅𝑧𝑧𝑅𝑦) ↔ (𝑋𝑅𝑧𝑧𝑅𝑌)))
107, 9imbi12d 334 . . 3 (𝑦 = 𝑌 → ((𝑋𝑅𝑦 → (𝑋𝑅𝑧𝑧𝑅𝑦)) ↔ (𝑋𝑅𝑌 → (𝑋𝑅𝑧𝑧𝑅𝑌))))
11 breq2 4657 . . . . 5 (𝑧 = 𝑍 → (𝑋𝑅𝑧𝑋𝑅𝑍))
12 breq1 4656 . . . . 5 (𝑧 = 𝑍 → (𝑧𝑅𝑌𝑍𝑅𝑌))
1311, 12orbi12d 746 . . . 4 (𝑧 = 𝑍 → ((𝑋𝑅𝑧𝑧𝑅𝑌) ↔ (𝑋𝑅𝑍𝑍𝑅𝑌)))
1413imbi2d 330 . . 3 (𝑧 = 𝑍 → ((𝑋𝑅𝑌 → (𝑋𝑅𝑧𝑧𝑅𝑌)) ↔ (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌))))
156, 10, 14rspc3v 3325 . 2 ((𝑋𝐴𝑌𝐴𝑍𝐴) → (∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)) → (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌))))
162, 15mpan9 486 1 ((𝜑 ∧ (𝑋𝐴𝑌𝐴𝑍𝐴)) → (𝑋𝑅𝑌 → (𝑋𝑅𝑍𝑍𝑅𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 383  wa 384  w3a 1037   = wceq 1483  wcel 1990  wral 2912   class class class wbr 4653
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654
This theorem is referenced by:  swoer  7772  swoord1  7773  swoord2  7774
  Copyright terms: Public domain W3C validator