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

Theorem swopo 5514
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 3123 . . . 4 (𝜑 → ∀𝑦𝐴𝑧𝐴 (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
5 breq1 5077 . . . . . 6 (𝑦 = 𝑥 → (𝑦𝑅𝑧𝑥𝑅𝑧))
6 breq2 5078 . . . . . . 7 (𝑦 = 𝑥 → (𝑧𝑅𝑦𝑧𝑅𝑥))
76notbid 318 . . . . . 6 (𝑦 = 𝑥 → (¬ 𝑧𝑅𝑦 ↔ ¬ 𝑧𝑅𝑥))
85, 7imbi12d 345 . . . . 5 (𝑦 = 𝑥 → ((𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦) ↔ (𝑥𝑅𝑧 → ¬ 𝑧𝑅𝑥)))
9 breq2 5078 . . . . . 6 (𝑧 = 𝑥 → (𝑥𝑅𝑧𝑥𝑅𝑥))
10 breq1 5077 . . . . . . 7 (𝑧 = 𝑥 → (𝑧𝑅𝑥𝑥𝑅𝑥))
1110notbid 318 . . . . . 6 (𝑧 = 𝑥 → (¬ 𝑧𝑅𝑥 ↔ ¬ 𝑥𝑅𝑥))
129, 11imbi12d 345 . . . . 5 (𝑧 = 𝑥 → ((𝑥𝑅𝑧 → ¬ 𝑧𝑅𝑥) ↔ (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥)))
138, 12rspc2va 3571 . . . 4 (((𝑥𝐴𝑥𝐴) ∧ ∀𝑦𝐴𝑧𝐴 (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦)) → (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥))
142, 4, 13syl2anr 597 . . 3 ((𝜑𝑥𝐴) → (𝑥𝑅𝑥 → ¬ 𝑥𝑅𝑥))
1514pm2.01d 189 . 2 ((𝜑𝑥𝐴) → ¬ 𝑥𝑅𝑥)
1633adantr1 1168 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑦𝑅𝑧 → ¬ 𝑧𝑅𝑦))
17 swopo.2 . . . . . . 7 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑧𝑅𝑦)))
1817imp 407 . . . . . 6 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (𝑥𝑅𝑧𝑧𝑅𝑦))
1918orcomd 868 . . . . 5 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (𝑧𝑅𝑦𝑥𝑅𝑧))
2019ord 861 . . . 4 (((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) ∧ 𝑥𝑅𝑦) → (¬ 𝑧𝑅𝑦𝑥𝑅𝑧))
2120expimpd 454 . . 3 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → ((𝑥𝑅𝑦 ∧ ¬ 𝑧𝑅𝑦) → 𝑥𝑅𝑧))
2216, 21sylan2d 605 . 2 ((𝜑 ∧ (𝑥𝐴𝑦𝐴𝑧𝐴)) → ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
2315, 22ispod 5512 1 (𝜑𝑅 Po 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wo 844  w3a 1086  wcel 2106  wral 3064   class class class wbr 5074   Po wpo 5501
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-po 5503
This theorem is referenced by:  swoer  8528  swoso  8531
  Copyright terms: Public domain W3C validator