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

Theorem istos 17648
Description: The predicate "is a toset." (Contributed by FL, 17-Nov-2014.)
Hypotheses
Ref Expression
istos.b 𝐵 = (Base‘𝐾)
istos.l = (le‘𝐾)
Assertion
Ref Expression
istos (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥, ,𝑦
Allowed substitution hints:   𝐾(𝑥,𝑦)

Proof of Theorem istos
Dummy variables 𝑓 𝑏 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6673 . . . 4 (𝑓 = 𝐾 → (Base‘𝑓) = (Base‘𝐾))
2 fveq2 6673 . . . . 5 (𝑓 = 𝐾 → (le‘𝑓) = (le‘𝐾))
32sbceq1d 3780 . . . 4 (𝑓 = 𝐾 → ([(le‘𝑓) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ [(le‘𝐾) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥)))
41, 3sbceqbid 3782 . . 3 (𝑓 = 𝐾 → ([(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ [(Base‘𝐾) / 𝑏][(le‘𝐾) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥)))
5 fvex 6686 . . . 4 (Base‘𝐾) ∈ V
6 fvex 6686 . . . 4 (le‘𝐾) ∈ V
7 istos.b . . . . . 6 𝐵 = (Base‘𝐾)
8 eqtr 2844 . . . . . . . . 9 ((𝑏 = (Base‘𝐾) ∧ (Base‘𝐾) = 𝐵) → 𝑏 = 𝐵)
9 istos.l . . . . . . . . . 10 = (le‘𝐾)
10 eqtr 2844 . . . . . . . . . . . . 13 ((𝑟 = (le‘𝐾) ∧ (le‘𝐾) = ) → 𝑟 = )
11 breq 5071 . . . . . . . . . . . . . . . . 17 (𝑟 = → (𝑥𝑟𝑦𝑥 𝑦))
12 breq 5071 . . . . . . . . . . . . . . . . 17 (𝑟 = → (𝑦𝑟𝑥𝑦 𝑥))
1311, 12orbi12d 915 . . . . . . . . . . . . . . . 16 (𝑟 = → ((𝑥𝑟𝑦𝑦𝑟𝑥) ↔ (𝑥 𝑦𝑦 𝑥)))
14132ralbidv 3202 . . . . . . . . . . . . . . 15 (𝑟 = → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝑏𝑦𝑏 (𝑥 𝑦𝑦 𝑥)))
15 raleq 3408 . . . . . . . . . . . . . . . 16 (𝑏 = 𝐵 → (∀𝑦𝑏 (𝑥 𝑦𝑦 𝑥) ↔ ∀𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
1615raleqbi1dv 3406 . . . . . . . . . . . . . . 15 (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥 𝑦𝑦 𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
1714, 16sylan9bb 512 . . . . . . . . . . . . . 14 ((𝑟 = 𝑏 = 𝐵) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
1817ex 415 . . . . . . . . . . . . 13 (𝑟 = → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
1910, 18syl 17 . . . . . . . . . . . 12 ((𝑟 = (le‘𝐾) ∧ (le‘𝐾) = ) → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
2019expcom 416 . . . . . . . . . . 11 ((le‘𝐾) = → (𝑟 = (le‘𝐾) → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))))
2120eqcoms 2832 . . . . . . . . . 10 ( = (le‘𝐾) → (𝑟 = (le‘𝐾) → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))))
229, 21ax-mp 5 . . . . . . . . 9 (𝑟 = (le‘𝐾) → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
238, 22syl5com 31 . . . . . . . 8 ((𝑏 = (Base‘𝐾) ∧ (Base‘𝐾) = 𝐵) → (𝑟 = (le‘𝐾) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
2423expcom 416 . . . . . . 7 ((Base‘𝐾) = 𝐵 → (𝑏 = (Base‘𝐾) → (𝑟 = (le‘𝐾) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))))
2524eqcoms 2832 . . . . . 6 (𝐵 = (Base‘𝐾) → (𝑏 = (Base‘𝐾) → (𝑟 = (le‘𝐾) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))))
267, 25ax-mp 5 . . . . 5 (𝑏 = (Base‘𝐾) → (𝑟 = (le‘𝐾) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
2726imp 409 . . . 4 ((𝑏 = (Base‘𝐾) ∧ 𝑟 = (le‘𝐾)) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
285, 6, 27sbc2ie 3853 . . 3 ([(Base‘𝐾) / 𝑏][(le‘𝐾) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))
294, 28syl6bb 289 . 2 (𝑓 = 𝐾 → ([(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
30 df-toset 17647 . 2 Toset = {𝑓 ∈ Poset ∣ [(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥)}
3129, 30elrab2 3686 1 (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wo 843   = wceq 1536  wcel 2113  wral 3141  [wsbc 3775   class class class wbr 5069  cfv 6358  Basecbs 16486  lecple 16575  Posetcpo 17553  Tosetctos 17646
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-nul 5213
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ral 3146  df-rex 3147  df-rab 3150  df-v 3499  df-sbc 3776  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-br 5070  df-iota 6317  df-fv 6366  df-toset 17647
This theorem is referenced by:  tosso  17649  zntoslem  20706  tospos  30649  resstos  30651  tleile  30652  odutos  30654  xrstos  30670  xrge0omnd  30716
  Copyright terms: Public domain W3C validator