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

Theorem swoord2 8304
Description: The incomparability equivalence relation is compatible with the original order. (Contributed by Mario Carneiro, 31-Dec-2014.)
Hypotheses
Ref Expression
swoer.1 𝑅 = ((𝑋 × 𝑋) ∖ ( < < ))
swoer.2 ((𝜑 ∧ (𝑦𝑋𝑧𝑋)) → (𝑦 < 𝑧 → ¬ 𝑧 < 𝑦))
swoer.3 ((𝜑 ∧ (𝑥𝑋𝑦𝑋𝑧𝑋)) → (𝑥 < 𝑦 → (𝑥 < 𝑧𝑧 < 𝑦)))
swoord.4 (𝜑𝐵𝑋)
swoord.5 (𝜑𝐶𝑋)
swoord.6 (𝜑𝐴𝑅𝐵)
Assertion
Ref Expression
swoord2 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐵))
Distinct variable groups:   𝑥,𝑦,𝑧, <   𝑥,𝐴,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥,𝐶,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧
Allowed substitution hints:   𝑅(𝑥,𝑦,𝑧)

Proof of Theorem swoord2
StepHypRef Expression
1 id 22 . . . 4 (𝜑𝜑)
2 swoord.5 . . . 4 (𝜑𝐶𝑋)
3 swoord.6 . . . . 5 (𝜑𝐴𝑅𝐵)
4 swoer.1 . . . . . . 7 𝑅 = ((𝑋 × 𝑋) ∖ ( < < ))
5 difss 4059 . . . . . . 7 ((𝑋 × 𝑋) ∖ ( < < )) ⊆ (𝑋 × 𝑋)
64, 5eqsstri 3949 . . . . . 6 𝑅 ⊆ (𝑋 × 𝑋)
76ssbri 5075 . . . . 5 (𝐴𝑅𝐵𝐴(𝑋 × 𝑋)𝐵)
8 df-br 5031 . . . . . 6 (𝐴(𝑋 × 𝑋)𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑋))
9 opelxp1 5560 . . . . . 6 (⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑋) → 𝐴𝑋)
108, 9sylbi 220 . . . . 5 (𝐴(𝑋 × 𝑋)𝐵𝐴𝑋)
113, 7, 103syl 18 . . . 4 (𝜑𝐴𝑋)
12 swoord.4 . . . 4 (𝜑𝐵𝑋)
13 swoer.3 . . . . 5 ((𝜑 ∧ (𝑥𝑋𝑦𝑋𝑧𝑋)) → (𝑥 < 𝑦 → (𝑥 < 𝑧𝑧 < 𝑦)))
1413swopolem 5447 . . . 4 ((𝜑 ∧ (𝐶𝑋𝐴𝑋𝐵𝑋)) → (𝐶 < 𝐴 → (𝐶 < 𝐵𝐵 < 𝐴)))
151, 2, 11, 12, 14syl13anc 1369 . . 3 (𝜑 → (𝐶 < 𝐴 → (𝐶 < 𝐵𝐵 < 𝐴)))
16 idd 24 . . . 4 (𝜑 → (𝐶 < 𝐵𝐶 < 𝐵))
174brdifun 8301 . . . . . . . 8 ((𝐴𝑋𝐵𝑋) → (𝐴𝑅𝐵 ↔ ¬ (𝐴 < 𝐵𝐵 < 𝐴)))
1811, 12, 17syl2anc 587 . . . . . . 7 (𝜑 → (𝐴𝑅𝐵 ↔ ¬ (𝐴 < 𝐵𝐵 < 𝐴)))
193, 18mpbid 235 . . . . . 6 (𝜑 → ¬ (𝐴 < 𝐵𝐵 < 𝐴))
20 olc 865 . . . . . 6 (𝐵 < 𝐴 → (𝐴 < 𝐵𝐵 < 𝐴))
2119, 20nsyl 142 . . . . 5 (𝜑 → ¬ 𝐵 < 𝐴)
2221pm2.21d 121 . . . 4 (𝜑 → (𝐵 < 𝐴𝐶 < 𝐵))
2316, 22jaod 856 . . 3 (𝜑 → ((𝐶 < 𝐵𝐵 < 𝐴) → 𝐶 < 𝐵))
2415, 23syld 47 . 2 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐵))
2513swopolem 5447 . . . 4 ((𝜑 ∧ (𝐶𝑋𝐵𝑋𝐴𝑋)) → (𝐶 < 𝐵 → (𝐶 < 𝐴𝐴 < 𝐵)))
261, 2, 12, 11, 25syl13anc 1369 . . 3 (𝜑 → (𝐶 < 𝐵 → (𝐶 < 𝐴𝐴 < 𝐵)))
27 idd 24 . . . 4 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐴))
28 orc 864 . . . . . 6 (𝐴 < 𝐵 → (𝐴 < 𝐵𝐵 < 𝐴))
2919, 28nsyl 142 . . . . 5 (𝜑 → ¬ 𝐴 < 𝐵)
3029pm2.21d 121 . . . 4 (𝜑 → (𝐴 < 𝐵𝐶 < 𝐴))
3127, 30jaod 856 . . 3 (𝜑 → ((𝐶 < 𝐴𝐴 < 𝐵) → 𝐶 < 𝐴))
3226, 31syld 47 . 2 (𝜑 → (𝐶 < 𝐵𝐶 < 𝐴))
3324, 32impbid 215 1 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 844  w3a 1084   = wceq 1538  wcel 2111  cdif 3878  cun 3879  cop 4531   class class class wbr 5030   × cxp 5517  ccnv 5518
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-xp 5525  df-cnv 5527
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator