Equations
Instances For
Equations
- Lean.Elab.Term.elabSort stx x = do let __do_lift ← Lean.Elab.Term.elabOptLevel stx[1] pure (Lean.mkSort __do_lift)
Instances For
Equations
- Lean.Elab.Term.elabTypeStx stx x = do let __do_lift ← Lean.Elab.Term.elabOptLevel stx[1] pure (Lean.mkSort (Lean.mkLevelSucc __do_lift))
Instances For
the method resolveName
adds a completion point for it using the given
expected type. Thus, we propagate the expected type if stx[0]
is an identifier.
It doesn't "hurt" if the identifier can be resolved because the expected type is not used in this case.
Recall that if the name resolution fails a synthetic sorry is returned.
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.
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
- Lean.Elab.Term.elabNoImplicitLambda stx expectedType? = Lean.Elab.Term.elabTerm stx[1] (Lean.Elab.Term.mkNoImplicitLambdaAnnotation <$> expectedType?) true true
Instances For
Equations
- Lean.Elab.Term.elabBadCDot x x = Lean.throwError (Lean.toMessageData "invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)")
Instances For
Equations
- Lean.Elab.Term.elabStrLit stx x = match Lean.Syntax.isStrLit? stx with | some val => pure (Lean.mkStrLit val) | none => Lean.Elab.throwIllFormedSyntax
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Elab.Term.elabRawNatLit stx x = match Lean.Syntax.isNatLit? stx[1] with | some val => pure (Lean.mkRawNatLit val) | none => Lean.Elab.throwIllFormedSyntax
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
- Lean.Elab.Term.elabQuotedName stx x = match Lean.Syntax.isNameLit? stx[0] with | some val => pure (Lean.toExpr val) | none => Lean.Elab.throwIllFormedSyntax
Instances For
Equations
- Lean.Elab.Term.elabDoubleQuotedName stx x = do let __do_lift ← Lean.Elab.resolveGlobalConstNoOverloadWithInfo stx[2] pure (Lean.toExpr __do_lift)
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
- Lean.Elab.Term.elabTypeOf stx x = do let __do_lift ← Lean.Elab.Term.elabTerm stx[1] none true true liftM (Lean.Meta.inferType __do_lift)
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.
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.