ZsqrtdstructureMathlib.NumberTheory.Zsqrtd.Basic, typeEnglish
Let $d$ be an integer. Then the elements of $\mathrm{Zsqrtd}$ applied to $d$ are a basic type.
Zsqrtd.NonnegdefMathlib.NumberTheory.Zsqrtd.Basic, predicateWording
x is nonnegative (from the name)
English
Let $x$ be an element of $\mathrm{Zsqrtd}$ applied to $d$. Then we can say that $x$ is nonnegative.
Zsqrtd.NonneggdefMathlib.NumberTheory.Zsqrtd.Basic, predicateEnglish
Let $c$ and $d$ be natural numbers. Let $x$ and $x_{1}$ be integers. Then we can say that $\operatorname{Nonnegg}$ holds for $c$, $d$, $x$ and $x_{1}$.
Zsqrtd.NonsquareclassMathlib.NumberTheory.Zsqrtd.Basic, predicateEnglish
Let $x$ be a natural number. Then we can say that $\operatorname{Nonsquare}$ holds for $x$.
Zsqrtd.SqLedefMathlib.NumberTheory.Zsqrtd.Basic, predicateEnglish
Let $a$, $c$, $b$ and $d$ be natural numbers. Then $\operatorname{SqLe}$ holds for $a$, $c$, $b$ and $d$, if $c \times a \times a \leq d \times b \times b$.
Zsqrtd.imdefMathlib.NumberTheory.Zsqrtd.Basic, function or constantWording
the imaginary part of self (from the name)
English
Let $\mathrm{self}$ be an element of $\mathrm{Zsqrtd}$ applied to $d$. Then the imaginary part of $\mathrm{self}$ is an integer defined as $\operatorname{proj1}$ applied to $\mathrm{self}$.
Zsqrtd.liftdefMathlib.NumberTheory.Zsqrtd.Basic, function or constantWording
the lift (from the name)
English
The lift is an equivalence from $\SubtypeSet {r}{(\EqtMACRoH {(r \times r)}{d})}$ to the set of ring homomorphisms of $\mathrm{Zsqrtd}$ applied to $d$ and $R$.
Zsqrtd.normdefMathlib.NumberTheory.Zsqrtd.Basic, function or constantWording
the norm of n (from the docstring)
English
Let $n$ be an element of $\mathrm{Zsqrtd}$ applied to $d$. Then the norm of $n$ is an integer defined as the difference between the product of the real part of $n$ and the real part of $n$ and the product of $d$, the imaginary part of $n$ and the imaginary part of $n$.
Zsqrtd.normMonoidHomdefMathlib.NumberTheory.Zsqrtd.Basic, function or constantWording
the norm monoid homomorphism (from the name)
English
The norm monoid homomorphism is a monoid homomorphism of $\mathrm{Zsqrtd}$ applied to $d$ and $\Integer$ defined as $\operatorname{mk}$ applied to $\operatorname{mk}$ applied to $\operatorname{norm}$ and $\mathrm{Zsqrtd\_\_norm\_one}$ and $\mathrm{Zsqrtd\_\_norm\_mul}$.
Zsqrtd.ofIntdefMathlib.NumberTheory.Zsqrtd.Basic, function or constantEnglish
Let $n$ be an integer. Then $\operatorname{ofInt}$ applied to $n$ is an element of $\mathrm{Zsqrtd}$ applied to $d$ defined as $\operatorname{mk}$ applied to $n$ and $0$.
Zsqrtd.redefMathlib.NumberTheory.Zsqrtd.Basic, function or constantWording
the real part of self (from the name)
English
Let $\mathrm{self}$ be an element of $\mathrm{Zsqrtd}$ applied to $d$. Then the real part of $\mathrm{self}$ is an integer defined as $\operatorname{proj0}$ applied to $\mathrm{self}$.
Zsqrtd.sqrtddefMathlib.NumberTheory.Zsqrtd.Basic, function or constantEnglish
$\operatorname{sqrtd}$ is an element of $\mathrm{Zsqrtd}$ applied to $d$ defined as $\operatorname{mk}$ applied to $0$ and $1$.
GaussianIntdefMathlib.NumberTheory.Zsqrtd.GaussianInt, typeWording
Gaussian integer (from the name)
English
A Gaussian integer is an element of $\mathrm{Zsqrtd}$ applied to $\operatorname{neg}$ applied to $1$.
GaussianInt.toComplexdefMathlib.NumberTheory.Zsqrtd.GaussianInt, function or constantWording
the complex (from the name)
English
The complex is a ring homomorphism of the set of Gaussian integers and the set of complexes defined as $\operatorname{lift}$ applied to $\operatorname{I}$.
Zsqrtd.toRealdefMathlib.NumberTheory.Zsqrtd.ToReal, function or constantEnglish
Assume that $0 \leq d$. Then $\operatorname{toReal}$ applied to $h$ is a ring homomorphism of $\mathrm{Zsqrtd}$ applied to $d$ and $\Real$ defined as $\operatorname{lift}$ applied to the square root of $d$.