Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  allbutfi Structured version   Visualization version   GIF version

Theorem allbutfi 46404
Description: For all but finitely many. Some authors say "cofinitely many". Some authors say "ultimately". Compare with eliuniin 46114 and eliuniin2 46135 (here, the precondition can be dropped; see eliuniincex 46124). (Contributed by Glauco Siliprandi, 26-Jun-2021.)
Hypotheses
Ref Expression
allbutfi.z 𝑍 = (ℤ≥‘𝑀)
allbutfi.a 𝐴 = ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵
Assertion
Ref Expression
allbutfi (𝑋 ∈ 𝐴 ↔ ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
Distinct variable group:   𝑚,𝑋,𝑛
Allowed substitution hints:   𝐴(𝑚, 𝑛)   𝐵(𝑚, 𝑛)   𝑀(𝑚, 𝑛)   𝑍(𝑚, 𝑛)

Proof of Theorem allbutfi
StepHypRef Expression
1 allbutfi.a . . . . . 6 𝐴 = ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵
21eleq2i 2852 . . . . 5 (𝑋 ∈ 𝐴 ↔ 𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
32biimpi 219 . . . 4 (𝑋 ∈ 𝐴 → 𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
4 eliun 4954 . . . 4 (𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
53, 4sylib 221 . . 3 (𝑋 ∈ 𝐴 → ∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
6 nfcv 2922 . . . . 5 Ⅎ𝑛𝑋
7 nfiu1 4985 . . . . . 6 Ⅎ𝑛∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵
81, 7nfcxfr 2920 . . . . 5 Ⅎ𝑛𝐴
96, 8nfel 2936 . . . 4 Ⅎ𝑛 𝑋 ∈ 𝐴
10 eliin 4955 . . . . . 6 (𝑋 ∈ 𝐴 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
1110biimpd 232 . . . . 5 (𝑋 ∈ 𝐴 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 → ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
1211a1d 26 . . . 4 (𝑋 ∈ 𝐴 → (𝑛 ∈ 𝑍 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 → ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)))
139, 12reximdai 3264 . . 3 (𝑋 ∈ 𝐴 → (∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 → ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
145, 13mpd 16 . 2 (𝑋 ∈ 𝐴 → ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
15 simpr 490 . . . . . . 7 ((𝑛 ∈ 𝑍 ∧ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵) → ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
16 allbutfi.z . . . . . . . . . . . . 13 𝑍 = (ℤ≥‘𝑀)
1716eleq2i 2852 . . . . . . . . . . . 12 (𝑛 ∈ 𝑍 ↔ 𝑛 ∈ (ℤ≥‘𝑀))
1817biimpi 219 . . . . . . . . . . 11 (𝑛 ∈ 𝑍 → 𝑛 ∈ (ℤ≥‘𝑀))
19 eluzelz 12975 . . . . . . . . . . 11 (𝑛 ∈ (ℤ≥‘𝑀) → 𝑛 ∈ ℤ)
20 uzid 12980 . . . . . . . . . . 11 (𝑛 ∈ ℤ → 𝑛 ∈ (ℤ≥‘𝑛))
2118, 19, 203syl 19 . . . . . . . . . 10 (𝑛 ∈ 𝑍 → 𝑛 ∈ (ℤ≥‘𝑛))
2221ne0d 4287 . . . . . . . . 9 (𝑛 ∈ 𝑍 → (ℤ≥‘𝑛) ≠ ∅)
23 eliin2 46131 . . . . . . . . 9 ((ℤ≥‘𝑛) ≠ ∅ → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
2422, 23syl 18 . . . . . . . 8 (𝑛 ∈ 𝑍 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
2524adantr 486 . . . . . . 7 ((𝑛 ∈ 𝑍 ∧ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵) → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
2615, 25mpbird 260 . . . . . 6 ((𝑛 ∈ 𝑍 ∧ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵) → 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
2726ex 418 . . . . 5 (𝑛 ∈ 𝑍 → (∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵))
2827reximia 3097 . . . 4 (∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → ∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
2928, 4sylibr 237 . . 3 (∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → 𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
3029, 1eleqtrrdi 2871 . 2 (∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → 𝑋 ∈ 𝐴)
3114, 30impbii 212 1 (𝑋 ∈ 𝐴 ↔ ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  ∅c0 4278  ∪ ciun 4950  ∩ ciin 4951  ‘cfv 6538  ℤcz 12693  ℤ≥cuz 12965
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  ax-un 7751  ax-cnex 11256  ax-resscn 11257  ax-pre-lttri 11274
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  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 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-iin 4953  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 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-neg 11544  df-z 12694  df-uz 12966
This theorem is used by:  allbutfiinf  46430  allbutfifvre  46685  smflimlem3  47783  smfliminflem  47840
  Copyright terms: Public domain W3C validator