hilbert
6
Search
☰
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
GitHub
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_ite
Int
.
repr_eq_if
Int
.
toString_eq_repr
Init
.
Data
.
Int
.
ToString
source
theorem
Int
.
repr_eq_ite
{
a
:
Int
}
:
a
.
repr
=
if
0
≤
a
then
a
.
toNat
.
repr
else
"-"
++
(
-
a
).
toNat
.
repr
source
@[deprecated Int.repr_eq_ite (since := "2026-07-21")]
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