Documentation
Init
.
Sym
.
Lemmas
Search
return to top
source
Imports
Init.ByCases
Init.Data.BitVec.Lemmas
Init.Data.Int.Order
Init.Data.Nat.Dvd
Init.Data.Rat.Basic
Init.Data.SInt.Basic
Init.Data.UInt.Lemmas
Init.Data.Int.DivMod.Lemmas
Init.Data.String.Lemmas.StringOrder
Imported by
Lean
.
Sym
.
not_true_eq
Lean
.
Sym
.
not_false_eq
Lean
.
Sym
.
or_eq_true_left
Lean
.
Sym
.
or_eq_right
Lean
.
Sym
.
and_eq_false_left
Lean
.
Sym
.
and_eq_left
Lean
.
Sym
.
imp_subst
Lean
.
Sym
.
ite_cond_congr
Lean
.
Sym
.
ite_true
Lean
.
Sym
.
ite_true_congr
Lean
.
Sym
.
ite_false
Lean
.
Sym
.
ite_false_congr
Lean
.
Sym
.
ite_of_decide_eq_true
Lean
.
Sym
.
ite_of_decide_eq_false
Lean
.
Sym
.
ite_of_decide_eq_true_congr
Lean
.
Sym
.
ite_of_decide_eq_false_congr
Lean
.
Sym
.
dite_true
Lean
.
Sym
.
dite_true_congr
Lean
.
Sym
.
dite_false
Lean
.
Sym
.
dite_false_congr
Lean
.
Sym
.
dite_cond_congr
Lean
.
Sym
.
cond_cond_eq_true
Lean
.
Sym
.
cond_cond_eq_false
Lean
.
Sym
.
cond_cond_congr
Lean
.
Sym
.
Nat
.
lt_eq_true
Lean
.
Sym
.
Int
.
lt_eq_true
Lean
.
Sym
.
Rat
.
lt_eq_true
Lean
.
Sym
.
Int8
.
lt_eq_true
Lean
.
Sym
.
Int16
.
lt_eq_true
Lean
.
Sym
.
Int32
.
lt_eq_true
Lean
.
Sym
.
Int64
.
lt_eq_true
Lean
.
Sym
.
UInt8
.
lt_eq_true
Lean
.
Sym
.
UInt16
.
lt_eq_true
Lean
.
Sym
.
UInt32
.
lt_eq_true
Lean
.
Sym
.
UInt64
.
lt_eq_true
Lean
.
Sym
.
Fin
.
lt_eq_true
Lean
.
Sym
.
BitVec
.
lt_eq_true
Lean
.
Sym
.
String
.
lt_eq_true
Lean
.
Sym
.
Char
.
lt_eq_true
Lean
.
Sym
.
Nat
.
lt_eq_false
Lean
.
Sym
.
Int
.
lt_eq_false
Lean
.
Sym
.
Rat
.
lt_eq_false
Lean
.
Sym
.
Int8
.
lt_eq_false
Lean
.
Sym
.
Int16
.
lt_eq_false
Lean
.
Sym
.
Int32
.
lt_eq_false
Lean
.
Sym
.
Int64
.
lt_eq_false
Lean
.
Sym
.
UInt8
.
lt_eq_false
Lean
.
Sym
.
UInt16
.
lt_eq_false
Lean
.
Sym
.
UInt32
.
lt_eq_false
Lean
.
Sym
.
UInt64
.
lt_eq_false
Lean
.
Sym
.
Fin
.
lt_eq_false
Lean
.
Sym
.
BitVec
.
lt_eq_false
Lean
.
Sym
.
String
.
lt_eq_false
Lean
.
Sym
.
Char
.
lt_eq_false
Lean
.
Sym
.
Nat
.
le_eq_true
Lean
.
Sym
.
Int
.
le_eq_true
Lean
.
Sym
.
Rat
.
le_eq_true
Lean
.
Sym
.
Int8
.
le_eq_true
Lean
.
Sym
.
Int16
.
le_eq_true
Lean
.
Sym
.
Int32
.
le_eq_true
Lean
.
Sym
.
Int64
.
le_eq_true
Lean
.
Sym
.
UInt8
.
le_eq_true
Lean
.
Sym
.
UInt16
.
le_eq_true
Lean
.
Sym
.
UInt32
.
le_eq_true
Lean
.
Sym
.
UInt64
.
le_eq_true
Lean
.
Sym
.
Fin
.
le_eq_true
Lean
.
Sym
.
BitVec
.
le_eq_true
Lean
.
Sym
.
String
.
le_eq_true
Lean
.
Sym
.
Char
.
le_eq_true
Lean
.
Sym
.
Nat
.
le_eq_false
Lean
.
Sym
.
Int
.
le_eq_false
Lean
.
Sym
.
Rat
.
le_eq_false
Lean
.
Sym
.
Int8
.
le_eq_false
Lean
.
Sym
.
Int16
.
le_eq_false
Lean
.
Sym
.
Int32
.
le_eq_false
Lean
.
Sym
.
Int64
.
le_eq_false
Lean
.
Sym
.
UInt8
.
le_eq_false
Lean
.
Sym
.
UInt16
.
le_eq_false
Lean
.
Sym
.
UInt32
.
le_eq_false
Lean
.
Sym
.
UInt64
.
le_eq_false
Lean
.
Sym
.
Fin
.
le_eq_false
Lean
.
Sym
.
BitVec
.
le_eq_false
Lean
.
Sym
.
String
.
le_eq_false
Lean
.
Sym
.
Char
.
le_eq_false
Lean
.
Sym
.
Bool
.
eq_eq_true
Lean
.
Sym
.
Nat
.
eq_eq_true
Lean
.
Sym
.
Int
.
eq_eq_true
Lean
.
Sym
.
Rat
.
eq_eq_true
Lean
.
Sym
.
Int8
.
eq_eq_true
Lean
.
Sym
.
Int16
.
eq_eq_true
Lean
.
Sym
.
Int32
.
eq_eq_true
Lean
.
Sym
.
Int64
.
eq_eq_true
Lean
.
Sym
.
UInt8
.
eq_eq_true
Lean
.
Sym
.
UInt16
.
eq_eq_true
Lean
.
Sym
.
UInt32
.
eq_eq_true
Lean
.
Sym
.
UInt64
.
eq_eq_true
Lean
.
Sym
.
Fin
.
eq_eq_true
Lean
.
Sym
.
BitVec
.
eq_eq_true
Lean
.
Sym
.
Char
.
eq_eq_true
Lean
.
Sym
.
Bool
.
eq_eq_false
Lean
.
Sym
.
Nat
.
eq_eq_false
Lean
.
Sym
.
Int
.
eq_eq_false
Lean
.
Sym
.
Rat
.
eq_eq_false
Lean
.
Sym
.
Int8
.
eq_eq_false
Lean
.
Sym
.
Int16
.
eq_eq_false
Lean
.
Sym
.
Int32
.
eq_eq_false
Lean
.
Sym
.
Int64
.
eq_eq_false
Lean
.
Sym
.
UInt8
.
eq_eq_false
Lean
.
Sym
.
UInt16
.
eq_eq_false
Lean
.
Sym
.
UInt32
.
eq_eq_false
Lean
.
Sym
.
UInt64
.
eq_eq_false
Lean
.
Sym
.
Fin
.
eq_eq_false
Lean
.
Sym
.
BitVec
.
eq_eq_false
Lean
.
Sym
.
Char
.
eq_eq_false
Lean
.
Sym
.
Nat
.
dvd_eq_true
Lean
.
Sym
.
Int
.
dvd_eq_true
Lean
.
Sym
.
Nat
.
dvd_eq_false
Lean
.
Sym
.
Int
.
dvd_eq_false
Lean
.
Sym
.
decide_isTrue
Lean
.
Sym
.
decide_isTrue_congr
Lean
.
Sym
.
decide_isFalse
Lean
.
Sym
.
decide_isFalse_congr
Lean
.
Sym
.
decide_eq_congr
Lean
.
Sym
.
decide_prop_eq_true
Lean
.
Sym
.
decide_prop_eq_false
Lean
.
Sym
.
eq_prop_eq_and
Lean
.
Sym
.
iff_eq_and
Lean
.
Sym
.
ite_eq_and
Lean
.
Sym
.
cond_eq_and
Lean
.
Sym
.
imp_eq
Lean
.
Sym
.
exists_and_eq
Lean
.
Sym
.
and_exists_eq
Lean
.
Sym
.
exists_or_exists_eq
Lean
.
Sym
.
forall_and_forall_eq
Lean
.
Sym
.
forall_or_eq
Lean
.
Sym
.
or_forall_eq
Lean
.
Sym
.
forall_and_eq
Lean
.
Sym
.
and_forall_eq
Lean
.
Sym
.
exists_or_eq
Lean
.
Sym
.
or_exists_eq
source
theorem
Lean
.
Sym
.
not_true_eq
:
(
¬
True
)
=
False
source
theorem
Lean
.
Sym
.
not_false_eq
:
(
¬
False
)
=
True
source
theorem
Lean
.
Sym
.
or_eq_true_left
(
a
b
:
Prop
)
(
h
:
a
=
True
)
:
(
a
∨
b
)
=
True
source
theorem
Lean
.
Sym
.
or_eq_right
(
a
b
:
Prop
)
(
h
:
a
=
False
)
:
(
a
∨
b
)
=
b
source
theorem
Lean
.
Sym
.
and_eq_false_left
(
a
b
:
Prop
)
(
h
:
a
=
False
)
:
(
a
∧
b
)
=
False
source
theorem
Lean
.
Sym
.
and_eq_left
(
a
b
:
Prop
)
(
h
:
a
=
True
)
:
(
a
∧
b
)
=
b
source
theorem
Lean
.
Sym
.
imp_subst
{
α
:
Sort
u}
{
x
t
:
α
}
(
motive
:
α
→
Prop
)
(
k
:
x
=
t
→
motive
t
)
:
x
=
t
→
motive
x
source
theorem
Lean
.
Sym
.
ite_cond_congr
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
b
:
α
)
(
c'
:
Prop
)
{
inst'
:
Decidable
c'
}
(
h
:
c
=
c'
)
:
(
if
c
then
a
else
b
)
=
if
c'
then
a
else
b
source
theorem
Lean
.
Sym
.
ite_true
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
b
:
α
)
{
ht
:
c
}
:
(
if
c
then
a
else
b
)
=
a
source
theorem
Lean
.
Sym
.
ite_true_congr
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
b
:
α
)
(
c'
:
Prop
)
(
h
:
c
=
c'
)
{
ht
:
c'
}
:
(
if
c
then
a
else
b
)
=
a
source
theorem
Lean
.
Sym
.
ite_false
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
b
:
α
)
{
ht
:
¬
c
}
:
(
if
c
then
a
else
b
)
=
b
source
theorem
Lean
.
Sym
.
ite_false_congr
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
b
:
α
)
(
c'
:
Prop
)
(
h
:
c
=
c'
)
{
ht
:
¬
c'
}
:
(
if
c
then
a
else
b
)
=
b
source
theorem
Lean
.
Sym
.
ite_of_decide_eq_true
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
b
:
α
)
{
ht
:
decide
c
=
true
}
:
(
if
c
then
a
else
b
)
=
a
source
theorem
Lean
.
Sym
.
ite_of_decide_eq_false
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
b
:
α
)
{
ht
:
decide
c
=
false
}
:
(
if
c
then
a
else
b
)
=
b
source
theorem
Lean
.
Sym
.
ite_of_decide_eq_true_congr
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
b
:
α
)
(
c'
:
Prop
)
(
h
:
c
=
c'
)
{
x✝
:
Decidable
c'
}
{
ht
:
decide
c'
=
true
}
:
(
if
c
then
a
else
b
)
=
a
source
theorem
Lean
.
Sym
.
ite_of_decide_eq_false_congr
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
b
:
α
)
(
c'
:
Prop
)
(
h
:
c
=
c'
)
{
x✝
:
Decidable
c'
}
{
ht
:
decide
c'
=
false
}
:
(
if
c
then
a
else
b
)
=
b
source
theorem
Lean
.
Sym
.
dite_true
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
:
c
→
α
)
(
b
:
¬
c
→
α
)
{
ht
:
c
}
:
dite
c
a
b
=
a
ht
source
theorem
Lean
.
Sym
.
dite_true_congr
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
:
c
→
α
)
(
b
:
¬
c
→
α
)
(
c'
:
Prop
)
(
h
:
c
=
c'
)
{
ht
:
c'
}
:
dite
c
a
b
=
a
⋯
source
theorem
Lean
.
Sym
.
dite_false
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
:
c
→
α
)
(
b
:
¬
c
→
α
)
{
ht
:
¬
c
}
:
dite
c
a
b
=
b
ht
source
theorem
Lean
.
Sym
.
dite_false_congr
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
:
c
→
α
)
(
b
:
¬
c
→
α
)
(
c'
:
Prop
)
(
h
:
c
=
c'
)
{
ht
:
¬
c'
}
:
dite
c
a
b
=
b
⋯
source
theorem
Lean
.
Sym
.
dite_cond_congr
{
α
:
Sort
u}
(
c
:
Prop
)
{
inst
:
Decidable
c
}
(
a
:
c
→
α
)
(
b
:
¬
c
→
α
)
(
c'
:
Prop
)
{
inst'
:
Decidable
c'
}
(
h
:
c
=
c'
)
:
dite
c
a
b
=
if h' :
c'
then
a
⋯
else
b
⋯
source
theorem
Lean
.
Sym
.
cond_cond_eq_true
{
α
:
Sort
u}
(
c
:
Bool
)
(
a
b
:
α
)
(
h
:
c
=
true
)
:
(bif
c
then
a
else
b
)
=
a
source
theorem
Lean
.
Sym
.
cond_cond_eq_false
{
α
:
Sort
u}
(
c
:
Bool
)
(
a
b
:
α
)
(
h
:
c
=
false
)
:
(bif
c
then
a
else
b
)
=
b
source
theorem
Lean
.
Sym
.
cond_cond_congr
{
α
:
Sort
u}
(
c
:
Bool
)
(
a
b
:
α
)
(
c'
:
Bool
)
(
h
:
c
=
c'
)
:
(bif
c
then
a
else
b
)
=
bif
c'
then
a
else
b
source
theorem
Lean
.
Sym
.
Nat
.
lt_eq_true
(
a
b
:
Nat
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
Int
.
lt_eq_true
(
a
b
:
Int
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
Rat
.
lt_eq_true
(
a
b
:
Rat
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
Int8
.
lt_eq_true
(
a
b
:
Int8
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
Int16
.
lt_eq_true
(
a
b
:
Int16
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
Int32
.
lt_eq_true
(
a
b
:
Int32
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
Int64
.
lt_eq_true
(
a
b
:
Int64
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt8
.
lt_eq_true
(
a
b
:
UInt8
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt16
.
lt_eq_true
(
a
b
:
UInt16
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt32
.
lt_eq_true
(
a
b
:
UInt32
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt64
.
lt_eq_true
(
a
b
:
UInt64
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
Fin
.
lt_eq_true
{
n
:
Nat
}
(
a
b
:
Fin
n
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
BitVec
.
lt_eq_true
{
n
:
Nat
}
(
a
b
:
BitVec
n
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
String
.
lt_eq_true
(
a
b
:
String
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
Char
.
lt_eq_true
(
a
b
:
Char
)
(
h
:
decide
(
a
<
b
)
=
true
)
:
(
a
<
b
)
=
True
source
theorem
Lean
.
Sym
.
Nat
.
lt_eq_false
(
a
b
:
Nat
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
Int
.
lt_eq_false
(
a
b
:
Int
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
Rat
.
lt_eq_false
(
a
b
:
Rat
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
Int8
.
lt_eq_false
(
a
b
:
Int8
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
Int16
.
lt_eq_false
(
a
b
:
Int16
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
Int32
.
lt_eq_false
(
a
b
:
Int32
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
Int64
.
lt_eq_false
(
a
b
:
Int64
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt8
.
lt_eq_false
(
a
b
:
UInt8
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt16
.
lt_eq_false
(
a
b
:
UInt16
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt32
.
lt_eq_false
(
a
b
:
UInt32
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt64
.
lt_eq_false
(
a
b
:
UInt64
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
Fin
.
lt_eq_false
{
n
:
Nat
}
(
a
b
:
Fin
n
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
BitVec
.
lt_eq_false
{
n
:
Nat
}
(
a
b
:
BitVec
n
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
String
.
lt_eq_false
(
a
b
:
String
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
Char
.
lt_eq_false
(
a
b
:
Char
)
(
h
:
decide
(
a
<
b
)
=
false
)
:
(
a
<
b
)
=
False
source
theorem
Lean
.
Sym
.
Nat
.
le_eq_true
(
a
b
:
Nat
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
Int
.
le_eq_true
(
a
b
:
Int
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
Rat
.
le_eq_true
(
a
b
:
Rat
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
Int8
.
le_eq_true
(
a
b
:
Int8
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
Int16
.
le_eq_true
(
a
b
:
Int16
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
Int32
.
le_eq_true
(
a
b
:
Int32
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
Int64
.
le_eq_true
(
a
b
:
Int64
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt8
.
le_eq_true
(
a
b
:
UInt8
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt16
.
le_eq_true
(
a
b
:
UInt16
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt32
.
le_eq_true
(
a
b
:
UInt32
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt64
.
le_eq_true
(
a
b
:
UInt64
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
Fin
.
le_eq_true
{
n
:
Nat
}
(
a
b
:
Fin
n
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
BitVec
.
le_eq_true
{
n
:
Nat
}
(
a
b
:
BitVec
n
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
String
.
le_eq_true
(
a
b
:
String
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
Char
.
le_eq_true
(
a
b
:
Char
)
(
h
:
decide
(
a
≤
b
)
=
true
)
:
(
a
≤
b
)
=
True
source
theorem
Lean
.
Sym
.
Nat
.
le_eq_false
(
a
b
:
Nat
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
Int
.
le_eq_false
(
a
b
:
Int
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
Rat
.
le_eq_false
(
a
b
:
Rat
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
Int8
.
le_eq_false
(
a
b
:
Int8
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
Int16
.
le_eq_false
(
a
b
:
Int16
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
Int32
.
le_eq_false
(
a
b
:
Int32
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
Int64
.
le_eq_false
(
a
b
:
Int64
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt8
.
le_eq_false
(
a
b
:
UInt8
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt16
.
le_eq_false
(
a
b
:
UInt16
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt32
.
le_eq_false
(
a
b
:
UInt32
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt64
.
le_eq_false
(
a
b
:
UInt64
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
Fin
.
le_eq_false
{
n
:
Nat
}
(
a
b
:
Fin
n
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
BitVec
.
le_eq_false
{
n
:
Nat
}
(
a
b
:
BitVec
n
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
String
.
le_eq_false
(
a
b
:
String
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
Char
.
le_eq_false
(
a
b
:
Char
)
(
h
:
decide
(
a
≤
b
)
=
false
)
:
(
a
≤
b
)
=
False
source
theorem
Lean
.
Sym
.
Bool
.
eq_eq_true
(
a
b
:
Bool
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Nat
.
eq_eq_true
(
a
b
:
Nat
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Int
.
eq_eq_true
(
a
b
:
Int
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Rat
.
eq_eq_true
(
a
b
:
Rat
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Int8
.
eq_eq_true
(
a
b
:
Int8
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Int16
.
eq_eq_true
(
a
b
:
Int16
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Int32
.
eq_eq_true
(
a
b
:
Int32
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Int64
.
eq_eq_true
(
a
b
:
Int64
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt8
.
eq_eq_true
(
a
b
:
UInt8
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt16
.
eq_eq_true
(
a
b
:
UInt16
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt32
.
eq_eq_true
(
a
b
:
UInt32
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
UInt64
.
eq_eq_true
(
a
b
:
UInt64
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Fin
.
eq_eq_true
{
n
:
Nat
}
(
a
b
:
Fin
n
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
BitVec
.
eq_eq_true
{
n
:
Nat
}
(
a
b
:
BitVec
n
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Char
.
eq_eq_true
(
a
b
:
Char
)
(
h
:
decide
(
a
=
b
)
=
true
)
:
(
a
=
b
)
=
True
source
theorem
Lean
.
Sym
.
Bool
.
eq_eq_false
(
a
b
:
Bool
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Nat
.
eq_eq_false
(
a
b
:
Nat
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Int
.
eq_eq_false
(
a
b
:
Int
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Rat
.
eq_eq_false
(
a
b
:
Rat
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Int8
.
eq_eq_false
(
a
b
:
Int8
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Int16
.
eq_eq_false
(
a
b
:
Int16
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Int32
.
eq_eq_false
(
a
b
:
Int32
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Int64
.
eq_eq_false
(
a
b
:
Int64
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt8
.
eq_eq_false
(
a
b
:
UInt8
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt16
.
eq_eq_false
(
a
b
:
UInt16
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt32
.
eq_eq_false
(
a
b
:
UInt32
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
UInt64
.
eq_eq_false
(
a
b
:
UInt64
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Fin
.
eq_eq_false
{
n
:
Nat
}
(
a
b
:
Fin
n
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
BitVec
.
eq_eq_false
{
n
:
Nat
}
(
a
b
:
BitVec
n
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Char
.
eq_eq_false
(
a
b
:
Char
)
(
h
:
decide
(
a
=
b
)
=
false
)
:
(
a
=
b
)
=
False
source
theorem
Lean
.
Sym
.
Nat
.
dvd_eq_true
(
a
b
:
Nat
)
(
h
:
decide
(
a
∣
b
)
=
true
)
:
(
a
∣
b
)
=
True
source
theorem
Lean
.
Sym
.
Int
.
dvd_eq_true
(
a
b
:
Int
)
(
h
:
decide
(
a
∣
b
)
=
true
)
:
(
a
∣
b
)
=
True
source
theorem
Lean
.
Sym
.
Nat
.
dvd_eq_false
(
a
b
:
Nat
)
(
h
:
decide
(
a
∣
b
)
=
false
)
:
(
a
∣
b
)
=
False
source
theorem
Lean
.
Sym
.
Int
.
dvd_eq_false
(
a
b
:
Int
)
(
h
:
decide
(
a
∣
b
)
=
false
)
:
(
a
∣
b
)
=
False
source
theorem
Lean
.
Sym
.
decide_isTrue
(
p
:
Prop
)
{
inst
:
Decidable
p
}
{
h
:
p
}
:
decide
p
=
true
source
theorem
Lean
.
Sym
.
decide_isTrue_congr
(
p
p'
:
Prop
)
(
heq
:
p
=
p'
)
{
inst
:
Decidable
p
}
{
hp
:
p'
}
:
decide
p
=
true
source
theorem
Lean
.
Sym
.
decide_isFalse
(
p
:
Prop
)
{
inst
:
Decidable
p
}
{
h
:
¬
p
}
:
decide
p
=
false
source
theorem
Lean
.
Sym
.
decide_isFalse_congr
(
p
p'
:
Prop
)
(
heq
:
p
=
p'
)
{
inst
:
Decidable
p
}
{
hnp
:
¬
p'
}
:
decide
p
=
false
source
theorem
Lean
.
Sym
.
decide_eq_congr
(
p
p'
:
Prop
)
(
heq
:
p
=
p'
)
{
inst
:
Decidable
p
}
{
inst'
:
Decidable
p'
}
{
b
:
Bool
}
{
h
:
decide
p'
=
b
}
:
decide
p
=
b
source
theorem
Lean
.
Sym
.
decide_prop_eq_true
(
p
:
Prop
)
{
inst
:
Decidable
p
}
(
h
:
p
=
True
)
:
decide
p
=
true
source
theorem
Lean
.
Sym
.
decide_prop_eq_false
(
p
:
Prop
)
{
inst
:
Decidable
p
}
(
h
:
p
=
False
)
:
decide
p
=
false
source
theorem
Lean
.
Sym
.
eq_prop_eq_and
(
p
q
:
Prop
)
:
(
p
=
q
)
=
(
(
p
→
q
)
∧
(
q
→
p
)
)
source
theorem
Lean
.
Sym
.
iff_eq_and
(
p
q
:
Prop
)
:
(
p
↔
q
)
=
(
(
p
→
q
)
∧
(
q
→
p
)
)
source
theorem
Lean
.
Sym
.
ite_eq_and
(
c
:
Prop
)
[
Decidable
c
]
(
t
e
:
Prop
)
:
(
if
c
then
t
else
e
)
=
(
(
c
→
t
)
∧
(
¬
c
→
e
)
)
source
theorem
Lean
.
Sym
.
cond_eq_and
(
c
:
Bool
)
(
t
e
:
Prop
)
:
(bif
c
then
t
else
e
)
=
(
(
c
=
true
→
t
)
∧
(
¬
c
=
true
→
e
)
)
source
theorem
Lean
.
Sym
.
imp_eq
(
p
q
:
Prop
)
:
(
p
→
q
)
=
(
¬
p
∨
q
)
source
theorem
Lean
.
Sym
.
exists_and_eq
{
α
:
Sort
u_1}
(
p
:
α
→
Prop
)
(
q
:
Prop
)
:
((
∃
(
x
:
α
)
,
p
x
)
∧
q
)
=
∃
(
x
:
α
)
,
p
x
∧
q
source
theorem
Lean
.
Sym
.
and_exists_eq
{
α
:
Sort
u_1}
(
p
:
Prop
)
(
q
:
α
→
Prop
)
:
(
p
∧
∃
(
x
:
α
)
,
q
x
)
=
∃
(
x
:
α
)
,
p
∧
q
x
source
theorem
Lean
.
Sym
.
exists_or_exists_eq
{
α
:
Sort
u_1}
(
p
q
:
α
→
Prop
)
:
((
∃
(
x
:
α
)
,
p
x
)
∨
∃
(
x
:
α
)
,
q
x
)
=
∃
(
x
:
α
)
,
p
x
∨
q
x
source
theorem
Lean
.
Sym
.
forall_and_forall_eq
{
α
:
Sort
u_1}
(
p
q
:
α
→
Prop
)
:
(
(∀ (
x
:
α
),
p
x
)
∧
∀ (
x
:
α
),
q
x
)
=
∀ (
x
:
α
),
p
x
∧
q
x
source
theorem
Lean
.
Sym
.
forall_or_eq
{
α
:
Sort
u_1}
(
p
:
α
→
Prop
)
(
q
:
Prop
)
:
(
(∀ (
x
:
α
),
p
x
)
∨
q
)
=
∀ (
x
:
α
),
p
x
∨
q
source
theorem
Lean
.
Sym
.
or_forall_eq
{
α
:
Sort
u_1}
(
p
:
Prop
)
(
q
:
α
→
Prop
)
:
(
p
∨
∀ (
x
:
α
),
q
x
)
=
∀ (
x
:
α
),
p
∨
q
x
source
theorem
Lean
.
Sym
.
forall_and_eq
{
α
:
Sort
u_1}
[
Nonempty
α
]
(
p
:
α
→
Prop
)
(
q
:
Prop
)
:
(
(∀ (
x
:
α
),
p
x
)
∧
q
)
=
∀ (
x
:
α
),
p
x
∧
q
source
theorem
Lean
.
Sym
.
and_forall_eq
{
α
:
Sort
u_1}
[
Nonempty
α
]
(
p
:
Prop
)
(
q
:
α
→
Prop
)
:
(
p
∧
∀ (
x
:
α
),
q
x
)
=
∀ (
x
:
α
),
p
∧
q
x
source
theorem
Lean
.
Sym
.
exists_or_eq
{
α
:
Sort
u_1}
[
Nonempty
α
]
(
p
:
α
→
Prop
)
(
q
:
Prop
)
:
((
∃
(
x
:
α
)
,
p
x
)
∨
q
)
=
∃
(
x
:
α
)
,
p
x
∨
q
source
theorem
Lean
.
Sym
.
or_exists_eq
{
α
:
Sort
u_1}
[
Nonempty
α
]
(
p
:
Prop
)
(
q
:
α
→
Prop
)
:
(
p
∨
∃
(
x
:
α
)
,
q
x
)
=
∃
(
x
:
α
)
,
p
∨
q
x