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

Theorem isfild 22917
Description: Sufficient condition for a set of the form {𝑥 ∈ 𝒫 𝐴𝜑} to be a filter. (Contributed by Mario Carneiro, 1-Dec-2013.) (Revised by Stefan O'Rear, 2-Aug-2015.) (Revised by AV, 10-Apr-2024.)
Hypotheses
Ref Expression
isfild.1 (𝜑 → (𝑥𝐹 ↔ (𝑥𝐴𝜓)))
isfild.2 (𝜑𝐴𝑉)
isfild.3 (𝜑[𝐴 / 𝑥]𝜓)
isfild.4 (𝜑 → ¬ [∅ / 𝑥]𝜓)
isfild.5 ((𝜑𝑦𝐴𝑧𝑦) → ([𝑧 / 𝑥]𝜓[𝑦 / 𝑥]𝜓))
isfild.6 ((𝜑𝑦𝐴𝑧𝐴) → (([𝑦 / 𝑥]𝜓[𝑧 / 𝑥]𝜓) → [(𝑦𝑧) / 𝑥]𝜓))
Assertion
Ref Expression
isfild (𝜑𝐹 ∈ (Fil‘𝐴))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑧,𝐴   𝑥,𝐹,𝑦   𝑦,𝑧,𝐹   𝜑,𝑥,𝑦   𝜑,𝑧   𝜓,𝑦
Allowed substitution hints:   𝜓(𝑥,𝑧)   𝑉(𝑥,𝑦,𝑧)

Proof of Theorem isfild
StepHypRef Expression
1 isfild.1 . . . . 5 (𝜑 → (𝑥𝐹 ↔ (𝑥𝐴𝜓)))
2 velpw 4535 . . . . . . 7 (𝑥 ∈ 𝒫 𝐴𝑥𝐴)
32biimpri 227 . . . . . 6 (𝑥𝐴𝑥 ∈ 𝒫 𝐴)
43adantr 480 . . . . 5 ((𝑥𝐴𝜓) → 𝑥 ∈ 𝒫 𝐴)
51, 4syl6bi 252 . . . 4 (𝜑 → (𝑥𝐹𝑥 ∈ 𝒫 𝐴))
65ssrdv 3923 . . 3 (𝜑𝐹 ⊆ 𝒫 𝐴)
7 isfild.4 . . . 4 (𝜑 → ¬ [∅ / 𝑥]𝜓)
8 isfild.2 . . . . . 6 (𝜑𝐴𝑉)
91, 8isfildlem 22916 . . . . 5 (𝜑 → (∅ ∈ 𝐹 ↔ (∅ ⊆ 𝐴[∅ / 𝑥]𝜓)))
10 simpr 484 . . . . 5 ((∅ ⊆ 𝐴[∅ / 𝑥]𝜓) → [∅ / 𝑥]𝜓)
119, 10syl6bi 252 . . . 4 (𝜑 → (∅ ∈ 𝐹[∅ / 𝑥]𝜓))
127, 11mtod 197 . . 3 (𝜑 → ¬ ∅ ∈ 𝐹)
13 isfild.3 . . . . 5 (𝜑[𝐴 / 𝑥]𝜓)
14 ssid 3939 . . . . 5 𝐴𝐴
1513, 14jctil 519 . . . 4 (𝜑 → (𝐴𝐴[𝐴 / 𝑥]𝜓))
161, 8isfildlem 22916 . . . 4 (𝜑 → (𝐴𝐹 ↔ (𝐴𝐴[𝐴 / 𝑥]𝜓)))
1715, 16mpbird 256 . . 3 (𝜑𝐴𝐹)
186, 12, 173jca 1126 . 2 (𝜑 → (𝐹 ⊆ 𝒫 𝐴 ∧ ¬ ∅ ∈ 𝐹𝐴𝐹))
19 elpwi 4539 . . . 4 (𝑦 ∈ 𝒫 𝐴𝑦𝐴)
20 isfild.5 . . . . . . . . . . 11 ((𝜑𝑦𝐴𝑧𝑦) → ([𝑧 / 𝑥]𝜓[𝑦 / 𝑥]𝜓))
21 simp2 1135 . . . . . . . . . . 11 ((𝜑𝑦𝐴𝑧𝑦) → 𝑦𝐴)
2220, 21jctild 525 . . . . . . . . . 10 ((𝜑𝑦𝐴𝑧𝑦) → ([𝑧 / 𝑥]𝜓 → (𝑦𝐴[𝑦 / 𝑥]𝜓)))
2322adantld 490 . . . . . . . . 9 ((𝜑𝑦𝐴𝑧𝑦) → ((𝑧𝐴[𝑧 / 𝑥]𝜓) → (𝑦𝐴[𝑦 / 𝑥]𝜓)))
241, 8isfildlem 22916 . . . . . . . . . 10 (𝜑 → (𝑧𝐹 ↔ (𝑧𝐴[𝑧 / 𝑥]𝜓)))
25243ad2ant1 1131 . . . . . . . . 9 ((𝜑𝑦𝐴𝑧𝑦) → (𝑧𝐹 ↔ (𝑧𝐴[𝑧 / 𝑥]𝜓)))
261, 8isfildlem 22916 . . . . . . . . . 10 (𝜑 → (𝑦𝐹 ↔ (𝑦𝐴[𝑦 / 𝑥]𝜓)))
27263ad2ant1 1131 . . . . . . . . 9 ((𝜑𝑦𝐴𝑧𝑦) → (𝑦𝐹 ↔ (𝑦𝐴[𝑦 / 𝑥]𝜓)))
2823, 25, 273imtr4d 293 . . . . . . . 8 ((𝜑𝑦𝐴𝑧𝑦) → (𝑧𝐹𝑦𝐹))
29283expa 1116 . . . . . . 7 (((𝜑𝑦𝐴) ∧ 𝑧𝑦) → (𝑧𝐹𝑦𝐹))
3029impancom 451 . . . . . 6 (((𝜑𝑦𝐴) ∧ 𝑧𝐹) → (𝑧𝑦𝑦𝐹))
3130rexlimdva 3212 . . . . 5 ((𝜑𝑦𝐴) → (∃𝑧𝐹 𝑧𝑦𝑦𝐹))
3231ex 412 . . . 4 (𝜑 → (𝑦𝐴 → (∃𝑧𝐹 𝑧𝑦𝑦𝐹)))
3319, 32syl5 34 . . 3 (𝜑 → (𝑦 ∈ 𝒫 𝐴 → (∃𝑧𝐹 𝑧𝑦𝑦𝐹)))
3433ralrimiv 3106 . 2 (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(∃𝑧𝐹 𝑧𝑦𝑦𝐹))
35 ssinss1 4168 . . . . . . 7 (𝑦𝐴 → (𝑦𝑧) ⊆ 𝐴)
3635ad2antrr 722 . . . . . 6 (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) → (𝑦𝑧) ⊆ 𝐴)
3736a1i 11 . . . . 5 (𝜑 → (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) → (𝑦𝑧) ⊆ 𝐴))
38 an4 652 . . . . . 6 (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) ↔ ((𝑦𝐴𝑧𝐴) ∧ ([𝑦 / 𝑥]𝜓[𝑧 / 𝑥]𝜓)))
39 isfild.6 . . . . . . . 8 ((𝜑𝑦𝐴𝑧𝐴) → (([𝑦 / 𝑥]𝜓[𝑧 / 𝑥]𝜓) → [(𝑦𝑧) / 𝑥]𝜓))
40393expb 1118 . . . . . . 7 ((𝜑 ∧ (𝑦𝐴𝑧𝐴)) → (([𝑦 / 𝑥]𝜓[𝑧 / 𝑥]𝜓) → [(𝑦𝑧) / 𝑥]𝜓))
4140expimpd 453 . . . . . 6 (𝜑 → (((𝑦𝐴𝑧𝐴) ∧ ([𝑦 / 𝑥]𝜓[𝑧 / 𝑥]𝜓)) → [(𝑦𝑧) / 𝑥]𝜓))
4238, 41syl5bi 241 . . . . 5 (𝜑 → (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) → [(𝑦𝑧) / 𝑥]𝜓))
4337, 42jcad 512 . . . 4 (𝜑 → (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) → ((𝑦𝑧) ⊆ 𝐴[(𝑦𝑧) / 𝑥]𝜓)))
4426, 24anbi12d 630 . . . 4 (𝜑 → ((𝑦𝐹𝑧𝐹) ↔ ((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓))))
451, 8isfildlem 22916 . . . 4 (𝜑 → ((𝑦𝑧) ∈ 𝐹 ↔ ((𝑦𝑧) ⊆ 𝐴[(𝑦𝑧) / 𝑥]𝜓)))
4643, 44, 453imtr4d 293 . . 3 (𝜑 → ((𝑦𝐹𝑧𝐹) → (𝑦𝑧) ∈ 𝐹))
4746ralrimivv 3113 . 2 (𝜑 → ∀𝑦𝐹𝑧𝐹 (𝑦𝑧) ∈ 𝐹)
48 isfil2 22915 . 2 (𝐹 ∈ (Fil‘𝐴) ↔ ((𝐹 ⊆ 𝒫 𝐴 ∧ ¬ ∅ ∈ 𝐹𝐴𝐹) ∧ ∀𝑦 ∈ 𝒫 𝐴(∃𝑧𝐹 𝑧𝑦𝑦𝐹) ∧ ∀𝑦𝐹𝑧𝐹 (𝑦𝑧) ∈ 𝐹))
4918, 34, 47, 48syl3anbrc 1341 1 (𝜑𝐹 ∈ (Fil‘𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  w3a 1085  wcel 2108  wral 3063  wrex 3064  [wsbc 3711  cin 3882  wss 3883  c0 4253  𝒫 cpw 4530  cfv 6418  Filcfil 22904
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fv 6426  df-fbas 20507  df-fil 22905
This theorem is referenced by:  snfil  22923  fgcl  22937  filuni  22944  cfinfil  22952  csdfil  22953  supfil  22954  fin1aufil  22991
  Copyright terms: Public domain W3C validator