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

Theorem isfild 24282
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 4572 . . . . . 6 (𝑥 ∈ 𝒫 𝐴 ↔ 𝑥 ⊆ 𝐴)
32biranri 511 . . . . 5 ((𝑥 ⊆ 𝐴 ∧ 𝜓) → 𝑥 ∈ 𝒫 𝐴)
41, 3biimtrdi 256 . . . 4 (𝜑 → (𝑥 ∈ 𝐹 → 𝑥 ∈ 𝒫 𝐴))
54ssrdv 3926 . . 3 (𝜑 → 𝐹 ⊆ 𝒫 𝐴)
6 isfild.4 . . . 4 (𝜑 → ¬ [∅ / 𝑥]𝜓)
7 isfild.2 . . . . . 6 (𝜑 → 𝐴 ∈ 𝑉)
81, 7isfildlem 24281 . . . . 5 (𝜑 → (∅ ∈ 𝐹 ↔ (∅ ⊆ 𝐴 ∧ [∅ / 𝑥]𝜓)))
9 simpr 490 . . . . 5 ((∅ ⊆ 𝐴 ∧ [∅ / 𝑥]𝜓) → [∅ / 𝑥]𝜓)
108, 9biimtrdi 256 . . . 4 (𝜑 → (∅ ∈ 𝐹 → [∅ / 𝑥]𝜓))
116, 10mtod 201 . . 3 (𝜑 → ¬ ∅ ∈ 𝐹)
12 isfild.3 . . . . 5 (𝜑 → [𝐴 / 𝑥]𝜓)
13 ssid 3942 . . . . 5 𝐴 ⊆ 𝐴
1412, 13jctil 529 . . . 4 (𝜑 → (𝐴 ⊆ 𝐴 ∧ [𝐴 / 𝑥]𝜓))
151, 7isfildlem 24281 . . . 4 (𝜑 → (𝐴 ∈ 𝐹 ↔ (𝐴 ⊆ 𝐴 ∧ [𝐴 / 𝑥]𝜓)))
1614, 15mpbird 260 . . 3 (𝜑 → 𝐴 ∈ 𝐹)
175, 11, 163jca 1147 . 2 (𝜑 → (𝐹 ⊆ 𝒫 𝐴 ∧ ¬ ∅ ∈ 𝐹 ∧ 𝐴 ∈ 𝐹))
18 elpwi 4574 . . . 4 (𝑦 ∈ 𝒫 𝐴 → 𝑦 ⊆ 𝐴)
19 isfild.5 . . . . . . . . . . 11 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → ([𝑧 / 𝑥]𝜓 → [𝑦 / 𝑥]𝜓))
20 simp2 1156 . . . . . . . . . . 11 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → 𝑦 ⊆ 𝐴)
2119, 20jctild 535 . . . . . . . . . 10 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → ([𝑧 / 𝑥]𝜓 → (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
2221adantld 496 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → ((𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓) → (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
231, 7isfildlem 24281 . . . . . . . . . 10 (𝜑 → (𝑧 ∈ 𝐹 ↔ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)))
24233ad2ant1 1152 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → (𝑧 ∈ 𝐹 ↔ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)))
251, 7isfildlem 24281 . . . . . . . . . 10 (𝜑 → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
26253ad2ant1 1152 . . . . . . . . 9 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
2722, 24, 263imtr4d 297 . . . . . . . 8 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝑦) → (𝑧 ∈ 𝐹 → 𝑦 ∈ 𝐹))
28273expa 1137 . . . . . . 7 (((𝜑 ∧ 𝑦 ⊆ 𝐴) ∧ 𝑧 ⊆ 𝑦) → (𝑧 ∈ 𝐹 → 𝑦 ∈ 𝐹))
2928impancom 457 . . . . . 6 (((𝜑 ∧ 𝑦 ⊆ 𝐴) ∧ 𝑧 ∈ 𝐹) → (𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹))
3029rexlimdva 3178 . . . . 5 ((𝜑 ∧ 𝑦 ⊆ 𝐴) → (∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹))
3130ex 418 . . . 4 (𝜑 → (𝑦 ⊆ 𝐴 → (∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹)))
3218, 31syl5 35 . . 3 (𝜑 → (𝑦 ∈ 𝒫 𝐴 → (∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹)))
3332ralrimiv 3168 . 2 (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹))
34 ssinss1 4152 . . . . . . 7 (𝑦 ⊆ 𝐴 → (𝑦 ∩ 𝑧) ⊆ 𝐴)
3534ad2antrr 739 . . . . . 6 (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) → (𝑦 ∩ 𝑧) ⊆ 𝐴)
3635a1i 11 . . . . 5 (𝜑 → (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) → (𝑦 ∩ 𝑧) ⊆ 𝐴))
37 an4 669 . . . . . 6 (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) ↔ ((𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝐴) ∧ ([𝑦 / 𝑥]𝜓 ∧ [𝑧 / 𝑥]𝜓)))
38 isfild.6 . . . . . . . 8 ((𝜑 ∧ 𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝐴) → (([𝑦 / 𝑥]𝜓 ∧ [𝑧 / 𝑥]𝜓) → [(𝑦 ∩ 𝑧) / 𝑥]𝜓))
39383expb 1139 . . . . . . 7 ((𝜑 ∧ (𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝐴)) → (([𝑦 / 𝑥]𝜓 ∧ [𝑧 / 𝑥]𝜓) → [(𝑦 ∩ 𝑧) / 𝑥]𝜓))
4039expimpd 459 . . . . . 6 (𝜑 → (((𝑦 ⊆ 𝐴 ∧ 𝑧 ⊆ 𝐴) ∧ ([𝑦 / 𝑥]𝜓 ∧ [𝑧 / 𝑥]𝜓)) → [(𝑦 ∩ 𝑧) / 𝑥]𝜓))
4137, 40biimtrid 245 . . . . 5 (𝜑 → (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) → [(𝑦 ∩ 𝑧) / 𝑥]𝜓))
4236, 41jcad 522 . . . 4 (𝜑 → (((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓)) → ((𝑦 ∩ 𝑧) ⊆ 𝐴 ∧ [(𝑦 ∩ 𝑧) / 𝑥]𝜓)))
4325, 23anbi12d 644 . . . 4 (𝜑 → ((𝑦 ∈ 𝐹 ∧ 𝑧 ∈ 𝐹) ↔ ((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ∧ (𝑧 ⊆ 𝐴 ∧ [𝑧 / 𝑥]𝜓))))
441, 7isfildlem 24281 . . . 4 (𝜑 → ((𝑦 ∩ 𝑧) ∈ 𝐹 ↔ ((𝑦 ∩ 𝑧) ⊆ 𝐴 ∧ [(𝑦 ∩ 𝑧) / 𝑥]𝜓)))
4542, 43, 443imtr4d 297 . . 3 (𝜑 → ((𝑦 ∈ 𝐹 ∧ 𝑧 ∈ 𝐹) → (𝑦 ∩ 𝑧) ∈ 𝐹))
4645ralrimivv 3218 . 2 (𝜑 → ∀𝑦 ∈ 𝐹 ∀𝑧 ∈ 𝐹 (𝑦 ∩ 𝑧) ∈ 𝐹)
47 isfil2 24280 . 2 (𝐹 ∈ (Fil‘𝐴) ↔ ((𝐹 ⊆ 𝒫 𝐴 ∧ ¬ ∅ ∈ 𝐹 ∧ 𝐴 ∈ 𝐹) ∧ ∀𝑦 ∈ 𝒫 𝐴(∃𝑧 ∈ 𝐹 𝑧 ⊆ 𝑦 → 𝑦 ∈ 𝐹) ∧ ∀𝑦 ∈ 𝐹 ∀𝑧 ∈ 𝐹 (𝑦 ∩ 𝑧) ∈ 𝐹))
4817, 33, 46, 47syl3anbrc 1364 1 (𝜑 → 𝐹 ∈ (Fil‘𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101  [wsbc 3749   ⊆ wss 3907   ∩ cin 4099  ∅c0 4288  𝒫 cpw 4567  ‘cfv 6578  Filcfil 24269
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fv 6586  df-fbas 21768  df-fil 24270
This theorem is used by:  snfil  24288  fgcl  24302  filuni  24309  cfinfil  24317  csdfil  24318  supfil  24319  fin1aufil  24356
  Copyright terms: Public domain W3C validator