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

Theorem isdrs 17546
Description: Property of being a directed set. (Contributed by Stefan O'Rear, 1-Feb-2015.)
Hypotheses
Ref Expression
isdrs.b 𝐵 = (Base‘𝐾)
isdrs.l = (le‘𝐾)
Assertion
Ref Expression
isdrs (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧)))
Distinct variable groups:   𝑥,𝐾,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥, ,𝑦,𝑧

Proof of Theorem isdrs
Dummy variables 𝑓 𝑏 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6672 . . . . . 6 (𝑓 = 𝐾 → (Base‘𝑓) = (Base‘𝐾))
2 isdrs.b . . . . . 6 𝐵 = (Base‘𝐾)
31, 2syl6eqr 2876 . . . . 5 (𝑓 = 𝐾 → (Base‘𝑓) = 𝐵)
4 fveq2 6672 . . . . . . 7 (𝑓 = 𝐾 → (le‘𝑓) = (le‘𝐾))
5 isdrs.l . . . . . . 7 = (le‘𝐾)
64, 5syl6eqr 2876 . . . . . 6 (𝑓 = 𝐾 → (le‘𝑓) = )
76sbceq1d 3779 . . . . 5 (𝑓 = 𝐾 → ([(le‘𝑓) / 𝑟](𝑏 ≠ ∅ ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧)) ↔ [ / 𝑟](𝑏 ≠ ∅ ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧))))
83, 7sbceqbid 3781 . . . 4 (𝑓 = 𝐾 → ([(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟](𝑏 ≠ ∅ ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧)) ↔ [𝐵 / 𝑏][ / 𝑟](𝑏 ≠ ∅ ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧))))
92fvexi 6686 . . . . 5 𝐵 ∈ V
105fvexi 6686 . . . . 5 ∈ V
11 neeq1 3080 . . . . . . 7 (𝑏 = 𝐵 → (𝑏 ≠ ∅ ↔ 𝐵 ≠ ∅))
1211adantr 483 . . . . . 6 ((𝑏 = 𝐵𝑟 = ) → (𝑏 ≠ ∅ ↔ 𝐵 ≠ ∅))
13 rexeq 3408 . . . . . . . . 9 (𝑏 = 𝐵 → (∃𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧) ↔ ∃𝑧𝐵 (𝑥𝑟𝑧𝑦𝑟𝑧)))
1413raleqbi1dv 3405 . . . . . . . 8 (𝑏 = 𝐵 → (∀𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧) ↔ ∀𝑦𝐵𝑧𝐵 (𝑥𝑟𝑧𝑦𝑟𝑧)))
1514raleqbi1dv 3405 . . . . . . 7 (𝑏 = 𝐵 → (∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥𝑟𝑧𝑦𝑟𝑧)))
16 breq 5070 . . . . . . . . . 10 (𝑟 = → (𝑥𝑟𝑧𝑥 𝑧))
17 breq 5070 . . . . . . . . . 10 (𝑟 = → (𝑦𝑟𝑧𝑦 𝑧))
1816, 17anbi12d 632 . . . . . . . . 9 (𝑟 = → ((𝑥𝑟𝑧𝑦𝑟𝑧) ↔ (𝑥 𝑧𝑦 𝑧)))
1918rexbidv 3299 . . . . . . . 8 (𝑟 = → (∃𝑧𝐵 (𝑥𝑟𝑧𝑦𝑟𝑧) ↔ ∃𝑧𝐵 (𝑥 𝑧𝑦 𝑧)))
20192ralbidv 3201 . . . . . . 7 (𝑟 = → (∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥𝑟𝑧𝑦𝑟𝑧) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧)))
2115, 20sylan9bb 512 . . . . . 6 ((𝑏 = 𝐵𝑟 = ) → (∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧)))
2212, 21anbi12d 632 . . . . 5 ((𝑏 = 𝐵𝑟 = ) → ((𝑏 ≠ ∅ ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧)) ↔ (𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧))))
239, 10, 22sbc2ie 3852 . . . 4 ([𝐵 / 𝑏][ / 𝑟](𝑏 ≠ ∅ ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧)) ↔ (𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧)))
248, 23syl6bb 289 . . 3 (𝑓 = 𝐾 → ([(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟](𝑏 ≠ ∅ ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧)) ↔ (𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧))))
25 df-drs 17541 . . 3 Dirset = {𝑓 ∈ Proset ∣ [(Base‘𝑓) / 𝑏][(le‘𝑓) / 𝑟](𝑏 ≠ ∅ ∧ ∀𝑥𝑏𝑦𝑏𝑧𝑏 (𝑥𝑟𝑧𝑦𝑟𝑧))}
2624, 25elrab2 3685 . 2 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ (𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧))))
27 3anass 1091 . 2 ((𝐾 ∈ Proset ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧)) ↔ (𝐾 ∈ Proset ∧ (𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧))))
2826, 27bitr4i 280 1 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥 𝑧𝑦 𝑧)))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  wne 3018  wral 3140  wrex 3141  [wsbc 3774  c0 4293   class class class wbr 5068  cfv 6357  Basecbs 16485  lecple 16574   Proset cproset 17538  Dirsetcdrs 17539
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-nul 5212
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-iota 6316  df-fv 6365  df-drs 17541
This theorem is referenced by:  drsdir  17547  drsprs  17548  drsbn0  17549  isdrs2  17551  isipodrs  17773
  Copyright terms: Public domain W3C validator