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 33224
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 7448 . . . . . 6 (𝑗 = 1 → (1...𝑗) = (1...1))
21iuneq1d 4982 . . . . 5 (𝑗 = 1 → ∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = ∪ 𝑛 ∈ (1...1)(𝐹‘𝑛))
3 fveq2 6905 . . . . 5 (𝑗 = 1 → (𝐹‘𝑗) = (𝐹‘1))
42, 3eqeq12d 2779 . . . 4 (𝑗 = 1 → (∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = (𝐹‘𝑗) ↔ ∪ 𝑛 ∈ (1...1)(𝐹‘𝑛) = (𝐹‘1)))
54imbi2d 343 . . 3 (𝑗 = 1 → ((𝜑 → ∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = (𝐹‘𝑗)) ↔ (𝜑 → ∪ 𝑛 ∈ (1...1)(𝐹‘𝑛) = (𝐹‘1))))
6 oveq2 7448 . . . . . 6 (𝑗 = 𝑘 → (1...𝑗) = (1...𝑘))
76iuneq1d 4982 . . . . 5 (𝑗 = 𝑘 → ∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛))
8 fveq2 6905 . . . . 5 (𝑗 = 𝑘 → (𝐹‘𝑗) = (𝐹‘𝑘))
97, 8eqeq12d 2779 . . . 4 (𝑗 = 𝑘 → (∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = (𝐹‘𝑗) ↔ ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘)))
109imbi2d 343 . . 3 (𝑗 = 𝑘 → ((𝜑 → ∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = (𝐹‘𝑗)) ↔ (𝜑 → ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘))))
11 oveq2 7448 . . . . . 6 (𝑗 = (𝑘 + 1) → (1...𝑗) = (1...(𝑘 + 1)))
1211iuneq1d 4982 . . . . 5 (𝑗 = (𝑘 + 1) → ∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = ∪ 𝑛 ∈ (1...(𝑘 + 1))(𝐹‘𝑛))
13 fveq2 6905 . . . . 5 (𝑗 = (𝑘 + 1) → (𝐹‘𝑗) = (𝐹‘(𝑘 + 1)))
1412, 13eqeq12d 2779 . . . 4 (𝑗 = (𝑘 + 1) → (∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = (𝐹‘𝑗) ↔ ∪ 𝑛 ∈ (1...(𝑘 + 1))(𝐹‘𝑛) = (𝐹‘(𝑘 + 1))))
1514imbi2d 343 . . 3 (𝑗 = (𝑘 + 1) → ((𝜑 → ∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = (𝐹‘𝑗)) ↔ (𝜑 → ∪ 𝑛 ∈ (1...(𝑘 + 1))(𝐹‘𝑛) = (𝐹‘(𝑘 + 1)))))
16 oveq2 7448 . . . . . 6 (𝑗 = 𝑖 → (1...𝑗) = (1...𝑖))
1716iuneq1d 4982 . . . . 5 (𝑗 = 𝑖 → ∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = ∪ 𝑛 ∈ (1...𝑖)(𝐹‘𝑛))
18 fveq2 6905 . . . . 5 (𝑗 = 𝑖 → (𝐹‘𝑗) = (𝐹‘𝑖))
1917, 18eqeq12d 2779 . . . 4 (𝑗 = 𝑖 → (∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = (𝐹‘𝑗) ↔ ∪ 𝑛 ∈ (1...𝑖)(𝐹‘𝑛) = (𝐹‘𝑖)))
2019imbi2d 343 . . 3 (𝑗 = 𝑖 → ((𝜑 → ∪ 𝑛 ∈ (1...𝑗)(𝐹‘𝑛) = (𝐹‘𝑗)) ↔ (𝜑 → ∪ 𝑛 ∈ (1...𝑖)(𝐹‘𝑛) = (𝐹‘𝑖))))
21 1z 12750 . . . . . 6 1 ∈ ℤ
22 fzsn 13724 . . . . . 6 (1 ∈ ℤ → (1...1) = {1})
23 iuneq1 4971 . . . . . 6 ((1...1) = {1} → ∪ 𝑛 ∈ (1...1)(𝐹‘𝑛) = ∪ 𝑛 ∈ {1} (𝐹‘𝑛))
2421, 22, 23mp2b 10 . . . . 5 ∪ 𝑛 ∈ (1...1)(𝐹‘𝑛) = ∪ 𝑛 ∈ {1} (𝐹‘𝑛)
25 1ex 11327 . . . . . 6 1 ∈ V
26 fveq2 6905 . . . . . 6 (𝑛 = 1 → (𝐹‘𝑛) = (𝐹‘1))
2725, 26iunxsn 5054 . . . . 5 ∪ 𝑛 ∈ {1} (𝐹‘𝑛) = (𝐹‘1)
2824, 27eqtri 2786 . . . 4 ∪ 𝑛 ∈ (1...1)(𝐹‘𝑛) = (𝐹‘1)
2928a1i 11 . . 3 (𝜑 → ∪ 𝑛 ∈ (1...1)(𝐹‘𝑛) = (𝐹‘1))
30 simpll 779 . . . . . . 7 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘)) → 𝑘 ∈ ℕ)
31 elnnuz 13029 . . . . . . . . . 10 (𝑘 ∈ ℕ ↔ 𝑘 ∈ (ℤ≥‘1))
32 fzsuc 13729 . . . . . . . . . 10 (𝑘 ∈ (ℤ≥‘1) → (1...(𝑘 + 1)) = ((1...𝑘) ∪ {(𝑘 + 1)}))
3331, 32sylbi 220 . . . . . . . . 9 (𝑘 ∈ ℕ → (1...(𝑘 + 1)) = ((1...𝑘) ∪ {(𝑘 + 1)}))
3433iuneq1d 4982 . . . . . . . 8 (𝑘 ∈ ℕ → ∪ 𝑛 ∈ (1...(𝑘 + 1))(𝐹‘𝑛) = ∪ 𝑛 ∈ ((1...𝑘) ∪ {(𝑘 + 1)})(𝐹‘𝑛))
35 iunxun 5057 . . . . . . . . 9 ∪ 𝑛 ∈ ((1...𝑘) ∪ {(𝑘 + 1)})(𝐹‘𝑛) = (∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) ∪ ∪ 𝑛 ∈ {(𝑘 + 1)} (𝐹‘𝑛))
36 ovex 7473 . . . . . . . . . . 11 (𝑘 + 1) ∈ V
37 fveq2 6905 . . . . . . . . . . 11 (𝑛 = (𝑘 + 1) → (𝐹‘𝑛) = (𝐹‘(𝑘 + 1)))
3836, 37iunxsn 5054 . . . . . . . . . 10 ∪ 𝑛 ∈ {(𝑘 + 1)} (𝐹‘𝑛) = (𝐹‘(𝑘 + 1))
3938uneq2i 4167 . . . . . . . . 9 (∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) ∪ ∪ 𝑛 ∈ {(𝑘 + 1)} (𝐹‘𝑛)) = (∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) ∪ (𝐹‘(𝑘 + 1)))
4035, 39eqtri 2786 . . . . . . . 8 ∪ 𝑛 ∈ ((1...𝑘) ∪ {(𝑘 + 1)})(𝐹‘𝑛) = (∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) ∪ (𝐹‘(𝑘 + 1)))
4134, 40eqtrdi 2814 . . . . . . 7 (𝑘 ∈ ℕ → ∪ 𝑛 ∈ (1...(𝑘 + 1))(𝐹‘𝑛) = (∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) ∪ (𝐹‘(𝑘 + 1))))
4230, 41syl 18 . . . . . 6 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘)) → ∪ 𝑛 ∈ (1...(𝑘 + 1))(𝐹‘𝑛) = (∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) ∪ (𝐹‘(𝑘 + 1))))
43 simpr 490 . . . . . . 7 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘)) → ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘))
4443uneq1d 4169 . . . . . 6 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘)) → (∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) ∪ (𝐹‘(𝑘 + 1))) = ((𝐹‘𝑘) ∪ (𝐹‘(𝑘 + 1))))
45 simplr 781 . . . . . . 7 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘)) → 𝜑)
46 iuninc.2 . . . . . . . . . 10 ((𝜑 ∧ 𝑛 ∈ ℕ) → (𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1)))
4746sbt 2105 . . . . . . . . 9 [𝑘 / 𝑛]((𝜑 ∧ 𝑛 ∈ ℕ) → (𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1)))
48 sbim 2340 . . . . . . . . . 10 ([𝑘 / 𝑛]((𝜑 ∧ 𝑛 ∈ ℕ) → (𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1))) ↔ ([𝑘 / 𝑛](𝜑 ∧ 𝑛 ∈ ℕ) → [𝑘 / 𝑛](𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1))))
49 sban 2119 . . . . . . . . . . . 12 ([𝑘 / 𝑛](𝜑 ∧ 𝑛 ∈ ℕ) ↔ ([𝑘 / 𝑛]𝜑 ∧ [𝑘 / 𝑛]𝑛 ∈ ℕ))
50 sbv 2127 . . . . . . . . . . . . 13 ([𝑘 / 𝑛]𝜑 ↔ 𝜑)
51 clelsb1 2891 . . . . . . . . . . . . 13 ([𝑘 / 𝑛]𝑛 ∈ ℕ ↔ 𝑘 ∈ ℕ)
5250, 51anbi12i 640 . . . . . . . . . . . 12 (([𝑘 / 𝑛]𝜑 ∧ [𝑘 / 𝑛]𝑛 ∈ ℕ) ↔ (𝜑 ∧ 𝑘 ∈ ℕ))
5349, 52bitr2i 279 . . . . . . . . . . 11 ((𝜑 ∧ 𝑘 ∈ ℕ) ↔ [𝑘 / 𝑛](𝜑 ∧ 𝑛 ∈ ℕ))
54 sbsbc 3746 . . . . . . . . . . . 12 ([𝑘 / 𝑛](𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1)) ↔ [𝑘 / 𝑛](𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1)))
55 sbcssg 4480 . . . . . . . . . . . . 13 (𝑘 ∈ V → ([𝑘 / 𝑛](𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1)) ↔ ⦋𝑘 / 𝑛⦌(𝐹‘𝑛) ⊆ ⦋𝑘 / 𝑛⦌(𝐹‘(𝑛 + 1))))
5655elv 3459 . . . . . . . . . . . 12 ([𝑘 / 𝑛](𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1)) ↔ ⦋𝑘 / 𝑛⦌(𝐹‘𝑛) ⊆ ⦋𝑘 / 𝑛⦌(𝐹‘(𝑛 + 1)))
57 csbfv 6952 . . . . . . . . . . . . 13 ⦋𝑘 / 𝑛⦌(𝐹‘𝑛) = (𝐹‘𝑘)
58 csbfv2g 6951 . . . . . . . . . . . . . . 15 (𝑘 ∈ V → ⦋𝑘 / 𝑛⦌(𝐹‘(𝑛 + 1)) = (𝐹‘⦋𝑘 / 𝑛⦌(𝑛 + 1)))
5958elv 3459 . . . . . . . . . . . . . 14 ⦋𝑘 / 𝑛⦌(𝐹‘(𝑛 + 1)) = (𝐹‘⦋𝑘 / 𝑛⦌(𝑛 + 1))
60 csbov1g 7487 . . . . . . . . . . . . . . . 16 (𝑘 ∈ V → ⦋𝑘 / 𝑛⦌(𝑛 + 1) = (⦋𝑘 / 𝑛⦌𝑛 + 1))
6160elv 3459 . . . . . . . . . . . . . . 15 ⦋𝑘 / 𝑛⦌(𝑛 + 1) = (⦋𝑘 / 𝑛⦌𝑛 + 1)
6261fveq2i 6908 . . . . . . . . . . . . . 14 (𝐹‘⦋𝑘 / 𝑛⦌(𝑛 + 1)) = (𝐹‘(⦋𝑘 / 𝑛⦌𝑛 + 1))
63 vex 3458 . . . . . . . . . . . . . . . . 17 𝑘 ∈ V
6463csbvargi 4396 . . . . . . . . . . . . . . . 16 ⦋𝑘 / 𝑛⦌𝑛 = 𝑘
6564oveq1i 7450 . . . . . . . . . . . . . . 15 (⦋𝑘 / 𝑛⦌𝑛 + 1) = (𝑘 + 1)
6665fveq2i 6908 . . . . . . . . . . . . . 14 (𝐹‘(⦋𝑘 / 𝑛⦌𝑛 + 1)) = (𝐹‘(𝑘 + 1))
6759, 62, 663eqtri 2790 . . . . . . . . . . . . 13 ⦋𝑘 / 𝑛⦌(𝐹‘(𝑛 + 1)) = (𝐹‘(𝑘 + 1))
6857, 67sseq12i 3943 . . . . . . . . . . . 12 (⦋𝑘 / 𝑛⦌(𝐹‘𝑛) ⊆ ⦋𝑘 / 𝑛⦌(𝐹‘(𝑛 + 1)) ↔ (𝐹‘𝑘) ⊆ (𝐹‘(𝑘 + 1)))
6954, 56, 683bitrri 301 . . . . . . . . . . 11 ((𝐹‘𝑘) ⊆ (𝐹‘(𝑘 + 1)) ↔ [𝑘 / 𝑛](𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1)))
7053, 69imbi12i 353 . . . . . . . . . 10 (((𝜑 ∧ 𝑘 ∈ ℕ) → (𝐹‘𝑘) ⊆ (𝐹‘(𝑘 + 1))) ↔ ([𝑘 / 𝑛](𝜑 ∧ 𝑛 ∈ ℕ) → [𝑘 / 𝑛](𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1))))
7148, 70bitr4i 281 . . . . . . . . 9 ([𝑘 / 𝑛]((𝜑 ∧ 𝑛 ∈ ℕ) → (𝐹‘𝑛) ⊆ (𝐹‘(𝑛 + 1))) ↔ ((𝜑 ∧ 𝑘 ∈ ℕ) → (𝐹‘𝑘) ⊆ (𝐹‘(𝑘 + 1))))
7247, 71mpbi 233 . . . . . . . 8 ((𝜑 ∧ 𝑘 ∈ ℕ) → (𝐹‘𝑘) ⊆ (𝐹‘(𝑘 + 1)))
73 ssequn1 4187 . . . . . . . 8 ((𝐹‘𝑘) ⊆ (𝐹‘(𝑘 + 1)) ↔ ((𝐹‘𝑘) ∪ (𝐹‘(𝑘 + 1))) = (𝐹‘(𝑘 + 1)))
7472, 73sylib 221 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ ℕ) → ((𝐹‘𝑘) ∪ (𝐹‘(𝑘 + 1))) = (𝐹‘(𝑘 + 1)))
7545, 30, 74syl2anc 596 . . . . . 6 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘)) → ((𝐹‘𝑘) ∪ (𝐹‘(𝑘 + 1))) = (𝐹‘(𝑘 + 1)))
7642, 44, 753eqtrd 2802 . . . . 5 (((𝑘 ∈ ℕ ∧ 𝜑) ∧ ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘)) → ∪ 𝑛 ∈ (1...(𝑘 + 1))(𝐹‘𝑛) = (𝐹‘(𝑘 + 1)))
7776exp31 425 . . . 4 (𝑘 ∈ ℕ → (𝜑 → (∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘) → ∪ 𝑛 ∈ (1...(𝑘 + 1))(𝐹‘𝑛) = (𝐹‘(𝑘 + 1)))))
7877a2d 30 . . 3 (𝑘 ∈ ℕ → ((𝜑 → ∪ 𝑛 ∈ (1...𝑘)(𝐹‘𝑛) = (𝐹‘𝑘)) → (𝜑 → ∪ 𝑛 ∈ (1...(𝑘 + 1))(𝐹‘𝑛) = (𝐹‘(𝑘 + 1)))))
795, 10, 15, 20, 29, 78nnind 12377 . 2 (𝑖 ∈ ℕ → (𝜑 → ∪ 𝑛 ∈ (1...𝑖)(𝐹‘𝑛) = (𝐹‘𝑖)))
8079impcom 413 1 ((𝜑 ∧ 𝑖 ∈ ℕ) → ∪ 𝑛 ∈ (1...𝑖)(𝐹‘𝑛) = (𝐹‘𝑖))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  [wsb 2101   ∈ wcel 2147  Vcvv 3454  [wsbc 3742  ⦋csb 3851   ⊆ wss 3900   ∪ cun 4152  {csn 4588  ∪ ciun 4954   Fn wfn 6550  ‘cfv 6555  (class class class)co 7440  1c1 11225   + caddc 11227  ℕcn 12359  ℤcz 12717  ℤ≥cuz 12989  ...cfz 13663
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-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-addrcl 11285  ax-mulcl 11286  ax-mulrcl 11287  ax-mulcom 11288  ax-addass 11289  ax-mulass 11290  ax-distr 11291  ax-i2m1 11292  ax-1ne0 11293  ax-1rid 11294  ax-rnegex 11295  ax-rrecex 11296  ax-cnre 11297  ax-pre-lttri 11298  ax-pre-lttrn 11299  ax-pre-ltadd 11300  ax-pre-mulgt0 11301
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-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  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-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  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-pred 6319  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  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-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-om 7899  df-1st 8022  df-2nd 8023  df-frecs 8324  df-wrecs 8355  df-recs 8404  df-rdg 8443  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-sub 11567  df-neg 11568  df-nn 12360  df-n0 12631  df-z 12718  df-uz 12990  df-fz 13664
This theorem is used by:  meascnbl  34919
  Copyright terms: Public domain W3C validator