Convert the given goal Ctx |- target
into Ctx |- type -> target
.
It assumes val
has type type
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.assert mvarId name type val = Lean.MVarId.assert mvarId name type val
Instances For
Convert the given goal Ctx |- target
into Ctx |- let name : type := val; target
.
It assumes val
has type type
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.define mvarId name type val = Lean.MVarId.define mvarId name type val
Instances For
Convert the given goal Ctx |- target
into Ctx |- (hName : type) -> hName = val -> target
.
It assumes val
has type type
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.assertExt mvarId name type val hName = Lean.MVarId.assertExt mvarId name type val hName
Instances For
- fvarId : Lean.FVarId
- mvarId : Lean.MVarId
- subst : Lean.Meta.FVarSubst
Instances For
Convert the given goal Ctx |- target
into a goal containing (userName : type)
after the local declaration with if fvarId
.
It assumes val
has type type
, and that type
is well-formed after fvarId
.
Note that val
does not need to be well-formed after fvarId
. That is, it may contain variables that are defined after fvarId
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.assertAfter mvarId fvarId userName type val = Lean.MVarId.assertAfter mvarId fvarId userName type val
Instances For
Convert the given goal Ctx |- target
into Ctx, (hs[0].userName : hs[0].type) ... |-target
.
It assumes hs[i].val
has type hs[i].type
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.assertHypotheses mvarId hs = Lean.MVarId.assertHypotheses mvarId hs