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 1115 . . . . . . 7 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 𝑦 ↔ (𝑥 < 𝑦𝑥 = 𝑦)))
61, 2, 3pleval2 17567 . . . . . . . . . 10 ((𝐾 ∈ Poset ∧ 𝑦𝐵𝑥𝐵) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑦 = 𝑥)))
7 equcom 2019 . . . . . . . . . . 11 (𝑦 = 𝑥𝑥 = 𝑦)
87orbi2i 909 . . . . . . . . . 10 ((𝑦 < 𝑥𝑦 = 𝑥) ↔ (𝑦 < 𝑥𝑥 = 𝑦))
96, 8syl6bb 289 . . . . . . . . 9 ((𝐾 ∈ Poset ∧ 𝑦𝐵𝑥𝐵) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑥 = 𝑦)))
1093com23 1121 . . . . . . . 8 ((𝐾 ∈ Poset ∧ 𝑥𝐵𝑦𝐵) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑥 = 𝑦)))
11103expb 1115 . . . . . . 7 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → (𝑦 𝑥 ↔ (𝑦 < 𝑥𝑥 = 𝑦)))
125, 11orbi12d 915 . . . . . 6 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 𝑦𝑦 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦))))
13 df-3or 1083 . . . . . . 7 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ 𝑦 < 𝑥))
14 or32 922 . . . . . . . 8 (((𝑥 < 𝑦𝑥 = 𝑦) ∨ 𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦))
15 orordir 926 . . . . . . . 8 (((𝑥 < 𝑦𝑦 < 𝑥) ∨ 𝑥 = 𝑦) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦)))
1614, 15bitri 277 . . . . . . 7 (((𝑥 < 𝑦𝑥 = 𝑦) ∨ 𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦)))
1713, 16bitri 277 . . . . . 6 ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ((𝑥 < 𝑦𝑥 = 𝑦) ∨ (𝑦 < 𝑥𝑥 = 𝑦)))
1812, 17syl6bbr 291 . . . . 5 ((𝐾 ∈ Poset ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 𝑦𝑦 𝑥) ↔ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
19182ralbidva 3196 . . . 4 (𝐾 ∈ Poset → (∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2019pm5.32i 577 . . 3 ((𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)) ↔ (𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
211, 2, 3pospo 17575 . . . 4 (𝐾𝑉 → (𝐾 ∈ Poset ↔ ( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ )))
2221anbi1d 631 . . 3 (𝐾𝑉 → ((𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))))
2320, 22syl5bb 285 . 2 (𝐾𝑉 → ((𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))))
241, 2istos 17637 . 2 (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
25 df-so 5468 . . . 4 ( < Or 𝐵 ↔ ( < Po 𝐵 ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2625anbi1i 625 . . 3 (( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ↔ (( < Po 𝐵 ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)) ∧ ( I ↾ 𝐵) ⊆ ))
27 an32 644 . . 3 ((( < Po 𝐵 ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)) ∧ ( I ↾ 𝐵) ⊆ ) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2826, 27bitri 277 . 2 (( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ↔ (( < Po 𝐵 ∧ ( I ↾ 𝐵) ⊆ ) ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥)))
2923, 24, 283bitr4g 316 1 (𝐾𝑉 → (𝐾 ∈ Toset ↔ ( < Or 𝐵 ∧ ( I ↾ 𝐵) ⊆ )))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wo 843  w3o 1081  w3a 1082   = wceq 1531  wcel 2108  wral 3136  wss 3934   class class class wbr 5057   I cid 5452   Po wpo 5465   Or wor 5466  cres 5550  cfv 6348  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 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1083  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-ral 3141  df-rex 3142  df-rab 3145  df-v 3495  df-sbc 3771  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  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 17530  df-poset 17548  df-plt 17560  df-toset 17636
This theorem is referenced by:  opsrtoslem2  20257  opsrso  20259  retos  20754  toslub  30648  tosglb  30650  orngsqr  30870
  Copyright terms: Public domain W3C validator