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

Theorem swoord1 7773
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
swoord1 (𝜑 → (𝐴 < 𝐶𝐵 < 𝐶))
Distinct variable groups:   𝑥,𝑦,𝑧, <   𝑥,𝐴,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥,𝐶,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧
Allowed substitution hints:   𝑅(𝑥,𝑦,𝑧)

Proof of Theorem swoord1
StepHypRef Expression
1 id 22 . . . 4 (𝜑𝜑)
2 swoord.6 . . . . 5 (𝜑𝐴𝑅𝐵)
3 swoer.1 . . . . . . 7 𝑅 = ((𝑋 × 𝑋) ∖ ( < < ))
4 difss 3737 . . . . . . 7 ((𝑋 × 𝑋) ∖ ( < < )) ⊆ (𝑋 × 𝑋)
53, 4eqsstri 3635 . . . . . 6 𝑅 ⊆ (𝑋 × 𝑋)
65ssbri 4697 . . . . 5 (𝐴𝑅𝐵𝐴(𝑋 × 𝑋)𝐵)
7 df-br 4654 . . . . . 6 (𝐴(𝑋 × 𝑋)𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑋))
8 opelxp1 5150 . . . . . 6 (⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑋) → 𝐴𝑋)
97, 8sylbi 207 . . . . 5 (𝐴(𝑋 × 𝑋)𝐵𝐴𝑋)
102, 6, 93syl 18 . . . 4 (𝜑𝐴𝑋)
11 swoord.5 . . . 4 (𝜑𝐶𝑋)
12 swoord.4 . . . 4 (𝜑𝐵𝑋)
13 swoer.3 . . . . 5 ((𝜑 ∧ (𝑥𝑋𝑦𝑋𝑧𝑋)) → (𝑥 < 𝑦 → (𝑥 < 𝑧𝑧 < 𝑦)))
1413swopolem 5044 . . . 4 ((𝜑 ∧ (𝐴𝑋𝐶𝑋𝐵𝑋)) → (𝐴 < 𝐶 → (𝐴 < 𝐵𝐵 < 𝐶)))
151, 10, 11, 12, 14syl13anc 1328 . . 3 (𝜑 → (𝐴 < 𝐶 → (𝐴 < 𝐵𝐵 < 𝐶)))
163brdifun 7771 . . . . . . 7 ((𝐴𝑋𝐵𝑋) → (𝐴𝑅𝐵 ↔ ¬ (𝐴 < 𝐵𝐵 < 𝐴)))
1710, 12, 16syl2anc 693 . . . . . 6 (𝜑 → (𝐴𝑅𝐵 ↔ ¬ (𝐴 < 𝐵𝐵 < 𝐴)))
182, 17mpbid 222 . . . . 5 (𝜑 → ¬ (𝐴 < 𝐵𝐵 < 𝐴))
19 orc 400 . . . . 5 (𝐴 < 𝐵 → (𝐴 < 𝐵𝐵 < 𝐴))
2018, 19nsyl 135 . . . 4 (𝜑 → ¬ 𝐴 < 𝐵)
21 biorf 420 . . . 4 𝐴 < 𝐵 → (𝐵 < 𝐶 ↔ (𝐴 < 𝐵𝐵 < 𝐶)))
2220, 21syl 17 . . 3 (𝜑 → (𝐵 < 𝐶 ↔ (𝐴 < 𝐵𝐵 < 𝐶)))
2315, 22sylibrd 249 . 2 (𝜑 → (𝐴 < 𝐶𝐵 < 𝐶))
2413swopolem 5044 . . . 4 ((𝜑 ∧ (𝐵𝑋𝐶𝑋𝐴𝑋)) → (𝐵 < 𝐶 → (𝐵 < 𝐴𝐴 < 𝐶)))
251, 12, 11, 10, 24syl13anc 1328 . . 3 (𝜑 → (𝐵 < 𝐶 → (𝐵 < 𝐴𝐴 < 𝐶)))
26 olc 399 . . . . 5 (𝐵 < 𝐴 → (𝐴 < 𝐵𝐵 < 𝐴))
2718, 26nsyl 135 . . . 4 (𝜑 → ¬ 𝐵 < 𝐴)
28 biorf 420 . . . 4 𝐵 < 𝐴 → (𝐴 < 𝐶 ↔ (𝐵 < 𝐴𝐴 < 𝐶)))
2927, 28syl 17 . . 3 (𝜑 → (𝐴 < 𝐶 ↔ (𝐵 < 𝐴𝐴 < 𝐶)))
3025, 29sylibrd 249 . 2 (𝜑 → (𝐵 < 𝐶𝐴 < 𝐶))
3123, 30impbid 202 1 (𝜑 → (𝐴 < 𝐶𝐵 < 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384  w3a 1037   = wceq 1483  wcel 1990  cdif 3571  cun 3572  cop 4183   class class class wbr 4653   × cxp 5112  ccnv 5113
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-opab 4713  df-xp 5120  df-cnv 5122
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator