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

Theorem istos 18622
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 6911 . . . 4 (𝑓 = 𝐾 → (Base‘𝑓) = (Base‘𝐾))
2 fveq2 6911 . . . . 5 (𝑓 = 𝐾 → (le‘𝑓) = (le‘𝐾))
32sbceq1d 3747 . . . 4 (𝑓 = 𝐾 → ([(le‘𝑓) / 𝑟]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ [(le‘𝐾) / 𝑟]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥)))
41, 3sbceqbid 3749 . . 3 (𝑓 = 𝐾 → ([(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ [(Base‘𝐾) / 𝑏][(le‘𝐾) / 𝑟]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥)))
5 fvex 6924 . . . 4 (Base‘𝐾) ∈ V
6 fvex 6924 . . . 4 (le‘𝐾) ∈ V
7 istos.b . . . . . 6 𝐵 = (Base‘𝐾)
8 eqtr 2783 . . . . . . . . 9 ((𝑏 = (Base‘𝐾) ∧ (Base‘𝐾) = 𝐵) → 𝑏 = 𝐵)
9 istos.l . . . . . . . . . 10 ≤ = (le‘𝐾)
10 eqtr 2783 . . . . . . . . . . . . 13 ((𝑟 = (le‘𝐾) ∧ (le‘𝐾) = ≤ ) → 𝑟 = ≤ )
11 breq 5108 . . . . . . . . . . . . . . . . 17 (𝑟 = ≤ → (𝑥𝑟𝑦 ↔ 𝑥 ≤ 𝑦))
12 breq 5108 . . . . . . . . . . . . . . . . 17 (𝑟 = ≤ → (𝑦𝑟𝑥 ↔ 𝑦 ≤ 𝑥))
1311, 12orbi12d 932 . . . . . . . . . . . . . . . 16 (𝑟 = ≤ → ((𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
14132ralbidv 3230 . . . . . . . . . . . . . . 15 (𝑟 = ≤ → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
15 raleq 3320 . . . . . . . . . . . . . . . 16 (𝑏 = 𝐵 → (∀𝑦 ∈ 𝑏 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥) ↔ ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
1615raleqbi1dv 3333 . . . . . . . . . . . . . . 15 (𝑏 = 𝐵 → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
1714, 16sylan9bb 519 . . . . . . . . . . . . . 14 ((𝑟 = ≤ ∧ 𝑏 = 𝐵) → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
1817ex 418 . . . . . . . . . . . . 13 (𝑟 = ≤ → (𝑏 = 𝐵 → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))))
1910, 18syl 18 . . . . . . . . . . . 12 ((𝑟 = (le‘𝐾) ∧ (le‘𝐾) = ≤ ) → (𝑏 = 𝐵 → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))))
2019expcom 419 . . . . . . . . . . 11 ((le‘𝐾) = ≤ → (𝑟 = (le‘𝐾) → (𝑏 = 𝐵 → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))))
2120eqcoms 2771 . . . . . . . . . 10 ( ≤ = (le‘𝐾) → (𝑟 = (le‘𝐾) → (𝑏 = 𝐵 → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))))
229, 21ax-mp 5 . . . . . . . . 9 (𝑟 = (le‘𝐾) → (𝑏 = 𝐵 → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))))
238, 22syl5com 32 . . . . . . . 8 ((𝑏 = (Base‘𝐾) ∧ (Base‘𝐾) = 𝐵) → (𝑟 = (le‘𝐾) → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))))
2423expcom 419 . . . . . . 7 ((Base‘𝐾) = 𝐵 → (𝑏 = (Base‘𝐾) → (𝑟 = (le‘𝐾) → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))))
2524eqcoms 2771 . . . . . 6 (𝐵 = (Base‘𝐾) → (𝑏 = (Base‘𝐾) → (𝑟 = (le‘𝐾) → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))))
267, 25ax-mp 5 . . . . 5 (𝑏 = (Base‘𝐾) → (𝑟 = (le‘𝐾) → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))))
2726imp 412 . . . 4 ((𝑏 = (Base‘𝐾) ∧ 𝑟 = (le‘𝐾)) → (∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
285, 6, 27sbc2ie 3818 . . 3 ([(Base‘𝐾) / 𝑏][(le‘𝐾) / 𝑟]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))
294, 28bitrdi 290 . 2 (𝑓 = 𝐾 → ([(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
30 df-toset 18621 . 2 Toset = {𝑓 ∈ Poset ∣ [(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟]∀𝑥 ∈ 𝑏 ∀𝑦 ∈ 𝑏 (𝑥𝑟𝑦 ∨ 𝑦𝑟𝑥)}
3129, 30elrab2 3652 1 (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2147  ∀wral 3080  [wsbc 3742   class class class wbr 5106  ‘cfv 6561  Basecbs 17419  lecple 17467  Posetcpo 18513  Tosetctos 18620
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-nul 5264
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-iota 6515  df-fv 6569  df-toset 18621
This theorem is used by:  tosso  18623  tospos  18624  tleile  18625  resstos  18636  xrge0omnd  21784  zntoslem  21895  zsoring  28828  odutos  33602  xrstos  33647
  Copyright terms: Public domain W3C validator