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 35714
Description: Lemma for poimir 35737 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..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}
poimirlem22.1 (𝜑𝐹:(0...(𝑁 − 1))⟶((0...𝐾) ↑m (1...𝑁)))
poimirlem12.2 (𝜑𝑇𝑆)
poimirlem11.3 (𝜑 → (2nd𝑇) = 0)
Assertion
Ref Expression
poimirlem10 (𝜑 → ((𝐹‘(𝑁 − 1)) ∘f − ((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 ovexd 7290 . 2 (𝜑 → (1...𝑁) ∈ V)
2 poimirlem22.1 . . . 4 (𝜑𝐹:(0...(𝑁 − 1))⟶((0...𝐾) ↑m (1...𝑁)))
3 poimir.0 . . . . . 6 (𝜑𝑁 ∈ ℕ)
4 nnm1nn0 12204 . . . . . 6 (𝑁 ∈ ℕ → (𝑁 − 1) ∈ ℕ0)
53, 4syl 17 . . . . 5 (𝜑 → (𝑁 − 1) ∈ ℕ0)
6 nn0fz0 13283 . . . . 5 ((𝑁 − 1) ∈ ℕ0 ↔ (𝑁 − 1) ∈ (0...(𝑁 − 1)))
75, 6sylib 217 . . . 4 (𝜑 → (𝑁 − 1) ∈ (0...(𝑁 − 1)))
82, 7ffvelrnd 6944 . . 3 (𝜑 → (𝐹‘(𝑁 − 1)) ∈ ((0...𝐾) ↑m (1...𝑁)))
9 elmapfn 8611 . . 3 ((𝐹‘(𝑁 − 1)) ∈ ((0...𝐾) ↑m (1...𝑁)) → (𝐹‘(𝑁 − 1)) Fn (1...𝑁))
108, 9syl 17 . 2 (𝜑 → (𝐹‘(𝑁 − 1)) Fn (1...𝑁))
11 1ex 10902 . . 3 1 ∈ V
12 fnconstg 6646 . . 3 (1 ∈ V → ((1...𝑁) × {1}) Fn (1...𝑁))
1311, 12mp1i 13 . 2 (𝜑 → ((1...𝑁) × {1}) Fn (1...𝑁))
14 poimirlem12.2 . . . . . 6 (𝜑𝑇𝑆)
15 elrabi 3611 . . . . . . 7 (𝑇 ∈ {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))} → 𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)))
16 poimirlem22.s . . . . . . 7 𝑆 = {𝑡 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∣ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))}
1715, 16eleq2s 2857 . . . . . 6 (𝑇𝑆𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)))
1814, 17syl 17 . . . . 5 (𝜑𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)))
19 xp1st 7836 . . . . 5 (𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) → (1st𝑇) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}))
2018, 19syl 17 . . . 4 (𝜑 → (1st𝑇) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}))
21 xp1st 7836 . . . 4 ((1st𝑇) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁)))
2220, 21syl 17 . . 3 (𝜑 → (1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁)))
23 elmapfn 8611 . . 3 ((1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁)) → (1st ‘(1st𝑇)) Fn (1...𝑁))
2422, 23syl 17 . 2 (𝜑 → (1st ‘(1st𝑇)) Fn (1...𝑁))
25 fveq2 6756 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (2nd𝑡) = (2nd𝑇))
2625breq2d 5082 . . . . . . . . . . . . . 14 (𝑡 = 𝑇 → (𝑦 < (2nd𝑡) ↔ 𝑦 < (2nd𝑇)))
2726ifbid 4479 . . . . . . . . . . . . 13 (𝑡 = 𝑇 → if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)))
2827csbeq1d 3832 . . . . . . . . . . . 12 (𝑡 = 𝑇if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))))
29 2fveq3 6761 . . . . . . . . . . . . . 14 (𝑡 = 𝑇 → (1st ‘(1st𝑡)) = (1st ‘(1st𝑇)))
30 2fveq3 6761 . . . . . . . . . . . . . . . . 17 (𝑡 = 𝑇 → (2nd ‘(1st𝑡)) = (2nd ‘(1st𝑇)))
3130imaeq1d 5957 . . . . . . . . . . . . . . . 16 (𝑡 = 𝑇 → ((2nd ‘(1st𝑡)) “ (1...𝑗)) = ((2nd ‘(1st𝑇)) “ (1...𝑗)))
3231xpeq1d 5609 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) = (((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}))
3330imaeq1d 5957 . . . . . . . . . . . . . . . 16 (𝑡 = 𝑇 → ((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)))
3433xpeq1d 5609 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))
3532, 34uneq12d 4094 . . . . . . . . . . . . . 14 (𝑡 = 𝑇 → ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))
3629, 35oveq12d 7273 . . . . . . . . . . . . 13 (𝑡 = 𝑇 → ((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))
3736csbeq2dv 3835 . . . . . . . . . . . 12 (𝑡 = 𝑇if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))
3828, 37eqtrd 2778 . . . . . . . . . . 11 (𝑡 = 𝑇if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))
3938mpteq2dv 5172 . . . . . . . . . 10 (𝑡 = 𝑇 → (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))
4039eqeq2d 2749 . . . . . . . . 9 (𝑡 = 𝑇 → (𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})))) ↔ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))))
4140, 16elrab2 3620 . . . . . . . 8 (𝑇𝑆 ↔ (𝑇 ∈ ((((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) × (0...𝑁)) ∧ 𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))))
4241simprbi 496 . . . . . . 7 (𝑇𝑆𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))
4314, 42syl 17 . . . . . 6 (𝜑𝐹 = (𝑦 ∈ (0...(𝑁 − 1)) ↦ if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))))
44 poimirlem11.3 . . . . . . . . . . . 12 (𝜑 → (2nd𝑇) = 0)
45 breq12 5075 . . . . . . . . . . . 12 ((𝑦 = (𝑁 − 1) ∧ (2nd𝑇) = 0) → (𝑦 < (2nd𝑇) ↔ (𝑁 − 1) < 0))
4644, 45sylan2 592 . . . . . . . . . . 11 ((𝑦 = (𝑁 − 1) ∧ 𝜑) → (𝑦 < (2nd𝑇) ↔ (𝑁 − 1) < 0))
4746ancoms 458 . . . . . . . . . 10 ((𝜑𝑦 = (𝑁 − 1)) → (𝑦 < (2nd𝑇) ↔ (𝑁 − 1) < 0))
48 oveq1 7262 . . . . . . . . . . 11 (𝑦 = (𝑁 − 1) → (𝑦 + 1) = ((𝑁 − 1) + 1))
493nncnd 11919 . . . . . . . . . . . 12 (𝜑𝑁 ∈ ℂ)
50 npcan1 11330 . . . . . . . . . . . 12 (𝑁 ∈ ℂ → ((𝑁 − 1) + 1) = 𝑁)
5149, 50syl 17 . . . . . . . . . . 11 (𝜑 → ((𝑁 − 1) + 1) = 𝑁)
5248, 51sylan9eqr 2801 . . . . . . . . . 10 ((𝜑𝑦 = (𝑁 − 1)) → (𝑦 + 1) = 𝑁)
5347, 52ifbieq2d 4482 . . . . . . . . 9 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) = if((𝑁 − 1) < 0, 𝑦, 𝑁))
545nn0ge0d 12226 . . . . . . . . . . . 12 (𝜑 → 0 ≤ (𝑁 − 1))
55 0red 10909 . . . . . . . . . . . . 13 (𝜑 → 0 ∈ ℝ)
565nn0red 12224 . . . . . . . . . . . . 13 (𝜑 → (𝑁 − 1) ∈ ℝ)
5755, 56lenltd 11051 . . . . . . . . . . . 12 (𝜑 → (0 ≤ (𝑁 − 1) ↔ ¬ (𝑁 − 1) < 0))
5854, 57mpbid 231 . . . . . . . . . . 11 (𝜑 → ¬ (𝑁 − 1) < 0)
5958iffalsed 4467 . . . . . . . . . 10 (𝜑 → if((𝑁 − 1) < 0, 𝑦, 𝑁) = 𝑁)
6059adantr 480 . . . . . . . . 9 ((𝜑𝑦 = (𝑁 − 1)) → if((𝑁 − 1) < 0, 𝑦, 𝑁) = 𝑁)
6153, 60eqtrd 2778 . . . . . . . 8 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) = 𝑁)
6261csbeq1d 3832 . . . . . . 7 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = 𝑁 / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))
63 oveq2 7263 . . . . . . . . . . . . . . 15 (𝑗 = 𝑁 → (1...𝑗) = (1...𝑁))
6463imaeq2d 5958 . . . . . . . . . . . . . 14 (𝑗 = 𝑁 → ((2nd ‘(1st𝑇)) “ (1...𝑗)) = ((2nd ‘(1st𝑇)) “ (1...𝑁)))
65 xp2nd 7837 . . . . . . . . . . . . . . . . 17 ((1st𝑇) ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) → (2nd ‘(1st𝑇)) ∈ {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})
6620, 65syl 17 . . . . . . . . . . . . . . . 16 (𝜑 → (2nd ‘(1st𝑇)) ∈ {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})
67 fvex 6769 . . . . . . . . . . . . . . . . 17 (2nd ‘(1st𝑇)) ∈ V
68 f1oeq1 6688 . . . . . . . . . . . . . . . . 17 (𝑓 = (2nd ‘(1st𝑇)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁)))
6967, 68elab 3602 . . . . . . . . . . . . . . . 16 ((2nd ‘(1st𝑇)) ∈ {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ↔ (2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁))
7066, 69sylib 217 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁))
71 f1ofo 6707 . . . . . . . . . . . . . . 15 ((2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → (2nd ‘(1st𝑇)):(1...𝑁)–onto→(1...𝑁))
72 foima 6677 . . . . . . . . . . . . . . 15 ((2nd ‘(1st𝑇)):(1...𝑁)–onto→(1...𝑁) → ((2nd ‘(1st𝑇)) “ (1...𝑁)) = (1...𝑁))
7370, 71, 723syl 18 . . . . . . . . . . . . . 14 (𝜑 → ((2nd ‘(1st𝑇)) “ (1...𝑁)) = (1...𝑁))
7464, 73sylan9eqr 2801 . . . . . . . . . . . . 13 ((𝜑𝑗 = 𝑁) → ((2nd ‘(1st𝑇)) “ (1...𝑗)) = (1...𝑁))
7574xpeq1d 5609 . . . . . . . . . . . 12 ((𝜑𝑗 = 𝑁) → (((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) = ((1...𝑁) × {1}))
76 oveq1 7262 . . . . . . . . . . . . . . . . 17 (𝑗 = 𝑁 → (𝑗 + 1) = (𝑁 + 1))
7776oveq1d 7270 . . . . . . . . . . . . . . . 16 (𝑗 = 𝑁 → ((𝑗 + 1)...𝑁) = ((𝑁 + 1)...𝑁))
783nnred 11918 . . . . . . . . . . . . . . . . . 18 (𝜑𝑁 ∈ ℝ)
7978ltp1d 11835 . . . . . . . . . . . . . . . . 17 (𝜑𝑁 < (𝑁 + 1))
803nnzd 12354 . . . . . . . . . . . . . . . . . . 19 (𝜑𝑁 ∈ ℤ)
8180peano2zd 12358 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝑁 + 1) ∈ ℤ)
82 fzn 13201 . . . . . . . . . . . . . . . . . 18 (((𝑁 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
8381, 80, 82syl2anc 583 . . . . . . . . . . . . . . . . 17 (𝜑 → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
8479, 83mpbid 231 . . . . . . . . . . . . . . . 16 (𝜑 → ((𝑁 + 1)...𝑁) = ∅)
8577, 84sylan9eqr 2801 . . . . . . . . . . . . . . 15 ((𝜑𝑗 = 𝑁) → ((𝑗 + 1)...𝑁) = ∅)
8685imaeq2d 5958 . . . . . . . . . . . . . 14 ((𝜑𝑗 = 𝑁) → ((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st𝑇)) “ ∅))
8786xpeq1d 5609 . . . . . . . . . . . . 13 ((𝜑𝑗 = 𝑁) → (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd ‘(1st𝑇)) “ ∅) × {0}))
88 ima0 5974 . . . . . . . . . . . . . . 15 ((2nd ‘(1st𝑇)) “ ∅) = ∅
8988xpeq1i 5606 . . . . . . . . . . . . . 14 (((2nd ‘(1st𝑇)) “ ∅) × {0}) = (∅ × {0})
90 0xp 5675 . . . . . . . . . . . . . 14 (∅ × {0}) = ∅
9189, 90eqtri 2766 . . . . . . . . . . . . 13 (((2nd ‘(1st𝑇)) “ ∅) × {0}) = ∅
9287, 91eqtrdi 2795 . . . . . . . . . . . 12 ((𝜑𝑗 = 𝑁) → (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = ∅)
9375, 92uneq12d 4094 . . . . . . . . . . 11 ((𝜑𝑗 = 𝑁) → ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = (((1...𝑁) × {1}) ∪ ∅))
94 un0 4321 . . . . . . . . . . 11 (((1...𝑁) × {1}) ∪ ∅) = ((1...𝑁) × {1})
9593, 94eqtrdi 2795 . . . . . . . . . 10 ((𝜑𝑗 = 𝑁) → ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((1...𝑁) × {1}))
9695oveq2d 7271 . . . . . . . . 9 ((𝜑𝑗 = 𝑁) → ((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
973, 96csbied 3866 . . . . . . . 8 (𝜑𝑁 / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
9897adantr 480 . . . . . . 7 ((𝜑𝑦 = (𝑁 − 1)) → 𝑁 / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
9962, 98eqtrd 2778 . . . . . 6 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
100 ovexd 7290 . . . . . 6 (𝜑 → ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})) ∈ V)
10143, 99, 7, 100fvmptd 6864 . . . . 5 (𝜑 → (𝐹‘(𝑁 − 1)) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
102101fveq1d 6758 . . . 4 (𝜑 → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1}))‘𝑛))
103102adantr 480 . . 3 ((𝜑𝑛 ∈ (1...𝑁)) → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1}))‘𝑛))
104 inidm 4149 . . . 4 ((1...𝑁) ∩ (1...𝑁)) = (1...𝑁)
105 eqidd 2739 . . . 4 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) = ((1st ‘(1st𝑇))‘𝑛))
10611fvconst2 7061 . . . . 5 (𝑛 ∈ (1...𝑁) → (((1...𝑁) × {1})‘𝑛) = 1)
107106adantl 481 . . . 4 ((𝜑𝑛 ∈ (1...𝑁)) → (((1...𝑁) × {1})‘𝑛) = 1)
10824, 13, 1, 1, 104, 105, 107ofval 7522 . . 3 ((𝜑𝑛 ∈ (1...𝑁)) → (((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1}))‘𝑛) = (((1st ‘(1st𝑇))‘𝑛) + 1))
109103, 108eqtrd 2778 . 2 ((𝜑𝑛 ∈ (1...𝑁)) → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st𝑇))‘𝑛) + 1))
110 elmapi 8595 . . . . . . 7 ((1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁)) → (1st ‘(1st𝑇)):(1...𝑁)⟶(0..^𝐾))
11122, 110syl 17 . . . . . 6 (𝜑 → (1st ‘(1st𝑇)):(1...𝑁)⟶(0..^𝐾))
112111ffvelrnda 6943 . . . . 5 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) ∈ (0..^𝐾))
113 elfzonn0 13360 . . . . 5 (((1st ‘(1st𝑇))‘𝑛) ∈ (0..^𝐾) → ((1st ‘(1st𝑇))‘𝑛) ∈ ℕ0)
114112, 113syl 17 . . . 4 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) ∈ ℕ0)
115114nn0cnd 12225 . . 3 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) ∈ ℂ)
116 pncan1 11329 . . 3 (((1st ‘(1st𝑇))‘𝑛) ∈ ℂ → ((((1st ‘(1st𝑇))‘𝑛) + 1) − 1) = ((1st ‘(1st𝑇))‘𝑛))
117115, 116syl 17 . 2 ((𝜑𝑛 ∈ (1...𝑁)) → ((((1st ‘(1st𝑇))‘𝑛) + 1) − 1) = ((1st ‘(1st𝑇))‘𝑛))
1181, 10, 13, 24, 109, 107, 117offveq 7535 1 (𝜑 → ((𝐹‘(𝑁 − 1)) ∘f − ((1...𝑁) × {1})) = (1st ‘(1st𝑇)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {cab 2715  {crab 3067  Vcvv 3422  csb 3828  cun 3881  c0 4253  ifcif 4456  {csn 4558   class class class wbr 5070  cmpt 5153   × cxp 5578  cima 5583   Fn wfn 6413  wf 6414  ontowfo 6416  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  f cof 7509  1st c1st 7802  2nd c2nd 7803  m cmap 8573  cc 10800  0cc0 10802  1c1 10803   + caddc 10805   < clt 10940  cle 10941  cmin 11135  cn 11903  0cn0 12163  cz 12249  ...cfz 13168  ..^cfzo 13311
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-fzo 13312
This theorem is referenced by:  poimirlem11  35715  poimirlem13  35717
  Copyright terms: Public domain W3C validator