- def: Lean.Elab.DefKind
- theorem: Lean.Elab.DefKind
- example: Lean.Elab.DefKind
- opaque: Lean.Elab.DefKind
- abbrev: Lean.Elab.DefKind
Instances For
Equations
- Lean.Elab.instInhabitedDefKind = { default := Lean.Elab.DefKind.def }
Equations
- Lean.Elab.instBEqDefKind = { beq := Lean.Elab.beqDefKind✝ }
Equations
- Lean.Elab.DefKind.isTheorem x = match x with | Lean.Elab.DefKind.theorem => true | x => false
Instances For
Equations
- Lean.Elab.DefKind.isDefOrAbbrevOrOpaque x = match x with | Lean.Elab.DefKind.def => true | Lean.Elab.DefKind.opaque => true | Lean.Elab.DefKind.abbrev => true | x => false
Instances For
Equations
- Lean.Elab.DefKind.isExample x = match x with | Lean.Elab.DefKind.example => true | x => false
Instances For
- kind : Lean.Elab.DefKind
- ref : Lean.Syntax
- modifiers : Lean.Elab.Modifiers
- declId : Lean.Syntax
- binders : Lean.Syntax
- type? : Option Lean.Syntax
- value : Lean.Syntax
- deriving? : Option (Array Lean.Syntax)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Elab.DefView.isInstance view = Array.any view.modifiers.attrs (fun attr => attr.name == `instance) 0 (Array.size view.modifiers.attrs)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Generate a name for an instance with the given type. Note that we elaborate the type twice. Once for producing the name, and another when elaborating the declaration.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.