WithAbs type synonym #
WithAbs v is a copy of the semiring R with the same underlying ring structure, but assigned
v-dependent instances (such as NormedRing) where v is an absolute value on R.
Main definitions #
WithAbs: type synonym for a semiring which depends on an absolute value. This is a function that takes an absolute value on a semiring and returns the semiring. This can be used to assign and infer instances on a semiring that depend on absolute values.WithAbs.equiv v: The canonical ring equivalence betweenWithAbs vandR.
Type synonym for a semiring which depends on an absolute value. This is a function that takes an absolute value on a semiring and returns the semiring. We use this to assign and infer instances on a semiring that depend on absolute values.
This is also helpful when dealing with several absolute values on the same semiring.
- toAbs :: (
- ofAbs : R
Converts an element of
WithAbs vto an element ofR. - )
Instances For
Equations
- WithAbs.instSemiring v = { toFun := WithAbs.ofAbs, invFun := WithAbs.toAbs v, left_inv := ⋯, right_inv := ⋯ }.semiring
The canonical (semiring) equivalence between WithAbs v and R.
Equations
- WithAbs.equiv v = { toFun := WithAbs.ofAbs, invFun := WithAbs.toAbs v, left_inv := ⋯, right_inv := ⋯, map_mul' := ⋯, map_add' := ⋯ }
Instances For
Equations
Equations
- WithAbs.instInhabited v = { default := 0 }
Lift a ring hom to WithAbs.
Equations
- WithAbs.map v w f = (WithAbs.equiv w).symm.toRingHom.comp (f.comp (WithAbs.equiv v).toRingHom)
Instances For
Equations
- WithAbs.congr v w f = { toFun := (↑↑(WithAbs.map v w f.toRingHom)).toFun, invFun := ⇑(WithAbs.map w v f.symm.toRingHom), left_inv := ⋯, right_inv := ⋯, map_mul' := ⋯, map_add' := ⋯ }
Instances For
The canonical (semiring) equivalence between WithAbs v and WithAbs w, for any two
absolute values v and w on R.
Equations
- WithAbs.equivWithAbs v w = WithAbs.congr v w (RingEquiv.refl R)
Instances For
Equations
- WithAbs.instCommSemiring v = { toSemiring := WithAbs.instSemiring v, mul_comm := ⋯ }
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Alias of WithAbs.norm_eq_apply_ofAbs.
Alias of WithAbs.norm_toAbs_eq.
Equations
- WithAbs.instCommRing v = { toRing := WithAbs.instRing v, mul_comm := ⋯ }
Equations
Not an instance because it causes non-reducible diamonds when T = WithAbs v.
Equations
Instances For
Alias of WithAbs.moduleLeft.
Not an instance because it causes non-reducible diamonds when T = WithAbs v.
Equations
Instances For
Equations
- WithAbs.instModule v = { toSMul := WithAbs.instSMul_1 v, mul_smul := ⋯, one_smul := ⋯, smul_zero := ⋯, smul_add := ⋯, add_smul := ⋯, zero_smul := ⋯ }
Alias of WithAbs.instModule.
Equations
Instances For
The canonical R-linear isomorphism between WithAbs v and T, when
v : AbsoluteValue T S.
Equations
Instances For
Not an instance because it causes non-reducible diamonds when T = WithAbs v.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Alias of WithAbs.algebraLeft.
Not an instance because it causes non-reducible diamonds when T = WithAbs v.
Equations
Instances For
Alias of WithAbs.instAlgebra.
Equations
Instances For
The canonical algebra isomorphism from an R-algebra R' with an absolute value v
to R'.
Equations
- WithAbs.algEquiv R v = Equiv.algEquiv R (WithAbs.equiv v).toEquiv
Instances For
An absolute value w of L / K lies over the absolute value v of K if v is the
restriction of w to K.