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

Theorem isfild 24183
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 4561 . . . . . 6 (𝑥 ∈ 𝒫 𝐴 ↔ 𝑥 ⊆ 𝐴)
32biranri 511 . . . . 5 ((𝑥 ⊆ 𝐴 ∧ 𝜓) → 𝑥 ∈ 𝒫 𝐴)
41, 3biimtrdi 256 . . . 4 (𝜑 → (𝑥 ∈ 𝐹 → 𝑥 ∈ 𝒫 𝐴))
54ssrdv 3914 . . 3 (𝜑 → 𝐹 ⊆ 𝒫 𝐴)
6 isfild.4 . . . 4 (𝜑 → ¬ [∅ / 𝑥]𝜓)
7 isfild.2 . . . . . 6 (𝜑 → 𝐴 ∈ 𝑉)
81, 7isfildlem 24182 . . . . 5 (𝜑 → (∅ ∈ 𝐹 ↔ (∅ ⊆ 𝐴 ∧ [∅ / 𝑥]𝜓)))
9 simpr 490 . . . . 5 ((∅ ⊆ 𝐴 ∧ [∅ / 𝑥]𝜓) → [∅ / 𝑥]𝜓)
108, 9biimtrdi 256 . . . 4 (𝜑 → (∅ ∈ 𝐹 → [∅ / 𝑥]𝜓))
116, 10mtod 201 . . 3 (𝜑 → ¬ ∅ ∈ 𝐹)
12 isfild.3 . . . . 5 (𝜑 → [𝐴 / 𝑥]𝜓)
13 ssid 3930 . . . . 5 𝐴 ⊆ 𝐴
1412, 13jctil 529 . . . 4 (𝜑 → (𝐴 ⊆ 𝐴 ∧ [𝐴 / 𝑥]𝜓))
151, 7isfildlem 24182 . . . 4 (𝜑 → (𝐴 ∈ 𝐹 ↔ (𝐴 ⊆ 𝐴 ∧ [𝐴 / 𝑥]𝜓)))
1614, 15mpbird 260 . . 3 (𝜑 → 𝐴 ∈ 𝐹)
175, 11, 163jca 1146 . 2 (𝜑 → (𝐹 ⊆ 𝒫 𝐴 ∧ ¬ ∅ ∈ 𝐹 ∧ 𝐴 ∈ 𝐹))
18 elpwi 4563 . . . 4 (𝑦 ∈ 𝒫 𝐴 → 𝑦 ⊆ 𝐴)
19 isfild.5 . . . . . . . . . . 11 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → ([𝑧 / 𝑥]𝜓 → [𝑦 / 𝑥]𝜓))
20 simp2 1155 . . . . . . . . . . 11 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → 𝑦 ⊆ 𝐴)
2119, 20jctild 535 . . . . . . . . . 10 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → ([𝑧 / 𝑥]𝜓 → (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
2221adantld 496 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → ((𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓) → (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
231, 7isfildlem 24182 . . . . . . . . . 10 (𝜑 → (𝑧 ∈ 𝐹 ↔ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)))
24233ad2ant1 1151 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → (𝑧 ∈ 𝐹 ↔ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)))
251, 7isfildlem 24182 . . . . . . . . . 10 (𝜑 → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
26253ad2ant1 1151 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
2722, 24, 263imtr4d 297 . . . . . . . 8 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → (𝑧 ∈ 𝐹 → 𝑦 ∈ 𝐹))
28273expa 1136 . . . . . . 7 (((𝜑 ∧ 𝑦 ⊆ 𝐴) ∧ 𝑧 ⊆ 𝑦) → (𝑧 ∈ 𝐹 → 𝑦 ∈ 𝐹))
2928impancom 457 . . . . . 6 (((𝜑 ∧ 𝑦 ⊆ 𝐴) ∧ 𝑧 ∈ 𝐹) → (𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹))
3029rexlimdva 3163 . . . . 5 ((𝜑 ∧ 𝑦 ⊆ 𝐴) → (∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹))
3130ex 418 . . . 4 (𝜑 → (𝑦 ⊆ 𝐴 → (∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹)))
3218, 31syl5 35 . . 3 (𝜑 → (𝑦 ∈ 𝒫 𝐴 → (∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹)))
3332ralrimiv 3153 . 2 (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹))
34 ssinss1 4142 . . . . . . 7 (𝑦 ⊆ 𝐴 → (𝑦 ∩ 𝑧) ⊆ 𝐴)
3534ad2antrr 739 . . . . . 6 (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) → (𝑦 ∩ 𝑧) ⊆ 𝐴)
3635a1i 11 . . . . 5 (𝜑 → (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) → (𝑦 ∩ 𝑧) ⊆ 𝐴))
37 an4 669 . . . . . 6 (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) ↔ ((𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝐴) ∧ ([𝑦 / 𝑥]𝜓 ∧ [𝑧 / 𝑥]𝜓)))
38 isfild.6 . . . . . . . 8 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝐴) → (([𝑦 / 𝑥]𝜓 ∧ [𝑧 / 𝑥]𝜓) → [(𝑦 ∩ 𝑧) / 𝑥]𝜓))
39383expb 1138 . . . . . . 7 ((𝜑 ∧ (𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝐴)) → (([𝑦 / 𝑥]𝜓 ∧ [𝑧 / 𝑥]𝜓) → [(𝑦 ∩ 𝑧) / 𝑥]𝜓))
4039expimpd 459 . . . . . 6 (𝜑 → (((𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝐴) ∧ ([𝑦 / 𝑥]𝜓 ∧ [𝑧 / 𝑥]𝜓)) → [(𝑦 ∩ 𝑧) / 𝑥]𝜓))
4137, 40biimtrid 245 . . . . 5 (𝜑 → (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) → [(𝑦 ∩ 𝑧) / 𝑥]𝜓))
4236, 41jcad 522 . . . 4 (𝜑 → (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) → ((𝑦 ∩ 𝑧) ⊆ 𝐴 ∧ [(𝑦 ∩ 𝑧) / 𝑥]𝜓)))
4325, 23anbi12d 644 . . . 4 (𝜑 → ((𝑦 ∈ 𝐹 ∧ 𝑧 ∈ 𝐹) ↔ ((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓))))
441, 7isfildlem 24182 . . . 4 (𝜑 → ((𝑦 ∩ 𝑧) ∈ 𝐹 ↔ ((𝑦 ∩ 𝑧) ⊆ 𝐴 ∧ [(𝑦 ∩ 𝑧) / 𝑥]𝜓)))
4542, 43, 443imtr4d 297 . . 3 (𝜑 → ((𝑦 ∈ 𝐹 ∧ 𝑧 ∈ 𝐹) → (𝑦 ∩ 𝑧) ∈ 𝐹))
4645ralrimivv 3203 . 2 (𝜑 → ∀𝑦 ∈ 𝐹 ∀𝑧 ∈ 𝐹 (𝑦 ∩ 𝑧) ∈ 𝐹)
47 isfil2 24181 . 2 (𝐹 ∈ (Fil‘𝐴) ↔ ((𝐹 ⊆ 𝒫 𝐴 ∧ ¬ ∅ ∈ 𝐹 ∧ 𝐴 ∈ 𝐹) ∧ ∀𝑦 ∈ 𝒫 𝐴(∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹) ∧ ∀𝑦 ∈ 𝐹 ∀𝑧 ∈ 𝐹 (𝑦 ∩ 𝑧) ∈ 𝐹))
4817, 33, 46, 47syl3anbrc 1362 1 (𝜑 → 𝐹 ∈ (Fil‘𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086  [wsbc 3738   ⊆ wss 3895   ∩ cin 4089  ∅c0 4278  𝒫 cpw 4556  ‘cfv 6539  Filcfil 24170
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fv 6547  df-fbas 21681  df-fil 24171
This theorem is used by:  snfil  24189  fgcl  24203  filuni  24210  cfinfil  24218  csdfil  24219  supfil  24220  fin1aufil  24257
  Copyright terms: Public domain W3C validator