Documentation
Init
.
Data
.
Int
.
ToString
Search
return to top
source
Imports
Init.Data.Int.LemmasAux
Init.Data.Int.Order
Init.Data.Int.Repr
Init.Data.ToString.Extra
Imported by
Int
.
repr_eq_if
Int
.
toString_eq_repr
source
theorem
Int
.
repr_eq_if
{
a
:
Int
}
:
a
.
repr
=
if
0
≤
a
then
a
.
toNat
.
repr
else
"-"
++
(
-
a
).
toNat
.
repr
source
@[simp]
theorem
Int
.
toString_eq_repr
{
a
:
Int
}
:
toString
a
=
a
.
repr