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

Theorem isdrs2 16762
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 16759 . . 3 (𝐾 ∈ Dirset → 𝐾 ∈ Preset )
2 simpl 472 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝐾 ∈ Dirset)
3 inss1 3795 . . . . . . . 8 (𝒫 𝐵 ∩ Fin) ⊆ 𝒫 𝐵
43sseli 3564 . . . . . . 7 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ 𝒫 𝐵)
54elpwid 4118 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥𝐵)
65adantl 481 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥𝐵)
7 inss2 3796 . . . . . . 7 (𝒫 𝐵 ∩ Fin) ⊆ Fin
87sseli 3564 . . . . . 6 (𝑥 ∈ (𝒫 𝐵 ∩ Fin) → 𝑥 ∈ Fin)
98adantl 481 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → 𝑥 ∈ Fin)
10 drsbn0.b . . . . . 6 𝐵 = (Base‘𝐾)
11 drsdirfi.l . . . . . 6 = (le‘𝐾)
1210, 11drsdirfi 16761 . . . . 5 ((𝐾 ∈ Dirset ∧ 𝑥𝐵𝑥 ∈ Fin) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
132, 6, 9, 12syl3anc 1318 . . . 4 ((𝐾 ∈ Dirset ∧ 𝑥 ∈ (𝒫 𝐵 ∩ Fin)) → ∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
1413ralrimiva 2949 . . 3 (𝐾 ∈ Dirset → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
151, 14jca 553 . 2 (𝐾 ∈ Dirset → (𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
16 simpl 472 . . 3 ((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐾 ∈ Preset )
17 0elpw 4760 . . . . . . 7 ∅ ∈ 𝒫 𝐵
18 0fin 8073 . . . . . . 7 ∅ ∈ Fin
19 elin 3758 . . . . . . 7 (∅ ∈ (𝒫 𝐵 ∩ Fin) ↔ (∅ ∈ 𝒫 𝐵 ∧ ∅ ∈ Fin))
2017, 18, 19mpbir2an 957 . . . . . 6 ∅ ∈ (𝒫 𝐵 ∩ Fin)
21 raleq 3115 . . . . . . . 8 (𝑥 = ∅ → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ ∅ 𝑧 𝑦))
2221rexbidv 3034 . . . . . . 7 (𝑥 = ∅ → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2322rspcv 3278 . . . . . 6 (∅ ∈ (𝒫 𝐵 ∩ Fin) → (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦))
2420, 23ax-mp 5 . . . . 5 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦 → ∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦)
25 rexn0 4026 . . . . 5 (∃𝑦𝐵𝑧 ∈ ∅ 𝑧 𝑦𝐵 ≠ ∅)
2624, 25syl 17 . . . 4 (∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦𝐵 ≠ ∅)
2726adantl 481 . . 3 ((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐵 ≠ ∅)
28 prelpwi 4842 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ 𝒫 𝐵)
29 prfi 8120 . . . . . . . . 9 {𝑎, 𝑏} ∈ Fin
3029a1i 11 . . . . . . . 8 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ Fin)
3128, 30elind 3760 . . . . . . 7 ((𝑎𝐵𝑏𝐵) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
3231adantl 481 . . . . . 6 (((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → {𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin))
33 simplr 788 . . . . . 6 (((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦)
34 raleq 3115 . . . . . . . 8 (𝑥 = {𝑎, 𝑏} → (∀𝑧𝑥 𝑧 𝑦 ↔ ∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
3534rexbidv 3034 . . . . . . 7 (𝑥 = {𝑎, 𝑏} → (∃𝑦𝐵𝑧𝑥 𝑧 𝑦 ↔ ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦))
3635rspcva 3280 . . . . . 6 (({𝑎, 𝑏} ∈ (𝒫 𝐵 ∩ Fin) ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦)
3732, 33, 36syl2anc 691 . . . . 5 (((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦)
38 vex 3176 . . . . . . 7 𝑎 ∈ V
39 vex 3176 . . . . . . 7 𝑏 ∈ V
40 breq1 4586 . . . . . . 7 (𝑧 = 𝑎 → (𝑧 𝑦𝑎 𝑦))
41 breq1 4586 . . . . . . 7 (𝑧 = 𝑏 → (𝑧 𝑦𝑏 𝑦))
4238, 39, 40, 41ralpr 4185 . . . . . 6 (∀𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ (𝑎 𝑦𝑏 𝑦))
4342rexbii 3023 . . . . 5 (∃𝑦𝐵𝑧 ∈ {𝑎, 𝑏}𝑧 𝑦 ↔ ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4437, 43sylib 207 . . . 4 (((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) ∧ (𝑎𝐵𝑏𝐵)) → ∃𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4544ralrimivva 2954 . . 3 ((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦))
4610, 11isdrs 16757 . . 3 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Preset ∧ 𝐵 ≠ ∅ ∧ ∀𝑎𝐵𝑏𝐵𝑦𝐵 (𝑎 𝑦𝑏 𝑦)))
4716, 27, 45, 46syl3anbrc 1239 . 2 ((𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦) → 𝐾 ∈ Dirset)
4815, 47impbii 198 1 (𝐾 ∈ Dirset ↔ (𝐾 ∈ Preset ∧ ∀𝑥 ∈ (𝒫 𝐵 ∩ Fin)∃𝑦𝐵𝑧𝑥 𝑧 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wne 2780  wral 2896  wrex 2897  cin 3539  wss 3540  c0 3874  𝒫 cpw 4108  {cpr 4127   class class class wbr 4583  cfv 5804  Fincfn 7841  Basecbs 15695  lecple 15775   Preset cpreset 16749  Dirsetcdrs 16750
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-int 4411  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-om 6958  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-1o 7447  df-oadd 7451  df-er 7629  df-en 7842  df-fin 7845  df-preset 16751  df-drs 16752
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator