/-
Copyright (c) 2020 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
module
public import Mathlib.Algebra.Module.Equiv.Defs
public import Mathlib.Algebra.Module.Opposite
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Module operations on `Mᵐᵒᵖ`
This file contains definitions that build on top of the group action definitions in
`Mathlib/Algebra/GroupWithZero/Action/Opposite.lean`.
-/
@[expose] public section
section
variable {R S M : Type*} [Semiring R] [Semiring S] [AddCommMonoid M] [Module S M]
@[ext high]
theorem LinearMap.ext_ring_op
{σ : Rᵐᵒᵖ →+* S} {f g : R →ₛₗ[σ] M} (h : f (1 : R) = g (1 : R)) :
f = g :=
ext fun x ↦ by
rw [← one_mul x, ← op_smul_eq_mul, f.map_smulₛₗ, h, g.map_smulₛₗ]
end
namespace MulOpposite
universe u v
variable (R : Type u) {M : Type v} [Semiring R] [AddCommMonoid M] [Module R M]
/-- The function `op` is a linear equivalence. -/
def opLinearEquiv : M ≃ₗ[R] Mᵐᵒᵖ :=
{ opAddEquiv with map_smul' := MulOpposite.op_smul }
@[simp]
theorem coe_opLinearEquiv : (opLinearEquiv R : M → Mᵐᵒᵖ) = op :=
rfl
@[simp]
theorem coe_opLinearEquiv_symm : ((opLinearEquiv R).symm : Mᵐᵒᵖ → M) = unop :=
rfl
@[simp]
theorem coe_opLinearEquiv_toLinearMap : ((opLinearEquiv R).toLinearMap : M → Mᵐᵒᵖ) = op :=
rfl
@[simp]
theorem coe_opLinearEquiv_symm_toLinearMap :
((opLinearEquiv R).symm.toLinearMap : Mᵐᵒᵖ → M) = unop :=
rfl
theorem opLinearEquiv_toAddEquiv : (opLinearEquiv R : M ≃ₗ[R] Mᵐᵒᵖ).toAddEquiv = opAddEquiv :=
rfl
@[simp]
theorem coe_opLinearEquiv_addEquiv : ((opLinearEquiv R : M ≃ₗ[R] Mᵐᵒᵖ) : M ≃+ Mᵐᵒᵖ) = opAddEquiv :=
rfl
theorem opLinearEquiv_symm_toAddEquiv :
(opLinearEquiv R : M ≃ₗ[R] Mᵐᵒᵖ).symm.toAddEquiv = opAddEquiv.symm :=
rfl
@[simp]
theorem coe_opLinearEquiv_symm_addEquiv :
((opLinearEquiv R : M ≃ₗ[R] Mᵐᵒᵖ).symm : Mᵐᵒᵖ ≃+ M) = opAddEquiv.symm :=
rfl
end MulOpposite
¤ Dauer der Verarbeitung: 0.273 Sekunden
¤
*© Formatika GbR, Deutschland