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

Theorem swopo 5505
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 548 . . . 4 (𝑥𝐴 → (𝑥𝐴𝑥𝐴))
3 swopo.1 . . . . 5 ((𝜑 ∧ (𝑦𝐴𝑧𝐴)) → (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
43ralrimivva 3114 . . . 4 (𝜑 → ∀𝑦𝐴𝑧𝐴 (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
5 breq1 5073 . . . . . 6 (𝑦 = 𝑥 → (𝑦𝑅𝑧𝑥𝑅𝑧))
6 breq2 5074 . . . . . . 7 (𝑦 = 𝑥 → (𝑧𝑅𝑦𝑧𝑅𝑥))
76notbid 317 . . . . . 6 (𝑦 = 𝑥 → (¬ 𝑧𝑅𝑦 ↔ ¬ 𝑧𝑅𝑥))
85, 7imbi12d 344 . . . . 5 (𝑦 = 𝑥 → ((𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦) ↔ (𝑥𝑅𝑧 → ¬ 𝑧𝑅𝑥)))
9 breq2 5074 . . . . . 6 (𝑧 = 𝑥 → (𝑥𝑅𝑧𝑥𝑅𝑥))
10 breq1 5073 . . . . . . 7 (𝑧 = 𝑥 → (𝑧𝑅𝑥𝑥𝑅𝑥))
1110notbid 317 . . . . . 6 (𝑧 = 𝑥 → (¬ 𝑧𝑅𝑥 ↔ ¬ 𝑥𝑅𝑥))
129, 11imbi12d 344 . . . . 5 (𝑧 = 𝑥 → ((𝑥𝑅𝑧 → ¬ 𝑧𝑅𝑥) ↔ (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥)))
138, 12rspc2va 3563 . . . 4 (((𝑥𝐴𝑥𝐴) ∧ ∀𝑦𝐴𝑧𝐴 (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦)) → (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥))
142, 4, 13syl2anr 596 . . 3 ((𝜑𝑥𝐴) → (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥))
1514pm2.01d 189 . 2 ((𝜑𝑥𝐴) → ¬ 𝑥𝑅𝑥)
1633adantr1 1167 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
17 swopo.2 . . . . . . 7 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
1817imp 406 . . . . . 6 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (𝑥𝑅𝑧𝑧𝑅𝑦))
1918orcomd 867 . . . . 5 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (𝑧𝑅𝑦𝑥𝑅𝑧))
2019ord 860 . . . 4 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (¬ 𝑧𝑅𝑦𝑥𝑅𝑧))
2120expimpd 453 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → ((𝑥𝑅𝑦 ∧ ¬ 𝑧𝑅𝑦) → 𝑥𝑅𝑧))
2216, 21sylan2d 604 . 2 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
2315, 22ispod 5503 1 (𝜑𝑅 Po 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wo 843  w3a 1085  wcel 2108  wral 3063   class class class wbr 5070   Po wpo 5492
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-po 5494
This theorem is referenced by:  swoer  8486  swoso  8489
  Copyright terms: Public domain W3C validator