Return true if e
is of the form ofNat n
where n
is a kernel Nat literal
Equations
Instances For
If e
is a raw Nat literal and OfNat.ofNat
is not in the list of declarations to unfold,
return an OfNat.ofNat
-application.
Equations
Instances For
Return true if e
is of the form ofScientific n b m
where n
and m
are kernel Nat literals.
Equations
Instances For
Return true if e
is of the form Char.ofNat n
where n
is a kernel Nat literals.
Equations
Instances For
- dep : SimpLetCase
- nondepDepVar : SimpLetCase
- nondep : SimpLetCase
Instances For
Equations
Instances For
Process the given congruence theorem hypothesis. Return true if it made "progress".
Equations
Instances For
Try to rewrite e
children using the given congruence theorem
Equations
Instances For
Returns true
if e
is of the form @letFun _ (fun _ => β) _ _
β
must not contain loose bound variables. Recall that simp
does not have support for let_fun
s
where resulting type depends on the let
-value. Example:
let_fun n := 10;
BitVec.zero n
Equations
Instances For
Simplifies a sequence of let_fun
declarations.
It attempts to minimize the quadratic overhead imposed by
the locally nameless discipline.
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
See simpTarget
. This method assumes mvarId
is not assigned, and we are already using mvarId
s local context.
Equations
Instances For
Simplify the given goal target (aka type). Return none
if the goal was closed. Return some mvarId'
otherwise,
where mvarId'
is the simplified new goal.
Equations
Instances For
Applies the result r
for type
(which is inhabited by val
). Returns none
if the goal was closed. Returns some (val', type')
otherwise, where val' : type'
and type'
is the simplified type
.
This method assumes mvarId
is not assigned, and we are already using mvarId
s local context.
Equations
Instances For
Simplify prop
(which is inhabited by proof
). Return none
if the goal was closed. Return some (proof', prop')
otherwise, where proof' : prop'
and prop'
is the simplified prop
.
This method assumes mvarId
is not assigned, and we are already using mvarId
s local context.
Equations
Instances For
Simplify simp
result to the given local declaration. Return none
if the goal was closed.
This method assumes mvarId
is not assigned, and we are already using mvarId
s local context.