Documentation
Init
.
Data
.
SInt
.
Decidable
Search
return to top
source
Imports
Init.PropLemmas
Init.Data.BitVec.Decidable
Init.Data.SInt.Basic
Imported by
commandDeclare_decidable_int_quantifiers__
Int8
.
instDecidableExists
Int8
.
forall_iff_forall_ofBitVec
Int8
.
exists_iff_exists_ofBitVec
Int8
.
instDecidableForall
Int16
.
forall_iff_forall_ofBitVec
Int16
.
exists_iff_exists_ofBitVec
Int16
.
instDecidableForall
Int16
.
instDecidableExists
Int32
.
forall_iff_forall_ofBitVec
Int32
.
exists_iff_exists_ofBitVec
Int32
.
instDecidableExists
Int32
.
instDecidableForall
Int64
.
instDecidableExists
Int64
.
exists_iff_exists_ofBitVec
Int64
.
forall_iff_forall_ofBitVec
Int64
.
instDecidableForall
source
def
commandDeclare_decidable_int_quantifiers__
:
Lean.ParserDescr
Instances For
source
@[instance_reducible]
instance
Int8
.
instDecidableExists
(
P
:
Int8
→
Prop
)
[
DecidablePred
P
]
:
Decidable
(
∃
(
x
:
Int8
)
,
P
x
)
source
theorem
Int8
.
forall_iff_forall_ofBitVec
{
P
:
Int8
→
Prop
}
:
(∀ (
x
:
Int8
),
P
x
)
↔
∀ (
x
:
BitVec
8
),
P
(
ofBitVec
x
)
source
theorem
Int8
.
exists_iff_exists_ofBitVec
{
P
:
Int8
→
Prop
}
:
(
∃
(
x
:
Int8
)
,
P
x
)
↔
∃
(
x
:
BitVec
8
)
,
P
(
ofBitVec
x
)
source
@[instance_reducible]
instance
Int8
.
instDecidableForall
(
P
:
Int8
→
Prop
)
[
DecidablePred
P
]
:
Decidable
(∀ (
x
:
Int8
),
P
x
)
source
theorem
Int16
.
forall_iff_forall_ofBitVec
{
P
:
Int16
→
Prop
}
:
(∀ (
x
:
Int16
),
P
x
)
↔
∀ (
x
:
BitVec
16
),
P
(
ofBitVec
x
)
source
theorem
Int16
.
exists_iff_exists_ofBitVec
{
P
:
Int16
→
Prop
}
:
(
∃
(
x
:
Int16
)
,
P
x
)
↔
∃
(
x
:
BitVec
16
)
,
P
(
ofBitVec
x
)
source
@[instance_reducible]
instance
Int16
.
instDecidableForall
(
P
:
Int16
→
Prop
)
[
DecidablePred
P
]
:
Decidable
(∀ (
x
:
Int16
),
P
x
)
source
@[instance_reducible]
instance
Int16
.
instDecidableExists
(
P
:
Int16
→
Prop
)
[
DecidablePred
P
]
:
Decidable
(
∃
(
x
:
Int16
)
,
P
x
)
source
theorem
Int32
.
forall_iff_forall_ofBitVec
{
P
:
Int32
→
Prop
}
:
(∀ (
x
:
Int32
),
P
x
)
↔
∀ (
x
:
BitVec
32
),
P
(
ofBitVec
x
)
source
theorem
Int32
.
exists_iff_exists_ofBitVec
{
P
:
Int32
→
Prop
}
:
(
∃
(
x
:
Int32
)
,
P
x
)
↔
∃
(
x
:
BitVec
32
)
,
P
(
ofBitVec
x
)
source
@[instance_reducible]
instance
Int32
.
instDecidableExists
(
P
:
Int32
→
Prop
)
[
DecidablePred
P
]
:
Decidable
(
∃
(
x
:
Int32
)
,
P
x
)
source
@[instance_reducible]
instance
Int32
.
instDecidableForall
(
P
:
Int32
→
Prop
)
[
DecidablePred
P
]
:
Decidable
(∀ (
x
:
Int32
),
P
x
)
source
@[instance_reducible]
instance
Int64
.
instDecidableExists
(
P
:
Int64
→
Prop
)
[
DecidablePred
P
]
:
Decidable
(
∃
(
x
:
Int64
)
,
P
x
)
source
theorem
Int64
.
exists_iff_exists_ofBitVec
{
P
:
Int64
→
Prop
}
:
(
∃
(
x
:
Int64
)
,
P
x
)
↔
∃
(
x
:
BitVec
64
)
,
P
(
ofBitVec
x
)
source
theorem
Int64
.
forall_iff_forall_ofBitVec
{
P
:
Int64
→
Prop
}
:
(∀ (
x
:
Int64
),
P
x
)
↔
∀ (
x
:
BitVec
64
),
P
(
ofBitVec
x
)
source
@[instance_reducible]
instance
Int64
.
instDecidableForall
(
P
:
Int64
→
Prop
)
[
DecidablePred
P
]
:
Decidable
(∀ (
x
:
Int64
),
P
x
)