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

Theorem tosso 17634
Description: Write the totally ordered set structure predicate in terms of the proper class strict order predicate. (Contributed by Mario Carneiro, 8-Feb-2015.)
Hypotheses
Ref Expression
tosso.b 𝐵 = (Base‘𝐾)
tosso.l = (le‘𝐾)
tosso.s < = (lt‘𝐾)
Assertion
Ref Expression
tosso (𝐾𝑉 → (𝐾 ∈ Toset ↔ ( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ )))

Proof of Theorem tosso
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tosso.b . . . . . . . . 9 𝐵 = (Base‘𝐾)
2 tosso.l . . . . . . . . 9 = (le‘𝐾)
3 tosso.s . . . . . . . . 9 < = (lt‘𝐾)
41, 2, 3pleval2 17563 . . . . . . . 8 ((𝐾 ∈ Poset ∧ 𝑥𝐵𝑦𝐵) → (𝑥 𝑦 ↔ (𝑥 < 𝑦𝑥 = 𝑦)))
543expb 1112 . . . . . . 7 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 𝑦 ↔ (𝑥 < 𝑦𝑥 = 𝑦)))
61, 2, 3pleval2 17563 . . . . . . . . . 10 ((𝐾 ∈ Poset ∧ 𝑦𝐵𝑥𝐵) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑦 = 𝑥)))
7 equcom 2016 . . . . . . . . . . 11 (𝑦 = 𝑥𝑥 = 𝑦)
87orbi2i 906 . . . . . . . . . 10 ((𝑦 < 𝑥𝑦 = 𝑥) ↔ (𝑦 < 𝑥𝑥 = 𝑦))
96, 8syl6bb 288 . . . . . . . . 9 ((𝐾 ∈ Poset ∧ 𝑦𝐵𝑥𝐵) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑥 = 𝑦)))
1093com23 1118 . . . . . . . 8 ((𝐾 ∈ Poset ∧ 𝑥𝐵𝑦𝐵) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑥 = 𝑦)))
11103expb 1112 . . . . . . 7 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑥 = 𝑦)))
125, 11orbi12d 912 . . . . . 6 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 𝑦𝑦 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦))))
13 df-3or 1080 . . . . . . 7 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ 𝑦 < 𝑥))
14 or32 919 . . . . . . . 8 (((𝑥 < 𝑦𝑥 = 𝑦) ∨ 𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦))
15 orordir 923 . . . . . . . 8 (((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦)))
1614, 15bitri 276 . . . . . . 7 (((𝑥 < 𝑦𝑥 = 𝑦) ∨ 𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦)))
1713, 16bitri 276 . . . . . 6 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦)))
1812, 17syl6bbr 290 . . . . 5 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 𝑦𝑦 𝑥) ↔ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
19182ralbidva 3195 . . . 4 (𝐾 ∈ Poset → (∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2019pm5.32i 575 . . 3 ((𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)) ↔ (𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
211, 2, 3pospo 17571 . . . 4 (𝐾𝑉 → (𝐾 ∈ Poset ↔ ( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ )))
2221anbi1d 629 . . 3 (𝐾𝑉 → ((𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))))
2320, 22syl5bb 284 . 2 (𝐾𝑉 → ((𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))))
241, 2istos 17633 . 2 (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
25 df-so 5468 . . . 4 ( < Or 𝐵 ↔ ( < Po 𝐵 ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2625anbi1i 623 . . 3 (( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ↔ (( < Po 𝐵 ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)) ∧ ( I ↾ 𝐵) ⊆ ))
27 an32 642 . . 3 ((( < Po 𝐵 ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)) ∧ ( I ↾ 𝐵) ⊆ ) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2826, 27bitri 276 . 2 (( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2923, 24, 283bitr4g 315 1 (𝐾𝑉 → (𝐾 ∈ Toset ↔ ( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ )))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wo 841  w3o 1078  w3a 1079   = wceq 1528  wcel 2105  wral 3135  wss 3933   class class class wbr 5057   I cid 5452   Po wpo 5465   Or wor 5466  cres 5550  cfv 6348  Basecbs 16471  lecple 16560  Posetcpo 17538  ltcplt 17539  Tosetctos 17631
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-po 5467  df-so 5468  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-res 5560  df-iota 6307  df-fun 6350  df-fv 6356  df-proset 17526  df-poset 17544  df-plt 17556  df-toset 17632
This theorem is referenced by:  opsrtoslem2  20193  opsrso  20195  retos  20690  toslub  30582  tosglb  30584  orngsqr  30804
  Copyright terms: Public domain W3C validator