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

Theorem isdrs2 17541
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 17538 . . 3 (𝐾 ∈ Dirset → 𝐾 ∈ Proset )
2 simpl 486 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝐾 ∈ Dirset)
3 elinel1 4122 . . . . . . 7 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ 𝒫 𝐵)
43elpwid 4508 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥𝐵)
54adantl 485 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥𝐵)
6 elinel2 4123 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ Fin)
76adantl 485 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥 ∈ Fin)
8 drsbn0.b . . . . . 6 𝐵 = (Base‘𝐾)
9 drsdirfi.l . . . . . 6 = (le‘𝐾)
108, 9drsdirfi 17540 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥𝐵𝑥 ∈ Fin) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
112, 5, 7, 10syl3anc 1368 . . . 4 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
1211ralrimiva 3149 . . 3 (𝐾 ∈ Dirset → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
131, 12jca 515 . 2 (𝐾 ∈ Dirset → (𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
14 simpl 486 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐾 ∈ Proset )
15 0elpw 5221 . . . . . . 7 ∅ ∈ 𝒫 𝐵
16 0fin 8730 . . . . . . 7 ∅ ∈ Fin
1715, 16elini 4120 . . . . . 6 ∅ ∈ (𝒫 𝐵 ∩ Fin)
18 raleq 3358 . . . . . . . 8 (𝑥 = ∅ → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ ∅ 𝑧 𝑦))
1918rexbidv 3256 . . . . . . 7 (𝑥 = ∅ → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2019rspcv 3566 . . . . . 6 (∅ ∈ (𝒫 𝐵 ∩ Fin) → (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2117, 20ax-mp 5 . . . . 5 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦)
22 rexn0 4412 . . . . 5 (∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦𝐵 ≠ ∅)
2321, 22syl 17 . . . 4 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦𝐵 ≠ ∅)
2423adantl 485 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐵 ≠ ∅)
25 raleq 3358 . . . . . . 7 (𝑥 = {𝑎, 𝑏} → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
2625rexbidv 3256 . . . . . 6 (𝑥 = {𝑎, 𝑏} → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
27 simplr 768 . . . . . 6 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
28 prelpwi 5305 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ 𝒫 𝐵)
29 prfi 8777 . . . . . . . . 9 {𝑎, 𝑏} ∈ Fin
3029a1i 11 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ Fin)
3128, 30elind 4121 . . . . . . 7 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3231adantl 485 . . . . . 6 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3326, 27, 32rspcdva 3573 . . . . 5 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦)
34 vex 3444 . . . . . . 7 𝑎 ∈ V
35 vex 3444 . . . . . . 7 𝑏 ∈ V
36 breq1 5033 . . . . . . 7 (𝑧 = 𝑎 → (𝑧 𝑦𝑎 𝑦))
37 breq1 5033 . . . . . . 7 (𝑧 = 𝑏 → (𝑧 𝑦𝑏 𝑦))
3834, 35, 36, 37ralpr 4596 . . . . . 6 (∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ (𝑎 𝑦𝑏 𝑦))
3938rexbii 3210 . . . . 5 (∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4033, 39sylib 221 . . . 4 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4140ralrimivva 3156 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
428, 9isdrs 17536 . . 3 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ 𝐵 ≠ ∅ ∧ ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦)))
4314, 24, 41, 42syl3anbrc 1340 . 2 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐾 ∈ Dirset)
4413, 43impbii 212 1 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  wne 2987  wral 3106  wrex 3107  cin 3880  wss 3881  c0 4243  𝒫 cpw 4497  {cpr 4527   class class class wbr 5030  cfv 6324  Fincfn 8492  Basecbs 16475  lecple 16564   Proset cproset 17528  Dirsetcdrs 17529
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-oadd 8089  df-er 8272  df-en 8493  df-fin 8496  df-proset 17530  df-drs 17531
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator