Mathbox for Thierry Arnoux < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  psgnfzto1st Structured version   Visualization version   GIF version

Theorem psgnfzto1st 29186
 Description: The permutation sign for moving one element to the first position. (Contributed by Thierry Arnoux, 21-Aug-2020.)
Hypotheses
Ref Expression
psgnfzto1st.d 𝐷 = (1...𝑁)
psgnfzto1st.p 𝑃 = (𝑖𝐷 ↦ if(𝑖 = 1, 𝐼, if(𝑖𝐼, (𝑖 − 1), 𝑖)))
psgnfzto1st.g 𝐺 = (SymGrp‘𝐷)
psgnfzto1st.b 𝐵 = (Base‘𝐺)
psgnfzto1st.s 𝑆 = (pmSgn‘𝐷)
Assertion
Ref Expression
psgnfzto1st (𝐼𝐷 → (𝑆𝑃) = (-1↑(𝐼 + 1)))
Distinct variable groups:   𝐷,𝑖   𝑖,𝐼   𝑖,𝑁   𝐵,𝑖
Allowed substitution hints:   𝑃(𝑖)   𝑆(𝑖)   𝐺(𝑖)

Proof of Theorem psgnfzto1st
Dummy variables 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elfz1b 12279 . . . . 5 (𝐼 ∈ (1...𝑁) ↔ (𝐼 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝐼𝑁))
21biimpi 205 . . . 4 (𝐼 ∈ (1...𝑁) → (𝐼 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝐼𝑁))
3 psgnfzto1st.d . . . 4 𝐷 = (1...𝑁)
42, 3eleq2s 2706 . . 3 (𝐼𝐷 → (𝐼 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝐼𝑁))
5 3ancoma 1038 . . 3 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ ∧ 𝐼𝑁) ↔ (𝐼 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝐼𝑁))
64, 5sylibr 223 . 2 (𝐼𝐷 → (𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ ∧ 𝐼𝑁))
7 df-3an 1033 . . 3 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ ∧ 𝐼𝑁) ↔ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ) ∧ 𝐼𝑁))
8 breq1 4586 . . . . . 6 (𝑚 = 1 → (𝑚𝑁 ↔ 1 ≤ 𝑁))
9 id 22 . . . . . . . . . 10 (𝑚 = 1 → 𝑚 = 1)
10 breq2 4587 . . . . . . . . . . 11 (𝑚 = 1 → (𝑖𝑚𝑖 ≤ 1))
1110ifbid 4058 . . . . . . . . . 10 (𝑚 = 1 → if(𝑖𝑚, (𝑖 − 1), 𝑖) = if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))
129, 11ifeq12d 4056 . . . . . . . . 9 (𝑚 = 1 → if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)) = if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))
1312mpteq2dv 4673 . . . . . . . 8 (𝑚 = 1 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))))
1413fveq2d 6107 . . . . . . 7 (𝑚 = 1 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))))
15 oveq1 6556 . . . . . . . 8 (𝑚 = 1 → (𝑚 + 1) = (1 + 1))
1615oveq2d 6565 . . . . . . 7 (𝑚 = 1 → (-1↑(𝑚 + 1)) = (-1↑(1 + 1)))
1714, 16eqeq12d 2625 . . . . . 6 (𝑚 = 1 → ((𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1)) ↔ (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))) = (-1↑(1 + 1))))
188, 17imbi12d 333 . . . . 5 (𝑚 = 1 → ((𝑚𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1))) ↔ (1 ≤ 𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))) = (-1↑(1 + 1)))))
19 breq1 4586 . . . . . 6 (𝑚 = 𝑛 → (𝑚𝑁𝑛𝑁))
20 id 22 . . . . . . . . . 10 (𝑚 = 𝑛𝑚 = 𝑛)
21 breq2 4587 . . . . . . . . . . 11 (𝑚 = 𝑛 → (𝑖𝑚𝑖𝑛))
2221ifbid 4058 . . . . . . . . . 10 (𝑚 = 𝑛 → if(𝑖𝑚, (𝑖 − 1), 𝑖) = if(𝑖𝑛, (𝑖 − 1), 𝑖))
2320, 22ifeq12d 4056 . . . . . . . . 9 (𝑚 = 𝑛 → if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)) = if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))
2423mpteq2dv 4673 . . . . . . . 8 (𝑚 = 𝑛 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))
2524fveq2d 6107 . . . . . . 7 (𝑚 = 𝑛 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))))
26 oveq1 6556 . . . . . . . 8 (𝑚 = 𝑛 → (𝑚 + 1) = (𝑛 + 1))
2726oveq2d 6565 . . . . . . 7 (𝑚 = 𝑛 → (-1↑(𝑚 + 1)) = (-1↑(𝑛 + 1)))
2825, 27eqeq12d 2625 . . . . . 6 (𝑚 = 𝑛 → ((𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1)) ↔ (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1))))
2919, 28imbi12d 333 . . . . 5 (𝑚 = 𝑛 → ((𝑚𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1))) ↔ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))))
30 breq1 4586 . . . . . 6 (𝑚 = (𝑛 + 1) → (𝑚𝑁 ↔ (𝑛 + 1) ≤ 𝑁))
31 id 22 . . . . . . . . . 10 (𝑚 = (𝑛 + 1) → 𝑚 = (𝑛 + 1))
32 breq2 4587 . . . . . . . . . . 11 (𝑚 = (𝑛 + 1) → (𝑖𝑚𝑖 ≤ (𝑛 + 1)))
3332ifbid 4058 . . . . . . . . . 10 (𝑚 = (𝑛 + 1) → if(𝑖𝑚, (𝑖 − 1), 𝑖) = if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))
3431, 33ifeq12d 4056 . . . . . . . . 9 (𝑚 = (𝑛 + 1) → if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)) = if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))
3534mpteq2dv 4673 . . . . . . . 8 (𝑚 = (𝑛 + 1) → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))))
3635fveq2d 6107 . . . . . . 7 (𝑚 = (𝑛 + 1) → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))))
37 oveq1 6556 . . . . . . . 8 (𝑚 = (𝑛 + 1) → (𝑚 + 1) = ((𝑛 + 1) + 1))
3837oveq2d 6565 . . . . . . 7 (𝑚 = (𝑛 + 1) → (-1↑(𝑚 + 1)) = (-1↑((𝑛 + 1) + 1)))
3936, 38eqeq12d 2625 . . . . . 6 (𝑚 = (𝑛 + 1) → ((𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1)) ↔ (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))) = (-1↑((𝑛 + 1) + 1))))
4030, 39imbi12d 333 . . . . 5 (𝑚 = (𝑛 + 1) → ((𝑚𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1))) ↔ ((𝑛 + 1) ≤ 𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))) = (-1↑((𝑛 + 1) + 1)))))
41 breq1 4586 . . . . . 6 (𝑚 = 𝐼 → (𝑚𝑁𝐼𝑁))
42 id 22 . . . . . . . . . . 11 (𝑚 = 𝐼𝑚 = 𝐼)
43 breq2 4587 . . . . . . . . . . . 12 (𝑚 = 𝐼 → (𝑖𝑚𝑖𝐼))
4443ifbid 4058 . . . . . . . . . . 11 (𝑚 = 𝐼 → if(𝑖𝑚, (𝑖 − 1), 𝑖) = if(𝑖𝐼, (𝑖 − 1), 𝑖))
4542, 44ifeq12d 4056 . . . . . . . . . 10 (𝑚 = 𝐼 → if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)) = if(𝑖 = 1, 𝐼, if(𝑖𝐼, (𝑖 − 1), 𝑖)))
4645mpteq2dv 4673 . . . . . . . . 9 (𝑚 = 𝐼 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 𝐼, if(𝑖𝐼, (𝑖 − 1), 𝑖))))
47 psgnfzto1st.p . . . . . . . . 9 𝑃 = (𝑖𝐷 ↦ if(𝑖 = 1, 𝐼, if(𝑖𝐼, (𝑖 − 1), 𝑖)))
4846, 47syl6eqr 2662 . . . . . . . 8 (𝑚 = 𝐼 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = 𝑃)
4948fveq2d 6107 . . . . . . 7 (𝑚 = 𝐼 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (𝑆𝑃))
50 oveq1 6556 . . . . . . . 8 (𝑚 = 𝐼 → (𝑚 + 1) = (𝐼 + 1))
5150oveq2d 6565 . . . . . . 7 (𝑚 = 𝐼 → (-1↑(𝑚 + 1)) = (-1↑(𝐼 + 1)))
5249, 51eqeq12d 2625 . . . . . 6 (𝑚 = 𝐼 → ((𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1)) ↔ (𝑆𝑃) = (-1↑(𝐼 + 1))))
5341, 52imbi12d 333 . . . . 5 (𝑚 = 𝐼 → ((𝑚𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1))) ↔ (𝐼𝑁 → (𝑆𝑃) = (-1↑(𝐼 + 1)))))
54 fzfi 12633 . . . . . . . . 9 (1...𝑁) ∈ Fin
553, 54eqeltri 2684 . . . . . . . 8 𝐷 ∈ Fin
56 psgnfzto1st.s . . . . . . . . 9 𝑆 = (pmSgn‘𝐷)
5756psgnid 29178 . . . . . . . 8 (𝐷 ∈ Fin → (𝑆‘( I ↾ 𝐷)) = 1)
5855, 57ax-mp 5 . . . . . . 7 (𝑆‘( I ↾ 𝐷)) = 1
59 eqid 2610 . . . . . . . . 9 1 = 1
60 eqid 2610 . . . . . . . . . 10 (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))
613, 60fzto1st1 29183 . . . . . . . . 9 (1 = 1 → (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))) = ( I ↾ 𝐷))
6259, 61ax-mp 5 . . . . . . . 8 (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))) = ( I ↾ 𝐷)
6362fveq2i 6106 . . . . . . 7 (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))) = (𝑆‘( I ↾ 𝐷))
64 1p1e2 11011 . . . . . . . . 9 (1 + 1) = 2
6564oveq2i 6560 . . . . . . . 8 (-1↑(1 + 1)) = (-1↑2)
66 neg1sqe1 12821 . . . . . . . 8 (-1↑2) = 1
6765, 66eqtri 2632 . . . . . . 7 (-1↑(1 + 1)) = 1
6858, 63, 673eqtr4i 2642 . . . . . 6 (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))) = (-1↑(1 + 1))
69682a1i 12 . . . . 5 (𝑁 ∈ ℕ → (1 ≤ 𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))) = (-1↑(1 + 1))))
70 simplr 788 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛 ∈ ℕ)
7170peano2nnd 10914 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ∈ ℕ)
72 simpll 786 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑁 ∈ ℕ)
73 simpr 476 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ≤ 𝑁)
7471, 72, 733jca 1235 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → ((𝑛 + 1) ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ (𝑛 + 1) ≤ 𝑁))
75 elfz1b 12279 . . . . . . . . . . . 12 ((𝑛 + 1) ∈ (1...𝑁) ↔ ((𝑛 + 1) ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ (𝑛 + 1) ≤ 𝑁))
7674, 75sylibr 223 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ∈ (1...𝑁))
7776, 3syl6eleqr 2699 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ∈ 𝐷)
783psgnfzto1stlem 29181 . . . . . . . . . 10 ((𝑛 ∈ ℕ ∧ (𝑛 + 1) ∈ 𝐷) → (𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))) = (((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))))
7970, 77, 78syl2anc 691 . . . . . . . . 9 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))) = (((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))))
8079adantlr 747 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))) = (((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))))
8180fveq2d 6107 . . . . . . 7 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))) = (𝑆‘(((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))))
8255a1i 11 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → 𝐷 ∈ Fin)
83 eqid 2610 . . . . . . . . . 10 ran (pmTrsp‘𝐷) = ran (pmTrsp‘𝐷)
84 psgnfzto1st.g . . . . . . . . . 10 𝐺 = (SymGrp‘𝐷)
85 psgnfzto1st.b . . . . . . . . . 10 𝐵 = (Base‘𝐺)
8683, 84, 85symgtrf 17712 . . . . . . . . 9 ran (pmTrsp‘𝐷) ⊆ 𝐵
87 eqid 2610 . . . . . . . . . . . 12 (pmTrsp‘𝐷) = (pmTrsp‘𝐷)
883, 87pmtrto1cl 29180 . . . . . . . . . . 11 ((𝑛 ∈ ℕ ∧ (𝑛 + 1) ∈ 𝐷) → ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ ran (pmTrsp‘𝐷))
8970, 77, 88syl2anc 691 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ ran (pmTrsp‘𝐷))
9089adantlr 747 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ ran (pmTrsp‘𝐷))
9186, 90sseldi 3566 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ 𝐵)
9270nnred 10912 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛 ∈ ℝ)
93 1red 9934 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 1 ∈ ℝ)
9492, 93readdcld 9948 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ∈ ℝ)
9572nnred 10912 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑁 ∈ ℝ)
9692lep1d 10834 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛 ≤ (𝑛 + 1))
9792, 94, 95, 96, 73letrd 10073 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛𝑁)
9870, 72, 973jca 1235 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑛𝑁))
99 elfz1b 12279 . . . . . . . . . . . 12 (𝑛 ∈ (1...𝑁) ↔ (𝑛 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑛𝑁))
10098, 99sylibr 223 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛 ∈ (1...𝑁))
101100, 3syl6eleqr 2699 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛𝐷)
102101adantlr 747 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛𝐷)
103 eqid 2610 . . . . . . . . . 10 (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))
1043, 103, 84, 85fzto1st 29184 . . . . . . . . 9 (𝑛𝐷 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))) ∈ 𝐵)
105102, 104syl 17 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))) ∈ 𝐵)
10684, 56, 85psgnco 19748 . . . . . . . 8 ((𝐷 ∈ Fin ∧ ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ 𝐵 ∧ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))) ∈ 𝐵) → (𝑆‘(((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))) = ((𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) · (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))))
10782, 91, 105, 106syl3anc 1318 . . . . . . 7 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘(((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))) = ((𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) · (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))))
10884, 83, 56psgnpmtr 17753 . . . . . . . . . . 11 (((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ ran (pmTrsp‘𝐷) → (𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) = -1)
10989, 108syl 17 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) = -1)
110109adantlr 747 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) = -1)
11197adantlr 747 . . . . . . . . . 10 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛𝑁)
112 simplr 788 . . . . . . . . . 10 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1))))
113111, 112mpd 15 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))
114110, 113oveq12d 6567 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → ((𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) · (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))) = (-1 · (-1↑(𝑛 + 1))))
115 neg1cn 11001 . . . . . . . . . . 11 -1 ∈ ℂ
116 peano2nn 10909 . . . . . . . . . . . 12 (𝑛 ∈ ℕ → (𝑛 + 1) ∈ ℕ)
117116nnnn0d 11228 . . . . . . . . . . 11 (𝑛 ∈ ℕ → (𝑛 + 1) ∈ ℕ0)
118 expp1 12729 . . . . . . . . . . 11 ((-1 ∈ ℂ ∧ (𝑛 + 1) ∈ ℕ0) → (-1↑((𝑛 + 1) + 1)) = ((-1↑(𝑛 + 1)) · -1))
119115, 117, 118sylancr 694 . . . . . . . . . 10 (𝑛 ∈ ℕ → (-1↑((𝑛 + 1) + 1)) = ((-1↑(𝑛 + 1)) · -1))
120115a1i 11 . . . . . . . . . . . 12 (𝑛 ∈ ℕ → -1 ∈ ℂ)
121120, 117expcld 12870 . . . . . . . . . . 11 (𝑛 ∈ ℕ → (-1↑(𝑛 + 1)) ∈ ℂ)
122121, 120mulcomd 9940 . . . . . . . . . 10 (𝑛 ∈ ℕ → ((-1↑(𝑛 + 1)) · -1) = (-1 · (-1↑(𝑛 + 1))))
123119, 122eqtr2d 2645 . . . . . . . . 9 (𝑛 ∈ ℕ → (-1 · (-1↑(𝑛 + 1))) = (-1↑((𝑛 + 1) + 1)))
124123ad3antlr 763 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (-1 · (-1↑(𝑛 + 1))) = (-1↑((𝑛 + 1) + 1)))
125114, 124eqtrd 2644 . . . . . . 7 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → ((𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) · (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))) = (-1↑((𝑛 + 1) + 1)))
12681, 107, 1253eqtrd 2648 . . . . . 6 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))) = (-1↑((𝑛 + 1) + 1)))
127126ex 449 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) → ((𝑛 + 1) ≤ 𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))) = (-1↑((𝑛 + 1) + 1))))
12818, 29, 40, 53, 69, 127nnindd 28953 . . . 4 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ) → (𝐼𝑁 → (𝑆𝑃) = (-1↑(𝐼 + 1))))
129128imp 444 . . 3 (((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ) ∧ 𝐼𝑁) → (𝑆𝑃) = (-1↑(𝐼 + 1)))
1307, 129sylbi 206 . 2 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ ∧ 𝐼𝑁) → (𝑆𝑃) = (-1↑(𝐼 + 1)))
1316, 130syl 17 1 (𝐼𝐷 → (𝑆𝑃) = (-1↑(𝐼 + 1)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977  ifcif 4036  {cpr 4127   class class class wbr 4583   ↦ cmpt 4643   I cid 4948  ran crn 5039   ↾ cres 5040   ∘ ccom 5042  ‘cfv 5804  (class class class)co 6549  Fincfn 7841  ℂcc 9813  1c1 9816   + caddc 9818   · cmul 9820   ≤ cle 9954   − cmin 10145  -cneg 10146  ℕcn 10897  2c2 10947  ℕ0cn0 11169  ...cfz 12197  ↑cexp 12722  Basecbs 15695  SymGrpcsymg 17620  pmTrspcpmtr 17684  pmSgncpsgn 17732 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-cnex 9871  ax-resscn 9872  ax-1cn 9873  ax-icn 9874  ax-addcl 9875  ax-addrcl 9876  ax-mulcl 9877  ax-mulrcl 9878  ax-mulcom 9879  ax-addass 9880  ax-mulass 9881  ax-distr 9882  ax-i2m1 9883  ax-1ne0 9884  ax-1rid 9885  ax-rnegex 9886  ax-rrecex 9887  ax-cnre 9888  ax-pre-lttri 9889  ax-pre-lttrn 9890  ax-pre-ltadd 9891  ax-pre-mulgt0 9892  ax-addf 9894  ax-mulf 9895 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-xor 1457  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-nel 2783  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-ot 4134  df-uni 4373  df-int 4411  df-iun 4457  df-iin 4458  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-se 4998  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-isom 5813  df-riota 6511  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-om 6958  df-1st 7059  df-2nd 7060  df-tpos 7239  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-1o 7447  df-2o 7448  df-oadd 7451  df-er 7629  df-map 7746  df-en 7842  df-dom 7843  df-sdom 7844  df-fin 7845  df-card 8648  df-pnf 9955  df-mnf 9956  df-xr 9957  df-ltxr 9958  df-le 9959  df-sub 10147  df-neg 10148  df-div 10564  df-nn 10898  df-2 10956  df-3 10957  df-4 10958  df-5 10959  df-6 10960  df-7 10961  df-8 10962  df-9 10963  df-n0 11170  df-xnn0 11241  df-z 11255  df-dec 11370  df-uz 11564  df-rp 11709  df-fz 12198  df-fzo 12335  df-seq 12664  df-exp 12723  df-hash 12980  df-word 13154  df-lsw 13155  df-concat 13156  df-s1 13157  df-substr 13158  df-splice 13159  df-reverse 13160  df-s2 13444  df-struct 15697  df-ndx 15698  df-slot 15699  df-base 15700  df-sets 15701  df-ress 15702  df-plusg 15781  df-mulr 15782  df-starv 15783  df-tset 15787  df-ple 15788  df-ds 15791  df-unif 15792  df-0g 15925  df-gsum 15926  df-mre 16069  df-mrc 16070  df-acs 16072  df-mgm 17065  df-sgrp 17107  df-mnd 17118  df-mhm 17158  df-submnd 17159  df-grp 17248  df-minusg 17249  df-subg 17414  df-ghm 17481  df-gim 17524  df-oppg 17599  df-symg 17621  df-pmtr 17685  df-psgn 17734  df-cmn 18018  df-abl 18019  df-mgp 18313  df-ur 18325  df-ring 18372  df-cring 18373  df-oppr 18446  df-dvdsr 18464  df-unit 18465  df-invr 18495  df-dvr 18506  df-drng 18572  df-cnfld 19568 This theorem is referenced by:  madjusmdetlem4  29224
 Copyright terms: Public domain W3C validator