Users' Mathboxes Mathbox for Brendan Leahy < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  poimirlem10 Structured version   Visualization version   GIF version

Theorem poimirlem10 33078
Description: Lemma for poimir 33101 establishing the cube that yields the simplex that yields a face if the opposite vertex was first on the walk. (Contributed by Brendan Leahy, 21-Aug-2020.)
Hypotheses
Ref Expression
poimir.0 (𝜑𝑁 ∈ ℕ)
poimirlem22.s 𝑆 = {𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}
poimirlem22.1 (𝜑𝐹:(0...(𝑁 − 1))⟶((0...𝐾) ↑𝑚 (1...𝑁)))
poimirlem12.2 (𝜑𝑇𝑆)
poimirlem11.3 (𝜑 → (2nd𝑇) = 0)
Assertion
Ref Expression
poimirlem10 (𝜑 → ((𝐹‘(𝑁 − 1)) ∘𝑓 − ((1...𝑁) × {1})) = (1st ‘(1st𝑇)))
Distinct variable groups:   𝑓,𝑗,𝑡,𝑦   𝜑,𝑗,𝑦   𝑗,𝐹,𝑦   𝑗,𝑁,𝑦   𝑇,𝑗,𝑦   𝜑,𝑡   𝑓,𝐾,𝑗,𝑡   𝑓,𝑁,𝑡   𝑇,𝑓   𝑓,𝐹,𝑡   𝑡,𝑇   𝑆,𝑗,𝑡,𝑦
Allowed substitution hints:   𝜑(𝑓)   𝑆(𝑓)   𝐾(𝑦)

Proof of Theorem poimirlem10
Dummy variable 𝑛 is distinct from all other variables.
StepHypRef Expression
1 ovex 6638 . . 3 (1...𝑁) ∈ V
21a1i 11 . 2 (𝜑 → (1...𝑁) ∈ V)
3 poimirlem22.1 . . . 4 (𝜑𝐹:(0...(𝑁 − 1))⟶((0...𝐾) ↑𝑚 (1...𝑁)))
4 poimir.0 . . . . . 6 (𝜑𝑁 ∈ ℕ)
5 nnm1nn0 11285 . . . . . 6 (𝑁 ∈ ℕ → (𝑁 − 1) ∈ ℕ0)
64, 5syl 17 . . . . 5 (𝜑 → (𝑁 − 1) ∈ ℕ0)
7 nn0fz0 12385 . . . . 5 ((𝑁 − 1) ∈ ℕ0 ↔ (𝑁 − 1) ∈ (0...(𝑁 − 1)))
86, 7sylib 208 . . . 4 (𝜑 → (𝑁 − 1) ∈ (0...(𝑁 − 1)))
93, 8ffvelrnd 6321 . . 3 (𝜑 → (𝐹‘(𝑁 − 1)) ∈ ((0...𝐾) ↑𝑚 (1...𝑁)))
10 elmapfn 7831 . . 3 ((𝐹‘(𝑁 − 1)) ∈ ((0...𝐾) ↑𝑚 (1...𝑁)) → (𝐹‘(𝑁 − 1)) Fn (1...𝑁))
119, 10syl 17 . 2 (𝜑 → (𝐹‘(𝑁 − 1)) Fn (1...𝑁))
12 1ex 9986 . . 3 1 ∈ V
13 fnconstg 6055 . . 3 (1 ∈ V → ((1...𝑁) × {1}) Fn (1...𝑁))
1412, 13mp1i 13 . 2 (𝜑 → ((1...𝑁) × {1}) Fn (1...𝑁))
15 poimirlem12.2 . . . . . 6 (𝜑𝑇𝑆)
16 elrabi 3346 . . . . . . 7 (𝑇 ∈ {𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → 𝑇 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)))
17 poimirlem22.s . . . . . . 7 𝑆 = {𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}
1816, 17eleq2s 2716 . . . . . 6 (𝑇𝑆𝑇 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)))
1915, 18syl 17 . . . . 5 (𝜑𝑇 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)))
20 xp1st 7150 . . . . 5 (𝑇 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st𝑇) ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}))
2119, 20syl 17 . . . 4 (𝜑 → (1st𝑇) ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}))
22 xp1st 7150 . . . 4 ((1st𝑇) ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁)))
2321, 22syl 17 . . 3 (𝜑 → (1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁)))
24 elmapfn 7831 . . 3 ((1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁)) → (1st ‘(1st𝑇)) Fn (1...𝑁))
2523, 24syl 17 . 2 (𝜑 → (1st ‘(1st𝑇)) Fn (1...𝑁))
26 fveq2 6153 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (2nd𝑡) = (2nd𝑇))
2726breq2d 4630 . . . . . . . . . . . . . 14 (𝑡 = 𝑇 → (𝑦 < (2nd𝑡) ↔ 𝑦 < (2nd𝑇)))
2827ifbid 4085 . . . . . . . . . . . . 13 (𝑡 = 𝑇 → if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)))
2928csbeq1d 3525 . . . . . . . . . . . 12 (𝑡 = 𝑇if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))
30 fveq2 6153 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (1st𝑡) = (1st𝑇))
3130fveq2d 6157 . . . . . . . . . . . . . 14 (𝑡 = 𝑇 → (1st ‘(1st𝑡)) = (1st ‘(1st𝑇)))
3230fveq2d 6157 . . . . . . . . . . . . . . . . 17 (𝑡 = 𝑇 → (2nd ‘(1st𝑡)) = (2nd ‘(1st𝑇)))
3332imaeq1d 5429 . . . . . . . . . . . . . . . 16 (𝑡 = 𝑇 → ((2nd ‘(1st𝑡)) “ (1...𝑗)) = ((2nd ‘(1st𝑇)) “ (1...𝑗)))
3433xpeq1d 5103 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) = (((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}))
3532imaeq1d 5429 . . . . . . . . . . . . . . . 16 (𝑡 = 𝑇 → ((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)))
3635xpeq1d 5103 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))
3734, 36uneq12d 3751 . . . . . . . . . . . . . 14 (𝑡 = 𝑇 → ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))
3831, 37oveq12d 6628 . . . . . . . . . . . . 13 (𝑡 = 𝑇 → ((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))
3938csbeq2dv 3969 . . . . . . . . . . . 12 (𝑡 = 𝑇if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))
4029, 39eqtrd 2655 . . . . . . . . . . 11 (𝑡 = 𝑇if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))
4140mpteq2dv 4710 . . . . . . . . . 10 (𝑡 = 𝑇 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))
4241eqeq2d 2631 . . . . . . . . 9 (𝑡 = 𝑇 → (𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘𝑓 + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))))
4342, 17elrab2 3352 . . . . . . . 8 (𝑇𝑆 ↔ (𝑇 ∈ ((((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))))
4443simprbi 480 . . . . . . 7 (𝑇𝑆𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))
4515, 44syl 17 . . . . . 6 (𝜑𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))
46 poimirlem11.3 . . . . . . . . . . . 12 (𝜑 → (2nd𝑇) = 0)
47 breq12 4623 . . . . . . . . . . . 12 ((𝑦 = (𝑁 − 1) ∧ (2nd𝑇) = 0) → (𝑦 < (2nd𝑇) ↔ (𝑁 − 1) < 0))
4846, 47sylan2 491 . . . . . . . . . . 11 ((𝑦 = (𝑁 − 1) ∧ 𝜑) → (𝑦 < (2nd𝑇) ↔ (𝑁 − 1) < 0))
4948ancoms 469 . . . . . . . . . 10 ((𝜑𝑦 = (𝑁 − 1)) → (𝑦 < (2nd𝑇) ↔ (𝑁 − 1) < 0))
50 oveq1 6617 . . . . . . . . . . 11 (𝑦 = (𝑁 − 1) → (𝑦 + 1) = ((𝑁 − 1) + 1))
514nncnd 10987 . . . . . . . . . . . 12 (𝜑𝑁 ∈ ℂ)
52 npcan1 10406 . . . . . . . . . . . 12 (𝑁 ∈ ℂ → ((𝑁 − 1) + 1) = 𝑁)
5351, 52syl 17 . . . . . . . . . . 11 (𝜑 → ((𝑁 − 1) + 1) = 𝑁)
5450, 53sylan9eqr 2677 . . . . . . . . . 10 ((𝜑𝑦 = (𝑁 − 1)) → (𝑦 + 1) = 𝑁)
5549, 54ifbieq2d 4088 . . . . . . . . 9 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) = if((𝑁 − 1) < 0, 𝑦, 𝑁))
566nn0ge0d 11305 . . . . . . . . . . . 12 (𝜑 → 0 ≤ (𝑁 − 1))
57 0red 9992 . . . . . . . . . . . . 13 (𝜑 → 0 ∈ ℝ)
586nn0red 11303 . . . . . . . . . . . . 13 (𝜑 → (𝑁 − 1) ∈ ℝ)
5957, 58lenltd 10134 . . . . . . . . . . . 12 (𝜑 → (0 ≤ (𝑁 − 1) ↔ ¬ (𝑁 − 1) < 0))
6056, 59mpbid 222 . . . . . . . . . . 11 (𝜑 → ¬ (𝑁 − 1) < 0)
6160iffalsed 4074 . . . . . . . . . 10 (𝜑 → if((𝑁 − 1) < 0, 𝑦, 𝑁) = 𝑁)
6261adantr 481 . . . . . . . . 9 ((𝜑𝑦 = (𝑁 − 1)) → if((𝑁 − 1) < 0, 𝑦, 𝑁) = 𝑁)
6355, 62eqtrd 2655 . . . . . . . 8 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) = 𝑁)
6463csbeq1d 3525 . . . . . . 7 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = 𝑁 / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))
65 oveq2 6618 . . . . . . . . . . . . . . 15 (𝑗 = 𝑁 → (1...𝑗) = (1...𝑁))
6665imaeq2d 5430 . . . . . . . . . . . . . 14 (𝑗 = 𝑁 → ((2nd ‘(1st𝑇)) “ (1...𝑗)) = ((2nd ‘(1st𝑇)) “ (1...𝑁)))
67 xp2nd 7151 . . . . . . . . . . . . . . . . 17 ((1st𝑇) ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2nd ‘(1st𝑇)) ∈ {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})
6821, 67syl 17 . . . . . . . . . . . . . . . 16 (𝜑 → (2nd ‘(1st𝑇)) ∈ {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})
69 fvex 6163 . . . . . . . . . . . . . . . . 17 (2nd ‘(1st𝑇)) ∈ V
70 f1oeq1 6089 . . . . . . . . . . . . . . . . 17 (𝑓 = (2nd ‘(1st𝑇)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁)))
7169, 70elab 3337 . . . . . . . . . . . . . . . 16 ((2nd ‘(1st𝑇)) ∈ {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ↔ (2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁))
7268, 71sylib 208 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁))
73 f1ofo 6106 . . . . . . . . . . . . . . 15 ((2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → (2nd ‘(1st𝑇)):(1...𝑁)–onto→(1...𝑁))
74 foima 6082 . . . . . . . . . . . . . . 15 ((2nd ‘(1st𝑇)):(1...𝑁)–onto→(1...𝑁) → ((2nd ‘(1st𝑇)) “ (1...𝑁)) = (1...𝑁))
7572, 73, 743syl 18 . . . . . . . . . . . . . 14 (𝜑 → ((2nd ‘(1st𝑇)) “ (1...𝑁)) = (1...𝑁))
7666, 75sylan9eqr 2677 . . . . . . . . . . . . 13 ((𝜑𝑗 = 𝑁) → ((2nd ‘(1st𝑇)) “ (1...𝑗)) = (1...𝑁))
7776xpeq1d 5103 . . . . . . . . . . . 12 ((𝜑𝑗 = 𝑁) → (((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) = ((1...𝑁) × {1}))
78 oveq1 6617 . . . . . . . . . . . . . . . . 17 (𝑗 = 𝑁 → (𝑗 + 1) = (𝑁 + 1))
7978oveq1d 6625 . . . . . . . . . . . . . . . 16 (𝑗 = 𝑁 → ((𝑗 + 1)...𝑁) = ((𝑁 + 1)...𝑁))
804nnred 10986 . . . . . . . . . . . . . . . . . 18 (𝜑𝑁 ∈ ℝ)
8180ltp1d 10905 . . . . . . . . . . . . . . . . 17 (𝜑𝑁 < (𝑁 + 1))
824nnzd 11432 . . . . . . . . . . . . . . . . . . 19 (𝜑𝑁 ∈ ℤ)
8382peano2zd 11436 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝑁 + 1) ∈ ℤ)
84 fzn 12306 . . . . . . . . . . . . . . . . . 18 (((𝑁 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
8583, 82, 84syl2anc 692 . . . . . . . . . . . . . . . . 17 (𝜑 → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
8681, 85mpbid 222 . . . . . . . . . . . . . . . 16 (𝜑 → ((𝑁 + 1)...𝑁) = ∅)
8779, 86sylan9eqr 2677 . . . . . . . . . . . . . . 15 ((𝜑𝑗 = 𝑁) → ((𝑗 + 1)...𝑁) = ∅)
8887imaeq2d 5430 . . . . . . . . . . . . . 14 ((𝜑𝑗 = 𝑁) → ((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st𝑇)) “ ∅))
8988xpeq1d 5103 . . . . . . . . . . . . 13 ((𝜑𝑗 = 𝑁) → (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd ‘(1st𝑇)) “ ∅) × {0}))
90 ima0 5445 . . . . . . . . . . . . . . 15 ((2nd ‘(1st𝑇)) “ ∅) = ∅
9190xpeq1i 5100 . . . . . . . . . . . . . 14 (((2nd ‘(1st𝑇)) “ ∅) × {0}) = (∅ × {0})
92 0xp 5165 . . . . . . . . . . . . . 14 (∅ × {0}) = ∅
9391, 92eqtri 2643 . . . . . . . . . . . . 13 (((2nd ‘(1st𝑇)) “ ∅) × {0}) = ∅
9489, 93syl6eq 2671 . . . . . . . . . . . 12 ((𝜑𝑗 = 𝑁) → (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = ∅)
9577, 94uneq12d 3751 . . . . . . . . . . 11 ((𝜑𝑗 = 𝑁) → ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = (((1...𝑁) × {1}) ∪ ∅))
96 un0 3944 . . . . . . . . . . 11 (((1...𝑁) × {1}) ∪ ∅) = ((1...𝑁) × {1})
9795, 96syl6eq 2671 . . . . . . . . . 10 ((𝜑𝑗 = 𝑁) → ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((1...𝑁) × {1}))
9897oveq2d 6626 . . . . . . . . 9 ((𝜑𝑗 = 𝑁) → ((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1})))
994, 98csbied 3545 . . . . . . . 8 (𝜑𝑁 / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1})))
10099adantr 481 . . . . . . 7 ((𝜑𝑦 = (𝑁 − 1)) → 𝑁 / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1})))
10164, 100eqtrd 2655 . . . . . 6 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘𝑓 + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1})))
102 ovex 6638 . . . . . . 7 ((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1})) ∈ V
103102a1i 11 . . . . . 6 (𝜑 → ((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1})) ∈ V)
10445, 101, 8, 103fvmptd 6250 . . . . 5 (𝜑 → (𝐹‘(𝑁 − 1)) = ((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1})))
105104fveq1d 6155 . . . 4 (𝜑 → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1}))‘𝑛))
106105adantr 481 . . 3 ((𝜑𝑛 ∈ (1...𝑁)) → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1}))‘𝑛))
107 inidm 3805 . . . 4 ((1...𝑁) ∩ (1...𝑁)) = (1...𝑁)
108 eqidd 2622 . . . 4 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) = ((1st ‘(1st𝑇))‘𝑛))
10912fvconst2 6429 . . . . 5 (𝑛 ∈ (1...𝑁) → (((1...𝑁) × {1})‘𝑛) = 1)
110109adantl 482 . . . 4 ((𝜑𝑛 ∈ (1...𝑁)) → (((1...𝑁) × {1})‘𝑛) = 1)
11125, 14, 2, 2, 107, 108, 110ofval 6866 . . 3 ((𝜑𝑛 ∈ (1...𝑁)) → (((1st ‘(1st𝑇)) ∘𝑓 + ((1...𝑁) × {1}))‘𝑛) = (((1st ‘(1st𝑇))‘𝑛) + 1))
112106, 111eqtrd 2655 . 2 ((𝜑𝑛 ∈ (1...𝑁)) → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st𝑇))‘𝑛) + 1))
113 elmapi 7830 . . . . . . 7 ((1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑁)) → (1st ‘(1st𝑇)):(1...𝑁)⟶(0..^𝐾))
11423, 113syl 17 . . . . . 6 (𝜑 → (1st ‘(1st𝑇)):(1...𝑁)⟶(0..^𝐾))
115114ffvelrnda 6320 . . . . 5 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) ∈ (0..^𝐾))
116 elfzonn0 12460 . . . . 5 (((1st ‘(1st𝑇))‘𝑛) ∈ (0..^𝐾) → ((1st ‘(1st𝑇))‘𝑛) ∈ ℕ0)
117115, 116syl 17 . . . 4 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) ∈ ℕ0)
118117nn0cnd 11304 . . 3 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) ∈ ℂ)
119 pncan1 10405 . . 3 (((1st ‘(1st𝑇))‘𝑛) ∈ ℂ → ((((1st ‘(1st𝑇))‘𝑛) + 1) − 1) = ((1st ‘(1st𝑇))‘𝑛))
120118, 119syl 17 . 2 ((𝜑𝑛 ∈ (1...𝑁)) → ((((1st ‘(1st𝑇))‘𝑛) + 1) − 1) = ((1st ‘(1st𝑇))‘𝑛))
1212, 11, 14, 25, 112, 110, 120offveq 6878 1 (𝜑 → ((𝐹‘(𝑁 − 1)) ∘𝑓 − ((1...𝑁) × {1})) = (1st ‘(1st𝑇)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  {cab 2607  {crab 2911  Vcvv 3189  csb 3518  cun 3557  c0 3896  ifcif 4063  {csn 4153   class class class wbr 4618  cmpt 4678   × cxp 5077  cima 5082   Fn wfn 5847  wf 5848  ontowfo 5850  1-1-ontowf1o 5851  cfv 5852  (class class class)co 6610  𝑓 cof 6855  1st c1st 7118  2nd c2nd 7119  𝑚 cmap 7809  cc 9885  0cc0 9887  1c1 9888   + caddc 9890   < clt 10025  cle 10026  cmin 10217  cn 10971  0cn0 11243  cz 11328  ...cfz 12275  ..^cfzo 12413
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6909  ax-cnex 9943  ax-resscn 9944  ax-1cn 9945  ax-icn 9946  ax-addcl 9947  ax-addrcl 9948  ax-mulcl 9949  ax-mulrcl 9950  ax-mulcom 9951  ax-addass 9952  ax-mulass 9953  ax-distr 9954  ax-i2m1 9955  ax-1ne0 9956  ax-1rid 9957  ax-rnegex 9958  ax-rrecex 9959  ax-cnre 9960  ax-pre-lttri 9961  ax-pre-lttrn 9962  ax-pre-ltadd 9963  ax-pre-mulgt0 9964
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3191  df-sbc 3422  df-csb 3519  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-pss 3575  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5644  df-ord 5690  df-on 5691  df-lim 5692  df-suc 5693  df-iota 5815  df-fun 5854  df-fn 5855  df-f 5856  df-f1 5857  df-fo 5858  df-f1o 5859  df-fv 5860  df-riota 6571  df-ov 6613  df-oprab 6614  df-mpt2 6615  df-of 6857  df-om 7020  df-1st 7120  df-2nd 7121  df-wrecs 7359  df-recs 7420  df-rdg 7458  df-er 7694  df-map 7811  df-en 7907  df-dom 7908  df-sdom 7909  df-pnf 10027  df-mnf 10028  df-xr 10029  df-ltxr 10030  df-le 10031  df-sub 10219  df-neg 10220  df-nn 10972  df-n0 11244  df-z 11329  df-uz 11639  df-fz 12276  df-fzo 12414
This theorem is referenced by:  poimirlem11  33079  poimirlem13  33081
  Copyright terms: Public domain W3C validator