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

Theorem tosso 17638
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 17567 . . . . . . . 8 ((𝐾 ∈ Poset ∧ 𝑥𝐵𝑦𝐵) → (𝑥 𝑦 ↔ (𝑥 < 𝑦𝑥 = 𝑦)))
543expb 1117 . . . . . . 7 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 𝑦 ↔ (𝑥 < 𝑦𝑥 = 𝑦)))
61, 2, 3pleval2 17567 . . . . . . . . . 10 ((𝐾 ∈ Poset ∧ 𝑦𝐵𝑥𝐵) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑦 = 𝑥)))
7 equcom 2025 . . . . . . . . . . 11 (𝑦 = 𝑥𝑥 = 𝑦)
87orbi2i 910 . . . . . . . . . 10 ((𝑦 < 𝑥𝑦 = 𝑥) ↔ (𝑦 < 𝑥𝑥 = 𝑦))
96, 8syl6bb 290 . . . . . . . . 9 ((𝐾 ∈ Poset ∧ 𝑦𝐵𝑥𝐵) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑥 = 𝑦)))
1093com23 1123 . . . . . . . 8 ((𝐾 ∈ Poset ∧ 𝑥𝐵𝑦𝐵) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑥 = 𝑦)))
11103expb 1117 . . . . . . 7 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑥 = 𝑦)))
125, 11orbi12d 916 . . . . . 6 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 𝑦𝑦 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦))))
13 df-3or 1085 . . . . . . 7 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ 𝑦 < 𝑥))
14 or32 923 . . . . . . . 8 (((𝑥 < 𝑦𝑥 = 𝑦) ∨ 𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦))
15 orordir 927 . . . . . . . 8 (((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦)))
1614, 15bitri 278 . . . . . . 7 (((𝑥 < 𝑦𝑥 = 𝑦) ∨ 𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦)))
1713, 16bitri 278 . . . . . 6 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦)))
1812, 17syl6bbr 292 . . . . 5 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 𝑦𝑦 𝑥) ↔ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
19182ralbidva 3163 . . . 4 (𝐾 ∈ Poset → (∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2019pm5.32i 578 . . 3 ((𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)) ↔ (𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
211, 2, 3pospo 17575 . . . 4 (𝐾𝑉 → (𝐾 ∈ Poset ↔ ( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ )))
2221anbi1d 632 . . 3 (𝐾𝑉 → ((𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))))
2320, 22syl5bb 286 . 2 (𝐾𝑉 → ((𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))))
241, 2istos 17637 . 2 (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
25 df-so 5439 . . . 4 ( < Or 𝐵 ↔ ( < Po 𝐵 ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2625anbi1i 626 . . 3 (( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ↔ (( < Po 𝐵 ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)) ∧ ( I ↾ 𝐵) ⊆ ))
27 an32 645 . . 3 ((( < Po 𝐵 ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)) ∧ ( I ↾ 𝐵) ⊆ ) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2826, 27bitri 278 . 2 (( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2923, 24, 283bitr4g 317 1 (𝐾𝑉 → (𝐾 ∈ Toset ↔ ( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ )))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 844  w3o 1083  w3a 1084   = wceq 1538  wcel 2111  wral 3106  wss 3881   class class class wbr 5030   I cid 5424   Po wpo 5436   Or wor 5437  cres 5521  cfv 6324  Basecbs 16475  lecple 16564  Posetcpo 17542  ltcplt 17543  Tosetctos 17635
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-pow 5231  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  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-ne 2988  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  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-uni 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-po 5438  df-so 5439  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-res 5531  df-iota 6283  df-fun 6326  df-fv 6332  df-proset 17530  df-poset 17548  df-plt 17560  df-toset 17636
This theorem is referenced by:  retos  20307  opsrtoslem2  20724  opsrso  20726  toslub  30681  tosglb  30683  orngsqr  30928
  Copyright terms: Public domain W3C validator