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

Theorem isdrs2 18558
Description: Directed sets may be defined in terms of finite subsets. Again, without nonemptiness we would need to restrict to nonempty subsets here. (Contributed by Stefan O'Rear, 1-Feb-2015.)
Hypotheses
Ref Expression
drsbn0.b 𝐵 = (Base‘𝐾)
drsdirfi.l ≤ = (le‘𝐾)
Assertion
Ref Expression
isdrs2 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦))
Distinct variable groups:   𝑥,𝐾,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥, ≤ ,𝑦,𝑧

Proof of Theorem isdrs2
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 drsprs 18555 . . 3 (𝐾 ∈ Dirset → 𝐾 ∈ Proset )
2 simpl 488 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝐾 ∈ Dirset)
3 elinel1 4108 . . . . . . 7 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ 𝒫 𝐵)
43elpwid 4576 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ⊆ 𝐵)
54adantl 487 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥 ⊆ 𝐵)
6 elinel2 4109 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ Fin)
76adantl 487 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥 ∈ Fin)
8 drsbn0.b . . . . . 6 𝐵 = (Base‘𝐾)
9 drsdirfi.l . . . . . 6 ≤ = (le‘𝐾)
108, 9drsdirfi 18557 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ⊆ 𝐵 ∧ 𝑥 ∈ Fin) → ∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦)
112, 5, 7, 10syl3anc 1401 . . . 4 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → ∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦)
1211ralrimiva 3169 . . 3 (𝐾 ∈ Dirset → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦)
131, 12jca 521 . 2 (𝐾 ∈ Dirset → (𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦))
14 simpl 488 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦) → 𝐾 ∈ Proset )
15 0elpw 5332 . . . . . . 7 ∅ ∈ 𝒫 𝐵
16 0fi 9127 . . . . . . 7 ∅ ∈ Fin
1715, 16elini 4106 . . . . . 6 ∅ ∈ (𝒫 𝐵 ∩ Fin)
18 raleq 3328 . . . . . . . 8 (𝑥 = ∅ → (∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦 ↔ ∀𝑧 ∈ ∅ 𝑧 ≤ 𝑦))
1918rexbidv 3201 . . . . . . 7 (𝑥 = ∅ → (∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦 ↔ ∃𝑦 ∈ 𝐵 ∀𝑧 ∈ ∅ 𝑧 ≤ 𝑦))
2019rspcv 3583 . . . . . 6 (∅ ∈ (𝒫 𝐵 ∩ Fin) → (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦 → ∃𝑦 ∈ 𝐵 ∀𝑧 ∈ ∅ 𝑧 ≤ 𝑦))
2117, 20ax-mp 5 . . . . 5 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦 → ∃𝑦 ∈ 𝐵 ∀𝑧 ∈ ∅ 𝑧 ≤ 𝑦)
22 rexn0 4462 . . . . 5 (∃𝑦 ∈ 𝐵 ∀𝑧 ∈ ∅ 𝑧 ≤ 𝑦 → 𝐵 ≠ ∅)
2321, 22syl 18 . . . 4 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦 → 𝐵 ≠ ∅)
2423adantl 487 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦) → 𝐵 ≠ ∅)
25 raleq 3328 . . . . . . 7 (𝑥 = {𝑎, 𝑏} → (∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦 ↔ ∀𝑧 ∈ {𝑎, 𝑏}𝑧 ≤ 𝑦))
2625rexbidv 3201 . . . . . 6 (𝑥 = {𝑎, 𝑏} → (∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦 ↔ ∃𝑦 ∈ 𝐵 ∀𝑧 ∈ {𝑎, 𝑏}𝑧 ≤ 𝑦))
27 simplr 781 . . . . . 6 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦) ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦)
28 prelpwi 5430 . . . . . . . 8 ((𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → {𝑎, 𝑏} ∈ 𝒫 𝐵)
29 prfi 9372 . . . . . . . . 9 {𝑎, 𝑏} ∈ Fin
3029a1i 11 . . . . . . . 8 ((𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → {𝑎, 𝑏} ∈ Fin)
3128, 30elind 4107 . . . . . . 7 ((𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3231adantl 487 . . . . . 6 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦) ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3326, 27, 32rspcdva 3588 . . . . 5 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦) ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → ∃𝑦 ∈ 𝐵 ∀𝑧 ∈ {𝑎, 𝑏}𝑧 ≤ 𝑦)
34 vex 3465 . . . . . . 7 𝑎 ∈ V
35 vex 3465 . . . . . . 7 𝑏 ∈ V
36 breq1 5119 . . . . . . 7 (𝑧 = 𝑎 → (𝑧 ≤ 𝑦 ↔ 𝑎 ≤ 𝑦))
37 breq1 5119 . . . . . . 7 (𝑧 = 𝑏 → (𝑧 ≤ 𝑦 ↔ 𝑏 ≤ 𝑦))
3834, 35, 36, 37ralpr 4669 . . . . . 6 (∀𝑧 ∈ {𝑎, 𝑏}𝑧 ≤ 𝑦 ↔ (𝑎 ≤ 𝑦 ∧ 𝑏 ≤ 𝑦))
3938rexbii 3124 . . . . 5 (∃𝑦 ∈ 𝐵 ∀𝑧 ∈ {𝑎, 𝑏}𝑧 ≤ 𝑦 ↔ ∃𝑦 ∈ 𝐵 (𝑎 ≤ 𝑦 ∧ 𝑏 ≤ 𝑦))
4033, 39sylib 221 . . . 4 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦) ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → ∃𝑦 ∈ 𝐵 (𝑎 ≤ 𝑦 ∧ 𝑏 ≤ 𝑦))
4140ralrimivva 3220 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦) → ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 (𝑎 ≤ 𝑦 ∧ 𝑏 ≤ 𝑦))
428, 9isdrs 18553 . . 3 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ 𝐵 ≠ ∅ ∧ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 (𝑎 ≤ 𝑦 ∧ 𝑏 ≤ 𝑦)))
4314, 24, 41, 42syl3anbrc 1364 . 2 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦) → 𝐾 ∈ Dirset)
4413, 43impbii 212 1 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝑥 𝑧 ≤ 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  ∀wral 3091  ∃wrex 3101   ⊆ wss 3907   ∩ cin 4099  ∅c0 4288  𝒫 cpw 4567  {cpr 4597   class class class wbr 5116  ‘cfv 6579  Fincfn 9030  Basecbs 17455  lecple 17503   Proset cproset 18544  Dirsetcdrs 18545
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-om 7931  df-1o 8533  df-2o 8534  df-en 9031  df-fin 9034  df-proset 18546  df-drs 18547
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator