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 46607
Description: For all but finitely many. Some authors say "cofinitely many". Some authors say "ultimately". Compare with eliuniin 46317 and eliuniin2 46338 (here, the precondition can be dropped; see eliuniincex 46327). (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 2856 . . . . 5 (𝑋 ∈ 𝐴 ↔ 𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
32biimpi 219 . . . 4 (𝑋 ∈ 𝐴 → 𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
4 eliun 4958 . . . 4 (𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
53, 4sylib 221 . . 3 (𝑋 ∈ 𝐴 → ∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
6 nfcv 2926 . . . . 5 Ⅎ𝑛𝑋
7 nfiu1 4989 . . . . . 6 Ⅎ𝑛∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵
81, 7nfcxfr 2924 . . . . 5 Ⅎ𝑛𝐴
96, 8nfel 2940 . . . 4 Ⅎ𝑛 𝑋 ∈ 𝐴
10 eliin 4959 . . . . . 6 (𝑋 ∈ 𝐴 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
1110biimpd 232 . . . . 5 (𝑋 ∈ 𝐴 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 → ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
1211a1d 26 . . . 4 (𝑋 ∈ 𝐴 → (𝑛 ∈ 𝑍 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 → ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)))
139, 12reximdai 3268 . . 3 (𝑋 ∈ 𝐴 → (∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 → ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
145, 13mpd 16 . 2 (𝑋 ∈ 𝐴 → ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
15 simpr 490 . . . . . . 7 ((𝑛 ∈ 𝑍 ∧ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵) → ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
16 allbutfi.z . . . . . . . . . . . . 13 𝑍 = (ℤ≥‘𝑀)
1716eleq2i 2856 . . . . . . . . . . . 12 (𝑛 ∈ 𝑍 ↔ 𝑛 ∈ (ℤ≥‘𝑀))
1817biimpi 219 . . . . . . . . . . 11 (𝑛 ∈ 𝑍 → 𝑛 ∈ (ℤ≥‘𝑀))
19 eluzelz 12999 . . . . . . . . . . 11 (𝑛 ∈ (ℤ≥‘𝑀) → 𝑛 ∈ ℤ)
20 uzid 13004 . . . . . . . . . . 11 (𝑛 ∈ ℤ → 𝑛 ∈ (ℤ≥‘𝑛))
2118, 19, 203syl 19 . . . . . . . . . 10 (𝑛 ∈ 𝑍 → 𝑛 ∈ (ℤ≥‘𝑛))
2221ne0d 4291 . . . . . . . . 9 (𝑛 ∈ 𝑍 → (ℤ≥‘𝑛) ≠ ∅)
23 eliin2 46334 . . . . . . . . 9 ((ℤ≥‘𝑛) ≠ ∅ → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
2422, 23syl 18 . . . . . . . 8 (𝑛 ∈ 𝑍 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
2524adantr 486 . . . . . . 7 ((𝑛 ∈ 𝑍 ∧ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵) → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
2615, 25mpbird 260 . . . . . 6 ((𝑛 ∈ 𝑍 ∧ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵) → 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
2726ex 418 . . . . 5 (𝑛 ∈ 𝑍 → (∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵))
2827reximia 3101 . . . 4 (∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → ∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
2928, 4sylibr 237 . . 3 (∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → 𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
3029, 1eleqtrrdi 2875 . 2 (∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → 𝑋 ∈ 𝐴)
3114, 30impbii 212 1 (𝑋 ∈ 𝐴 ↔ ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  ∅c0 4281  ∪ ciun 4954  ∩ ciin 4955  ‘cfv 6555  ℤcz 12717  ℤ≥cuz 12989
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 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-cnex 11280  ax-resscn 11281  ax-pre-lttri 11298
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  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 4839  df-uni 4871  df-iun 4956  df-iin 4957  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-ov 7443  df-er 8742  df-en 8999  df-dom 9000  df-sdom 9001  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-neg 11568  df-z 12718  df-uz 12990
This theorem is used by:  allbutfiinf  46633  allbutfifvre  46888  smflimlem3  47986  smfliminflem  48043
  Copyright terms: Public domain W3C validator