Powers of negative one in a ground ring #
This file provides the cast to a ground ring of Mathlib's unit-valued sign character
Int.negOnePow : ℤ → ℤˣ; the cast factors through ℤ.
Main definitions #
TauCeti.negOnePowCast: the scalar(-1) ^ ein a ground ring.
Main results #
TauCeti.negOnePowCast_sum: the sign of a finite sum is the product of the signs of its terms.TauCeti.negOnePow_smul_eq_negOnePowCast_smul: the unit-valued sign and its ground-ring cast induce the same scalar action on a module.TauCeti.negOnePow_smul_negOnePow_smul: the unit-valued sign acts as an involution.
The scalar (-1) ^ e in a ground ring.
Equations
- TauCeti.negOnePowCast R e = ↑↑e.negOnePow
Instances For
The ground-ring sign is the cast of Mathlib's Int.negOnePow.
@[simp]
@[simp]
theorem
TauCeti.negOnePow_smul_eq_negOnePowCast_smul
{R : Type uR}
[Ring R]
{A : Type uA}
[AddCommGroup A]
[Module R A]
(e : ℤ)
(a : A)
:
A sign (-1) ^ e, acting through the units of ℤ, acts as its cast to the ground ring.
@[simp]
theorem
TauCeti.negOnePowCast_smul_eq_zero_iff
{R : Type uR}
[Ring R]
{A : Type uA}
[AddMonoid A]
[DistribMulAction R A]
(e : ℤ)
(a : A)
:
theorem
TauCeti.negOnePowCast_sum
{R : Type uR}
[CommRing R]
{ι : Type uI}
(s : Finset ι)
(f : ι → ℤ)
:
The sign of a finite sum is the product of the signs of its terms: the sign character turns
addition into multiplication, so it distributes over Finset.sum.