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 485 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝐾 ∈ Dirset)
3 elinel1 4170 . . . . . . 7 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ 𝒫 𝐵)
43elpwid 4551 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥𝐵)
54adantl 484 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥𝐵)
6 elinel2 4171 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ Fin)
76adantl 484 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥 ∈ Fin)
8 drsbn0.b . . . . . 6 𝐵 = (Base‘𝐾)
9 drsdirfi.l . . . . . 6 = (le‘𝐾)
108, 9drsdirfi 17540 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥𝐵𝑥 ∈ Fin) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
112, 5, 7, 10syl3anc 1366 . . . 4 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
1211ralrimiva 3180 . . 3 (𝐾 ∈ Dirset → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
131, 12jca 514 . 2 (𝐾 ∈ Dirset → (𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
14 simpl 485 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐾 ∈ Proset )
15 0elpw 5247 . . . . . . 7 ∅ ∈ 𝒫 𝐵
16 0fin 8738 . . . . . . 7 ∅ ∈ Fin
1715, 16elini 4168 . . . . . 6 ∅ ∈ (𝒫 𝐵 ∩ Fin)
18 raleq 3404 . . . . . . . 8 (𝑥 = ∅ → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ ∅ 𝑧 𝑦))
1918rexbidv 3295 . . . . . . 7 (𝑥 = ∅ → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2019rspcv 3616 . . . . . 6 (∅ ∈ (𝒫 𝐵 ∩ Fin) → (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2117, 20ax-mp 5 . . . . 5 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦)
22 rexn0 4452 . . . . 5 (∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦𝐵 ≠ ∅)
2321, 22syl 17 . . . 4 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦𝐵 ≠ ∅)
2423adantl 484 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐵 ≠ ∅)
25 raleq 3404 . . . . . . 7 (𝑥 = {𝑎, 𝑏} → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
2625rexbidv 3295 . . . . . 6 (𝑥 = {𝑎, 𝑏} → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
27 simplr 767 . . . . . 6 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
28 prelpwi 5330 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ 𝒫 𝐵)
29 prfi 8785 . . . . . . . . 9 {𝑎, 𝑏} ∈ Fin
3029a1i 11 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ Fin)
3128, 30elind 4169 . . . . . . 7 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3231adantl 484 . . . . . 6 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3326, 27, 32rspcdva 3623 . . . . 5 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦)
34 vex 3496 . . . . . . 7 𝑎 ∈ V
35 vex 3496 . . . . . . 7 𝑏 ∈ V
36 breq1 5060 . . . . . . 7 (𝑧 = 𝑎 → (𝑧 𝑦𝑎 𝑦))
37 breq1 5060 . . . . . . 7 (𝑧 = 𝑏 → (𝑧 𝑦𝑏 𝑦))
3834, 35, 36, 37ralpr 4628 . . . . . 6 (∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ (𝑎 𝑦𝑏 𝑦))
3938rexbii 3245 . . . . 5 (∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4033, 39sylib 220 . . . 4 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4140ralrimivva 3189 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
428, 9isdrs 17536 . . 3 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ 𝐵 ≠ ∅ ∧ ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦)))
4314, 24, 41, 42syl3anbrc 1338 . 2 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐾 ∈ Dirset)
4413, 43impbii 211 1 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1531  wcel 2108  wne 3014  wral 3136  wrex 3137  cin 3933  wss 3934  c0 4289  𝒫 cpw 4537  {cpr 4561   class class class wbr 5057  cfv 6348  Fincfn 8501  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 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7453
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1083  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-ral 3141  df-rex 3142  df-reu 3143  df-rab 3145  df-v 3495  df-sbc 3771  df-csb 3882  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-pss 3952  df-nul 4290  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-tp 4564  df-op 4566  df-uni 4831  df-int 4868  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-tr 5164  df-id 5453  df-eprel 5458  df-po 5467  df-so 5468  df-fr 5507  df-we 5509  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-pred 6141  df-ord 6187  df-on 6188  df-lim 6189  df-suc 6190  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-ov 7151  df-oprab 7152  df-mpo 7153  df-om 7573  df-wrecs 7939  df-recs 8000  df-rdg 8038  df-1o 8094  df-oadd 8098  df-er 8281  df-en 8502  df-fin 8505  df-proset 17530  df-drs 17531
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator