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

Theorem isfild 24232
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 4565 . . . . . 6 (𝑥 ∈ 𝒫 𝐴 ↔ 𝑥 ⊆ 𝐴)
32biranri 511 . . . . 5 ((𝑥 ⊆ 𝐴 ∧ 𝜓) → 𝑥 ∈ 𝒫 𝐴)
41, 3biimtrdi 256 . . . 4 (𝜑 → (𝑥 ∈ 𝐹 → 𝑥 ∈ 𝒫 𝐴))
54ssrdv 3919 . . 3 (𝜑 → 𝐹 ⊆ 𝒫 𝐴)
6 isfild.4 . . . 4 (𝜑 → ¬ [∅ / 𝑥]𝜓)
7 isfild.2 . . . . . 6 (𝜑 → 𝐴 ∈ 𝑉)
81, 7isfildlem 24231 . . . . 5 (𝜑 → (∅ ∈ 𝐹 ↔ (∅ ⊆ 𝐴 ∧ [∅ / 𝑥]𝜓)))
9 simpr 490 . . . . 5 ((∅ ⊆ 𝐴 ∧ [∅ / 𝑥]𝜓) → [∅ / 𝑥]𝜓)
108, 9biimtrdi 256 . . . 4 (𝜑 → (∅ ∈ 𝐹 → [∅ / 𝑥]𝜓))
116, 10mtod 201 . . 3 (𝜑 → ¬ ∅ ∈ 𝐹)
12 isfild.3 . . . . 5 (𝜑 → [𝐴 / 𝑥]𝜓)
13 ssid 3935 . . . . 5 𝐴 ⊆ 𝐴
1412, 13jctil 529 . . . 4 (𝜑 → (𝐴 ⊆ 𝐴 ∧ [𝐴 / 𝑥]𝜓))
151, 7isfildlem 24231 . . . 4 (𝜑 → (𝐴 ∈ 𝐹 ↔ (𝐴 ⊆ 𝐴 ∧ [𝐴 / 𝑥]𝜓)))
1614, 15mpbird 260 . . 3 (𝜑 → 𝐴 ∈ 𝐹)
175, 11, 163jca 1146 . 2 (𝜑 → (𝐹 ⊆ 𝒫 𝐴 ∧ ¬ ∅ ∈ 𝐹 ∧ 𝐴 ∈ 𝐹))
18 elpwi 4567 . . . 4 (𝑦 ∈ 𝒫 𝐴 → 𝑦 ⊆ 𝐴)
19 isfild.5 . . . . . . . . . . 11 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → ([𝑧 / 𝑥]𝜓 → [𝑦 / 𝑥]𝜓))
20 simp2 1155 . . . . . . . . . . 11 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → 𝑦 ⊆ 𝐴)
2119, 20jctild 535 . . . . . . . . . 10 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → ([𝑧 / 𝑥]𝜓 → (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
2221adantld 496 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → ((𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓) → (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
231, 7isfildlem 24231 . . . . . . . . . 10 (𝜑 → (𝑧 ∈ 𝐹 ↔ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)))
24233ad2ant1 1151 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → (𝑧 ∈ 𝐹 ↔ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)))
251, 7isfildlem 24231 . . . . . . . . . 10 (𝜑 → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
26253ad2ant1 1151 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
2722, 24, 263imtr4d 297 . . . . . . . 8 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → (𝑧 ∈ 𝐹 → 𝑦 ∈ 𝐹))
28273expa 1136 . . . . . . 7 (((𝜑 ∧ 𝑦 ⊆ 𝐴) ∧ 𝑧 ⊆ 𝑦) → (𝑧 ∈ 𝐹 → 𝑦 ∈ 𝐹))
2928impancom 457 . . . . . 6 (((𝜑 ∧ 𝑦 ⊆ 𝐴) ∧ 𝑧 ∈ 𝐹) → (𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹))
3029rexlimdva 3167 . . . . 5 ((𝜑 ∧ 𝑦 ⊆ 𝐴) → (∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹))
3130ex 418 . . . 4 (𝜑 → (𝑦 ⊆ 𝐴 → (∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹)))
3218, 31syl5 35 . . 3 (𝜑 → (𝑦 ∈ 𝒫 𝐴 → (∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹)))
3332ralrimiv 3157 . 2 (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹))
34 ssinss1 4145 . . . . . . 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 24231 . . . 4 (𝜑 → ((𝑦 ∩ 𝑧) ∈ 𝐹 ↔ ((𝑦 ∩ 𝑧) ⊆ 𝐴 ∧ [(𝑦 ∩ 𝑧) / 𝑥]𝜓)))
4542, 43, 443imtr4d 297 . . 3 (𝜑 → ((𝑦 ∈ 𝐹 ∧ 𝑧 ∈ 𝐹) → (𝑦 ∩ 𝑧) ∈ 𝐹))
4645ralrimivv 3207 . 2 (𝜑 → ∀𝑦 ∈ 𝐹 ∀𝑧 ∈ 𝐹 (𝑦 ∩ 𝑧) ∈ 𝐹)
47 isfil2 24230 . 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 2147  ∀wral 3080  ∃wrex 3090  [wsbc 3742   ⊆ wss 3900   ∩ cin 4092  ∅c0 4281  𝒫 cpw 4560  ‘cfv 6566  Filcfil 24219
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fv 6574  df-fbas 21726  df-fil 24220
This theorem is used by:  snfil  24238  fgcl  24252  filuni  24259  cfinfil  24267  csdfil  24268  supfil  24269  fin1aufil  24306
  Copyright terms: Public domain W3C validator