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

Theorem isfild 23009
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 4538 . . . . . . 7 (𝑥 ∈ 𝒫 𝐴𝑥𝐴)
32biimpri 227 . . . . . 6 (𝑥𝐴𝑥 ∈ 𝒫 𝐴)
43adantr 481 . . . . 5 ((𝑥𝐴𝜓) → 𝑥 ∈ 𝒫 𝐴)
51, 4syl6bi 252 . . . 4 (𝜑 → (𝑥𝐹𝑥 ∈ 𝒫 𝐴))
65ssrdv 3927 . . 3 (𝜑𝐹 ⊆ 𝒫 𝐴)
7 isfild.4 . . . 4 (𝜑 → ¬ [∅ / 𝑥]𝜓)
8 isfild.2 . . . . . 6 (𝜑𝐴𝑉)
91, 8isfildlem 23008 . . . . 5 (𝜑 → (∅ ∈ 𝐹 ↔ (∅ ⊆ 𝐴[∅ / 𝑥]𝜓)))
10 simpr 485 . . . . 5 ((∅ ⊆ 𝐴[∅ / 𝑥]𝜓) → [∅ / 𝑥]𝜓)
119, 10syl6bi 252 . . . 4 (𝜑 → (∅ ∈ 𝐹[∅ / 𝑥]𝜓))
127, 11mtod 197 . . 3 (𝜑 → ¬ ∅ ∈ 𝐹)
13 isfild.3 . . . . 5 (𝜑[𝐴 / 𝑥]𝜓)
14 ssid 3943 . . . . 5 𝐴𝐴
1513, 14jctil 520 . . . 4 (𝜑 → (𝐴𝐴[𝐴 / 𝑥]𝜓))
161, 8isfildlem 23008 . . . 4 (𝜑 → (𝐴𝐹 ↔ (𝐴𝐴[𝐴 / 𝑥]𝜓)))
1715, 16mpbird 256 . . 3 (𝜑𝐴𝐹)
186, 12, 173jca 1127 . 2 (𝜑 → (𝐹 ⊆ 𝒫 𝐴 ∧ ¬ ∅ ∈ 𝐹𝐴𝐹))
19 elpwi 4542 . . . 4 (𝑦 ∈ 𝒫 𝐴𝑦𝐴)
20 isfild.5 . . . . . . . . . . 11 ((𝜑𝑦𝐴𝑧𝑦) → ([𝑧 / 𝑥]𝜓[𝑦 / 𝑥]𝜓))
21 simp2 1136 . . . . . . . . . . 11 ((𝜑𝑦𝐴𝑧𝑦) → 𝑦𝐴)
2220, 21jctild 526 . . . . . . . . . 10 ((𝜑𝑦𝐴𝑧𝑦) → ([𝑧 / 𝑥]𝜓 → (𝑦𝐴[𝑦 / 𝑥]𝜓)))
2322adantld 491 . . . . . . . . 9 ((𝜑𝑦𝐴𝑧𝑦) → ((𝑧𝐴[𝑧 / 𝑥]𝜓) → (𝑦𝐴[𝑦 / 𝑥]𝜓)))
241, 8isfildlem 23008 . . . . . . . . . 10 (𝜑 → (𝑧𝐹 ↔ (𝑧𝐴[𝑧 / 𝑥]𝜓)))
25243ad2ant1 1132 . . . . . . . . 9 ((𝜑𝑦𝐴𝑧𝑦) → (𝑧𝐹 ↔ (𝑧𝐴[𝑧 / 𝑥]𝜓)))
261, 8isfildlem 23008 . . . . . . . . . 10 (𝜑 → (𝑦𝐹 ↔ (𝑦𝐴[𝑦 / 𝑥]𝜓)))
27263ad2ant1 1132 . . . . . . . . 9 ((𝜑𝑦𝐴𝑧𝑦) → (𝑦𝐹 ↔ (𝑦𝐴[𝑦 / 𝑥]𝜓)))
2823, 25, 273imtr4d 294 . . . . . . . 8 ((𝜑𝑦𝐴𝑧𝑦) → (𝑧𝐹𝑦𝐹))
29283expa 1117 . . . . . . 7 (((𝜑𝑦𝐴) ∧ 𝑧𝑦) → (𝑧𝐹𝑦𝐹))
3029impancom 452 . . . . . 6 (((𝜑𝑦𝐴) ∧ 𝑧𝐹) → (𝑧𝑦𝑦𝐹))
3130rexlimdva 3213 . . . . 5 ((𝜑𝑦𝐴) → (∃𝑧𝐹 𝑧𝑦𝑦𝐹))
3231ex 413 . . . 4 (𝜑 → (𝑦𝐴 → (∃𝑧𝐹 𝑧𝑦𝑦𝐹)))
3319, 32syl5 34 . . 3 (𝜑 → (𝑦 ∈ 𝒫 𝐴 → (∃𝑧𝐹 𝑧𝑦𝑦𝐹)))
3433ralrimiv 3102 . 2 (𝜑 → ∀𝑦 ∈ 𝒫 𝐴(∃𝑧𝐹 𝑧𝑦𝑦𝐹))
35 ssinss1 4171 . . . . . . 7 (𝑦𝐴 → (𝑦𝑧) ⊆ 𝐴)
3635ad2antrr 723 . . . . . 6 (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) → (𝑦𝑧) ⊆ 𝐴)
3736a1i 11 . . . . 5 (𝜑 → (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) → (𝑦𝑧) ⊆ 𝐴))
38 an4 653 . . . . . 6 (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) ↔ ((𝑦𝐴𝑧𝐴) ∧ ([𝑦 / 𝑥]𝜓[𝑧 / 𝑥]𝜓)))
39 isfild.6 . . . . . . . 8 ((𝜑𝑦𝐴𝑧𝐴) → (([𝑦 / 𝑥]𝜓[𝑧 / 𝑥]𝜓) → [(𝑦𝑧) / 𝑥]𝜓))
40393expb 1119 . . . . . . 7 ((𝜑 ∧ (𝑦𝐴𝑧𝐴)) → (([𝑦 / 𝑥]𝜓[𝑧 / 𝑥]𝜓) → [(𝑦𝑧) / 𝑥]𝜓))
4140expimpd 454 . . . . . 6 (𝜑 → (((𝑦𝐴𝑧𝐴) ∧ ([𝑦 / 𝑥]𝜓[𝑧 / 𝑥]𝜓)) → [(𝑦𝑧) / 𝑥]𝜓))
4238, 41syl5bi 241 . . . . 5 (𝜑 → (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) → [(𝑦𝑧) / 𝑥]𝜓))
4337, 42jcad 513 . . . 4 (𝜑 → (((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓)) → ((𝑦𝑧) ⊆ 𝐴[(𝑦𝑧) / 𝑥]𝜓)))
4426, 24anbi12d 631 . . . 4 (𝜑 → ((𝑦𝐹𝑧𝐹) ↔ ((𝑦𝐴[𝑦 / 𝑥]𝜓) ∧ (𝑧𝐴[𝑧 / 𝑥]𝜓))))
451, 8isfildlem 23008 . . . 4 (𝜑 → ((𝑦𝑧) ∈ 𝐹 ↔ ((𝑦𝑧) ⊆ 𝐴[(𝑦𝑧) / 𝑥]𝜓)))
4643, 44, 453imtr4d 294 . . 3 (𝜑 → ((𝑦𝐹𝑧𝐹) → (𝑦𝑧) ∈ 𝐹))
4746ralrimivv 3122 . 2 (𝜑 → ∀𝑦𝐹𝑧𝐹 (𝑦𝑧) ∈ 𝐹)
48 isfil2 23007 . 2 (𝐹 ∈ (Fil‘𝐴) ↔ ((𝐹 ⊆ 𝒫 𝐴 ∧ ¬ ∅ ∈ 𝐹𝐴𝐹) ∧ ∀𝑦 ∈ 𝒫 𝐴(∃𝑧𝐹 𝑧𝑦𝑦𝐹) ∧ ∀𝑦𝐹𝑧𝐹 (𝑦𝑧) ∈ 𝐹))
4918, 34, 47, 48syl3anbrc 1342 1 (𝜑𝐹 ∈ (Fil‘𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1086  wcel 2106  wral 3064  wrex 3065  [wsbc 3716  cin 3886  wss 3887  c0 4256  𝒫 cpw 4533  cfv 6433  Filcfil 22996
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fv 6441  df-fbas 20594  df-fil 22997
This theorem is referenced by:  snfil  23015  fgcl  23029  filuni  23036  cfinfil  23044  csdfil  23045  supfil  23046  fin1aufil  23083
  Copyright terms: Public domain W3C validator