Equations
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
- Lean.Elab.Term.elabByTactic stx (some val) = Lean.Elab.Term.mkTacticMVar val stx Lean.Elab.Term.TacticMVarKind.term
- Lean.Elab.Term.elabByTactic stx none = do Lean.Elab.Term.tryPostpone Lean.throwError ((Lean.MessageData.ofFormat ∘ Lean.format) "invalid 'by' tactic, expected type has not been provided")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Elab.Term.elabStrLit stx x = match stx.isStrLit? 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 stx[1].isNatLit? with | some val => pure (Lean.mkRawNatLit val) | none => Lean.Elab.throwIllFormedSyntax
Instances For
Equations
- Lean.Elab.Term.elabQuotedName stx x = match stx[0].isNameLit? with | some val => pure (Lean.toExpr val) | none => Lean.Elab.throwIllFormedSyntax
Instances For
Equations
- Lean.Elab.Term.elabDoubleQuotedName stx x = do let __do_lift ← liftM (Lean.Elab.realizeGlobalConstNoOverloadWithInfo 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
- 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.