A linear equivalence respects quotient scalars along the given algebra equivalence.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
namespace AdicModuleSystem
universe u vdef semilinearEquivOfSurjectiveAlgebraMap
{R S T P Q : Type*} [CommRing R] [CommRing S] [CommRing T]
[Algebra R S] [Algebra R T] [AddCommGroup P] [AddCommGroup Q]
[Module R P] [Module R Q] [Module S P] [Module T Q]
[IsScalarTower R S P] [IsScalarTower R T Q]
(eA : S ≃ₐ[R] T) (e : P ≃ₗ[R] Q)
(hS : Function.Surjective (algebraMap R S)) :
let eR := eA.toRingEquiv
let _hσ : RingHomInvPair (eR : S →+* T) (eR.symm : T →+* S) :=
RingHomInvPair.of_ringEquiv eR
let _hσ' : RingHomInvPair (eR.symm : T →+* S) (eR : S →+* T) :=
RingHomInvPair.of_ringEquiv_symm eR
LinearEquiv (σ' := (eR.symm : T →+* S)) (eR : S →+* T) P Q := by
intro eR _hσ _hσ'
refine { e.toAddEquiv with map_smul' := ?_ }
intro a x
obtain ⟨r, rfl⟩ := hS a
change e (algebraMap R S r • x) = eA (algebraMap R S r) • e x
rw [IsScalarTower.algebraMap_smul, e.map_smul, eA.commutes,
IsScalarTower.algebraMap_smul]