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

Theorem istos 18051
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 6756 . . . 4 (𝑓 = 𝐾 → (Base‘𝑓) = (Base‘𝐾))
2 fveq2 6756 . . . . 5 (𝑓 = 𝐾 → (le‘𝑓) = (le‘𝐾))
32sbceq1d 3716 . . . 4 (𝑓 = 𝐾 → ([(le‘𝑓) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ [(le‘𝐾) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥)))
41, 3sbceqbid 3718 . . 3 (𝑓 = 𝐾 → ([(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ [(Base‘𝐾) / 𝑏][(le‘𝐾) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥)))
5 fvex 6769 . . . 4 (Base‘𝐾) ∈ V
6 fvex 6769 . . . 4 (le‘𝐾) ∈ V
7 istos.b . . . . . 6 𝐵 = (Base‘𝐾)
8 eqtr 2761 . . . . . . . . 9 ((𝑏 = (Base‘𝐾) ∧ (Base‘𝐾) = 𝐵) → 𝑏 = 𝐵)
9 istos.l . . . . . . . . . 10 = (le‘𝐾)
10 eqtr 2761 . . . . . . . . . . . . 13 ((𝑟 = (le‘𝐾) ∧ (le‘𝐾) = ) → 𝑟 = )
11 breq 5072 . . . . . . . . . . . . . . . . 17 (𝑟 = → (𝑥𝑟𝑦𝑥 𝑦))
12 breq 5072 . . . . . . . . . . . . . . . . 17 (𝑟 = → (𝑦𝑟𝑥𝑦 𝑥))
1311, 12orbi12d 915 . . . . . . . . . . . . . . . 16 (𝑟 = → ((𝑥𝑟𝑦𝑦𝑟𝑥) ↔ (𝑥 𝑦𝑦 𝑥)))
14132ralbidv 3122 . . . . . . . . . . . . . . 15 (𝑟 = → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝑏𝑦𝑏 (𝑥 𝑦𝑦 𝑥)))
15 raleq 3333 . . . . . . . . . . . . . . . 16 (𝑏 = 𝐵 → (∀𝑦𝑏 (𝑥 𝑦𝑦 𝑥) ↔ ∀𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
1615raleqbi1dv 3331 . . . . . . . . . . . . . . 15 (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥 𝑦𝑦 𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
1714, 16sylan9bb 509 . . . . . . . . . . . . . 14 ((𝑟 = 𝑏 = 𝐵) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
1817ex 412 . . . . . . . . . . . . 13 (𝑟 = → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
1910, 18syl 17 . . . . . . . . . . . 12 ((𝑟 = (le‘𝐾) ∧ (le‘𝐾) = ) → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
2019expcom 413 . . . . . . . . . . 11 ((le‘𝐾) = → (𝑟 = (le‘𝐾) → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))))
2120eqcoms 2746 . . . . . . . . . 10 ( = (le‘𝐾) → (𝑟 = (le‘𝐾) → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))))
229, 21ax-mp 5 . . . . . . . . 9 (𝑟 = (le‘𝐾) → (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
238, 22syl5com 31 . . . . . . . 8 ((𝑏 = (Base‘𝐾) ∧ (Base‘𝐾) = 𝐵) → (𝑟 = (le‘𝐾) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
2423expcom 413 . . . . . . 7 ((Base‘𝐾) = 𝐵 → (𝑏 = (Base‘𝐾) → (𝑟 = (le‘𝐾) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))))
2524eqcoms 2746 . . . . . 6 (𝐵 = (Base‘𝐾) → (𝑏 = (Base‘𝐾) → (𝑟 = (le‘𝐾) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))))
267, 25ax-mp 5 . . . . 5 (𝑏 = (Base‘𝐾) → (𝑟 = (le‘𝐾) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))))
2726imp 406 . . . 4 ((𝑏 = (Base‘𝐾) ∧ 𝑟 = (le‘𝐾)) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
285, 6, 27sbc2ie 3795 . . 3 ([(Base‘𝐾) / 𝑏][(le‘𝐾) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥))
294, 28bitrdi 286 . 2 (𝑓 = 𝐾 → ([(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
30 df-toset 18050 . 2 Toset = {𝑓 ∈ Poset ∣ [(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟]𝑥𝑏𝑦𝑏 (𝑥𝑟𝑦𝑦𝑟𝑥)}
3129, 30elrab2 3620 1 (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦𝑦 𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  wral 3063  [wsbc 3711   class class class wbr 5070  cfv 6418  Basecbs 16840  lecple 16895  Posetcpo 17940  Tosetctos 18049
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-nul 5225
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-iota 6376  df-fv 6426  df-toset 18050
This theorem is referenced by:  tosso  18052  tospos  18053  tleile  18054  zntoslem  20676  resstos  31147  odutos  31148  xrstos  31190  xrge0omnd  31239
  Copyright terms: Public domain W3C validator