Rational complex numbers #
Rational complex numbers. This type is mainly used when decidability is needed.
- fst : ℚ
The real part of a
RatComplexNum
. - snd : ℚ
The imaginary part of a
RatComplexNum
.
Instances For
theorem
PhysLean.RatComplexNum.ext
{x y : RatComplexNum}
(h1 : x.fst = y.fst)
(h2 : x.snd = y.snd)
:
The equivalence as a type of RatComplexNum
with ℚ × ℚ
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
@[simp]
@[simp]
The inclusion of RatComplexNum
into the complex numbers.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]