ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  swoord2 GIF version

Theorem swoord2 6452
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 19 . . . 4 (𝜑𝜑)
2 swoord.5 . . . 4 (𝜑𝐶𝑋)
3 swoord.6 . . . . 5 (𝜑𝐴𝑅𝐵)
4 swoer.1 . . . . . . 7 𝑅 = ((𝑋 × 𝑋) ∖ ( < < ))
5 difss 3197 . . . . . . 7 ((𝑋 × 𝑋) ∖ ( < < )) ⊆ (𝑋 × 𝑋)
64, 5eqsstri 3124 . . . . . 6 𝑅 ⊆ (𝑋 × 𝑋)
76ssbri 3967 . . . . 5 (𝐴𝑅𝐵𝐴(𝑋 × 𝑋)𝐵)
8 df-br 3925 . . . . . 6 (𝐴(𝑋 × 𝑋)𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑋))
9 opelxp1 4568 . . . . . 6 (⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑋) → 𝐴𝑋)
108, 9sylbi 120 . . . . 5 (𝐴(𝑋 × 𝑋)𝐵𝐴𝑋)
113, 7, 103syl 17 . . . 4 (𝜑𝐴𝑋)
12 swoord.4 . . . 4 (𝜑𝐵𝑋)
13 swoer.3 . . . . 5 ((𝜑 ∧ (𝑥𝑋𝑦𝑋𝑧𝑋)) → (𝑥 < 𝑦 → (𝑥 < 𝑧𝑧 < 𝑦)))
1413swopolem 4222 . . . 4 ((𝜑 ∧ (𝐶𝑋𝐴𝑋𝐵𝑋)) → (𝐶 < 𝐴 → (𝐶 < 𝐵𝐵 < 𝐴)))
151, 2, 11, 12, 14syl13anc 1218 . . 3 (𝜑 → (𝐶 < 𝐴 → (𝐶 < 𝐵𝐵 < 𝐴)))
16 idd 21 . . . 4 (𝜑 → (𝐶 < 𝐵𝐶 < 𝐵))
174brdifun 6449 . . . . . . . 8 ((𝐴𝑋𝐵𝑋) → (𝐴𝑅𝐵 ↔ ¬ (𝐴 < 𝐵𝐵 < 𝐴)))
1811, 12, 17syl2anc 408 . . . . . . 7 (𝜑 → (𝐴𝑅𝐵 ↔ ¬ (𝐴 < 𝐵𝐵 < 𝐴)))
193, 18mpbid 146 . . . . . 6 (𝜑 → ¬ (𝐴 < 𝐵𝐵 < 𝐴))
20 olc 700 . . . . . 6 (𝐵 < 𝐴 → (𝐴 < 𝐵𝐵 < 𝐴))
2119, 20nsyl 617 . . . . 5 (𝜑 → ¬ 𝐵 < 𝐴)
2221pm2.21d 608 . . . 4 (𝜑 → (𝐵 < 𝐴𝐶 < 𝐵))
2316, 22jaod 706 . . 3 (𝜑 → ((𝐶 < 𝐵𝐵 < 𝐴) → 𝐶 < 𝐵))
2415, 23syld 45 . 2 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐵))
2513swopolem 4222 . . . 4 ((𝜑 ∧ (𝐶𝑋𝐵𝑋𝐴𝑋)) → (𝐶 < 𝐵 → (𝐶 < 𝐴𝐴 < 𝐵)))
261, 2, 12, 11, 25syl13anc 1218 . . 3 (𝜑 → (𝐶 < 𝐵 → (𝐶 < 𝐴𝐴 < 𝐵)))
27 idd 21 . . . 4 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐴))
28 orc 701 . . . . . 6 (𝐴 < 𝐵 → (𝐴 < 𝐵𝐵 < 𝐴))
2919, 28nsyl 617 . . . . 5 (𝜑 → ¬ 𝐴 < 𝐵)
3029pm2.21d 608 . . . 4 (𝜑 → (𝐴 < 𝐵𝐶 < 𝐴))
3127, 30jaod 706 . . 3 (𝜑 → ((𝐶 < 𝐴𝐴 < 𝐵) → 𝐶 < 𝐴))
3226, 31syld 45 . 2 (𝜑 → (𝐶 < 𝐵𝐶 < 𝐴))
3324, 32impbid 128 1 (𝜑 → (𝐶 < 𝐴𝐶 < 𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 697  w3a 962   = wceq 1331  wcel 1480  cdif 3063  cun 3064  cop 3525   class class class wbr 3924   × cxp 4532  ccnv 4533
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pow 4093  ax-pr 4126
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-v 2683  df-dif 3068  df-un 3070  df-in 3072  df-ss 3079  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-br 3925  df-opab 3985  df-xp 4540  df-cnv 4542
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator