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

Theorem swoso 8531
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 5514 . . 3 (𝜑< Po 𝑋)
5 poss 5505 . . 3 (𝑌𝑋 → ( < Po 𝑋< Po 𝑌))
61, 4, 5sylc 65 . 2 (𝜑< Po 𝑌)
71sselda 3921 . . . . . . 7 ((𝜑𝑥𝑌) → 𝑥𝑋)
81sselda 3921 . . . . . . 7 ((𝜑𝑦𝑌) → 𝑦𝑋)
97, 8anim12dan 619 . . . . . 6 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (𝑥𝑋𝑦𝑋))
10 swoer.1 . . . . . . 7 𝑅 = ((𝑋 × 𝑋) ∖ ( < < ))
1110brdifun 8527 . . . . . 6 ((𝑥𝑋𝑦𝑋) → (𝑥𝑅𝑦 ↔ ¬ (𝑥 < 𝑦𝑦 < 𝑥)))
129, 11syl 17 . . . . 5 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (𝑥𝑅𝑦 ↔ ¬ (𝑥 < 𝑦𝑦 < 𝑥)))
13 df-3an 1088 . . . . . . 7 ((𝑥𝑌𝑦𝑌𝑥𝑅𝑦) ↔ ((𝑥𝑌𝑦𝑌) ∧ 𝑥𝑅𝑦))
14 swoso.5 . . . . . . 7 ((𝜑 ∧ (𝑥𝑌𝑦𝑌𝑥𝑅𝑦)) → 𝑥 = 𝑦)
1513, 14sylan2br 595 . . . . . 6 ((𝜑 ∧ ((𝑥𝑌𝑦𝑌) ∧ 𝑥𝑅𝑦)) → 𝑥 = 𝑦)
1615expr 457 . . . . 5 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (𝑥𝑅𝑦𝑥 = 𝑦))
1712, 16sylbird 259 . . . 4 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (¬ (𝑥 < 𝑦𝑦 < 𝑥) → 𝑥 = 𝑦))
1817orrd 860 . . 3 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → ((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦))
19 3orcomb 1093 . . . 4 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ (𝑥 < 𝑦𝑦 < 𝑥𝑥 = 𝑦))
20 df-3or 1087 . . . 4 ((𝑥 < 𝑦𝑦 < 𝑥𝑥 = 𝑦) ↔ ((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦))
2119, 20bitri 274 . . 3 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦))
2218, 21sylibr 233 . 2 ((𝜑 ∧ (𝑥𝑌𝑦𝑌)) → (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))
236, 22issod 5536 1 (𝜑< Or 𝑌)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  w3o 1085  w3a 1086   = wceq 1539  wcel 2106  cdif 3884  cun 3885  wss 3887   class class class wbr 5074   Po wpo 5501   Or wor 5502   × cxp 5587  ccnv 5588
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  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  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-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-po 5503  df-so 5504  df-xp 5595  df-cnv 5597
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator