Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  iuninc Structured version   Visualization version   GIF version

Theorem iuninc 32583
Description: The union of an increasing collection of sets is its last element. (Contributed by Thierry Arnoux, 22-Jan-2017.)
Hypotheses
Ref Expression
iuninc.1 (𝜑𝐹 Fn ℕ)
iuninc.2 ((𝜑𝑛 ∈ ℕ) → (𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1)))
Assertion
Ref Expression
iuninc ((𝜑𝑖 ∈ ℕ) → 𝑛 ∈ (1...𝑖)(𝐹𝑛) = (𝐹𝑖))
Distinct variable groups:   𝑖,𝑛   𝑛,𝐹   𝜑,𝑛
Allowed substitution hints:   𝜑(𝑖)   𝐹(𝑖)

Proof of Theorem iuninc
Dummy variables 𝑗 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 7456 . . . . . 6 (𝑗 = 1 → (1...𝑗) = (1...1))
21iuneq1d 5042 . . . . 5 (𝑗 = 1 → 𝑛 ∈ (1...𝑗)(𝐹𝑛) = 𝑛 ∈ (1...1)(𝐹𝑛))
3 fveq2 6920 . . . . 5 (𝑗 = 1 → (𝐹𝑗) = (𝐹‘1))
42, 3eqeq12d 2756 . . . 4 (𝑗 = 1 → ( 𝑛 ∈ (1...𝑗)(𝐹𝑛) = (𝐹𝑗) ↔ 𝑛 ∈ (1...1)(𝐹𝑛) = (𝐹‘1)))
54imbi2d 340 . . 3 (𝑗 = 1 → ((𝜑 𝑛 ∈ (1...𝑗)(𝐹𝑛) = (𝐹𝑗)) ↔ (𝜑 𝑛 ∈ (1...1)(𝐹𝑛) = (𝐹‘1))))
6 oveq2 7456 . . . . . 6 (𝑗 = 𝑘 → (1...𝑗) = (1...𝑘))
76iuneq1d 5042 . . . . 5 (𝑗 = 𝑘 𝑛 ∈ (1...𝑗)(𝐹𝑛) = 𝑛 ∈ (1...𝑘)(𝐹𝑛))
8 fveq2 6920 . . . . 5 (𝑗 = 𝑘 → (𝐹𝑗) = (𝐹𝑘))
97, 8eqeq12d 2756 . . . 4 (𝑗 = 𝑘 → ( 𝑛 ∈ (1...𝑗)(𝐹𝑛) = (𝐹𝑗) ↔ 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘)))
109imbi2d 340 . . 3 (𝑗 = 𝑘 → ((𝜑 𝑛 ∈ (1...𝑗)(𝐹𝑛) = (𝐹𝑗)) ↔ (𝜑 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘))))
11 oveq2 7456 . . . . . 6 (𝑗 = (𝑘 + 1) → (1...𝑗) = (1...(𝑘 + 1)))
1211iuneq1d 5042 . . . . 5 (𝑗 = (𝑘 + 1) → 𝑛 ∈ (1...𝑗)(𝐹𝑛) = 𝑛 ∈ (1...(𝑘 + 1))(𝐹𝑛))
13 fveq2 6920 . . . . 5 (𝑗 = (𝑘 + 1) → (𝐹𝑗) = (𝐹‘(𝑘 + 1)))
1412, 13eqeq12d 2756 . . . 4 (𝑗 = (𝑘 + 1) → ( 𝑛 ∈ (1...𝑗)(𝐹𝑛) = (𝐹𝑗) ↔ 𝑛 ∈ (1...(𝑘 + 1))(𝐹𝑛) = (𝐹‘(𝑘 + 1))))
1514imbi2d 340 . . 3 (𝑗 = (𝑘 + 1) → ((𝜑 𝑛 ∈ (1...𝑗)(𝐹𝑛) = (𝐹𝑗)) ↔ (𝜑 𝑛 ∈ (1...(𝑘 + 1))(𝐹𝑛) = (𝐹‘(𝑘 + 1)))))
16 oveq2 7456 . . . . . 6 (𝑗 = 𝑖 → (1...𝑗) = (1...𝑖))
1716iuneq1d 5042 . . . . 5 (𝑗 = 𝑖 𝑛 ∈ (1...𝑗)(𝐹𝑛) = 𝑛 ∈ (1...𝑖)(𝐹𝑛))
18 fveq2 6920 . . . . 5 (𝑗 = 𝑖 → (𝐹𝑗) = (𝐹𝑖))
1917, 18eqeq12d 2756 . . . 4 (𝑗 = 𝑖 → ( 𝑛 ∈ (1...𝑗)(𝐹𝑛) = (𝐹𝑗) ↔ 𝑛 ∈ (1...𝑖)(𝐹𝑛) = (𝐹𝑖)))
2019imbi2d 340 . . 3 (𝑗 = 𝑖 → ((𝜑 𝑛 ∈ (1...𝑗)(𝐹𝑛) = (𝐹𝑗)) ↔ (𝜑 𝑛 ∈ (1...𝑖)(𝐹𝑛) = (𝐹𝑖))))
21 1z 12673 . . . . . 6 1 ∈ ℤ
22 fzsn 13626 . . . . . 6 (1 ∈ ℤ → (1...1) = {1})
23 iuneq1 5031 . . . . . 6 ((1...1) = {1} → 𝑛 ∈ (1...1)(𝐹𝑛) = 𝑛 ∈ {1} (𝐹𝑛))
2421, 22, 23mp2b 10 . . . . 5 𝑛 ∈ (1...1)(𝐹𝑛) = 𝑛 ∈ {1} (𝐹𝑛)
25 1ex 11286 . . . . . 6 1 ∈ V
26 fveq2 6920 . . . . . 6 (𝑛 = 1 → (𝐹𝑛) = (𝐹‘1))
2725, 26iunxsn 5114 . . . . 5 𝑛 ∈ {1} (𝐹𝑛) = (𝐹‘1)
2824, 27eqtri 2768 . . . 4 𝑛 ∈ (1...1)(𝐹𝑛) = (𝐹‘1)
2928a1i 11 . . 3 (𝜑 𝑛 ∈ (1...1)(𝐹𝑛) = (𝐹‘1))
30 simpll 766 . . . . . . 7 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘)) → 𝑘 ∈ ℕ)
31 elnnuz 12947 . . . . . . . . . 10 (𝑘 ∈ ℕ ↔ 𝑘 ∈ (ℤ‘1))
32 fzsuc 13631 . . . . . . . . . 10 (𝑘 ∈ (ℤ‘1) → (1...(𝑘 + 1)) = ((1...𝑘) ∪ {(𝑘 + 1)}))
3331, 32sylbi 217 . . . . . . . . 9 (𝑘 ∈ ℕ → (1...(𝑘 + 1)) = ((1...𝑘) ∪ {(𝑘 + 1)}))
3433iuneq1d 5042 . . . . . . . 8 (𝑘 ∈ ℕ → 𝑛 ∈ (1...(𝑘 + 1))(𝐹𝑛) = 𝑛 ∈ ((1...𝑘) ∪ {(𝑘 + 1)})(𝐹𝑛))
35 iunxun 5117 . . . . . . . . 9 𝑛 ∈ ((1...𝑘) ∪ {(𝑘 + 1)})(𝐹𝑛) = ( 𝑛 ∈ (1...𝑘)(𝐹𝑛) ∪ 𝑛 ∈ {(𝑘 + 1)} (𝐹𝑛))
36 ovex 7481 . . . . . . . . . . 11 (𝑘 + 1) ∈ V
37 fveq2 6920 . . . . . . . . . . 11 (𝑛 = (𝑘 + 1) → (𝐹𝑛) = (𝐹‘(𝑘 + 1)))
3836, 37iunxsn 5114 . . . . . . . . . 10 𝑛 ∈ {(𝑘 + 1)} (𝐹𝑛) = (𝐹‘(𝑘 + 1))
3938uneq2i 4188 . . . . . . . . 9 ( 𝑛 ∈ (1...𝑘)(𝐹𝑛) ∪ 𝑛 ∈ {(𝑘 + 1)} (𝐹𝑛)) = ( 𝑛 ∈ (1...𝑘)(𝐹𝑛) ∪ (𝐹‘(𝑘 + 1)))
4035, 39eqtri 2768 . . . . . . . 8 𝑛 ∈ ((1...𝑘) ∪ {(𝑘 + 1)})(𝐹𝑛) = ( 𝑛 ∈ (1...𝑘)(𝐹𝑛) ∪ (𝐹‘(𝑘 + 1)))
4134, 40eqtrdi 2796 . . . . . . 7 (𝑘 ∈ ℕ → 𝑛 ∈ (1...(𝑘 + 1))(𝐹𝑛) = ( 𝑛 ∈ (1...𝑘)(𝐹𝑛) ∪ (𝐹‘(𝑘 + 1))))
4230, 41syl 17 . . . . . 6 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘)) → 𝑛 ∈ (1...(𝑘 + 1))(𝐹𝑛) = ( 𝑛 ∈ (1...𝑘)(𝐹𝑛) ∪ (𝐹‘(𝑘 + 1))))
43 simpr 484 . . . . . . 7 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘)) → 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘))
4443uneq1d 4190 . . . . . 6 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘)) → ( 𝑛 ∈ (1...𝑘)(𝐹𝑛) ∪ (𝐹‘(𝑘 + 1))) = ((𝐹𝑘) ∪ (𝐹‘(𝑘 + 1))))
45 simplr 768 . . . . . . 7 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘)) → 𝜑)
46 iuninc.2 . . . . . . . . . 10 ((𝜑𝑛 ∈ ℕ) → (𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1)))
4746sbt 2066 . . . . . . . . 9 [𝑘 / 𝑛]((𝜑𝑛 ∈ ℕ) → (𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1)))
48 sbim 2307 . . . . . . . . . 10 ([𝑘 / 𝑛]((𝜑𝑛 ∈ ℕ) → (𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1))) ↔ ([𝑘 / 𝑛](𝜑𝑛 ∈ ℕ) → [𝑘 / 𝑛](𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1))))
49 sban 2080 . . . . . . . . . . . 12 ([𝑘 / 𝑛](𝜑𝑛 ∈ ℕ) ↔ ([𝑘 / 𝑛]𝜑 ∧ [𝑘 / 𝑛]𝑛 ∈ ℕ))
50 sbv 2088 . . . . . . . . . . . . 13 ([𝑘 / 𝑛]𝜑𝜑)
51 clelsb1 2871 . . . . . . . . . . . . 13 ([𝑘 / 𝑛]𝑛 ∈ ℕ ↔ 𝑘 ∈ ℕ)
5250, 51anbi12i 627 . . . . . . . . . . . 12 (([𝑘 / 𝑛]𝜑 ∧ [𝑘 / 𝑛]𝑛 ∈ ℕ) ↔ (𝜑𝑘 ∈ ℕ))
5349, 52bitr2i 276 . . . . . . . . . . 11 ((𝜑𝑘 ∈ ℕ) ↔ [𝑘 / 𝑛](𝜑𝑛 ∈ ℕ))
54 sbsbc 3808 . . . . . . . . . . . 12 ([𝑘 / 𝑛](𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1)) ↔ [𝑘 / 𝑛](𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1)))
55 sbcssg 4543 . . . . . . . . . . . . 13 (𝑘 ∈ V → ([𝑘 / 𝑛](𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1)) ↔ 𝑘 / 𝑛(𝐹𝑛) ⊆ 𝑘 / 𝑛(𝐹‘(𝑛 + 1))))
5655elv 3493 . . . . . . . . . . . 12 ([𝑘 / 𝑛](𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1)) ↔ 𝑘 / 𝑛(𝐹𝑛) ⊆ 𝑘 / 𝑛(𝐹‘(𝑛 + 1)))
57 csbfv 6970 . . . . . . . . . . . . 13 𝑘 / 𝑛(𝐹𝑛) = (𝐹𝑘)
58 csbfv2g 6969 . . . . . . . . . . . . . . 15 (𝑘 ∈ V → 𝑘 / 𝑛(𝐹‘(𝑛 + 1)) = (𝐹𝑘 / 𝑛(𝑛 + 1)))
5958elv 3493 . . . . . . . . . . . . . 14 𝑘 / 𝑛(𝐹‘(𝑛 + 1)) = (𝐹𝑘 / 𝑛(𝑛 + 1))
60 csbov1g 7495 . . . . . . . . . . . . . . . 16 (𝑘 ∈ V → 𝑘 / 𝑛(𝑛 + 1) = (𝑘 / 𝑛𝑛 + 1))
6160elv 3493 . . . . . . . . . . . . . . 15 𝑘 / 𝑛(𝑛 + 1) = (𝑘 / 𝑛𝑛 + 1)
6261fveq2i 6923 . . . . . . . . . . . . . 14 (𝐹𝑘 / 𝑛(𝑛 + 1)) = (𝐹‘(𝑘 / 𝑛𝑛 + 1))
63 vex 3492 . . . . . . . . . . . . . . . . 17 𝑘 ∈ V
6463csbvargi 4458 . . . . . . . . . . . . . . . 16 𝑘 / 𝑛𝑛 = 𝑘
6564oveq1i 7458 . . . . . . . . . . . . . . 15 (𝑘 / 𝑛𝑛 + 1) = (𝑘 + 1)
6665fveq2i 6923 . . . . . . . . . . . . . 14 (𝐹‘(𝑘 / 𝑛𝑛 + 1)) = (𝐹‘(𝑘 + 1))
6759, 62, 663eqtri 2772 . . . . . . . . . . . . 13 𝑘 / 𝑛(𝐹‘(𝑛 + 1)) = (𝐹‘(𝑘 + 1))
6857, 67sseq12i 4039 . . . . . . . . . . . 12 (𝑘 / 𝑛(𝐹𝑛) ⊆ 𝑘 / 𝑛(𝐹‘(𝑛 + 1)) ↔ (𝐹𝑘) ⊆ (𝐹‘(𝑘 + 1)))
6954, 56, 683bitrri 298 . . . . . . . . . . 11 ((𝐹𝑘) ⊆ (𝐹‘(𝑘 + 1)) ↔ [𝑘 / 𝑛](𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1)))
7053, 69imbi12i 350 . . . . . . . . . 10 (((𝜑𝑘 ∈ ℕ) → (𝐹𝑘) ⊆ (𝐹‘(𝑘 + 1))) ↔ ([𝑘 / 𝑛](𝜑𝑛 ∈ ℕ) → [𝑘 / 𝑛](𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1))))
7148, 70bitr4i 278 . . . . . . . . 9 ([𝑘 / 𝑛]((𝜑𝑛 ∈ ℕ) → (𝐹𝑛) ⊆ (𝐹‘(𝑛 + 1))) ↔ ((𝜑𝑘 ∈ ℕ) → (𝐹𝑘) ⊆ (𝐹‘(𝑘 + 1))))
7247, 71mpbi 230 . . . . . . . 8 ((𝜑𝑘 ∈ ℕ) → (𝐹𝑘) ⊆ (𝐹‘(𝑘 + 1)))
73 ssequn1 4209 . . . . . . . 8 ((𝐹𝑘) ⊆ (𝐹‘(𝑘 + 1)) ↔ ((𝐹𝑘) ∪ (𝐹‘(𝑘 + 1))) = (𝐹‘(𝑘 + 1)))
7472, 73sylib 218 . . . . . . 7 ((𝜑𝑘 ∈ ℕ) → ((𝐹𝑘) ∪ (𝐹‘(𝑘 + 1))) = (𝐹‘(𝑘 + 1)))
7545, 30, 74syl2anc 583 . . . . . 6 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘)) → ((𝐹𝑘) ∪ (𝐹‘(𝑘 + 1))) = (𝐹‘(𝑘 + 1)))
7642, 44, 753eqtrd 2784 . . . . 5 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘)) → 𝑛 ∈ (1...(𝑘 + 1))(𝐹𝑛) = (𝐹‘(𝑘 + 1)))
7776exp31 419 . . . 4 (𝑘 ∈ ℕ → (𝜑 → ( 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘) → 𝑛 ∈ (1...(𝑘 + 1))(𝐹𝑛) = (𝐹‘(𝑘 + 1)))))
7877a2d 29 . . 3 (𝑘 ∈ ℕ → ((𝜑 𝑛 ∈ (1...𝑘)(𝐹𝑛) = (𝐹𝑘)) → (𝜑 𝑛 ∈ (1...(𝑘 + 1))(𝐹𝑛) = (𝐹‘(𝑘 + 1)))))
795, 10, 15, 20, 29, 78nnind 12311 . 2 (𝑖 ∈ ℕ → (𝜑 𝑛 ∈ (1...𝑖)(𝐹𝑛) = (𝐹𝑖)))
8079impcom 407 1 ((𝜑𝑖 ∈ ℕ) → 𝑛 ∈ (1...𝑖)(𝐹𝑛) = (𝐹𝑖))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1537  [wsb 2064  wcel 2108  Vcvv 3488  [wsbc 3804  csb 3921  cun 3974  wss 3976  {csn 4648   ciun 5015   Fn wfn 6568  cfv 6573  (class class class)co 7448  1c1 11185   + caddc 11187  cn 12293  cz 12639  cuz 12903  ...cfz 13567
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pow 5383  ax-pr 5447  ax-un 7770  ax-cnex 11240  ax-resscn 11241  ax-1cn 11242  ax-icn 11243  ax-addcl 11244  ax-addrcl 11245  ax-mulcl 11246  ax-mulrcl 11247  ax-mulcom 11248  ax-addass 11249  ax-mulass 11250  ax-distr 11251  ax-i2m1 11252  ax-1ne0 11253  ax-1rid 11254  ax-rnegex 11255  ax-rrecex 11256  ax-cnre 11257  ax-pre-lttri 11258  ax-pre-lttrn 11259  ax-pre-ltadd 11260  ax-pre-mulgt0 11261
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3or 1088  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-nel 3053  df-ral 3068  df-rex 3077  df-reu 3389  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-pss 3996  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-iun 5017  df-br 5167  df-opab 5229  df-mpt 5250  df-tr 5284  df-id 5593  df-eprel 5599  df-po 5607  df-so 5608  df-fr 5652  df-we 5654  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-pred 6332  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6525  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7404  df-ov 7451  df-oprab 7452  df-mpo 7453  df-om 7904  df-1st 8030  df-2nd 8031  df-frecs 8322  df-wrecs 8353  df-recs 8427  df-rdg 8466  df-er 8763  df-en 9004  df-dom 9005  df-sdom 9006  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11522  df-neg 11523  df-nn 12294  df-n0 12554  df-z 12640  df-uz 12904  df-fz 13568
This theorem is referenced by:  meascnbl  34183
  Copyright terms: Public domain W3C validator