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

Theorem swoso 8489
Description: If the incomparability relation is equivalent to equality in a subset, then the partial order strictly orders the subset. (Contributed by Mario Carneiro, 30-Dec-2014.)
Hypotheses
Ref Expression
swoer.1 𝑅 = ((𝑋 × 𝑋) ∖ ( < < ))
swoer.2 ((𝜑 ∧ (𝑦𝑋𝑧𝑋)) → (𝑦 < 𝑧 → ¬ 𝑧 < 𝑦))
swoer.3 ((𝜑 ∧ (𝑥𝑋𝑦𝑋𝑧𝑋)) → (𝑥 < 𝑦 → (𝑥 < 𝑧𝑧 < 𝑦)))
swoso.4 (𝜑𝑌𝑋)
swoso.5 ((𝜑 ∧ (𝑥𝑌𝑦𝑌𝑥𝑅𝑦)) → 𝑥 = 𝑦)
Assertion
Ref Expression
swoso (𝜑< Or 𝑌)
Distinct variable groups:   𝑥,𝑦,𝑧, <   𝜑,𝑥,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧   𝑥,𝑌,𝑦
Allowed substitution hints:   𝑅(𝑥,𝑦,𝑧)   𝑌(𝑧)

Proof of Theorem swoso
StepHypRef Expression
1 swoso.4 . . 3 (𝜑𝑌𝑋)
2 swoer.2 . . . 4 ((𝜑 ∧ (𝑦𝑋𝑧𝑋)) → (𝑦 < 𝑧 → ¬ 𝑧 < 𝑦))
3 swoer.3 . . . 4 ((𝜑 ∧ (𝑥𝑋𝑦𝑋𝑧𝑋)) → (𝑥 < 𝑦 → (𝑥 < 𝑧𝑧 < 𝑦)))
42, 3swopo 5505 . . 3 (𝜑< Po 𝑋)
5 poss 5496 . . 3 (𝑌𝑋 → ( < Po 𝑋< Po 𝑌))
61, 4, 5sylc 65 . 2 (𝜑< Po 𝑌)
71sselda 3917 . . . . . . 7 ((𝜑𝑥𝑌) → 𝑥𝑋)
81sselda 3917 . . . . . . 7 ((𝜑𝑦𝑌) → 𝑦𝑋)
97, 8anim12dan 618 . . . . . 6 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (𝑥𝑋𝑦𝑋))
10 swoer.1 . . . . . . 7 𝑅 = ((𝑋 × 𝑋) ∖ ( < < ))
1110brdifun 8485 . . . . . 6 ((𝑥𝑋𝑦𝑋) → (𝑥𝑅𝑦 ↔ ¬ (𝑥 < 𝑦𝑦 < 𝑥)))
129, 11syl 17 . . . . 5 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (𝑥𝑅𝑦 ↔ ¬ (𝑥 < 𝑦𝑦 < 𝑥)))
13 df-3an 1087 . . . . . . 7 ((𝑥𝑌𝑦𝑌𝑥𝑅𝑦) ↔ ((𝑥𝑌𝑦𝑌) ∧ 𝑥𝑅𝑦))
14 swoso.5 . . . . . . 7 ((𝜑 ∧ (𝑥𝑌𝑦𝑌𝑥𝑅𝑦)) → 𝑥 = 𝑦)
1513, 14sylan2br 594 . . . . . 6 ((𝜑 ∧ ((𝑥𝑌𝑦𝑌) ∧ 𝑥𝑅𝑦)) → 𝑥 = 𝑦)
1615expr 456 . . . . 5 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (𝑥𝑅𝑦𝑥 = 𝑦))
1712, 16sylbird 259 . . . 4 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (¬ (𝑥 < 𝑦𝑦 < 𝑥) → 𝑥 = 𝑦))
1817orrd 859 . . 3 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → ((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦))
19 3orcomb 1092 . . . 4 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ (𝑥 < 𝑦𝑦 < 𝑥𝑥 = 𝑦))
20 df-3or 1086 . . . 4 ((𝑥 < 𝑦𝑦 < 𝑥𝑥 = 𝑦) ↔ ((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦))
2119, 20bitri 274 . . 3 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦))
2218, 21sylibr 233 . 2 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))
236, 22issod 5527 1 (𝜑< Or 𝑌)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3o 1084  w3a 1085   = wceq 1539  wcel 2108  cdif 3880  cun 3881  wss 3883   class class class wbr 5070   Po wpo 5492   Or wor 5493   × cxp 5578  ccnv 5579
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  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  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-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-po 5494  df-so 5495  df-xp 5586  df-cnv 5588
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator