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

Theorem isdrs2 17549
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 17546 . . 3 (𝐾 ∈ Dirset → 𝐾 ∈ Proset )
2 simpl 485 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝐾 ∈ Dirset)
3 elinel1 4172 . . . . . . 7 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ 𝒫 𝐵)
43elpwid 4550 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥𝐵)
54adantl 484 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥𝐵)
6 elinel2 4173 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ Fin)
76adantl 484 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥 ∈ Fin)
8 drsbn0.b . . . . . 6 𝐵 = (Base‘𝐾)
9 drsdirfi.l . . . . . 6 = (le‘𝐾)
108, 9drsdirfi 17548 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥𝐵𝑥 ∈ Fin) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
112, 5, 7, 10syl3anc 1367 . . . 4 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
1211ralrimiva 3182 . . 3 (𝐾 ∈ Dirset → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
131, 12jca 514 . 2 (𝐾 ∈ Dirset → (𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
14 simpl 485 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐾 ∈ Proset )
15 0elpw 5256 . . . . . . 7 ∅ ∈ 𝒫 𝐵
16 0fin 8746 . . . . . . 7 ∅ ∈ Fin
1715, 16elini 4170 . . . . . 6 ∅ ∈ (𝒫 𝐵 ∩ Fin)
18 raleq 3405 . . . . . . . 8 (𝑥 = ∅ → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ ∅ 𝑧 𝑦))
1918rexbidv 3297 . . . . . . 7 (𝑥 = ∅ → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2019rspcv 3618 . . . . . 6 (∅ ∈ (𝒫 𝐵 ∩ Fin) → (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2117, 20ax-mp 5 . . . . 5 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦)
22 rexn0 4454 . . . . 5 (∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦𝐵 ≠ ∅)
2321, 22syl 17 . . . 4 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦𝐵 ≠ ∅)
2423adantl 484 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐵 ≠ ∅)
25 raleq 3405 . . . . . . 7 (𝑥 = {𝑎, 𝑏} → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
2625rexbidv 3297 . . . . . 6 (𝑥 = {𝑎, 𝑏} → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
27 simplr 767 . . . . . 6 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
28 prelpwi 5340 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ 𝒫 𝐵)
29 prfi 8793 . . . . . . . . 9 {𝑎, 𝑏} ∈ Fin
3029a1i 11 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ Fin)
3128, 30elind 4171 . . . . . . 7 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3231adantl 484 . . . . . 6 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3326, 27, 32rspcdva 3625 . . . . 5 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦)
34 vex 3497 . . . . . . 7 𝑎 ∈ V
35 vex 3497 . . . . . . 7 𝑏 ∈ V
36 breq1 5069 . . . . . . 7 (𝑧 = 𝑎 → (𝑧 𝑦𝑎 𝑦))
37 breq1 5069 . . . . . . 7 (𝑧 = 𝑏 → (𝑧 𝑦𝑏 𝑦))
3834, 35, 36, 37ralpr 4636 . . . . . 6 (∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ (𝑎 𝑦𝑏 𝑦))
3938rexbii 3247 . . . . 5 (∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4033, 39sylib 220 . . . 4 (((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4140ralrimivva 3191 . . 3 ((𝐾 ∈ Proset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
428, 9isdrs 17544 . . 3 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Proset ∧ 𝐵 ≠ ∅ ∧ ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦)))
4314, 24, 41, 42syl3anbrc 1339 . 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 1537  wcel 2114  wne 3016  wral 3138  wrex 3139  cin 3935  wss 3936  c0 4291  𝒫 cpw 4539  {cpr 4569   class class class wbr 5066  cfv 6355  Fincfn 8509  Basecbs 16483  lecple 16572   Proset cproset 17536  Dirsetcdrs 17537
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 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4839  df-int 4877  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-tr 5173  df-id 5460  df-eprel 5465  df-po 5474  df-so 5475  df-fr 5514  df-we 5516  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161  df-om 7581  df-wrecs 7947  df-recs 8008  df-rdg 8046  df-1o 8102  df-oadd 8106  df-er 8289  df-en 8510  df-fin 8513  df-proset 17538  df-drs 17539
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator