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 46737
Description: For all but finitely many. Some authors say "cofinitely many". Some authors say "ultimately". Compare with eliuniin 46447 and eliuniin2 46468 (here, the precondition can be dropped; see eliuniincex 46457). (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 2859 . . . . 5 (𝑋 ∈ 𝐴 ↔ 𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
32biimpi 219 . . . 4 (𝑋 ∈ 𝐴 → 𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
4 eliun 4959 . . . 4 (𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
53, 4sylib 221 . . 3 (𝑋 ∈ 𝐴 → ∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
6 nfcv 2929 . . . . 5 Ⅎ𝑛𝑋
7 nfiu1 4990 . . . . . 6 Ⅎ𝑛∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵
81, 7nfcxfr 2927 . . . . 5 Ⅎ𝑛𝐴
96, 8nfel 2943 . . . 4 Ⅎ𝑛 𝑋 ∈ 𝐴
10 eliin 4960 . . . . . 6 (𝑋 ∈ 𝐴 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
1110biimpd 232 . . . . 5 (𝑋 ∈ 𝐴 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 → ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
1211a1d 26 . . . 4 (𝑋 ∈ 𝐴 → (𝑛 ∈ 𝑍 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 → ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)))
139, 12reximdai 3268 . . 3 (𝑋 ∈ 𝐴 → (∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 → ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
145, 13mpd 16 . 2 (𝑋 ∈ 𝐴 → ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
15 simpr 490 . . . . . . 7 ((𝑛 ∈ 𝑍 ∧ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵) → ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
16 allbutfi.z . . . . . . . . . . . . 13 𝑍 = (ℤ≥‘𝑀)
1716eleq2i 2859 . . . . . . . . . . . 12 (𝑛 ∈ 𝑍 ↔ 𝑛 ∈ (ℤ≥‘𝑀))
1817biimpi 219 . . . . . . . . . . 11 (𝑛 ∈ 𝑍 → 𝑛 ∈ (ℤ≥‘𝑀))
19 eluzelz 13014 . . . . . . . . . . 11 (𝑛 ∈ (ℤ≥‘𝑀) → 𝑛 ∈ ℤ)
20 uzid 13019 . . . . . . . . . . 11 (𝑛 ∈ ℤ → 𝑛 ∈ (ℤ≥‘𝑛))
2118, 19, 203syl 19 . . . . . . . . . 10 (𝑛 ∈ 𝑍 → 𝑛 ∈ (ℤ≥‘𝑛))
2221ne0d 4290 . . . . . . . . 9 (𝑛 ∈ 𝑍 → (ℤ≥‘𝑛) ≠ ∅)
23 eliin2 46464 . . . . . . . . 9 ((ℤ≥‘𝑛) ≠ ∅ → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
2422, 23syl 18 . . . . . . . 8 (𝑛 ∈ 𝑍 → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
2524adantr 486 . . . . . . 7 ((𝑛 ∈ 𝑍 ∧ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵) → (𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵 ↔ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵))
2615, 25mpbird 260 . . . . . 6 ((𝑛 ∈ 𝑍 ∧ ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵) → 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
2726ex 418 . . . . 5 (𝑛 ∈ 𝑍 → (∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵))
2827reximia 3104 . . . 4 (∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → ∃𝑛 ∈ 𝑍 𝑋 ∈ ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
2928, 4sylibr 237 . . 3 (∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → 𝑋 ∈ ∪ 𝑛 ∈ 𝑍 ∩ 𝑚 ∈ (ℤ≥‘𝑛)𝐵)
3029, 1eleqtrrdi 2878 . 2 (∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵 → 𝑋 ∈ 𝐴)
3114, 30impbii 212 1 (𝑋 ∈ 𝐴 ↔ ∃𝑛 ∈ 𝑍 ∀𝑚 ∈ (ℤ≥‘𝑛)𝑋 ∈ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2150   ≠ wne 2962  ∀wral 3083  ∃wrex 3093  ∅c0 4280  ∪ ciun 4955  ∩ ciin 4956  ‘cfv 6565  ℤcz 12732  ℤ≥cuz 13004
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-cnex 11294  ax-resscn 11295  ax-pre-lttri 11312
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-iin 4958  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-ov 7453  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-neg 11582  df-z 12733  df-uz 13005
This theorem is used by:  allbutfiinf  46763  allbutfifvre  47018  smflimlem3  48116  smfliminflem  48173
  Copyright terms: Public domain W3C validator