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

Theorem psgnfzto1st 31274
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 13254 . . . . 5 (𝐼 ∈ (1...𝑁) ↔ (𝐼 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝐼𝑁))
21biimpi 215 . . . 4 (𝐼 ∈ (1...𝑁) → (𝐼 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝐼𝑁))
3 psgnfzto1st.d . . . 4 𝐷 = (1...𝑁)
42, 3eleq2s 2857 . . 3 (𝐼𝐷 → (𝐼 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝐼𝑁))
5 3ancoma 1096 . . 3 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ ∧ 𝐼𝑁) ↔ (𝐼 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝐼𝑁))
64, 5sylibr 233 . 2 (𝐼𝐷 → (𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ ∧ 𝐼𝑁))
7 df-3an 1087 . . 3 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ ∧ 𝐼𝑁) ↔ ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ) ∧ 𝐼𝑁))
8 breq1 5073 . . . . . 6 (𝑚 = 1 → (𝑚𝑁 ↔ 1 ≤ 𝑁))
9 id 22 . . . . . . . . . 10 (𝑚 = 1 → 𝑚 = 1)
10 breq2 5074 . . . . . . . . . . 11 (𝑚 = 1 → (𝑖𝑚𝑖 ≤ 1))
1110ifbid 4479 . . . . . . . . . 10 (𝑚 = 1 → if(𝑖𝑚, (𝑖 − 1), 𝑖) = if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))
129, 11ifeq12d 4477 . . . . . . . . 9 (𝑚 = 1 → if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)) = if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))
1312mpteq2dv 5172 . . . . . . . 8 (𝑚 = 1 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))))
1413fveq2d 6760 . . . . . . 7 (𝑚 = 1 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))))
15 oveq1 7262 . . . . . . . 8 (𝑚 = 1 → (𝑚 + 1) = (1 + 1))
1615oveq2d 7271 . . . . . . 7 (𝑚 = 1 → (-1↑(𝑚 + 1)) = (-1↑(1 + 1)))
1714, 16eqeq12d 2754 . . . . . 6 (𝑚 = 1 → ((𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1)) ↔ (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))) = (-1↑(1 + 1))))
188, 17imbi12d 344 . . . . 5 (𝑚 = 1 → ((𝑚𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1))) ↔ (1 ≤ 𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))) = (-1↑(1 + 1)))))
19 breq1 5073 . . . . . 6 (𝑚 = 𝑛 → (𝑚𝑁𝑛𝑁))
20 id 22 . . . . . . . . . 10 (𝑚 = 𝑛𝑚 = 𝑛)
21 breq2 5074 . . . . . . . . . . 11 (𝑚 = 𝑛 → (𝑖𝑚𝑖𝑛))
2221ifbid 4479 . . . . . . . . . 10 (𝑚 = 𝑛 → if(𝑖𝑚, (𝑖 − 1), 𝑖) = if(𝑖𝑛, (𝑖 − 1), 𝑖))
2320, 22ifeq12d 4477 . . . . . . . . 9 (𝑚 = 𝑛 → if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)) = if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))
2423mpteq2dv 5172 . . . . . . . 8 (𝑚 = 𝑛 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))
2524fveq2d 6760 . . . . . . 7 (𝑚 = 𝑛 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))))
26 oveq1 7262 . . . . . . . 8 (𝑚 = 𝑛 → (𝑚 + 1) = (𝑛 + 1))
2726oveq2d 7271 . . . . . . 7 (𝑚 = 𝑛 → (-1↑(𝑚 + 1)) = (-1↑(𝑛 + 1)))
2825, 27eqeq12d 2754 . . . . . 6 (𝑚 = 𝑛 → ((𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1)) ↔ (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1))))
2919, 28imbi12d 344 . . . . 5 (𝑚 = 𝑛 → ((𝑚𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1))) ↔ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))))
30 breq1 5073 . . . . . 6 (𝑚 = (𝑛 + 1) → (𝑚𝑁 ↔ (𝑛 + 1) ≤ 𝑁))
31 id 22 . . . . . . . . . 10 (𝑚 = (𝑛 + 1) → 𝑚 = (𝑛 + 1))
32 breq2 5074 . . . . . . . . . . 11 (𝑚 = (𝑛 + 1) → (𝑖𝑚𝑖 ≤ (𝑛 + 1)))
3332ifbid 4479 . . . . . . . . . 10 (𝑚 = (𝑛 + 1) → if(𝑖𝑚, (𝑖 − 1), 𝑖) = if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))
3431, 33ifeq12d 4477 . . . . . . . . 9 (𝑚 = (𝑛 + 1) → if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)) = if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))
3534mpteq2dv 5172 . . . . . . . 8 (𝑚 = (𝑛 + 1) → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))))
3635fveq2d 6760 . . . . . . 7 (𝑚 = (𝑛 + 1) → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))))
37 oveq1 7262 . . . . . . . 8 (𝑚 = (𝑛 + 1) → (𝑚 + 1) = ((𝑛 + 1) + 1))
3837oveq2d 7271 . . . . . . 7 (𝑚 = (𝑛 + 1) → (-1↑(𝑚 + 1)) = (-1↑((𝑛 + 1) + 1)))
3936, 38eqeq12d 2754 . . . . . 6 (𝑚 = (𝑛 + 1) → ((𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1)) ↔ (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))) = (-1↑((𝑛 + 1) + 1))))
4030, 39imbi12d 344 . . . . 5 (𝑚 = (𝑛 + 1) → ((𝑚𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1))) ↔ ((𝑛 + 1) ≤ 𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))) = (-1↑((𝑛 + 1) + 1)))))
41 breq1 5073 . . . . . 6 (𝑚 = 𝐼 → (𝑚𝑁𝐼𝑁))
42 id 22 . . . . . . . . . . 11 (𝑚 = 𝐼𝑚 = 𝐼)
43 breq2 5074 . . . . . . . . . . . 12 (𝑚 = 𝐼 → (𝑖𝑚𝑖𝐼))
4443ifbid 4479 . . . . . . . . . . 11 (𝑚 = 𝐼 → if(𝑖𝑚, (𝑖 − 1), 𝑖) = if(𝑖𝐼, (𝑖 − 1), 𝑖))
4542, 44ifeq12d 4477 . . . . . . . . . 10 (𝑚 = 𝐼 → if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)) = if(𝑖 = 1, 𝐼, if(𝑖𝐼, (𝑖 − 1), 𝑖)))
4645mpteq2dv 5172 . . . . . . . . 9 (𝑚 = 𝐼 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 𝐼, if(𝑖𝐼, (𝑖 − 1), 𝑖))))
47 psgnfzto1st.p . . . . . . . . 9 𝑃 = (𝑖𝐷 ↦ if(𝑖 = 1, 𝐼, if(𝑖𝐼, (𝑖 − 1), 𝑖)))
4846, 47eqtr4di 2797 . . . . . . . 8 (𝑚 = 𝐼 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖))) = 𝑃)
4948fveq2d 6760 . . . . . . 7 (𝑚 = 𝐼 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (𝑆𝑃))
50 oveq1 7262 . . . . . . . 8 (𝑚 = 𝐼 → (𝑚 + 1) = (𝐼 + 1))
5150oveq2d 7271 . . . . . . 7 (𝑚 = 𝐼 → (-1↑(𝑚 + 1)) = (-1↑(𝐼 + 1)))
5249, 51eqeq12d 2754 . . . . . 6 (𝑚 = 𝐼 → ((𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1)) ↔ (𝑆𝑃) = (-1↑(𝐼 + 1))))
5341, 52imbi12d 344 . . . . 5 (𝑚 = 𝐼 → ((𝑚𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑚, if(𝑖𝑚, (𝑖 − 1), 𝑖)))) = (-1↑(𝑚 + 1))) ↔ (𝐼𝑁 → (𝑆𝑃) = (-1↑(𝐼 + 1)))))
54 fzfi 13620 . . . . . . . . 9 (1...𝑁) ∈ Fin
553, 54eqeltri 2835 . . . . . . . 8 𝐷 ∈ Fin
56 psgnfzto1st.s . . . . . . . . 9 𝑆 = (pmSgn‘𝐷)
5756psgnid 31266 . . . . . . . 8 (𝐷 ∈ Fin → (𝑆‘( I ↾ 𝐷)) = 1)
5855, 57ax-mp 5 . . . . . . 7 (𝑆‘( I ↾ 𝐷)) = 1
59 eqid 2738 . . . . . . . . 9 1 = 1
60 eqid 2738 . . . . . . . . . 10 (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))
613, 60fzto1st1 31271 . . . . . . . . 9 (1 = 1 → (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))) = ( I ↾ 𝐷))
6259, 61ax-mp 5 . . . . . . . 8 (𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖))) = ( I ↾ 𝐷)
6362fveq2i 6759 . . . . . . 7 (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 1, if(𝑖 ≤ 1, (𝑖 − 1), 𝑖)))) = (𝑆‘( I ↾ 𝐷))
64 1p1e2 12028 . . . . . . . . 9 (1 + 1) = 2
6564oveq2i 7266 . . . . . . . 8 (-1↑(1 + 1)) = (-1↑2)
66 neg1sqe1 13841 . . . . . . . 8 (-1↑2) = 1
6765, 66eqtri 2766 . . . . . . 7 (-1↑(1 + 1)) = 1
6858, 63, 673eqtr4i 2776 . . . . . 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 765 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛 ∈ ℕ)
7170peano2nnd 11920 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ∈ ℕ)
72 simpll 763 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑁 ∈ ℕ)
73 simpr 484 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ≤ 𝑁)
7471, 72, 733jca 1126 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → ((𝑛 + 1) ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ (𝑛 + 1) ≤ 𝑁))
75 elfz1b 13254 . . . . . . . . . . . 12 ((𝑛 + 1) ∈ (1...𝑁) ↔ ((𝑛 + 1) ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ (𝑛 + 1) ≤ 𝑁))
7674, 75sylibr 233 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ∈ (1...𝑁))
7776, 3eleqtrrdi 2850 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ∈ 𝐷)
783psgnfzto1stlem 31269 . . . . . . . . . 10 ((𝑛 ∈ ℕ ∧ (𝑛 + 1) ∈ 𝐷) → (𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))) = (((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))))
7970, 77, 78syl2anc 583 . . . . . . . . 9 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))) = (((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))))
8079adantlr 711 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖))) = (((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))))
8180fveq2d 6760 . . . . . . 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 2738 . . . . . . . . . 10 ran (pmTrsp‘𝐷) = ran (pmTrsp‘𝐷)
84 psgnfzto1st.g . . . . . . . . . 10 𝐺 = (SymGrp‘𝐷)
85 psgnfzto1st.b . . . . . . . . . 10 𝐵 = (Base‘𝐺)
8683, 84, 85symgtrf 18992 . . . . . . . . 9 ran (pmTrsp‘𝐷) ⊆ 𝐵
87 eqid 2738 . . . . . . . . . . . 12 (pmTrsp‘𝐷) = (pmTrsp‘𝐷)
883, 87pmtrto1cl 31268 . . . . . . . . . . 11 ((𝑛 ∈ ℕ ∧ (𝑛 + 1) ∈ 𝐷) → ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ ran (pmTrsp‘𝐷))
8970, 77, 88syl2anc 583 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ ran (pmTrsp‘𝐷))
9089adantlr 711 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ ran (pmTrsp‘𝐷))
9186, 90sselid 3915 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ 𝐵)
9270nnred 11918 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛 ∈ ℝ)
93 1red 10907 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 1 ∈ ℝ)
9492, 93readdcld 10935 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 + 1) ∈ ℝ)
9572nnred 11918 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑁 ∈ ℝ)
9692lep1d 11836 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛 ≤ (𝑛 + 1))
9792, 94, 95, 96, 73letrd 11062 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛𝑁)
9870, 72, 973jca 1126 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑛 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑛𝑁))
99 elfz1b 13254 . . . . . . . . . . . 12 (𝑛 ∈ (1...𝑁) ↔ (𝑛 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑛𝑁))
10098, 99sylibr 233 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛 ∈ (1...𝑁))
101100, 3eleqtrrdi 2850 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛𝐷)
102101adantlr 711 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛𝐷)
103 eqid 2738 . . . . . . . . . 10 (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))) = (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))
1043, 103, 84, 85fzto1st 31272 . . . . . . . . 9 (𝑛𝐷 → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))) ∈ 𝐵)
105102, 104syl 17 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))) ∈ 𝐵)
10684, 56, 85psgnco 20700 . . . . . . . 8 ((𝐷 ∈ Fin ∧ ((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ 𝐵 ∧ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))) ∈ 𝐵) → (𝑆‘(((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))) = ((𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) · (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))))
10782, 91, 105, 106syl3anc 1369 . . . . . . 7 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘(((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∘ (𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))) = ((𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) · (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))))
10884, 83, 56psgnpmtr 19033 . . . . . . . . . . 11 (((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)}) ∈ ran (pmTrsp‘𝐷) → (𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) = -1)
10989, 108syl 17 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) = -1)
110109adantlr 711 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) = -1)
11197adantlr 711 . . . . . . . . . 10 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → 𝑛𝑁)
112 simplr 765 . . . . . . . . . 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 7273 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → ((𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) · (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))) = (-1 · (-1↑(𝑛 + 1))))
115 neg1cn 12017 . . . . . . . . . . 11 -1 ∈ ℂ
116 peano2nn 11915 . . . . . . . . . . . 12 (𝑛 ∈ ℕ → (𝑛 + 1) ∈ ℕ)
117116nnnn0d 12223 . . . . . . . . . . 11 (𝑛 ∈ ℕ → (𝑛 + 1) ∈ ℕ0)
118 expp1 13717 . . . . . . . . . . 11 ((-1 ∈ ℂ ∧ (𝑛 + 1) ∈ ℕ0) → (-1↑((𝑛 + 1) + 1)) = ((-1↑(𝑛 + 1)) · -1))
119115, 117, 118sylancr 586 . . . . . . . . . 10 (𝑛 ∈ ℕ → (-1↑((𝑛 + 1) + 1)) = ((-1↑(𝑛 + 1)) · -1))
120115a1i 11 . . . . . . . . . . . 12 (𝑛 ∈ ℕ → -1 ∈ ℂ)
121120, 117expcld 13792 . . . . . . . . . . 11 (𝑛 ∈ ℕ → (-1↑(𝑛 + 1)) ∈ ℂ)
122121, 120mulcomd 10927 . . . . . . . . . 10 (𝑛 ∈ ℕ → ((-1↑(𝑛 + 1)) · -1) = (-1 · (-1↑(𝑛 + 1))))
123119, 122eqtr2d 2779 . . . . . . . . 9 (𝑛 ∈ ℕ → (-1 · (-1↑(𝑛 + 1))) = (-1↑((𝑛 + 1) + 1)))
124123ad3antlr 727 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (-1 · (-1↑(𝑛 + 1))) = (-1↑((𝑛 + 1) + 1)))
125114, 124eqtrd 2778 . . . . . . 7 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → ((𝑆‘((pmTrsp‘𝐷)‘{𝑛, (𝑛 + 1)})) · (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖))))) = (-1↑((𝑛 + 1) + 1)))
12681, 107, 1253eqtrd 2782 . . . . . 6 ((((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) ∧ (𝑛 + 1) ≤ 𝑁) → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))) = (-1↑((𝑛 + 1) + 1)))
127126ex 412 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑛 ∈ ℕ) ∧ (𝑛𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, 𝑛, if(𝑖𝑛, (𝑖 − 1), 𝑖)))) = (-1↑(𝑛 + 1)))) → ((𝑛 + 1) ≤ 𝑁 → (𝑆‘(𝑖𝐷 ↦ if(𝑖 = 1, (𝑛 + 1), if(𝑖 ≤ (𝑛 + 1), (𝑖 − 1), 𝑖)))) = (-1↑((𝑛 + 1) + 1))))
12818, 29, 40, 53, 69, 127nnindd 11923 . . . 4 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ) → (𝐼𝑁 → (𝑆𝑃) = (-1↑(𝐼 + 1))))
129128imp 406 . . 3 (((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ) ∧ 𝐼𝑁) → (𝑆𝑃) = (-1↑(𝐼 + 1)))
1307, 129sylbi 216 . 2 ((𝑁 ∈ ℕ ∧ 𝐼 ∈ ℕ ∧ 𝐼𝑁) → (𝑆𝑃) = (-1↑(𝐼 + 1)))
1316, 130syl 17 1 (𝐼𝐷 → (𝑆𝑃) = (-1↑(𝐼 + 1)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  ifcif 4456  {cpr 4560   class class class wbr 5070  cmpt 5153   I cid 5479  ran crn 5581  cres 5582  ccom 5584  cfv 6418  (class class class)co 7255  Fincfn 8691  cc 10800  1c1 10803   + caddc 10805   · cmul 10807  cle 10941  cmin 11135  -cneg 11136  cn 11903  2c2 11958  0cn0 12163  ...cfz 13168  cexp 13710  Basecbs 16840  SymGrpcsymg 18889  pmTrspcpmtr 18964  pmSgncpsgn 19012
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  ax-addf 10881  ax-mulf 10882
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-xor 1504  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-rmo 3071  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-ot 4567  df-uni 4837  df-int 4877  df-iun 4923  df-iin 4924  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-se 5536  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-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-tpos 8013  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-2o 8268  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-5 11969  df-6 11970  df-7 11971  df-8 11972  df-9 11973  df-n0 12164  df-xnn0 12236  df-z 12250  df-dec 12367  df-uz 12512  df-rp 12660  df-fz 13169  df-fzo 13312  df-seq 13650  df-exp 13711  df-hash 13973  df-word 14146  df-lsw 14194  df-concat 14202  df-s1 14229  df-substr 14282  df-pfx 14312  df-splice 14391  df-reverse 14400  df-s2 14489  df-struct 16776  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-plusg 16901  df-mulr 16902  df-starv 16903  df-tset 16907  df-ple 16908  df-ds 16910  df-unif 16911  df-0g 17069  df-gsum 17070  df-mre 17212  df-mrc 17213  df-acs 17215  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-mhm 18345  df-submnd 18346  df-efmnd 18423  df-grp 18495  df-minusg 18496  df-subg 18667  df-ghm 18747  df-gim 18790  df-oppg 18865  df-symg 18890  df-pmtr 18965  df-psgn 19014  df-cmn 19303  df-abl 19304  df-mgp 19636  df-ur 19653  df-ring 19700  df-cring 19701  df-oppr 19777  df-dvdsr 19798  df-unit 19799  df-invr 19829  df-dvr 19840  df-drng 19908  df-cnfld 20511
This theorem is referenced by:  madjusmdetlem4  31682
  Copyright terms: Public domain W3C validator