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

Theorem isdrs2 16939
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 ↔ (𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
Distinct variable groups:   𝑥,𝐾,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥, ,𝑦,𝑧

Proof of Theorem isdrs2
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 drsprs 16936 . . 3 (𝐾 ∈ Dirset → 𝐾 ∈ Preset )
2 simpl 473 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝐾 ∈ Dirset)
3 inss1 3833 . . . . . . . 8 (𝒫 𝐵 ∩ Fin) ⊆ 𝒫 𝐵
43sseli 3599 . . . . . . 7 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ 𝒫 𝐵)
54elpwid 4170 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥𝐵)
65adantl 482 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥𝐵)
7 inss2 3834 . . . . . . 7 (𝒫 𝐵 ∩ Fin) ⊆ Fin
87sseli 3599 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ Fin)
98adantl 482 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥 ∈ Fin)
10 drsbn0.b . . . . . 6 𝐵 = (Base‘𝐾)
11 drsdirfi.l . . . . . 6 = (le‘𝐾)
1210, 11drsdirfi 16938 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥𝐵𝑥 ∈ Fin) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
132, 6, 9, 12syl3anc 1326 . . . 4 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
1413ralrimiva 2966 . . 3 (𝐾 ∈ Dirset → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
151, 14jca 554 . 2 (𝐾 ∈ Dirset → (𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
16 simpl 473 . . 3 ((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐾 ∈ Preset )
17 0elpw 4834 . . . . . . 7 ∅ ∈ 𝒫 𝐵
18 0fin 8188 . . . . . . 7 ∅ ∈ Fin
19 elin 3796 . . . . . . 7 (∅ ∈ (𝒫 𝐵 ∩ Fin) ↔ (∅ ∈ 𝒫 𝐵 ∧ ∅ ∈ Fin))
2017, 18, 19mpbir2an 955 . . . . . 6 ∅ ∈ (𝒫 𝐵 ∩ Fin)
21 raleq 3138 . . . . . . . 8 (𝑥 = ∅ → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ ∅ 𝑧 𝑦))
2221rexbidv 3052 . . . . . . 7 (𝑥 = ∅ → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2322rspcv 3305 . . . . . 6 (∅ ∈ (𝒫 𝐵 ∩ Fin) → (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2420, 23ax-mp 5 . . . . 5 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦)
25 rexn0 4074 . . . . 5 (∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦𝐵 ≠ ∅)
2624, 25syl 17 . . . 4 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦𝐵 ≠ ∅)
2726adantl 482 . . 3 ((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐵 ≠ ∅)
28 prelpwi 4915 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ 𝒫 𝐵)
29 prfi 8235 . . . . . . . . 9 {𝑎, 𝑏} ∈ Fin
3029a1i 11 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ Fin)
3128, 30elind 3798 . . . . . . 7 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3231adantl 482 . . . . . 6 (((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
33 simplr 792 . . . . . 6 (((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
34 raleq 3138 . . . . . . . 8 (𝑥 = {𝑎, 𝑏} → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
3534rexbidv 3052 . . . . . . 7 (𝑥 = {𝑎, 𝑏} → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
3635rspcva 3307 . . . . . 6 (({𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin) ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦)
3732, 33, 36syl2anc 693 . . . . 5 (((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦)
38 vex 3203 . . . . . . 7 𝑎 ∈ V
39 vex 3203 . . . . . . 7 𝑏 ∈ V
40 breq1 4656 . . . . . . 7 (𝑧 = 𝑎 → (𝑧 𝑦𝑎 𝑦))
41 breq1 4656 . . . . . . 7 (𝑧 = 𝑏 → (𝑧 𝑦𝑏 𝑦))
4238, 39, 40, 41ralpr 4238 . . . . . 6 (∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ (𝑎 𝑦𝑏 𝑦))
4342rexbii 3041 . . . . 5 (∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4437, 43sylib 208 . . . 4 (((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4544ralrimivva 2971 . . 3 ((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4610, 11isdrs 16934 . . 3 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Preset ∧ 𝐵 ≠ ∅ ∧ ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦)))
4716, 27, 45, 46syl3anbrc 1246 . 2 ((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐾 ∈ Dirset)
4815, 47impbii 199 1 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1483  wcel 1990  wne 2794  wral 2912  wrex 2913  cin 3573  wss 3574  c0 3915  𝒫 cpw 4158  {cpr 4179   class class class wbr 4653  cfv 5888  Fincfn 7955  Basecbs 15857  lecple 15948   Preset cpreset 16926  Dirsetcdrs 16927
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1038  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-pss 3590  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-tp 4182  df-op 4184  df-uni 4437  df-int 4476  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-tr 4753  df-id 5024  df-eprel 5029  df-po 5035  df-so 5036  df-fr 5073  df-we 5075  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-pred 5680  df-ord 5726  df-on 5727  df-lim 5728  df-suc 5729  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-om 7066  df-wrecs 7407  df-recs 7468  df-rdg 7506  df-1o 7560  df-oadd 7564  df-er 7742  df-en 7956  df-fin 7959  df-preset 16928  df-drs 16929
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator