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

Theorem swoord2 8046
 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 3966 . . . . . . 7 ((𝑋 × 𝑋) ∖ ( < < )) ⊆ (𝑋 × 𝑋)
64, 5eqsstri 3860 . . . . . 6 𝑅 ⊆ (𝑋 × 𝑋)
76ssbri 4920 . . . . 5 (𝐴𝑅𝐵𝐴(𝑋 × 𝑋)𝐵)
8 df-br 4876 . . . . . 6 (𝐴(𝑋 × 𝑋)𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑋))
9 opelxp1 5387 . . . . . 6 (⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑋) → 𝐴𝑋)
108, 9sylbi 209 . . . . 5 (𝐴(𝑋 × 𝑋)𝐵𝐴𝑋)
113, 7, 103syl 18 . . . 4 (𝜑𝐴𝑋)
12 swoord.4 . . . 4 (𝜑𝐵𝑋)
13 swoer.3 . . . . 5 ((𝜑 ∧ (𝑥𝑋𝑦𝑋𝑧𝑋)) → (𝑥 < 𝑦 → (𝑥 < 𝑧𝑧 < 𝑦)))
1413swopolem 5274 . . . 4 ((𝜑 ∧ (𝐶𝑋𝐴𝑋𝐵𝑋)) → (𝐶 < 𝐴 → (𝐶 < 𝐵𝐵 < 𝐴)))
151, 2, 11, 12, 14syl13anc 1495 . . 3 (𝜑 → (𝐶 < 𝐴 → (𝐶 < 𝐵𝐵 < 𝐴)))
16 idd 24 . . . 4 (𝜑 → (𝐶 < 𝐵𝐶 < 𝐵))
174brdifun 8043 . . . . . . . 8 ((𝐴𝑋𝐵𝑋) → (𝐴𝑅𝐵 ↔ ¬ (𝐴 < 𝐵𝐵 < 𝐴)))
1811, 12, 17syl2anc 579 . . . . . . 7 (𝜑 → (𝐴𝑅𝐵 ↔ ¬ (𝐴 < 𝐵𝐵 < 𝐴)))
193, 18mpbid 224 . . . . . 6 (𝜑 → ¬ (𝐴 < 𝐵𝐵 < 𝐴))
20 olc 899 . . . . . 6 (𝐵 < 𝐴 → (𝐴 < 𝐵𝐵 < 𝐴))
2119, 20nsyl 138 . . . . 5 (𝜑 → ¬ 𝐵 < 𝐴)
2221pm2.21d 119 . . . 4 (𝜑 → (𝐵 < 𝐴𝐶 < 𝐵))
2316, 22jaod 890 . . 3 (𝜑 → ((𝐶 < 𝐵𝐵 < 𝐴) → 𝐶 < 𝐵))
2415, 23syld 47 . 2 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐵))
2513swopolem 5274 . . . 4 ((𝜑 ∧ (𝐶𝑋𝐵𝑋𝐴𝑋)) → (𝐶 < 𝐵 → (𝐶 < 𝐴𝐴 < 𝐵)))
261, 2, 12, 11, 25syl13anc 1495 . . 3 (𝜑 → (𝐶 < 𝐵 → (𝐶 < 𝐴𝐴 < 𝐵)))
27 idd 24 . . . 4 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐴))
28 orc 898 . . . . . 6 (𝐴 < 𝐵 → (𝐴 < 𝐵𝐵 < 𝐴))
2919, 28nsyl 138 . . . . 5 (𝜑 → ¬ 𝐴 < 𝐵)
3029pm2.21d 119 . . . 4 (𝜑 → (𝐴 < 𝐵𝐶 < 𝐴))
3127, 30jaod 890 . . 3 (𝜑 → ((𝐶 < 𝐴𝐴 < 𝐵) → 𝐶 < 𝐴))
3226, 31syld 47 . 2 (𝜑 → (𝐶 < 𝐵𝐶 < 𝐴))
3324, 32impbid 204 1 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐵))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 198   ∧ wa 386   ∨ wo 878   ∧ w3a 1111   = wceq 1656   ∈ wcel 2164   ∖ cdif 3795   ∪ cun 3796  ⟨cop 4405   class class class wbr 4875   × cxp 5344  ◡ccnv 5345 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1894  ax-4 1908  ax-5 2009  ax-6 2075  ax-7 2112  ax-9 2173  ax-10 2192  ax-11 2207  ax-12 2220  ax-13 2389  ax-ext 2803  ax-sep 5007  ax-nul 5015  ax-pr 5129 This theorem depends on definitions:  df-bi 199  df-an 387  df-or 879  df-3an 1113  df-tru 1660  df-ex 1879  df-nf 1883  df-sb 2068  df-mo 2605  df-eu 2640  df-clab 2812  df-cleq 2818  df-clel 2821  df-nfc 2958  df-ral 3122  df-rex 3123  df-rab 3126  df-v 3416  df-dif 3801  df-un 3803  df-in 3805  df-ss 3812  df-nul 4147  df-if 4309  df-sn 4400  df-pr 4402  df-op 4406  df-br 4876  df-opab 4938  df-xp 5352  df-cnv 5354 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator