Adjoining a zero to a group #
This file proves that one can adjoin a new zero element to a group and get a group with zero.
In valuation theory, valuations have codomain {0} ∪ {c ^ n | n : ℤ}
for some c > 1
, which we can
formalise as ℤᵐ⁰ := WithZero (Multiplicative ℤ)
. It is important to be able to talk about the maps
n ↦ c ^ n
and c ^ n ↦ n
. We define these as exp : ℤ → ℤᵐ⁰
and log : ℤᵐ⁰ → ℤ
with junk value
log 0 = 0
. Junkless versions are defined as expEquiv : ℤ ≃ ℤᵐ⁰ˣ
and logEquiv : ℤᵐ⁰ˣ ≃ ℤ
.
Notation #
In locale WithZero
:
Mᵐ⁰
forWithZero (Multiplicative M)
Main definitions #
WithZero.map'
: theMonoidWithZero
homomorphismWithZero α →* WithZero β
induced by a monoid homomorphismf : α →* β
.WithZero.exp
: The "exponential map"M → Mᵐ⁰
WithZero.exp
: The "logarithm"Mᵐ⁰ → M
Equations
Equations
Equations
Coercion as a monoid hom.
Equations
Instances For
The (multiplicative) universal property of WithZero
.
Equations
Instances For
The MonoidWithZero
homomorphism WithZero α →* WithZero β
induced by a monoid homomorphism
f : α →* β
.
Equations
Instances For
Alias of the reverse direction of WithZero.map'_injective_iff
.
Alias of the reverse direction of WithZero.map'_surjective_iff
.
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
If α
is a group then WithZero α
is a group with zero.
Equations
Any group with zero is isomorphic to adjoining 0
to the units of itself.
Equations
Instances For
Equations
Equations
Exponential and logarithm #
Mᵐ⁰
is notation for WithZero (Multiplicative M)
.
This naturally shows up as the codomain of valuations in valuation theory.
Equations
Instances For
The exponential map as a function M → Mᵐ⁰
.
Equations
Instances For
The exponential map as an equivalence between G
and (Gᵐ⁰)ˣ
.
Equations
Instances For
The logarithm as an equivalence between (Gᵐ⁰)ˣ
and G
.
Equations
Instances For
The trivial group-with-zero hom is absorbing for composition.
The trivial group-with-zero hom is absorbing for composition.