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

Theorem swopo 5484
Description: A strict weak order is a partial order. (Contributed by Mario Carneiro, 9-Jul-2014.)
Hypotheses
Ref Expression
swopo.1 ((𝜑 ∧ (𝑦𝐴𝑧𝐴)) → (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
swopo.2 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
Assertion
Ref Expression
swopo (𝜑𝑅 Po 𝐴)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝑅,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧

Proof of Theorem swopo
StepHypRef Expression
1 id 22 . . . . 5 (𝑥𝐴𝑥𝐴)
21ancli 551 . . . 4 (𝑥𝐴 → (𝑥𝐴𝑥𝐴))
3 swopo.1 . . . . 5 ((𝜑 ∧ (𝑦𝐴𝑧𝐴)) → (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
43ralrimivva 3191 . . . 4 (𝜑 → ∀𝑦𝐴𝑧𝐴 (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
5 breq1 5069 . . . . . 6 (𝑦 = 𝑥 → (𝑦𝑅𝑧𝑥𝑅𝑧))
6 breq2 5070 . . . . . . 7 (𝑦 = 𝑥 → (𝑧𝑅𝑦𝑧𝑅𝑥))
76notbid 320 . . . . . 6 (𝑦 = 𝑥 → (¬ 𝑧𝑅𝑦 ↔ ¬ 𝑧𝑅𝑥))
85, 7imbi12d 347 . . . . 5 (𝑦 = 𝑥 → ((𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦) ↔ (𝑥𝑅𝑧 → ¬ 𝑧𝑅𝑥)))
9 breq2 5070 . . . . . 6 (𝑧 = 𝑥 → (𝑥𝑅𝑧𝑥𝑅𝑥))
10 breq1 5069 . . . . . . 7 (𝑧 = 𝑥 → (𝑧𝑅𝑥𝑥𝑅𝑥))
1110notbid 320 . . . . . 6 (𝑧 = 𝑥 → (¬ 𝑧𝑅𝑥 ↔ ¬ 𝑥𝑅𝑥))
129, 11imbi12d 347 . . . . 5 (𝑧 = 𝑥 → ((𝑥𝑅𝑧 → ¬ 𝑧𝑅𝑥) ↔ (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥)))
138, 12rspc2va 3634 . . . 4 (((𝑥𝐴𝑥𝐴) ∧ ∀𝑦𝐴𝑧𝐴 (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦)) → (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥))
142, 4, 13syl2anr 598 . . 3 ((𝜑𝑥𝐴) → (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥))
1514pm2.01d 192 . 2 ((𝜑𝑥𝐴) → ¬ 𝑥𝑅𝑥)
1633adantr1 1165 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
17 swopo.2 . . . . . . 7 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
1817imp 409 . . . . . 6 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (𝑥𝑅𝑧𝑧𝑅𝑦))
1918orcomd 867 . . . . 5 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (𝑧𝑅𝑦𝑥𝑅𝑧))
2019ord 860 . . . 4 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (¬ 𝑧𝑅𝑦𝑥𝑅𝑧))
2120expimpd 456 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → ((𝑥𝑅𝑦 ∧ ¬ 𝑧𝑅𝑦) → 𝑥𝑅𝑧))
2216, 21sylan2d 606 . 2 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
2315, 22ispod 5482 1 (𝜑𝑅 Po 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398  wo 843  w3a 1083  wcel 2114  wral 3138   class class class wbr 5066   Po wpo 5472
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-br 5067  df-po 5474
This theorem is referenced by:  swoer  8319  swoso  8322
  Copyright terms: Public domain W3C validator