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 35524
Description: Lemma for poimir 35547 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 7248 . 2 (𝜑 → (1...𝑁) ∈ V)
2 poimirlem22.1 . . . 4 (𝜑𝐹:(0...(𝑁 − 1))⟶((0...𝐾) ↑m (1...𝑁)))
3 poimir.0 . . . . . 6 (𝜑𝑁 ∈ ℕ)
4 nnm1nn0 12131 . . . . . 6 (𝑁 ∈ ℕ → (𝑁 − 1) ∈ ℕ0)
53, 4syl 17 . . . . 5 (𝜑 → (𝑁 − 1) ∈ ℕ0)
6 nn0fz0 13210 . . . . 5 ((𝑁 − 1) ∈ ℕ0 ↔ (𝑁 − 1) ∈ (0...(𝑁 − 1)))
75, 6sylib 221 . . . 4 (𝜑 → (𝑁 − 1) ∈ (0...(𝑁 − 1)))
82, 7ffvelrnd 6905 . . 3 (𝜑 → (𝐹‘(𝑁 − 1)) ∈ ((0...𝐾) ↑m (1...𝑁)))
9 elmapfn 8546 . . 3 ((𝐹‘(𝑁 − 1)) ∈ ((0...𝐾) ↑m (1...𝑁)) → (𝐹‘(𝑁 − 1)) Fn (1...𝑁))
108, 9syl 17 . 2 (𝜑 → (𝐹‘(𝑁 − 1)) Fn (1...𝑁))
11 1ex 10829 . . 3 1 ∈ V
12 fnconstg 6607 . . 3 (1 ∈ V → ((1...𝑁) × {1}) Fn (1...𝑁))
1311, 12mp1i 13 . 2 (𝜑 → ((1...𝑁) × {1}) Fn (1...𝑁))
14 poimirlem12.2 . . . . . 6 (𝜑𝑇𝑆)
15 elrabi 3596 . . . . . . 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 2856 . . . . . 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 7793 . . . . 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 7793 . . . 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 8546 . . 3 ((1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁)) → (1st ‘(1st𝑇)) Fn (1...𝑁))
2422, 23syl 17 . 2 (𝜑 → (1st ‘(1st𝑇)) Fn (1...𝑁))
25 fveq2 6717 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (2nd𝑡) = (2nd𝑇))
2625breq2d 5065 . . . . . . . . . . . . . 14 (𝑡 = 𝑇 → (𝑦 < (2nd𝑡) ↔ 𝑦 < (2nd𝑇)))
2726ifbid 4462 . . . . . . . . . . . . 13 (𝑡 = 𝑇 → if(𝑦 < (2nd𝑡), 𝑦, (𝑦 + 1)) = if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)))
2827csbeq1d 3815 . . . . . . . . . . . 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 6722 . . . . . . . . . . . . . 14 (𝑡 = 𝑇 → (1st ‘(1st𝑡)) = (1st ‘(1st𝑇)))
30 2fveq3 6722 . . . . . . . . . . . . . . . . 17 (𝑡 = 𝑇 → (2nd ‘(1st𝑡)) = (2nd ‘(1st𝑇)))
3130imaeq1d 5928 . . . . . . . . . . . . . . . 16 (𝑡 = 𝑇 → ((2nd ‘(1st𝑡)) “ (1...𝑗)) = ((2nd ‘(1st𝑇)) “ (1...𝑗)))
3231xpeq1d 5580 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) = (((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}))
3330imaeq1d 5928 . . . . . . . . . . . . . . . 16 (𝑡 = 𝑇 → ((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)))
3433xpeq1d 5580 . . . . . . . . . . . . . . 15 (𝑡 = 𝑇 → (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))
3532, 34uneq12d 4078 . . . . . . . . . . . . . 14 (𝑡 = 𝑇 → ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})))
3629, 35oveq12d 7231 . . . . . . . . . . . . 13 (𝑡 = 𝑇 → ((1st ‘(1st𝑡)) ∘f + ((((2nd ‘(1st𝑡)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑡)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))))
3736csbeq2dv 3818 . . . . . . . . . . . 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 2777 . . . . . . . . . . 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 5151 . . . . . . . . . 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 2748 . . . . . . . . 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 3605 . . . . . . . 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 500 . . . . . . 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 5058 . . . . . . . . . . . 12 ((𝑦 = (𝑁 − 1) ∧ (2nd𝑇) = 0) → (𝑦 < (2nd𝑇) ↔ (𝑁 − 1) < 0))
4644, 45sylan2 596 . . . . . . . . . . 11 ((𝑦 = (𝑁 − 1) ∧ 𝜑) → (𝑦 < (2nd𝑇) ↔ (𝑁 − 1) < 0))
4746ancoms 462 . . . . . . . . . 10 ((𝜑𝑦 = (𝑁 − 1)) → (𝑦 < (2nd𝑇) ↔ (𝑁 − 1) < 0))
48 oveq1 7220 . . . . . . . . . . 11 (𝑦 = (𝑁 − 1) → (𝑦 + 1) = ((𝑁 − 1) + 1))
493nncnd 11846 . . . . . . . . . . . 12 (𝜑𝑁 ∈ ℂ)
50 npcan1 11257 . . . . . . . . . . . 12 (𝑁 ∈ ℂ → ((𝑁 − 1) + 1) = 𝑁)
5149, 50syl 17 . . . . . . . . . . 11 (𝜑 → ((𝑁 − 1) + 1) = 𝑁)
5248, 51sylan9eqr 2800 . . . . . . . . . 10 ((𝜑𝑦 = (𝑁 − 1)) → (𝑦 + 1) = 𝑁)
5347, 52ifbieq2d 4465 . . . . . . . . 9 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) = if((𝑁 − 1) < 0, 𝑦, 𝑁))
545nn0ge0d 12153 . . . . . . . . . . . 12 (𝜑 → 0 ≤ (𝑁 − 1))
55 0red 10836 . . . . . . . . . . . . 13 (𝜑 → 0 ∈ ℝ)
565nn0red 12151 . . . . . . . . . . . . 13 (𝜑 → (𝑁 − 1) ∈ ℝ)
5755, 56lenltd 10978 . . . . . . . . . . . 12 (𝜑 → (0 ≤ (𝑁 − 1) ↔ ¬ (𝑁 − 1) < 0))
5854, 57mpbid 235 . . . . . . . . . . 11 (𝜑 → ¬ (𝑁 − 1) < 0)
5958iffalsed 4450 . . . . . . . . . 10 (𝜑 → if((𝑁 − 1) < 0, 𝑦, 𝑁) = 𝑁)
6059adantr 484 . . . . . . . . 9 ((𝜑𝑦 = (𝑁 − 1)) → if((𝑁 − 1) < 0, 𝑦, 𝑁) = 𝑁)
6153, 60eqtrd 2777 . . . . . . . 8 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) = 𝑁)
6261csbeq1d 3815 . . . . . . 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 7221 . . . . . . . . . . . . . . 15 (𝑗 = 𝑁 → (1...𝑗) = (1...𝑁))
6463imaeq2d 5929 . . . . . . . . . . . . . 14 (𝑗 = 𝑁 → ((2nd ‘(1st𝑇)) “ (1...𝑗)) = ((2nd ‘(1st𝑇)) “ (1...𝑁)))
65 xp2nd 7794 . . . . . . . . . . . . . . . . 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 6730 . . . . . . . . . . . . . . . . 17 (2nd ‘(1st𝑇)) ∈ V
68 f1oeq1 6649 . . . . . . . . . . . . . . . . 17 (𝑓 = (2nd ‘(1st𝑇)) → (𝑓:(1...𝑁)–1-1-onto→(1...𝑁) ↔ (2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁)))
6967, 68elab 3587 . . . . . . . . . . . . . . . 16 ((2nd ‘(1st𝑇)) ∈ {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)} ↔ (2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁))
7066, 69sylib 221 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁))
71 f1ofo 6668 . . . . . . . . . . . . . . 15 ((2nd ‘(1st𝑇)):(1...𝑁)–1-1-onto→(1...𝑁) → (2nd ‘(1st𝑇)):(1...𝑁)–onto→(1...𝑁))
72 foima 6638 . . . . . . . . . . . . . . 15 ((2nd ‘(1st𝑇)):(1...𝑁)–onto→(1...𝑁) → ((2nd ‘(1st𝑇)) “ (1...𝑁)) = (1...𝑁))
7370, 71, 723syl 18 . . . . . . . . . . . . . 14 (𝜑 → ((2nd ‘(1st𝑇)) “ (1...𝑁)) = (1...𝑁))
7464, 73sylan9eqr 2800 . . . . . . . . . . . . 13 ((𝜑𝑗 = 𝑁) → ((2nd ‘(1st𝑇)) “ (1...𝑗)) = (1...𝑁))
7574xpeq1d 5580 . . . . . . . . . . . 12 ((𝜑𝑗 = 𝑁) → (((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) = ((1...𝑁) × {1}))
76 oveq1 7220 . . . . . . . . . . . . . . . . 17 (𝑗 = 𝑁 → (𝑗 + 1) = (𝑁 + 1))
7776oveq1d 7228 . . . . . . . . . . . . . . . 16 (𝑗 = 𝑁 → ((𝑗 + 1)...𝑁) = ((𝑁 + 1)...𝑁))
783nnred 11845 . . . . . . . . . . . . . . . . . 18 (𝜑𝑁 ∈ ℝ)
7978ltp1d 11762 . . . . . . . . . . . . . . . . 17 (𝜑𝑁 < (𝑁 + 1))
803nnzd 12281 . . . . . . . . . . . . . . . . . . 19 (𝜑𝑁 ∈ ℤ)
8180peano2zd 12285 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝑁 + 1) ∈ ℤ)
82 fzn 13128 . . . . . . . . . . . . . . . . . 18 (((𝑁 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
8381, 80, 82syl2anc 587 . . . . . . . . . . . . . . . . 17 (𝜑 → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
8479, 83mpbid 235 . . . . . . . . . . . . . . . 16 (𝜑 → ((𝑁 + 1)...𝑁) = ∅)
8577, 84sylan9eqr 2800 . . . . . . . . . . . . . . 15 ((𝜑𝑗 = 𝑁) → ((𝑗 + 1)...𝑁) = ∅)
8685imaeq2d 5929 . . . . . . . . . . . . . 14 ((𝜑𝑗 = 𝑁) → ((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) = ((2nd ‘(1st𝑇)) “ ∅))
8786xpeq1d 5580 . . . . . . . . . . . . 13 ((𝜑𝑗 = 𝑁) → (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = (((2nd ‘(1st𝑇)) “ ∅) × {0}))
88 ima0 5945 . . . . . . . . . . . . . . 15 ((2nd ‘(1st𝑇)) “ ∅) = ∅
8988xpeq1i 5577 . . . . . . . . . . . . . 14 (((2nd ‘(1st𝑇)) “ ∅) × {0}) = (∅ × {0})
90 0xp 5646 . . . . . . . . . . . . . 14 (∅ × {0}) = ∅
9189, 90eqtri 2765 . . . . . . . . . . . . 13 (((2nd ‘(1st𝑇)) “ ∅) × {0}) = ∅
9287, 91eqtrdi 2794 . . . . . . . . . . . 12 ((𝜑𝑗 = 𝑁) → (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}) = ∅)
9375, 92uneq12d 4078 . . . . . . . . . . 11 ((𝜑𝑗 = 𝑁) → ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = (((1...𝑁) × {1}) ∪ ∅))
94 un0 4305 . . . . . . . . . . 11 (((1...𝑁) × {1}) ∪ ∅) = ((1...𝑁) × {1})
9593, 94eqtrdi 2794 . . . . . . . . . 10 ((𝜑𝑗 = 𝑁) → ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0})) = ((1...𝑁) × {1}))
9695oveq2d 7229 . . . . . . . . 9 ((𝜑𝑗 = 𝑁) → ((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
973, 96csbied 3849 . . . . . . . 8 (𝜑𝑁 / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
9897adantr 484 . . . . . . 7 ((𝜑𝑦 = (𝑁 − 1)) → 𝑁 / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
9962, 98eqtrd 2777 . . . . . 6 ((𝜑𝑦 = (𝑁 − 1)) → if(𝑦 < (2nd𝑇), 𝑦, (𝑦 + 1)) / 𝑗((1st ‘(1st𝑇)) ∘f + ((((2nd ‘(1st𝑇)) “ (1...𝑗)) × {1}) ∪ (((2nd ‘(1st𝑇)) “ ((𝑗 + 1)...𝑁)) × {0}))) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
100 ovexd 7248 . . . . . 6 (𝜑 → ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})) ∈ V)
10143, 99, 7, 100fvmptd 6825 . . . . 5 (𝜑 → (𝐹‘(𝑁 − 1)) = ((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1})))
102101fveq1d 6719 . . . 4 (𝜑 → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1}))‘𝑛))
103102adantr 484 . . 3 ((𝜑𝑛 ∈ (1...𝑁)) → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1}))‘𝑛))
104 inidm 4133 . . . 4 ((1...𝑁) ∩ (1...𝑁)) = (1...𝑁)
105 eqidd 2738 . . . 4 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) = ((1st ‘(1st𝑇))‘𝑛))
10611fvconst2 7019 . . . . 5 (𝑛 ∈ (1...𝑁) → (((1...𝑁) × {1})‘𝑛) = 1)
107106adantl 485 . . . 4 ((𝜑𝑛 ∈ (1...𝑁)) → (((1...𝑁) × {1})‘𝑛) = 1)
10824, 13, 1, 1, 104, 105, 107ofval 7479 . . 3 ((𝜑𝑛 ∈ (1...𝑁)) → (((1st ‘(1st𝑇)) ∘f + ((1...𝑁) × {1}))‘𝑛) = (((1st ‘(1st𝑇))‘𝑛) + 1))
109103, 108eqtrd 2777 . 2 ((𝜑𝑛 ∈ (1...𝑁)) → ((𝐹‘(𝑁 − 1))‘𝑛) = (((1st ‘(1st𝑇))‘𝑛) + 1))
110 elmapi 8530 . . . . . . 7 ((1st ‘(1st𝑇)) ∈ ((0..^𝐾) ↑m (1...𝑁)) → (1st ‘(1st𝑇)):(1...𝑁)⟶(0..^𝐾))
11122, 110syl 17 . . . . . 6 (𝜑 → (1st ‘(1st𝑇)):(1...𝑁)⟶(0..^𝐾))
112111ffvelrnda 6904 . . . . 5 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) ∈ (0..^𝐾))
113 elfzonn0 13287 . . . . 5 (((1st ‘(1st𝑇))‘𝑛) ∈ (0..^𝐾) → ((1st ‘(1st𝑇))‘𝑛) ∈ ℕ0)
114112, 113syl 17 . . . 4 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) ∈ ℕ0)
115114nn0cnd 12152 . . 3 ((𝜑𝑛 ∈ (1...𝑁)) → ((1st ‘(1st𝑇))‘𝑛) ∈ ℂ)
116 pncan1 11256 . . 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 7492 1 (𝜑 → ((𝐹‘(𝑁 − 1)) ∘f − ((1...𝑁) × {1})) = (1st ‘(1st𝑇)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399   = wceq 1543  wcel 2110  {cab 2714  {crab 3065  Vcvv 3408  csb 3811  cun 3864  c0 4237  ifcif 4439  {csn 4541   class class class wbr 5053  cmpt 5135   × cxp 5549  cima 5554   Fn wfn 6375  wf 6376  ontowfo 6378  1-1-ontowf1o 6379  cfv 6380  (class class class)co 7213  f cof 7467  1st c1st 7759  2nd c2nd 7760  m cmap 8508  cc 10727  0cc0 10729  1c1 10730   + caddc 10732   < clt 10867  cle 10868  cmin 11062  cn 11830  0cn0 12090  cz 12176  ...cfz 13095  ..^cfzo 13238
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-cnex 10785  ax-resscn 10786  ax-1cn 10787  ax-icn 10788  ax-addcl 10789  ax-addrcl 10790  ax-mulcl 10791  ax-mulrcl 10792  ax-mulcom 10793  ax-addass 10794  ax-mulass 10795  ax-distr 10796  ax-i2m1 10797  ax-1ne0 10798  ax-1rid 10799  ax-rnegex 10800  ax-rrecex 10801  ax-cnre 10802  ax-pre-lttri 10803  ax-pre-lttrn 10804  ax-pre-ltadd 10805  ax-pre-mulgt0 10806
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-pred 6160  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-riota 7170  df-ov 7216  df-oprab 7217  df-mpo 7218  df-of 7469  df-om 7645  df-1st 7761  df-2nd 7762  df-wrecs 8047  df-recs 8108  df-rdg 8146  df-er 8391  df-map 8510  df-en 8627  df-dom 8628  df-sdom 8629  df-pnf 10869  df-mnf 10870  df-xr 10871  df-ltxr 10872  df-le 10873  df-sub 11064  df-neg 11065  df-nn 11831  df-n0 12091  df-z 12177  df-uz 12439  df-fz 13096  df-fzo 13239
This theorem is referenced by:  poimirlem11  35525  poimirlem13  35527
  Copyright terms: Public domain W3C validator