Documentation

Init.Meta

@[extern lean_get_githash]
constant Lean.getGithash (u : Unit) :
@[extern c inline "LEAN_VERSION_IS_RELEASE"]
@[extern c inline "lean_mk_string(LEAN_SPECIAL_VERSION_DESC)"]
Equations
def Lean.isGreek (c : Char) :
Equations
Equations
Equations
Equations
def Lean.Name.toStringWithSep (sep : String) (escape : Bool) :
Equations
@[inline]
Equations
Equations
Equations
structure Lean.NameGenerator :
Type
Equations
@[inline]
Equations
@[inline]
Equations
def Lean.mkFreshId {m : TypeType} [inst : Monad m] [inst : Lean.MonadNameGenerator m] :
Equations
instance Lean.monadNameGeneratorLift (m : TypeType) (n : TypeType) [inst : MonadLift m n] [inst : Lean.MonadNameGenerator m] :
Equations
Equations
def Lean.Syntax.getSubstring? (stx : Lean.Syntax) (withLeading : optParam Bool true) (withTrailing : optParam Bool true) :
Equations
Equations
Equations
Equations
@[inline]
def Lean.withHeadRefOnly {m : TypeType} [inst : Monad m] [inst : Lean.MonadRef m] {α : Type} (x : m α) :
m α
Equations
structure Lean.Module :
Type
def Lean.mkIdentFromRef {m : TypeType} [inst : Monad m] [inst : Lean.MonadRef m] (val : Lean.Name) :
Equations
def Lean.mkCIdentFromRef {m : TypeType} [inst : Monad m] [inst : Lean.MonadRef m] (c : Lean.Name) :
Equations
Equations
Equations
Equations
def Lean.Syntax.SepArray.ofElemsUsingRef {m : TypeType} [inst : Monad m] [inst : Lean.MonadRef m] {sep : String} (elems : Array Lean.Syntax) :
Equations
Equations
Equations
Equations
Equations
Equations
partial def Lean.Syntax.decodeScientificLitVal?.decodeAfterExp (s : String) (i : String.Pos) (val : Nat) (e : Nat) (sign : Bool) (exp : Nat) :
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
instance Lean.instQuoteProd {α : Type} {β : Type} [inst : Lean.Quote α] [inst : Lean.Quote β] :
Lean.Quote (α × β)
Equations
instance Lean.instQuoteList {α : Type} [inst : Lean.Quote α] :
Equations
  • Lean.instQuoteList = { quote := Lean.quoteList }
instance Lean.instQuoteArray {α : Type} [inst : Lean.Quote α] :
Equations
instance Lean.Option.hasQuote {α : Type} [inst : Lean.Quote α] :
Equations
  • Lean.Option.hasQuote = { quote := Lean.quoteOption }
Equations
Equations
Equations
@[inline]
abbrev Array.getSepElems {α : Type u_1} (as : Array α) :
Equations
def Array.filterSepElemsM {m : TypeType} [inst : Monad m] (a : Array Lean.Syntax) (p : Lean.Syntaxm Bool) :
Equations
def Array.mapSepElemsM {m : TypeType} [inst : Monad m] (a : Array Lean.Syntax) (f : Lean.Syntaxm Lean.Syntax) :
Equations
@[inline]
abbrev autoParam (α : Sort u) (tactic : Lean.Syntax) :
Sort u
Equations
Equations
Equations
structure Lean.Meta.Simp.Config :
Type
Equations
  • Lean.Meta.Simp.instInhabitedConfig = { default := { maxSteps := default, maxDischargeDepth := default, contextual := default, memoize := default, singlePass := default, zeta := default, beta := default, eta := default, etaStruct := default, iota := default, proj := default, decide := default } }
Equations
structure Lean.Meta.Rewrite.Config :
Type