File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,13 +440,13 @@ instance (priority := 100) FaithfulSMul.to_isTorsionFree [Nontrivial R] [IsCance
440440end FaithfulSMul
441441
442442namespace Module
443- variable {R A : Type *} [CommRing R] [IsDomain R] [ Ring A] [Algebra R A]
443+ variable {R A : Type *} [CommRing R] [Ring A] [Algebra R A]
444444
445- instance IsTorsionFree.to_faithfulSMul [IsCancelMulZero R] [Nontrivial A]
445+ instance (priority := 101 ) IsTorsionFree.to_faithfulSMul [IsCancelMulZero R] [Nontrivial A]
446446 [IsTorsionFree R A] : FaithfulSMul R A where
447447 eq_of_smul_eq_smul h := smul_left_injective _ one_ne_zero <| h 1
448448
449- variable [IsDomain A]
449+ variable [IsDomain R] [IsDomain A]
450450
451451lemma isTorsionFree_iff_faithfulSMul : IsTorsionFree R A ↔ FaithfulSMul R A :=
452452 ⟨fun _ ↦ inferInstance, fun _ ↦ inferInstance⟩
You can’t perform that action at this time.
0 commit comments