def
LentilLib.simpleProveTheorem
(name : Lean.Name)
(lvlParams : List Lean.Name)
(type : Lean.Expr)
(proofScript : Lean.TSyntax `term)
(nonComputable? : Bool)
:
Prove a theorem at the level of MetaM, without going into the proof mode.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Gives a name based on baseName that's not already in the list.
Equations
Instances For
def
LentilLib.termIdentOpt
(stx : Lean.TSyntax `term)
:
Lean.Elab.Tactic.TacticM (Option (Lean.TSyntax `ident))
Is stx, a Term, an Ident?
Equations
Instances For
def
LentilLib.let
(g : Lean.MVarId)
(h : Lean.Name)
(v : Lean.Expr)
(t : Option Lean.Expr := none)
:
Add the hypothesis h : t, given v : t, and return the new FVarId.
Equations
- LentilLib.let g h v t = do let __do_lift ← t.getDM (Lean.Meta.inferType v) let __do_lift ← g.define h __do_lift v __do_lift.intro1P