ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fprodmul GIF version

Theorem fprodmul 11532
Description: The product of two finite products. (Contributed by Scott Fenton, 14-Dec-2017.)
Hypotheses
Ref Expression
fprodmul.1 (𝜑𝐴 ∈ Fin)
fprodmul.2 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
fprodmul.3 ((𝜑𝑘𝐴) → 𝐶 ∈ ℂ)
Assertion
Ref Expression
fprodmul (𝜑 → ∏𝑘𝐴 (𝐵 · 𝐶) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶))
Distinct variable groups:   𝐴,𝑘   𝜑,𝑘
Allowed substitution hints:   𝐵(𝑘)   𝐶(𝑘)

Proof of Theorem fprodmul
Dummy variables 𝑝 𝑓 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 1t1e1 9009 . . . . 5 (1 · 1) = 1
2 prod0 11526 . . . . . 6 𝑘 ∈ ∅ 𝐵 = 1
3 prod0 11526 . . . . . 6 𝑘 ∈ ∅ 𝐶 = 1
42, 3oveq12i 5854 . . . . 5 (∏𝑘 ∈ ∅ 𝐵 · ∏𝑘 ∈ ∅ 𝐶) = (1 · 1)
5 prod0 11526 . . . . 5 𝑘 ∈ ∅ (𝐵 · 𝐶) = 1
61, 4, 53eqtr4ri 2197 . . . 4 𝑘 ∈ ∅ (𝐵 · 𝐶) = (∏𝑘 ∈ ∅ 𝐵 · ∏𝑘 ∈ ∅ 𝐶)
7 prodeq1 11494 . . . 4 (𝐴 = ∅ → ∏𝑘𝐴 (𝐵 · 𝐶) = ∏𝑘 ∈ ∅ (𝐵 · 𝐶))
8 prodeq1 11494 . . . . 5 (𝐴 = ∅ → ∏𝑘𝐴 𝐵 = ∏𝑘 ∈ ∅ 𝐵)
9 prodeq1 11494 . . . . 5 (𝐴 = ∅ → ∏𝑘𝐴 𝐶 = ∏𝑘 ∈ ∅ 𝐶)
108, 9oveq12d 5860 . . . 4 (𝐴 = ∅ → (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶) = (∏𝑘 ∈ ∅ 𝐵 · ∏𝑘 ∈ ∅ 𝐶))
116, 7, 103eqtr4a 2225 . . 3 (𝐴 = ∅ → ∏𝑘𝐴 (𝐵 · 𝐶) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶))
1211a1i 9 . 2 (𝜑 → (𝐴 = ∅ → ∏𝑘𝐴 (𝐵 · 𝐶) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶)))
13 simprl 521 . . . . . . . . 9 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → (♯‘𝐴) ∈ ℕ)
14 nnuz 9501 . . . . . . . . 9 ℕ = (ℤ‘1)
1513, 14eleqtrdi 2259 . . . . . . . 8 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → (♯‘𝐴) ∈ (ℤ‘1))
16 elnnuz 9502 . . . . . . . . . . . 12 (𝑝 ∈ ℕ ↔ 𝑝 ∈ (ℤ‘1))
1716biimpri 132 . . . . . . . . . . 11 (𝑝 ∈ (ℤ‘1) → 𝑝 ∈ ℕ)
1817adantl 275 . . . . . . . . . 10 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → 𝑝 ∈ ℕ)
19 fprodmul.2 . . . . . . . . . . . . . . . 16 ((𝜑𝑘𝐴) → 𝐵 ∈ ℂ)
2019fmpttd 5640 . . . . . . . . . . . . . . 15 (𝜑 → (𝑘𝐴𝐵):𝐴⟶ℂ)
2120adantr 274 . . . . . . . . . . . . . 14 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → (𝑘𝐴𝐵):𝐴⟶ℂ)
22 f1of 5432 . . . . . . . . . . . . . . 15 (𝑓:(1...(♯‘𝐴))–1-1-onto𝐴𝑓:(1...(♯‘𝐴))⟶𝐴)
2322ad2antll 483 . . . . . . . . . . . . . 14 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → 𝑓:(1...(♯‘𝐴))⟶𝐴)
24 fco 5353 . . . . . . . . . . . . . 14 (((𝑘𝐴𝐵):𝐴⟶ℂ ∧ 𝑓:(1...(♯‘𝐴))⟶𝐴) → ((𝑘𝐴𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ)
2521, 23, 24syl2anc 409 . . . . . . . . . . . . 13 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → ((𝑘𝐴𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ)
2625ad2antrr 480 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ((𝑘𝐴𝐵) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ)
27 simpr 109 . . . . . . . . . . . . 13 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → 𝑝 ≤ (♯‘𝐴))
28 simplr 520 . . . . . . . . . . . . . 14 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → 𝑝 ∈ (ℤ‘1))
2913ad2antrr 480 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (♯‘𝐴) ∈ ℕ)
3029nnzd 9312 . . . . . . . . . . . . . 14 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (♯‘𝐴) ∈ ℤ)
31 elfz5 9952 . . . . . . . . . . . . . 14 ((𝑝 ∈ (ℤ‘1) ∧ (♯‘𝐴) ∈ ℤ) → (𝑝 ∈ (1...(♯‘𝐴)) ↔ 𝑝 ≤ (♯‘𝐴)))
3228, 30, 31syl2anc 409 . . . . . . . . . . . . 13 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (𝑝 ∈ (1...(♯‘𝐴)) ↔ 𝑝 ≤ (♯‘𝐴)))
3327, 32mpbird 166 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → 𝑝 ∈ (1...(♯‘𝐴)))
3426, 33ffvelrnd 5621 . . . . . . . . . . 11 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝) ∈ ℂ)
35 1cnd 7915 . . . . . . . . . . 11 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ ¬ 𝑝 ≤ (♯‘𝐴)) → 1 ∈ ℂ)
3618nnzd 9312 . . . . . . . . . . . 12 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → 𝑝 ∈ ℤ)
3713adantr 274 . . . . . . . . . . . . 13 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → (♯‘𝐴) ∈ ℕ)
3837nnzd 9312 . . . . . . . . . . . 12 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → (♯‘𝐴) ∈ ℤ)
39 zdcle 9267 . . . . . . . . . . . 12 ((𝑝 ∈ ℤ ∧ (♯‘𝐴) ∈ ℤ) → DECID 𝑝 ≤ (♯‘𝐴))
4036, 38, 39syl2anc 409 . . . . . . . . . . 11 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → DECID 𝑝 ≤ (♯‘𝐴))
4134, 35, 40ifcldadc 3549 . . . . . . . . . 10 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) ∈ ℂ)
42 breq1 3985 . . . . . . . . . . . 12 (𝑛 = 𝑝 → (𝑛 ≤ (♯‘𝐴) ↔ 𝑝 ≤ (♯‘𝐴)))
43 fveq2 5486 . . . . . . . . . . . 12 (𝑛 = 𝑝 → (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛) = (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝))
4442, 43ifbieq1d 3542 . . . . . . . . . . 11 (𝑛 = 𝑝 → if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1) = if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1))
45 eqid 2165 . . . . . . . . . . 11 (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1)) = (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1))
4644, 45fvmptg 5562 . . . . . . . . . 10 ((𝑝 ∈ ℕ ∧ if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1))‘𝑝) = if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1))
4718, 41, 46syl2anc 409 . . . . . . . . 9 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1))‘𝑝) = if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1))
4847, 41eqeltrd 2243 . . . . . . . 8 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1))‘𝑝) ∈ ℂ)
49 fprodmul.3 . . . . . . . . . . . . . . . 16 ((𝜑𝑘𝐴) → 𝐶 ∈ ℂ)
5049fmpttd 5640 . . . . . . . . . . . . . . 15 (𝜑 → (𝑘𝐴𝐶):𝐴⟶ℂ)
5150adantr 274 . . . . . . . . . . . . . 14 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → (𝑘𝐴𝐶):𝐴⟶ℂ)
52 fco 5353 . . . . . . . . . . . . . 14 (((𝑘𝐴𝐶):𝐴⟶ℂ ∧ 𝑓:(1...(♯‘𝐴))⟶𝐴) → ((𝑘𝐴𝐶) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ)
5351, 23, 52syl2anc 409 . . . . . . . . . . . . 13 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → ((𝑘𝐴𝐶) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ)
5453ad2antrr 480 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ((𝑘𝐴𝐶) ∘ 𝑓):(1...(♯‘𝐴))⟶ℂ)
5554, 33ffvelrnd 5621 . . . . . . . . . . 11 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝) ∈ ℂ)
5655, 35, 40ifcldadc 3549 . . . . . . . . . 10 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1) ∈ ℂ)
57 fveq2 5486 . . . . . . . . . . . 12 (𝑛 = 𝑝 → (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛) = (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝))
5842, 57ifbieq1d 3542 . . . . . . . . . . 11 (𝑛 = 𝑝 → if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1) = if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1))
59 eqid 2165 . . . . . . . . . . 11 (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1)) = (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1))
6058, 59fvmptg 5562 . . . . . . . . . 10 ((𝑝 ∈ ℕ ∧ if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1))‘𝑝) = if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1))
6118, 56, 60syl2anc 409 . . . . . . . . 9 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1))‘𝑝) = if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1))
6261, 56eqeltrd 2243 . . . . . . . 8 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1))‘𝑝) ∈ ℂ)
6323ad2antrr 480 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → 𝑓:(1...(♯‘𝐴))⟶𝐴)
6463, 33ffvelrnd 5621 . . . . . . . . . . . . . 14 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (𝑓𝑝) ∈ 𝐴)
65 csbov12g 5881 . . . . . . . . . . . . . 14 ((𝑓𝑝) ∈ 𝐴(𝑓𝑝) / 𝑘(𝐵 · 𝐶) = ((𝑓𝑝) / 𝑘𝐵 · (𝑓𝑝) / 𝑘𝐶))
6664, 65syl 14 . . . . . . . . . . . . 13 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (𝑓𝑝) / 𝑘(𝐵 · 𝐶) = ((𝑓𝑝) / 𝑘𝐵 · (𝑓𝑝) / 𝑘𝐶))
6719, 49mulcld 7919 . . . . . . . . . . . . . . . . 17 ((𝜑𝑘𝐴) → (𝐵 · 𝐶) ∈ ℂ)
6867ralrimiva 2539 . . . . . . . . . . . . . . . 16 (𝜑 → ∀𝑘𝐴 (𝐵 · 𝐶) ∈ ℂ)
6968ad3antrrr 484 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ∀𝑘𝐴 (𝐵 · 𝐶) ∈ ℂ)
70 nfcsb1v 3078 . . . . . . . . . . . . . . . . 17 𝑘(𝑓𝑝) / 𝑘(𝐵 · 𝐶)
7170nfel1 2319 . . . . . . . . . . . . . . . 16 𝑘(𝑓𝑝) / 𝑘(𝐵 · 𝐶) ∈ ℂ
72 csbeq1a 3054 . . . . . . . . . . . . . . . . 17 (𝑘 = (𝑓𝑝) → (𝐵 · 𝐶) = (𝑓𝑝) / 𝑘(𝐵 · 𝐶))
7372eleq1d 2235 . . . . . . . . . . . . . . . 16 (𝑘 = (𝑓𝑝) → ((𝐵 · 𝐶) ∈ ℂ ↔ (𝑓𝑝) / 𝑘(𝐵 · 𝐶) ∈ ℂ))
7471, 73rspc 2824 . . . . . . . . . . . . . . 15 ((𝑓𝑝) ∈ 𝐴 → (∀𝑘𝐴 (𝐵 · 𝐶) ∈ ℂ → (𝑓𝑝) / 𝑘(𝐵 · 𝐶) ∈ ℂ))
7564, 69, 74sylc 62 . . . . . . . . . . . . . 14 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (𝑓𝑝) / 𝑘(𝐵 · 𝐶) ∈ ℂ)
76 eqid 2165 . . . . . . . . . . . . . . 15 (𝑘𝐴 ↦ (𝐵 · 𝐶)) = (𝑘𝐴 ↦ (𝐵 · 𝐶))
7776fvmpts 5564 . . . . . . . . . . . . . 14 (((𝑓𝑝) ∈ 𝐴(𝑓𝑝) / 𝑘(𝐵 · 𝐶) ∈ ℂ) → ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘(𝑓𝑝)) = (𝑓𝑝) / 𝑘(𝐵 · 𝐶))
7864, 75, 77syl2anc 409 . . . . . . . . . . . . 13 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘(𝑓𝑝)) = (𝑓𝑝) / 𝑘(𝐵 · 𝐶))
7919ralrimiva 2539 . . . . . . . . . . . . . . . . 17 (𝜑 → ∀𝑘𝐴 𝐵 ∈ ℂ)
8079ad3antrrr 484 . . . . . . . . . . . . . . . 16 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ∀𝑘𝐴 𝐵 ∈ ℂ)
81 nfcsb1v 3078 . . . . . . . . . . . . . . . . . 18 𝑘(𝑓𝑝) / 𝑘𝐵
8281nfel1 2319 . . . . . . . . . . . . . . . . 17 𝑘(𝑓𝑝) / 𝑘𝐵 ∈ ℂ
83 csbeq1a 3054 . . . . . . . . . . . . . . . . . 18 (𝑘 = (𝑓𝑝) → 𝐵 = (𝑓𝑝) / 𝑘𝐵)
8483eleq1d 2235 . . . . . . . . . . . . . . . . 17 (𝑘 = (𝑓𝑝) → (𝐵 ∈ ℂ ↔ (𝑓𝑝) / 𝑘𝐵 ∈ ℂ))
8582, 84rspc 2824 . . . . . . . . . . . . . . . 16 ((𝑓𝑝) ∈ 𝐴 → (∀𝑘𝐴 𝐵 ∈ ℂ → (𝑓𝑝) / 𝑘𝐵 ∈ ℂ))
8664, 80, 85sylc 62 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (𝑓𝑝) / 𝑘𝐵 ∈ ℂ)
87 eqid 2165 . . . . . . . . . . . . . . . 16 (𝑘𝐴𝐵) = (𝑘𝐴𝐵)
8887fvmpts 5564 . . . . . . . . . . . . . . 15 (((𝑓𝑝) ∈ 𝐴(𝑓𝑝) / 𝑘𝐵 ∈ ℂ) → ((𝑘𝐴𝐵)‘(𝑓𝑝)) = (𝑓𝑝) / 𝑘𝐵)
8964, 86, 88syl2anc 409 . . . . . . . . . . . . . 14 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ((𝑘𝐴𝐵)‘(𝑓𝑝)) = (𝑓𝑝) / 𝑘𝐵)
9049ralrimiva 2539 . . . . . . . . . . . . . . . . 17 (𝜑 → ∀𝑘𝐴 𝐶 ∈ ℂ)
9190ad3antrrr 484 . . . . . . . . . . . . . . . 16 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ∀𝑘𝐴 𝐶 ∈ ℂ)
92 nfcsb1v 3078 . . . . . . . . . . . . . . . . . 18 𝑘(𝑓𝑝) / 𝑘𝐶
9392nfel1 2319 . . . . . . . . . . . . . . . . 17 𝑘(𝑓𝑝) / 𝑘𝐶 ∈ ℂ
94 csbeq1a 3054 . . . . . . . . . . . . . . . . . 18 (𝑘 = (𝑓𝑝) → 𝐶 = (𝑓𝑝) / 𝑘𝐶)
9594eleq1d 2235 . . . . . . . . . . . . . . . . 17 (𝑘 = (𝑓𝑝) → (𝐶 ∈ ℂ ↔ (𝑓𝑝) / 𝑘𝐶 ∈ ℂ))
9693, 95rspc 2824 . . . . . . . . . . . . . . . 16 ((𝑓𝑝) ∈ 𝐴 → (∀𝑘𝐴 𝐶 ∈ ℂ → (𝑓𝑝) / 𝑘𝐶 ∈ ℂ))
9764, 91, 96sylc 62 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (𝑓𝑝) / 𝑘𝐶 ∈ ℂ)
98 eqid 2165 . . . . . . . . . . . . . . . 16 (𝑘𝐴𝐶) = (𝑘𝐴𝐶)
9998fvmpts 5564 . . . . . . . . . . . . . . 15 (((𝑓𝑝) ∈ 𝐴(𝑓𝑝) / 𝑘𝐶 ∈ ℂ) → ((𝑘𝐴𝐶)‘(𝑓𝑝)) = (𝑓𝑝) / 𝑘𝐶)
10064, 97, 99syl2anc 409 . . . . . . . . . . . . . 14 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ((𝑘𝐴𝐶)‘(𝑓𝑝)) = (𝑓𝑝) / 𝑘𝐶)
10189, 100oveq12d 5860 . . . . . . . . . . . . 13 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (((𝑘𝐴𝐵)‘(𝑓𝑝)) · ((𝑘𝐴𝐶)‘(𝑓𝑝))) = ((𝑓𝑝) / 𝑘𝐵 · (𝑓𝑝) / 𝑘𝐶))
10266, 78, 1013eqtr4d 2208 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘(𝑓𝑝)) = (((𝑘𝐴𝐵)‘(𝑓𝑝)) · ((𝑘𝐴𝐶)‘(𝑓𝑝))))
103 fvco3 5557 . . . . . . . . . . . . 13 ((𝑓:(1...(♯‘𝐴))⟶𝐴𝑝 ∈ (1...(♯‘𝐴))) → (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝) = ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘(𝑓𝑝)))
10463, 33, 103syl2anc 409 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝) = ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘(𝑓𝑝)))
105 fvco3 5557 . . . . . . . . . . . . . 14 ((𝑓:(1...(♯‘𝐴))⟶𝐴𝑝 ∈ (1...(♯‘𝐴))) → (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝) = ((𝑘𝐴𝐵)‘(𝑓𝑝)))
10663, 33, 105syl2anc 409 . . . . . . . . . . . . 13 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝) = ((𝑘𝐴𝐵)‘(𝑓𝑝)))
107 fvco3 5557 . . . . . . . . . . . . . 14 ((𝑓:(1...(♯‘𝐴))⟶𝐴𝑝 ∈ (1...(♯‘𝐴))) → (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝) = ((𝑘𝐴𝐶)‘(𝑓𝑝)))
10863, 33, 107syl2anc 409 . . . . . . . . . . . . 13 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝) = ((𝑘𝐴𝐶)‘(𝑓𝑝)))
109106, 108oveq12d 5860 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ((((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝) · (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝)) = (((𝑘𝐴𝐵)‘(𝑓𝑝)) · ((𝑘𝐴𝐶)‘(𝑓𝑝))))
110102, 104, 1093eqtr4d 2208 . . . . . . . . . . 11 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝) = ((((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝) · (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝)))
11127iftrued 3527 . . . . . . . . . . 11 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1) = (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝))
11227iftrued 3527 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) = (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝))
11327iftrued 3527 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1) = (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝))
114112, 113oveq12d 5860 . . . . . . . . . . 11 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) · if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1)) = ((((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝) · (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝)))
115110, 111, 1143eqtr4d 2208 . . . . . . . . . 10 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1) = (if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) · if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1)))
1161eqcomi 2169 . . . . . . . . . . 11 1 = (1 · 1)
117 simpr 109 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ ¬ 𝑝 ≤ (♯‘𝐴)) → ¬ 𝑝 ≤ (♯‘𝐴))
118117iffalsed 3530 . . . . . . . . . . 11 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ ¬ 𝑝 ≤ (♯‘𝐴)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1) = 1)
119117iffalsed 3530 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ ¬ 𝑝 ≤ (♯‘𝐴)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) = 1)
120117iffalsed 3530 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ ¬ 𝑝 ≤ (♯‘𝐴)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1) = 1)
121119, 120oveq12d 5860 . . . . . . . . . . 11 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ ¬ 𝑝 ≤ (♯‘𝐴)) → (if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) · if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1)) = (1 · 1))
122116, 118, 1213eqtr4a 2225 . . . . . . . . . 10 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ ¬ 𝑝 ≤ (♯‘𝐴)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1) = (if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) · if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1)))
123 exmiddc 826 . . . . . . . . . . 11 (DECID 𝑝 ≤ (♯‘𝐴) → (𝑝 ≤ (♯‘𝐴) ∨ ¬ 𝑝 ≤ (♯‘𝐴)))
12440, 123syl 14 . . . . . . . . . 10 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → (𝑝 ≤ (♯‘𝐴) ∨ ¬ 𝑝 ≤ (♯‘𝐴)))
125115, 122, 124mpjaodan 788 . . . . . . . . 9 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1) = (if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) · if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1)))
12678, 75eqeltrd 2243 . . . . . . . . . . . 12 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘(𝑓𝑝)) ∈ ℂ)
127104, 126eqeltrd 2243 . . . . . . . . . . 11 ((((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) ∧ 𝑝 ≤ (♯‘𝐴)) → (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝) ∈ ℂ)
128127, 35, 40ifcldadc 3549 . . . . . . . . . 10 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1) ∈ ℂ)
129 fveq2 5486 . . . . . . . . . . . 12 (𝑛 = 𝑝 → (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛) = (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝))
13042, 129ifbieq1d 3542 . . . . . . . . . . 11 (𝑛 = 𝑝 → if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛), 1) = if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1))
131 eqid 2165 . . . . . . . . . . 11 (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛), 1)) = (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛), 1))
132130, 131fvmptg 5562 . . . . . . . . . 10 ((𝑝 ∈ ℕ ∧ if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1) ∈ ℂ) → ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛), 1))‘𝑝) = if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1))
13318, 128, 132syl2anc 409 . . . . . . . . 9 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛), 1))‘𝑝) = if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑝), 1))
13447, 61oveq12d 5860 . . . . . . . . 9 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → (((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1))‘𝑝) · ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1))‘𝑝)) = (if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑝), 1) · if(𝑝 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑝), 1)))
135125, 133, 1343eqtr4d 2208 . . . . . . . 8 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑝 ∈ (ℤ‘1)) → ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛), 1))‘𝑝) = (((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1))‘𝑝) · ((𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1))‘𝑝)))
13615, 48, 62, 135prod3fmul 11482 . . . . . . 7 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → (seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛), 1)))‘(♯‘𝐴)) = ((seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1)))‘(♯‘𝐴)) · (seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1)))‘(♯‘𝐴))))
137 fveq2 5486 . . . . . . . 8 (𝑚 = (𝑓𝑛) → ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘𝑚) = ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘(𝑓𝑛)))
138 simprr 522 . . . . . . . 8 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)
13967fmpttd 5640 . . . . . . . . . 10 (𝜑 → (𝑘𝐴 ↦ (𝐵 · 𝐶)):𝐴⟶ℂ)
140139adantr 274 . . . . . . . . 9 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → (𝑘𝐴 ↦ (𝐵 · 𝐶)):𝐴⟶ℂ)
141140ffvelrnda 5620 . . . . . . . 8 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑚𝐴) → ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘𝑚) ∈ ℂ)
142 fvco3 5557 . . . . . . . . 9 ((𝑓:(1...(♯‘𝐴))⟶𝐴𝑛 ∈ (1...(♯‘𝐴))) → (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛) = ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘(𝑓𝑛)))
14323, 142sylan 281 . . . . . . . 8 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑛 ∈ (1...(♯‘𝐴))) → (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛) = ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘(𝑓𝑛)))
144137, 13, 138, 141, 143fprodseq 11524 . . . . . . 7 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → ∏𝑚𝐴 ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘𝑚) = (seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴 ↦ (𝐵 · 𝐶)) ∘ 𝑓)‘𝑛), 1)))‘(♯‘𝐴)))
145 fveq2 5486 . . . . . . . . 9 (𝑚 = (𝑓𝑛) → ((𝑘𝐴𝐵)‘𝑚) = ((𝑘𝐴𝐵)‘(𝑓𝑛)))
14621ffvelrnda 5620 . . . . . . . . 9 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑚𝐴) → ((𝑘𝐴𝐵)‘𝑚) ∈ ℂ)
147 fvco3 5557 . . . . . . . . . 10 ((𝑓:(1...(♯‘𝐴))⟶𝐴𝑛 ∈ (1...(♯‘𝐴))) → (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛) = ((𝑘𝐴𝐵)‘(𝑓𝑛)))
14823, 147sylan 281 . . . . . . . . 9 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑛 ∈ (1...(♯‘𝐴))) → (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛) = ((𝑘𝐴𝐵)‘(𝑓𝑛)))
149145, 13, 138, 146, 148fprodseq 11524 . . . . . . . 8 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → ∏𝑚𝐴 ((𝑘𝐴𝐵)‘𝑚) = (seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1)))‘(♯‘𝐴)))
150 fveq2 5486 . . . . . . . . 9 (𝑚 = (𝑓𝑛) → ((𝑘𝐴𝐶)‘𝑚) = ((𝑘𝐴𝐶)‘(𝑓𝑛)))
15151ffvelrnda 5620 . . . . . . . . 9 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑚𝐴) → ((𝑘𝐴𝐶)‘𝑚) ∈ ℂ)
152 fvco3 5557 . . . . . . . . . 10 ((𝑓:(1...(♯‘𝐴))⟶𝐴𝑛 ∈ (1...(♯‘𝐴))) → (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛) = ((𝑘𝐴𝐶)‘(𝑓𝑛)))
15323, 152sylan 281 . . . . . . . . 9 (((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) ∧ 𝑛 ∈ (1...(♯‘𝐴))) → (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛) = ((𝑘𝐴𝐶)‘(𝑓𝑛)))
154150, 13, 138, 151, 153fprodseq 11524 . . . . . . . 8 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → ∏𝑚𝐴 ((𝑘𝐴𝐶)‘𝑚) = (seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1)))‘(♯‘𝐴)))
155149, 154oveq12d 5860 . . . . . . 7 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → (∏𝑚𝐴 ((𝑘𝐴𝐵)‘𝑚) · ∏𝑚𝐴 ((𝑘𝐴𝐶)‘𝑚)) = ((seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐵) ∘ 𝑓)‘𝑛), 1)))‘(♯‘𝐴)) · (seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ≤ (♯‘𝐴), (((𝑘𝐴𝐶) ∘ 𝑓)‘𝑛), 1)))‘(♯‘𝐴))))
156136, 144, 1553eqtr4d 2208 . . . . . 6 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → ∏𝑚𝐴 ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘𝑚) = (∏𝑚𝐴 ((𝑘𝐴𝐵)‘𝑚) · ∏𝑚𝐴 ((𝑘𝐴𝐶)‘𝑚)))
157 prodfct 11528 . . . . . . . 8 (∀𝑘𝐴 (𝐵 · 𝐶) ∈ ℂ → ∏𝑚𝐴 ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘𝑚) = ∏𝑘𝐴 (𝐵 · 𝐶))
15868, 157syl 14 . . . . . . 7 (𝜑 → ∏𝑚𝐴 ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘𝑚) = ∏𝑘𝐴 (𝐵 · 𝐶))
159158adantr 274 . . . . . 6 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → ∏𝑚𝐴 ((𝑘𝐴 ↦ (𝐵 · 𝐶))‘𝑚) = ∏𝑘𝐴 (𝐵 · 𝐶))
160 prodfct 11528 . . . . . . . . 9 (∀𝑘𝐴 𝐵 ∈ ℂ → ∏𝑚𝐴 ((𝑘𝐴𝐵)‘𝑚) = ∏𝑘𝐴 𝐵)
16179, 160syl 14 . . . . . . . 8 (𝜑 → ∏𝑚𝐴 ((𝑘𝐴𝐵)‘𝑚) = ∏𝑘𝐴 𝐵)
162 prodfct 11528 . . . . . . . . 9 (∀𝑘𝐴 𝐶 ∈ ℂ → ∏𝑚𝐴 ((𝑘𝐴𝐶)‘𝑚) = ∏𝑘𝐴 𝐶)
16390, 162syl 14 . . . . . . . 8 (𝜑 → ∏𝑚𝐴 ((𝑘𝐴𝐶)‘𝑚) = ∏𝑘𝐴 𝐶)
164161, 163oveq12d 5860 . . . . . . 7 (𝜑 → (∏𝑚𝐴 ((𝑘𝐴𝐵)‘𝑚) · ∏𝑚𝐴 ((𝑘𝐴𝐶)‘𝑚)) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶))
165164adantr 274 . . . . . 6 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → (∏𝑚𝐴 ((𝑘𝐴𝐵)‘𝑚) · ∏𝑚𝐴 ((𝑘𝐴𝐶)‘𝑚)) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶))
166156, 159, 1653eqtr3d 2206 . . . . 5 ((𝜑 ∧ ((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → ∏𝑘𝐴 (𝐵 · 𝐶) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶))
167166expr 373 . . . 4 ((𝜑 ∧ (♯‘𝐴) ∈ ℕ) → (𝑓:(1...(♯‘𝐴))–1-1-onto𝐴 → ∏𝑘𝐴 (𝐵 · 𝐶) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶)))
168167exlimdv 1807 . . 3 ((𝜑 ∧ (♯‘𝐴) ∈ ℕ) → (∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴 → ∏𝑘𝐴 (𝐵 · 𝐶) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶)))
169168expimpd 361 . 2 (𝜑 → (((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → ∏𝑘𝐴 (𝐵 · 𝐶) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶)))
170 fprodmul.1 . . 3 (𝜑𝐴 ∈ Fin)
171 fz1f1o 11316 . . 3 (𝐴 ∈ Fin → (𝐴 = ∅ ∨ ((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)))
172170, 171syl 14 . 2 (𝜑 → (𝐴 = ∅ ∨ ((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)))
17312, 169, 172mpjaod 708 1 (𝜑 → ∏𝑘𝐴 (𝐵 · 𝐶) = (∏𝑘𝐴 𝐵 · ∏𝑘𝐴 𝐶))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  DECID wdc 824   = wceq 1343  wex 1480  wcel 2136  wral 2444  csb 3045  c0 3409  ifcif 3520   class class class wbr 3982  cmpt 4043  ccom 4608  wf 5184  1-1-ontowf1o 5187  cfv 5188  (class class class)co 5842  Fincfn 6706  cc 7751  1c1 7754   · cmul 7758  cle 7934  cn 8857  cz 9191  cuz 9466  ...cfz 9944  seqcseq 10380  chash 10688  cprod 11491
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-mulrcl 7852  ax-addcom 7853  ax-mulcom 7854  ax-addass 7855  ax-mulass 7856  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-1rid 7860  ax-0id 7861  ax-rnegex 7862  ax-precex 7863  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-apti 7868  ax-pre-ltadd 7869  ax-pre-mulgt0 7870  ax-pre-mulext 7871  ax-arch 7872  ax-caucvg 7873
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rmo 2452  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-po 4274  df-iso 4275  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-isom 5197  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-irdg 6338  df-frec 6359  df-1o 6384  df-oadd 6388  df-er 6501  df-en 6707  df-dom 6708  df-fin 6709  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-reap 8473  df-ap 8480  df-div 8569  df-inn 8858  df-2 8916  df-3 8917  df-4 8918  df-n0 9115  df-z 9192  df-uz 9467  df-q 9558  df-rp 9590  df-fz 9945  df-fzo 10078  df-seqfrec 10381  df-exp 10455  df-ihash 10689  df-cj 10784  df-re 10785  df-im 10786  df-rsqrt 10940  df-abs 10941  df-clim 11220  df-proddc 11492
This theorem is referenced by:  fprodsplitdc  11537  fproddivap  11571
  Copyright terms: Public domain W3C validator