Loogle!
Result
Found 3612 definitions mentioning Lean.Name. Of these, only the first 200 are shown.
- Lean.Name π Init.Prelude
: Type - Lean.Name.anonymous π Init.Prelude
: Lean.Name - Lean.extractMacroScopes π Init.Prelude
(n : Lean.Name) : Lean.MacroScopesView - Lean.instAppendName π Init.Prelude
: Append Lean.Name - Lean.instHashableName π Init.Prelude
: Hashable Lean.Name - Lean.instInhabitedName π Init.Prelude
: Inhabited Lean.Name - Lean.Macro.getCurrNamespace π Init.Prelude
: Lean.MacroM Lean.Name - Lean.MacroScopesView.imported π Init.Prelude
(self : Lean.MacroScopesView) : Lean.Name - Lean.MacroScopesView.mainModule π Init.Prelude
(self : Lean.MacroScopesView) : Lean.Name - Lean.MacroScopesView.name π Init.Prelude
(self : Lean.MacroScopesView) : Lean.Name - Lean.MacroScopesView.review π Init.Prelude
(view : Lean.MacroScopesView) : Lean.Name - Lean.Name.eraseMacroScopes π Init.Prelude
(n : Lean.Name) : Lean.Name - Lean.Name.hasMacroScopes π Init.Prelude
: Lean.Name β Bool - Lean.Name.hash π Init.Prelude
: Lean.Name β UInt64 - Lean.Name.instBEq π Init.Prelude
: BEq Lean.Name - Lean.Name.mkSimple π Init.Prelude
(s : String) : Lean.Name - Lean.Name.mkStr1 π Init.Prelude
(sβ : String) : Lean.Name - Lean.Name.simpMacroScopes π Init.Prelude
(n : Lean.Name) : Lean.Name - Lean.ParserDescr.const π Init.Prelude
(name : Lean.Name) : Lean.ParserDescr - Lean.ParserDescr.parser π Init.Prelude
(declName : Lean.Name) : Lean.ParserDescr - Lean.Syntax.getId π Init.Prelude
: Lean.Syntax β Lean.Name - Lean.Macro.Context.mainModule π Init.Prelude
(self : Lean.Macro.Context) : Lean.Name - Lean.Syntax.Preresolved.namespace π Init.Prelude
(ns : Lean.Name) : Lean.Syntax.Preresolved - Lean.Macro.addMacroScope π Init.Prelude
(n : Lean.Name) : Lean.MacroM Lean.Name - Lean.Macro.hasDecl π Init.Prelude
(declName : Lean.Name) : Lean.MacroM Bool - Lean.Name.append π Init.Prelude
(a b : Lean.Name) : Lean.Name - Lean.Name.appendCore π Init.Prelude
: Lean.Name β Lean.Name β Lean.Name - Lean.Name.mkNum π Init.Prelude
(p : Lean.Name) (v : β) : Lean.Name - Lean.Name.mkStr π Init.Prelude
(p : Lean.Name) (s : String) : Lean.Name - Lean.Name.mkStr2 π Init.Prelude
(sβ sβ : String) : Lean.Name - Lean.Name.num π Init.Prelude
(pre : Lean.Name) (i : β) : Lean.Name - Lean.Name.str π Init.Prelude
(pre : Lean.Name) (str : String) : Lean.Name - Lean.ParserDescr.cat π Init.Prelude
(catName : Lean.Name) (rbp : β) : Lean.ParserDescr - Lean.ParserDescr.unary π Init.Prelude
(name : Lean.Name) (p : Lean.ParserDescr) : Lean.ParserDescr - Lean.Syntax.matchesIdent π Init.Prelude
(stx : Lean.Syntax) (id : Lean.Name) : Bool - Lean.Macro.Methods.getCurrNamespace π Init.Prelude
(self : Lean.Macro.Methods) : Lean.MacroM Lean.Name - Lean.addMacroScope π Init.Prelude
(mainModule n : Lean.Name) (scp : Lean.MacroScope) : Lean.Name - Lean.Macro.resolveNamespace π Init.Prelude
(n : Lean.Name) : Lean.MacroM (List Lean.Name) - Lean.Macro.trace π Init.Prelude
(clsName : Lean.Name) (msg : String) : Lean.MacroM Unit - Lean.Name.beq π Init.Prelude
: Lean.Name β Lean.Name β Bool - Lean.Name.mkStr3 π Init.Prelude
(sβ sβ sβ : String) : Lean.Name - Lean.ParserDescr.binary π Init.Prelude
(name : Lean.Name) (pβ pβ : Lean.ParserDescr) : Lean.ParserDescr - Lean.Macro.Methods.hasDecl π Init.Prelude
(self : Lean.Macro.Methods) : Lean.Name β Lean.MacroM Bool - Lean.Syntax.Preresolved.decl π Init.Prelude
(n : Lean.Name) (fields : List String) : Lean.Syntax.Preresolved - Lean.Name.mkStr4 π Init.Prelude
(sβ sβ sβ sβ : String) : Lean.Name - Lean.Macro.Methods.resolveNamespace π Init.Prelude
(self : Lean.Macro.Methods) : Lean.Name β Lean.MacroM (List Lean.Name) - Lean.Macro.State.traceMsgs π Init.Prelude
(self : Lean.Macro.State) : List (Lean.Name Γ String) - Lean.MacroScopesView.mk π Init.Prelude
(name imported mainModule : Lean.Name) (scopes : List Lean.MacroScope) : Lean.MacroScopesView - Lean.MonadQuotation.getMainModule π Init.Prelude
{m : Type β Type} [self : Lean.MonadQuotation m] : m Lean.Name - Lean.Name.mkStr5 π Init.Prelude
(sβ sβ sβ sβ sβ : String) : Lean.Name - Lean.Syntax.ident π Init.Prelude
(info : Lean.SourceInfo) (rawVal : Substring) (val : Lean.Name) (preresolved : List Lean.Syntax.Preresolved) : Lean.Syntax - Lean.Macro.State.mk π Init.Prelude
(macroScope : Lean.MacroScope) (traceMsgs : List (Lean.Name Γ String)) : Lean.Macro.State - Lean.Macro.resolveGlobalName π Init.Prelude
(n : Lean.Name) : Lean.MacroM (List (Lean.Name Γ List String)) - Lean.Name.mkStr6 π Init.Prelude
(sβ sβ sβ sβ sβ sβ : String) : Lean.Name - Lean.Macro.Context.mk π Init.Prelude
(methods : Lean.Macro.MethodsRefβ) (mainModule : Lean.Name) (currMacroScope : Lean.MacroScope) (currRecDepth maxRecDepth : β) (ref : Lean.Syntax) : Lean.Macro.Context - Lean.Name.mkStr7 π Init.Prelude
(sβ sβ sβ sβ sβ sβ sβ : String) : Lean.Name - Lean.Macro.Methods.resolveGlobalName π Init.Prelude
(self : Lean.Macro.Methods) : Lean.Name β Lean.MacroM (List (Lean.Name Γ List String)) - Lean.MonadQuotation.addMacroScope π Init.Prelude
{m : Type β Type} [Lean.MonadQuotation m] [Monad m] (n : Lean.Name) : m Lean.Name - Lean.Name.mkStr8 π Init.Prelude
(sβ sβ sβ sβ sβ sβ sβ sβ : String) : Lean.Name - Lean.MonadQuotation.mk π Init.Prelude
{m : Type β Type} [toMonadRef : Lean.MonadRef m] (getCurrMacroScope : m Lean.MacroScope) (getMainModule : m Lean.Name) (withFreshMacroScope : {Ξ± : Type} β m Ξ± β m Ξ±) : Lean.MonadQuotation m - Lean.Macro.Methods.mk π Init.Prelude
(expandMacro? : Lean.Syntax β Lean.MacroM (Option Lean.Syntax)) (getCurrNamespace : Lean.MacroM Lean.Name) (hasDecl : Lean.Name β Lean.MacroM Bool) (resolveNamespace : Lean.Name β Lean.MacroM (List Lean.Name)) (resolveGlobalName : Lean.Name β Lean.MacroM (List (Lean.Name Γ List String))) : Lean.Macro.Methods - Lean.instSizeOfName π Init.SizeOf
: SizeOf Lean.Name - Lean.Name.sizeOf π Init.SizeOf
: Lean.Name β β - Lean.Name.anonymous.sizeOf_spec π Init.SizeOf
: sizeOf Lean.Name.anonymous = 1 - Lean.ParserDescr.const.sizeOf_spec π Init.SizeOf
(name : Lean.Name) : sizeOf (Lean.ParserDescr.const name) = 1 + sizeOf name - Lean.ParserDescr.parser.sizeOf_spec π Init.SizeOf
(declName : Lean.Name) : sizeOf (Lean.ParserDescr.parser declName) = 1 + sizeOf declName - Lean.Macro.Methods.mk.sizeOf_spec π Init.SizeOf
(expandMacro? : Lean.Syntax β Lean.MacroM (Option Lean.Syntax)) (getCurrNamespace : Lean.MacroM Lean.Name) (hasDecl : Lean.Name β Lean.MacroM Bool) (resolveNamespace : Lean.Name β Lean.MacroM (List Lean.Name)) (resolveGlobalName : Lean.Name β Lean.MacroM (List (Lean.Name Γ List String))) : sizeOf { expandMacro? := expandMacro?, getCurrNamespace := getCurrNamespace, hasDecl := hasDecl, resolveNamespace := resolveNamespace, resolveGlobalName := resolveGlobalName } = 1 - Lean.Name.num.sizeOf_spec π Init.SizeOf
(p : Lean.Name) (n : β) : sizeOf (p.num n) = 1 + sizeOf p + sizeOf n - Lean.Name.str.sizeOf_spec π Init.SizeOf
(p : Lean.Name) (s : String) : sizeOf (p.str s) = 1 + sizeOf p + sizeOf s - Lean.ParserDescr.cat.sizeOf_spec π Init.SizeOf
(catName : Lean.Name) (rbp : β) : sizeOf (Lean.ParserDescr.cat catName rbp) = 1 + sizeOf catName + sizeOf rbp - Lean.ParserDescr.unary.sizeOf_spec π Init.SizeOf
(name : Lean.Name) (p : Lean.ParserDescr) : sizeOf (Lean.ParserDescr.unary name p) = 1 + sizeOf name + sizeOf p - Lean.ParserDescr.binary.sizeOf_spec π Init.SizeOf
(name : Lean.Name) (pβ pβ : Lean.ParserDescr) : sizeOf (Lean.ParserDescr.binary name pβ pβ) = 1 + sizeOf name + sizeOf pβ + sizeOf pβ - Lean.Macro.State.mk.sizeOf_spec π Init.SizeOf
(macroScope : Lean.MacroScope) (traceMsgs : List (Lean.Name Γ String)) : sizeOf { macroScope := macroScope, traceMsgs := traceMsgs } = 1 + sizeOf macroScope + sizeOf traceMsgs - Lean.MacroScopesView.mk.sizeOf_spec π Init.SizeOf
(name imported mainModule : Lean.Name) (scopes : List Lean.MacroScope) : sizeOf { name := name, imported := imported, mainModule := mainModule, scopes := scopes } = 1 + sizeOf name + sizeOf imported + sizeOf mainModule + sizeOf scopes - Lean.Syntax.ident.sizeOf_spec π Init.SizeOf
(info : Lean.SourceInfo) (rawVal : Substring) (val : Lean.Name) (preresolved : List Lean.Syntax.Preresolved) : sizeOf (Lean.Syntax.ident info rawVal val preresolved) = 1 + sizeOf info + sizeOf rawVal + sizeOf val + sizeOf preresolved - Lean.Macro.Context.mk.sizeOf_spec π Init.SizeOf
(methods : Lean.Macro.MethodsRefβ) (mainModule : Lean.Name) (currMacroScope : Lean.MacroScope) (currRecDepth maxRecDepth : β) (ref : Lean.Syntax) : sizeOf { methods := methods, mainModule := mainModule, currMacroScope := currMacroScope, currRecDepth := currRecDepth, maxRecDepth := maxRecDepth, ref := ref } = 1 + sizeOf methods + sizeOf mainModule + sizeOf currMacroScope + sizeOf currRecDepth + sizeOf maxRecDepth + sizeOf ref - Lean.Name.num.injEq π Init.Core
(pre : Lean.Name) (i : β) (preβ : Lean.Name) (iβ : β) : (pre.num i = preβ.num iβ) = (pre = preβ β§ i = iβ) - Lean.Name.str.injEq π Init.Core
(pre : Lean.Name) (str : String) (preβ : Lean.Name) (strβ : String) : (pre.str str = preβ.str strβ) = (pre = preβ β§ str = strβ) - Lean.Syntax.ident.injEq π Init.Core
(info : Lean.SourceInfo) (rawVal : Substring) (val : Lean.Name) (preresolved : List Lean.Syntax.Preresolved) (infoβ : Lean.SourceInfo) (rawValβ : Substring) (valβ : Lean.Name) (preresolvedβ : List Lean.Syntax.Preresolved) : (Lean.Syntax.ident info rawVal val preresolved = Lean.Syntax.ident infoβ rawValβ valβ preresolvedβ) = (info = infoβ β§ rawVal = rawValβ β§ val = valβ β§ preresolved = preresolvedβ) - Lean.NameGenerator.namePrefix π Init.MetaTypes
(self : Lean.NameGenerator) : Lean.Name - Lean.NameGenerator.mk π Init.MetaTypes
(namePrefix : Lean.Name) (idx : β) : Lean.NameGenerator - Lean.NameGenerator.mk.injEq π Init.MetaTypes
(namePrefix : Lean.Name) (idx : β) (namePrefixβ : Lean.Name) (idxβ : β) : ({ namePrefix := namePrefix, idx := idx } = { namePrefix := namePrefixβ, idx := idxβ }) = (namePrefix = namePrefixβ β§ idx = idxβ) - Lean.NameGenerator.mk.sizeOf_spec π Init.MetaTypes
(namePrefix : Lean.Name) (idx : β) : sizeOf { namePrefix := namePrefix, idx := idx } = 1 + sizeOf namePrefix + sizeOf idx - Lean.mkCIdent π Init.Meta
(c : Lean.Name) : Lean.Ident - Lean.mkIdent π Init.Meta
(val : Lean.Name) : Lean.Ident - Lean.quoteNameMk π Init.Meta
: Lean.Name β Lean.Term - String.toName π Init.Meta
(s : String) : Lean.Name - Substring.toName π Init.Meta
(s : Substring) : Lean.Name - Lean.Name.capitalize π Init.Meta
: Lean.Name β Lean.Name - Lean.Name.getRoot π Init.Meta
: Lean.Name β Lean.Name - Lean.Name.instDecidableEq π Init.Meta
: DecidableEq Lean.Name - Lean.Name.instRepr π Init.Meta
: Repr Lean.Name - Lean.Name.instToString π Init.Meta
: ToString Lean.Name - Lean.Name.isInaccessibleUserName π Init.Meta
: Lean.Name β Bool - Lean.NameGenerator.curr π Init.Meta
(g : Lean.NameGenerator) : Lean.Name - Lean.TSyntax.getHygieneInfo π Init.Meta
(s : Lean.HygieneInfo) : Lean.Name - Lean.TSyntax.getId π Init.Meta
(s : Lean.Ident) : Lean.Name - Lean.TSyntax.getName π Init.Meta
(s : Lean.NameLit) : Lean.Name - Lean.Name.toString.maybePseudoSyntax π Init.Meta
(n : Lean.Name) : Bool - Lean.Name.appendAfter π Init.Meta
(n : Lean.Name) (suffix : String) : Lean.Name - Lean.Name.appendBefore π Init.Meta
(n : Lean.Name) (pre : String) : Lean.Name - Lean.Name.appendIndexAfter π Init.Meta
(n : Lean.Name) (idx : β) : Lean.Name - Lean.Name.instLawfulBEq π Init.Meta
: LawfulBEq Lean.Name - Lean.Name.reprPrec π Init.Meta
(n : Lean.Name) (prec : β) : Lean.Format - Lean.Syntax.decodeNameLit π Init.Meta
(s : String) : Option Lean.Name - Lean.Syntax.getOptionalIdent? π Init.Meta
(stx : Lean.Syntax) : Option Lean.Name - Lean.Syntax.isNameLit? π Init.Meta
(stx : Lean.Syntax) : Option Lean.Name - Lean.instQuoteNameMkStr1 π Init.Meta
: Lean.Quote Lean.Name - Lean.Name.eraseSuffix? π Init.Meta
: Lean.Name β Lean.Name β Option Lean.Name - Lean.Name.modifyBase π Init.Meta
(n : Lean.Name) (f : Lean.Name β Lean.Name) : Lean.Name - Lean.Name.replacePrefix π Init.Meta
: Lean.Name β Lean.Name β Lean.Name β Lean.Name - Lean.mkCIdentFrom π Init.Meta
(src : Lean.Syntax) (c : Lean.Name) (canonical : Bool := false) : Lean.Ident - Lean.mkIdentFrom π Init.Meta
(src : Lean.Syntax) (val : Lean.Name) (canonical : Bool := false) : Lean.Ident - Lean.HygieneInfo.mkIdent π Init.Meta
(s : Lean.HygieneInfo) (val : Lean.Name) (canonical : Bool := false) : Lean.Ident - Lean.mkFreshId π Init.Meta
{m : Type β Type} [Monad m] [Lean.MonadNameGenerator m] : m Lean.Name - Lean.Name.toStringWithSep π Init.Meta
(sep : String) (escape : Bool) (n : Lean.Name) (isToken : String β Bool := fun x => false) : String - Lean.Syntax.mkCApp π Init.Meta
(fn : Lean.Name) (args : Lean.TSyntaxArray `term) : Lean.Term - Lean.Name.toString π Init.Meta
(n : Lean.Name) (escape : Bool := true) (isToken : String β Bool := fun x => false) : String - Lean.mkCIdentFromRef π Init.Meta
{m : Type β Type} [Monad m] [Lean.MonadRef m] (c : Lean.Name) (canonical : Bool := false) : m Lean.Syntax - Lean.mkIdentFromRef π Init.Meta
{m : Type β Type} [Monad m] [Lean.MonadRef m] (val : Lean.Name) (canonical : Bool := false) : m Lean.Ident - Lean.Name.beq_iff_eq π Init.Meta
{m n : Lean.Name} : (m == n) = true β m = n - Lean.TSyntax.instCoeDepTermMkIdentIdent π Init.Meta
{info : Lean.SourceInfo} {ss : Substring} {n : Lean.Name} {res : List Lean.Syntax.Preresolved} : CoeDep Lean.Term { raw := Lean.Syntax.ident info ss n res } Lean.Ident - Lean.Name.beq.eq_2 π Init.Meta
(pβ : Lean.Name) (sβ : String) (pβ : Lean.Name) (sβ : String) : (pβ.str sβ).beq (pβ.str sβ) = (sβ == sβ && pβ.beq pβ) - Lean.Name.beq.eq_3 π Init.Meta
(pβ : Lean.Name) (nβ : β) (pβ : Lean.Name) (nβ : β) : (pβ.num nβ).beq (pβ.num nβ) = (nβ == nβ && pβ.beq pβ) - Lean.Name.beq.eq_4 π Init.Meta
(xβ xβΒΉ : Lean.Name) (x_4 : xβ = Lean.Name.anonymous β xβΒΉ = Lean.Name.anonymous β False) (x_5 : β (pβ : Lean.Name) (sβ : String) (pβ : Lean.Name) (sβ : String), xβ = pβ.str sβ β xβΒΉ = pβ.str sβ β False) (x_6 : β (pβ : Lean.Name) (nβ : β) (pβ : Lean.Name) (nβ : β), xβ = pβ.num nβ β xβΒΉ = pβ.num nβ β False) : xβ.beq xβΒΉ = false - Lean.expandBrackedBinders π Init.NotationExtra
(combinatorDeclName : Lean.Name) (bracketedExplicitBinders body : Lean.Syntax) : Lean.MacroM Lean.Syntax - Lean.expandExplicitBinders π Init.NotationExtra
(combinatorDeclName : Lean.Name) (explicitBinders body : Lean.Syntax) : Lean.MacroM Lean.Syntax - Dynamic.typeName π Init.Dynamic
(any : Dynamic) : Lean.Name - TypeName.mk π Init.Dynamic
(Ξ± : Type u) (typeName : Lean.Name) : TypeName Ξ± - TypeName.typeName π Init.Dynamic
(Ξ± : Type u_1) [TypeName Ξ±] : Lean.Name - Lean.DataValue.ofName π Lean.Data.KVMap
(v : Lean.Name) : Lean.DataValue - Lean.KVMap.instValueName π Lean.Data.KVMap
: Lean.KVMap.Value Lean.Name - Lean.instCoeNameDataValue π Lean.Data.KVMap
: Coe Lean.Name Lean.DataValue - Lean.KVMap.contains π Lean.Data.KVMap
(m : Lean.KVMap) (n : Lean.Name) : Bool - Lean.KVMap.erase π Lean.Data.KVMap
: Lean.KVMap β Lean.Name β Lean.KVMap - Lean.KVMap.find π Lean.Data.KVMap
: Lean.KVMap β Lean.Name β Option Lean.DataValue - Lean.KVMap.findD π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (dβ : Lean.DataValue) : Lean.DataValue - Lean.KVMap.insert π Lean.Data.KVMap
: Lean.KVMap β Lean.Name β Lean.DataValue β Lean.KVMap - Lean.KVMap.setBool π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (v : Bool) : Lean.KVMap - Lean.KVMap.setInt π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (v : β€) : Lean.KVMap - Lean.KVMap.setName π Lean.Data.KVMap
(m : Lean.KVMap) (k v : Lean.Name) : Lean.KVMap - Lean.KVMap.setNat π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (v : β) : Lean.KVMap - Lean.KVMap.setString π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (v : String) : Lean.KVMap - Lean.KVMap.setSyntax π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (v : Lean.Syntax) : Lean.KVMap - Lean.KVMap.entries π Lean.Data.KVMap
(self : Lean.KVMap) : List (Lean.Name Γ Lean.DataValue) - Lean.KVMap.mk π Lean.Data.KVMap
(entries : List (Lean.Name Γ Lean.DataValue)) : Lean.KVMap - Lean.KVMap.updateBool π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (f : Bool β Bool) : Lean.KVMap - Lean.KVMap.updateInt π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (f : β€ β β€) : Lean.KVMap - Lean.KVMap.updateName π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (f : Lean.Name β Lean.Name) : Lean.KVMap - Lean.KVMap.updateNat π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (f : β β β) : Lean.KVMap - Lean.KVMap.updateString π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (f : String β String) : Lean.KVMap - Lean.KVMap.updateSyntax π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (f : Lean.Syntax β Lean.Syntax) : Lean.KVMap - Lean.KVMap.getBool π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (defVal : Bool := false) : Bool - Lean.KVMap.getName π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (defVal : Lean.Name := Lean.Name.anonymous) : Lean.Name - Lean.KVMap.getString π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (defVal : String := "") : String - Lean.KVMap.getSyntax π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (defVal : Lean.Syntax := Lean.Syntax.missing) : Lean.Syntax - Lean.KVMap.subsetAux π Lean.Data.KVMap
: List (Lean.Name Γ Lean.DataValue) β Lean.KVMap β Bool - Lean.KVMap.findCore π Lean.Data.KVMap
: List (Lean.Name Γ Lean.DataValue) β Lean.Name β Option Lean.DataValue - Lean.KVMap.get π Lean.Data.KVMap
{Ξ± : Type} [Lean.KVMap.Value Ξ±] (m : Lean.KVMap) (k : Lean.Name) (defVal : Ξ±) : Ξ± - Lean.KVMap.get? π Lean.Data.KVMap
{Ξ± : Type} [Lean.KVMap.Value Ξ±] (m : Lean.KVMap) (k : Lean.Name) : Option Ξ± - Lean.KVMap.mergeBy π Lean.Data.KVMap
(mergeFn : Lean.Name β Lean.DataValue β Lean.DataValue β Lean.DataValue) (l r : Lean.KVMap) : Lean.KVMap - Lean.KVMap.set π Lean.Data.KVMap
{Ξ± : Type} [Lean.KVMap.Value Ξ±] (m : Lean.KVMap) (k : Lean.Name) (v : Ξ±) : Lean.KVMap - Lean.KVMap.instForInProdNameDataValue π Lean.Data.KVMap
{m : Type u_1 β Type u_2} : ForIn m Lean.KVMap (Lean.Name Γ Lean.DataValue) - Lean.KVMap.getInt π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (defVal : β€ := 0) : β€ - Lean.KVMap.getNat π Lean.Data.KVMap
(m : Lean.KVMap) (k : Lean.Name) (defVal : β := 0) : β - Lean.KVMap.insertCore π Lean.Data.KVMap
: List (Lean.Name Γ Lean.DataValue) β Lean.Name β Lean.DataValue β List (Lean.Name Γ Lean.DataValue) - Lean.KVMap.update π Lean.Data.KVMap
{Ξ± : Type} [Lean.KVMap.Value Ξ±] (m : Lean.KVMap) (k : Lean.Name) (f : Option Ξ± β Option Ξ±) : Lean.KVMap - Lean.DataValue.ofName.injEq π Lean.Data.KVMap
(v vβ : Lean.Name) : (Lean.DataValue.ofName v = Lean.DataValue.ofName vβ) = (v = vβ) - Lean.KVMap.forIn π Lean.Data.KVMap
{Ξ΄ : Type w} {m : Type w β Type w'} [Monad m] (kv : Lean.KVMap) (init : Ξ΄) (f : Lean.Name Γ Lean.DataValue β Ξ΄ β m (ForInStep Ξ΄)) : m Ξ΄ - Lean.KVMap.mk.injEq π Lean.Data.KVMap
(entries entriesβ : List (Lean.Name Γ Lean.DataValue)) : ({ entries := entries } = { entries := entriesβ }) = (entries = entriesβ) - Lean.DataValue.ofName.sizeOf_spec π Lean.Data.KVMap
(v : Lean.Name) : sizeOf (Lean.DataValue.ofName v) = 1 + sizeOf v - Lean.KVMap.mk.sizeOf_spec π Lean.Data.KVMap
(entries : List (Lean.Name Γ Lean.DataValue)) : sizeOf { entries := entries } = 1 + sizeOf entries - Lean.Name.getNumParts π Lean.Data.Name
: Lean.Name β β - Lean.Name.getPrefix π Lean.Data.Name
: Lean.Name β Lean.Name - Lean.Name.getString! π Lean.Data.Name
: Lean.Name β String - Lean.Name.hasNum π Lean.Data.Name
: Lean.Name β Bool - Lean.Name.hashEx π Lean.Data.Name
: Lean.Name β UInt64 - Lean.Name.isAnonymous π Lean.Data.Name
: Lean.Name β Bool - Lean.Name.isAtomic π Lean.Data.Name
: Lean.Name β Bool - Lean.Name.isImplementationDetail π Lean.Data.Name
: Lean.Name β Bool - Lean.Name.isInternal π Lean.Data.Name
: Lean.Name β Bool - Lean.Name.isInternalDetail π Lean.Data.Name
: Lean.Name β Bool - Lean.Name.isInternalOrNum π Lean.Data.Name
: Lean.Name β Bool - Lean.Name.isNum π Lean.Data.Name
: Lean.Name β Bool - Lean.Name.isStr π Lean.Data.Name
: Lean.Name β Bool - Lean.Name.cmp π Lean.Data.Name
: Lean.Name β Lean.Name β Ordering - Lean.Name.components π Lean.Data.Name
(n : Lean.Name) : List Lean.Name - Lean.Name.componentsRev π Lean.Data.Name
: Lean.Name β List Lean.Name - Lean.Name.eqStr π Lean.Data.Name
: Lean.Name β String β Bool - Lean.Name.isPrefixOf π Lean.Data.Name
: Lean.Name β Lean.Name β Bool - Lean.Name.isSuffixOf π Lean.Data.Name
: Lean.Name β Lean.Name β Bool - Lean.Name.lt π Lean.Data.Name
(x y : Lean.Name) : Bool - Lean.Name.quickCmp π Lean.Data.Name
(nβ nβ : Lean.Name) : Ordering - Lean.Name.quickCmpAux π Lean.Data.Name
: Lean.Name β Lean.Name β Ordering - Lean.Name.quickLt π Lean.Data.Name
(nβ nβ : Lean.Name) : Bool - Lean.Name.updatePrefix π Lean.Data.Name
: Lean.Name β Lean.Name β Lean.Name - Lean.Name.anyS π Lean.Data.Name
(n : Lean.Name) (f : String β Bool) : Bool - Lean.NameHashSet.contains π Lean.Data.NameMap
(s : Lean.NameHashSet) (n : Lean.Name) : Bool - Lean.NameSSet.contains π Lean.Data.NameMap
(s : Lean.NameSSet) (n : Lean.Name) : Bool - Lean.NameSSet.insert π Lean.Data.NameMap
(s : Lean.NameSSet) (n : Lean.Name) : Lean.NameSSet
About
Loogle searches Lean and Mathlib definitions and theorems.
You can use Loogle from within the Lean4 VSCode language extension
using (by default) Ctrl-K Ctrl-S. You can also try the
#loogle
command from LeanSearchClient,
the CLI version, the Loogle
VS Code extension, the lean.nvim
integration or the Zulip bot.
Usage
Loogle finds definitions and lemmas in various ways:
By constant:
πReal.sin
finds all lemmas whose statement somehow mentions the sine function.By lemma name substring:
π"differ"
finds all lemmas that have"differ"
somewhere in their lemma name.By subexpression:
π_ * (_ ^ _)
finds all lemmas whose statements somewhere include a product where the second argument is raised to some power.The pattern can also be non-linear, as in
πReal.sqrt ?a * Real.sqrt ?a
If the pattern has parameters, they are matched in any order. Both of these will find
List.map
:
π(?a -> ?b) -> List ?a -> List ?b
πList ?a -> (?a -> ?b) -> List ?b
By main conclusion:
π|- tsum _ = _ * tsum _
finds all lemmas where the conclusion (the subexpression to the right of allβ
andβ
) has the given shape.As before, if the pattern has parameters, they are matched against the hypotheses of the lemma in any order; for example,
π|- _ < _ β tsum _ < tsum _
will findtsum_lt_tsum
even though the hypothesisf i < g i
is not the last.
If you pass more than one such search filter, separated by commas
Loogle will return lemmas which match all of them. The
search
π Real.sin, "two", tsum, _ * _, _ ^ _, |- _ < _ β _
woould find all lemmas which mention the constants Real.sin
and tsum
, have "two"
as a substring of the
lemma name, include a product and a power somewhere in the type,
and have a hypothesis of the form _ < _
(if
there were any such lemmas). Metavariables (?a
) are
assigned independently in each filter.
The #lucky
button will directly send you to the
documentation of the first hit.
Source code
You can find the source code for this service at https://github.com/nomeata/loogle. The https://loogle.lean-lang.org/ service is provided by the Lean FRO.
This is Loogle revision 026c9d9
serving mathlib revision 0e2973b