Skip to content

Commit d286087

Browse files
committed
feat(Normed/Ring/WithAbs): apply results relating algebraMaps on WithAbs (#29944)
1 parent 7ef0067 commit d286087

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Mathlib/Analysis/Normed/Ring/WithAbs.lean

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,18 @@ variable {R' : Type*} [CommSemiring R] [Semiring R'] [Algebra R R']
9292
instance instAlgebra_left (v : AbsoluteValue R S) : Algebra (WithAbs v) R' :=
9393
inferInstanceAs <| Algebra R R'
9494

95+
theorem algebraMap_left_apply (v : AbsoluteValue R S) (x : WithAbs v) :
96+
algebraMap (WithAbs v) R' x = algebraMap R R' (WithAbs.equiv v x) := rfl
97+
9598
instance instAlgebra_right (v : AbsoluteValue R' S) : Algebra R (WithAbs v) :=
9699
inferInstanceAs <| Algebra R R'
97100

101+
theorem algebraMap_right_apply (v : AbsoluteValue R' S) (x : R) :
102+
algebraMap R (WithAbs v) x = WithAbs.equiv v (algebraMap R R' x) := rfl
103+
104+
theorem equiv_algebraMap_apply (v : AbsoluteValue R S) (w : AbsoluteValue R' S) (x : WithAbs v) :
105+
equiv w (algebraMap (WithAbs v) (WithAbs w) x) = algebraMap R R' (equiv v x) := rfl
106+
98107
/-- The canonical algebra isomorphism from an `R`-algebra `R'` with an absolute value `v`
99108
to `R'`. -/
100109
def algEquiv (v : AbsoluteValue R' S) : (WithAbs v) ≃ₐ[R] R' := AlgEquiv.refl (A₁ := R')

0 commit comments

Comments
 (0)