Documentation

LeanPool.Lentil.Utils.MetaUtil

def LentilLib.simpleAddTheorem (name : Lean.Name) (lvlParams : List Lean.Name) (type value : Lean.Expr) (nonComputable? : Bool) :

Add a single theorem to the environment by providing its name, type and proof.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    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

        Is stx, a Term, an Ident?

        Equations
        Instances For

          Add the hypothesis h : t, given v : t, and return the new FVarId.

          Equations
          Instances For