MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  iundisj Structured version   Visualization version   GIF version

Theorem iundisj 23362
Description: Rewrite a countable union as a disjoint union. (Contributed by Mario Carneiro, 20-Mar-2014.)
Hypothesis
Ref Expression
iundisj.1 (𝑛 = 𝑘𝐴 = 𝐵)
Assertion
Ref Expression
iundisj 𝑛 ∈ ℕ 𝐴 = 𝑛 ∈ ℕ (𝐴 𝑘 ∈ (1..^𝑛)𝐵)
Distinct variable groups:   𝑘,𝑛   𝐴,𝑘   𝐵,𝑛
Allowed substitution hints:   𝐴(𝑛)   𝐵(𝑘)

Proof of Theorem iundisj
Dummy variables 𝑥 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssrab2 3720 . . . . . . . . . 10 {𝑛 ∈ ℕ ∣ 𝑥𝐴} ⊆ ℕ
2 nnuz 11761 . . . . . . . . . 10 ℕ = (ℤ‘1)
31, 2sseqtri 3670 . . . . . . . . 9 {𝑛 ∈ ℕ ∣ 𝑥𝐴} ⊆ (ℤ‘1)
4 rabn0 3991 . . . . . . . . . 10 ({𝑛 ∈ ℕ ∣ 𝑥𝐴} ≠ ∅ ↔ ∃𝑛 ∈ ℕ 𝑥𝐴)
54biimpri 218 . . . . . . . . 9 (∃𝑛 ∈ ℕ 𝑥𝐴 → {𝑛 ∈ ℕ ∣ 𝑥𝐴} ≠ ∅)
6 infssuzcl 11810 . . . . . . . . 9 (({𝑛 ∈ ℕ ∣ 𝑥𝐴} ⊆ (ℤ‘1) ∧ {𝑛 ∈ ℕ ∣ 𝑥𝐴} ≠ ∅) → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ∈ {𝑛 ∈ ℕ ∣ 𝑥𝐴})
73, 5, 6sylancr 696 . . . . . . . 8 (∃𝑛 ∈ ℕ 𝑥𝐴 → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ∈ {𝑛 ∈ ℕ ∣ 𝑥𝐴})
8 nfrab1 3152 . . . . . . . . . 10 𝑛{𝑛 ∈ ℕ ∣ 𝑥𝐴}
9 nfcv 2793 . . . . . . . . . 10 𝑛
10 nfcv 2793 . . . . . . . . . 10 𝑛 <
118, 9, 10nfinf 8429 . . . . . . . . 9 𝑛inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < )
12 nfcv 2793 . . . . . . . . 9 𝑛
1311nfcsb1 3581 . . . . . . . . . 10 𝑛inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴
1413nfcri 2787 . . . . . . . . 9 𝑛 𝑥inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴
15 csbeq1a 3575 . . . . . . . . . 10 (𝑛 = inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) → 𝐴 = inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴)
1615eleq2d 2716 . . . . . . . . 9 (𝑛 = inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) → (𝑥𝐴𝑥inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴))
1711, 12, 14, 16elrabf 3392 . . . . . . . 8 (inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ∈ {𝑛 ∈ ℕ ∣ 𝑥𝐴} ↔ (inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ∈ ℕ ∧ 𝑥inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴))
187, 17sylib 208 . . . . . . 7 (∃𝑛 ∈ ℕ 𝑥𝐴 → (inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ∈ ℕ ∧ 𝑥inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴))
1918simpld 474 . . . . . 6 (∃𝑛 ∈ ℕ 𝑥𝐴 → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ∈ ℕ)
2018simprd 478 . . . . . . 7 (∃𝑛 ∈ ℕ 𝑥𝐴𝑥inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴)
2119nnred 11073 . . . . . . . . 9 (∃𝑛 ∈ ℕ 𝑥𝐴 → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ∈ ℝ)
2221ltnrd 10209 . . . . . . . 8 (∃𝑛 ∈ ℕ 𝑥𝐴 → ¬ inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) < inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))
23 eliun 4556 . . . . . . . . 9 (𝑥 𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝐵 ↔ ∃𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝑥𝐵)
2421ad2antrr 762 . . . . . . . . . . . 12 (((∃𝑛 ∈ ℕ 𝑥𝐴𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))) ∧ 𝑥𝐵) → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ∈ ℝ)
25 elfzouz 12513 . . . . . . . . . . . . . . 15 (𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < )) → 𝑘 ∈ (ℤ‘1))
2625, 2syl6eleqr 2741 . . . . . . . . . . . . . 14 (𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < )) → 𝑘 ∈ ℕ)
2726ad2antlr 763 . . . . . . . . . . . . 13 (((∃𝑛 ∈ ℕ 𝑥𝐴𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))) ∧ 𝑥𝐵) → 𝑘 ∈ ℕ)
2827nnred 11073 . . . . . . . . . . . 12 (((∃𝑛 ∈ ℕ 𝑥𝐴𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))) ∧ 𝑥𝐵) → 𝑘 ∈ ℝ)
29 simpr 476 . . . . . . . . . . . . . 14 (((∃𝑛 ∈ ℕ 𝑥𝐴𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))) ∧ 𝑥𝐵) → 𝑥𝐵)
30 iundisj.1 . . . . . . . . . . . . . . . 16 (𝑛 = 𝑘𝐴 = 𝐵)
3130eleq2d 2716 . . . . . . . . . . . . . . 15 (𝑛 = 𝑘 → (𝑥𝐴𝑥𝐵))
3231elrab 3396 . . . . . . . . . . . . . 14 (𝑘 ∈ {𝑛 ∈ ℕ ∣ 𝑥𝐴} ↔ (𝑘 ∈ ℕ ∧ 𝑥𝐵))
3327, 29, 32sylanbrc 699 . . . . . . . . . . . . 13 (((∃𝑛 ∈ ℕ 𝑥𝐴𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))) ∧ 𝑥𝐵) → 𝑘 ∈ {𝑛 ∈ ℕ ∣ 𝑥𝐴})
34 infssuzle 11809 . . . . . . . . . . . . 13 (({𝑛 ∈ ℕ ∣ 𝑥𝐴} ⊆ (ℤ‘1) ∧ 𝑘 ∈ {𝑛 ∈ ℕ ∣ 𝑥𝐴}) → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ≤ 𝑘)
353, 33, 34sylancr 696 . . . . . . . . . . . 12 (((∃𝑛 ∈ ℕ 𝑥𝐴𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))) ∧ 𝑥𝐵) → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ≤ 𝑘)
36 elfzolt2 12518 . . . . . . . . . . . . 13 (𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < )) → 𝑘 < inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))
3736ad2antlr 763 . . . . . . . . . . . 12 (((∃𝑛 ∈ ℕ 𝑥𝐴𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))) ∧ 𝑥𝐵) → 𝑘 < inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))
3824, 28, 24, 35, 37lelttrd 10233 . . . . . . . . . . 11 (((∃𝑛 ∈ ℕ 𝑥𝐴𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))) ∧ 𝑥𝐵) → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) < inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))
3938ex 449 . . . . . . . . . 10 ((∃𝑛 ∈ ℕ 𝑥𝐴𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))) → (𝑥𝐵 → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) < inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < )))
4039rexlimdva 3060 . . . . . . . . 9 (∃𝑛 ∈ ℕ 𝑥𝐴 → (∃𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝑥𝐵 → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) < inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < )))
4123, 40syl5bi 232 . . . . . . . 8 (∃𝑛 ∈ ℕ 𝑥𝐴 → (𝑥 𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝐵 → inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) < inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < )))
4222, 41mtod 189 . . . . . . 7 (∃𝑛 ∈ ℕ 𝑥𝐴 → ¬ 𝑥 𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝐵)
4320, 42eldifd 3618 . . . . . 6 (∃𝑛 ∈ ℕ 𝑥𝐴𝑥 ∈ (inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴 𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝐵))
44 csbeq1 3569 . . . . . . . . 9 (𝑚 = inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) → 𝑚 / 𝑛𝐴 = inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴)
45 oveq2 6698 . . . . . . . . . 10 (𝑚 = inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) → (1..^𝑚) = (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < )))
4645iuneq1d 4577 . . . . . . . . 9 (𝑚 = inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) → 𝑘 ∈ (1..^𝑚)𝐵 = 𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝐵)
4744, 46difeq12d 3762 . . . . . . . 8 (𝑚 = inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) → (𝑚 / 𝑛𝐴 𝑘 ∈ (1..^𝑚)𝐵) = (inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴 𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝐵))
4847eleq2d 2716 . . . . . . 7 (𝑚 = inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) → (𝑥 ∈ (𝑚 / 𝑛𝐴 𝑘 ∈ (1..^𝑚)𝐵) ↔ 𝑥 ∈ (inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴 𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝐵)))
4948rspcev 3340 . . . . . 6 ((inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) ∈ ℕ ∧ 𝑥 ∈ (inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ) / 𝑛𝐴 𝑘 ∈ (1..^inf({𝑛 ∈ ℕ ∣ 𝑥𝐴}, ℝ, < ))𝐵)) → ∃𝑚 ∈ ℕ 𝑥 ∈ (𝑚 / 𝑛𝐴 𝑘 ∈ (1..^𝑚)𝐵))
5019, 43, 49syl2anc 694 . . . . 5 (∃𝑛 ∈ ℕ 𝑥𝐴 → ∃𝑚 ∈ ℕ 𝑥 ∈ (𝑚 / 𝑛𝐴 𝑘 ∈ (1..^𝑚)𝐵))
51 nfv 1883 . . . . . 6 𝑚 𝑥 ∈ (𝐴 𝑘 ∈ (1..^𝑛)𝐵)
52 nfcsb1v 3582 . . . . . . . 8 𝑛𝑚 / 𝑛𝐴
53 nfcv 2793 . . . . . . . 8 𝑛 𝑘 ∈ (1..^𝑚)𝐵
5452, 53nfdif 3764 . . . . . . 7 𝑛(𝑚 / 𝑛𝐴 𝑘 ∈ (1..^𝑚)𝐵)
5554nfcri 2787 . . . . . 6 𝑛 𝑥 ∈ (𝑚 / 𝑛𝐴 𝑘 ∈ (1..^𝑚)𝐵)
56 csbeq1a 3575 . . . . . . . 8 (𝑛 = 𝑚𝐴 = 𝑚 / 𝑛𝐴)
57 oveq2 6698 . . . . . . . . 9 (𝑛 = 𝑚 → (1..^𝑛) = (1..^𝑚))
5857iuneq1d 4577 . . . . . . . 8 (𝑛 = 𝑚 𝑘 ∈ (1..^𝑛)𝐵 = 𝑘 ∈ (1..^𝑚)𝐵)
5956, 58difeq12d 3762 . . . . . . 7 (𝑛 = 𝑚 → (𝐴 𝑘 ∈ (1..^𝑛)𝐵) = (𝑚 / 𝑛𝐴 𝑘 ∈ (1..^𝑚)𝐵))
6059eleq2d 2716 . . . . . 6 (𝑛 = 𝑚 → (𝑥 ∈ (𝐴 𝑘 ∈ (1..^𝑛)𝐵) ↔ 𝑥 ∈ (𝑚 / 𝑛𝐴 𝑘 ∈ (1..^𝑚)𝐵)))
6151, 55, 60cbvrex 3198 . . . . 5 (∃𝑛 ∈ ℕ 𝑥 ∈ (𝐴 𝑘 ∈ (1..^𝑛)𝐵) ↔ ∃𝑚 ∈ ℕ 𝑥 ∈ (𝑚 / 𝑛𝐴 𝑘 ∈ (1..^𝑚)𝐵))
6250, 61sylibr 224 . . . 4 (∃𝑛 ∈ ℕ 𝑥𝐴 → ∃𝑛 ∈ ℕ 𝑥 ∈ (𝐴 𝑘 ∈ (1..^𝑛)𝐵))
63 eldifi 3765 . . . . 5 (𝑥 ∈ (𝐴 𝑘 ∈ (1..^𝑛)𝐵) → 𝑥𝐴)
6463reximi 3040 . . . 4 (∃𝑛 ∈ ℕ 𝑥 ∈ (𝐴 𝑘 ∈ (1..^𝑛)𝐵) → ∃𝑛 ∈ ℕ 𝑥𝐴)
6562, 64impbii 199 . . 3 (∃𝑛 ∈ ℕ 𝑥𝐴 ↔ ∃𝑛 ∈ ℕ 𝑥 ∈ (𝐴 𝑘 ∈ (1..^𝑛)𝐵))
66 eliun 4556 . . 3 (𝑥 𝑛 ∈ ℕ 𝐴 ↔ ∃𝑛 ∈ ℕ 𝑥𝐴)
67 eliun 4556 . . 3 (𝑥 𝑛 ∈ ℕ (𝐴 𝑘 ∈ (1..^𝑛)𝐵) ↔ ∃𝑛 ∈ ℕ 𝑥 ∈ (𝐴 𝑘 ∈ (1..^𝑛)𝐵))
6865, 66, 673bitr4i 292 . 2 (𝑥 𝑛 ∈ ℕ 𝐴𝑥 𝑛 ∈ ℕ (𝐴 𝑘 ∈ (1..^𝑛)𝐵))
6968eqriv 2648 1 𝑛 ∈ ℕ 𝐴 = 𝑛 ∈ ℕ (𝐴 𝑘 ∈ (1..^𝑛)𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1523  wcel 2030  wne 2823  wrex 2942  {crab 2945  csb 3566  cdif 3604  wss 3607  c0 3948   ciun 4552   class class class wbr 4685  cfv 5926  (class class class)co 6690  infcinf 8388  cr 9973  1c1 9975   < clt 10112  cle 10113  cn 11058  cuz 11725  ..^cfzo 12504
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-cnex 10030  ax-resscn 10031  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-addrcl 10035  ax-mulcl 10036  ax-mulrcl 10037  ax-mulcom 10038  ax-addass 10039  ax-mulass 10040  ax-distr 10041  ax-i2m1 10042  ax-1ne0 10043  ax-1rid 10044  ax-rnegex 10045  ax-rrecex 10046  ax-cnre 10047  ax-pre-lttri 10048  ax-pre-lttrn 10049  ax-pre-ltadd 10050  ax-pre-mulgt0 10051
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-nel 2927  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-1st 7210  df-2nd 7211  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-er 7787  df-en 7998  df-dom 7999  df-sdom 8000  df-sup 8389  df-inf 8390  df-pnf 10114  df-mnf 10115  df-xr 10116  df-ltxr 10117  df-le 10118  df-sub 10306  df-neg 10307  df-nn 11059  df-n0 11331  df-z 11416  df-uz 11726  df-fz 12365  df-fzo 12505
This theorem is referenced by:  iunmbl  23367  volsup  23370  sigapildsys  30353  carsgclctunlem3  30510  voliunnfl  33583
  Copyright terms: Public domain W3C validator