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

Theorem swopo 5477
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 549 . . . 4 (𝑥𝐴 → (𝑥𝐴𝑥𝐴))
3 swopo.1 . . . . 5 ((𝜑 ∧ (𝑦𝐴𝑧𝐴)) → (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
43ralrimivva 3188 . . . 4 (𝜑 → ∀𝑦𝐴𝑧𝐴 (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
5 breq1 5060 . . . . . 6 (𝑦 = 𝑥 → (𝑦𝑅𝑧𝑥𝑅𝑧))
6 breq2 5061 . . . . . . 7 (𝑦 = 𝑥 → (𝑧𝑅𝑦𝑧𝑅𝑥))
76notbid 319 . . . . . 6 (𝑦 = 𝑥 → (¬ 𝑧𝑅𝑦 ↔ ¬ 𝑧𝑅𝑥))
85, 7imbi12d 346 . . . . 5 (𝑦 = 𝑥 → ((𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦) ↔ (𝑥𝑅𝑧 → ¬ 𝑧𝑅𝑥)))
9 breq2 5061 . . . . . 6 (𝑧 = 𝑥 → (𝑥𝑅𝑧𝑥𝑅𝑥))
10 breq1 5060 . . . . . . 7 (𝑧 = 𝑥 → (𝑧𝑅𝑥𝑥𝑅𝑥))
1110notbid 319 . . . . . 6 (𝑧 = 𝑥 → (¬ 𝑧𝑅𝑥 ↔ ¬ 𝑥𝑅𝑥))
129, 11imbi12d 346 . . . . 5 (𝑧 = 𝑥 → ((𝑥𝑅𝑧 → ¬ 𝑧𝑅𝑥) ↔ (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥)))
138, 12rspc2va 3631 . . . 4 (((𝑥𝐴𝑥𝐴) ∧ ∀𝑦𝐴𝑧𝐴 (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦)) → (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥))
142, 4, 13syl2anr 596 . . 3 ((𝜑𝑥𝐴) → (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥))
1514pm2.01d 191 . 2 ((𝜑𝑥𝐴) → ¬ 𝑥𝑅𝑥)
1633adantr1 1161 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
17 swopo.2 . . . . . . 7 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
1817imp 407 . . . . . 6 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (𝑥𝑅𝑧𝑧𝑅𝑦))
1918orcomd 865 . . . . 5 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (𝑧𝑅𝑦𝑥𝑅𝑧))
2019ord 858 . . . 4 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (¬ 𝑧𝑅𝑦𝑥𝑅𝑧))
2120expimpd 454 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → ((𝑥𝑅𝑦 ∧ ¬ 𝑧𝑅𝑦) → 𝑥𝑅𝑧))
2216, 21sylan2d 604 . 2 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
2315, 22ispod 5475 1 (𝜑𝑅 Po 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wo 841  w3a 1079  wcel 2105  wral 3135   class class class wbr 5057   Po wpo 5465
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-br 5058  df-po 5467
This theorem is referenced by:  swoer  8308  swoso  8311
  Copyright terms: Public domain W3C validator