Shared source declarations #
All source proof views parse the same explicitly typed declaration. Parsing
retains the original body and termination suffix; it neither chooses a model
nor lowers a control construct. Resolved types and checked source identities
are recorded separately in Syntax.Imports.
One explicitly typed source parameter.
Equations
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
A source function uses an ordinary parsed Lean body.
Equations
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
A parameter before resolving its mathematical or source type.
- name : Lean.TSyntax `ident
- type : Lean.TSyntax `term
Instances For
One source declaration, shared by lowering and optional proof views.
- name : Lean.TSyntax `ident
- params : Array ParsedParameter
- result : Lean.TSyntax `term
- body : Lean.TSyntax `term
- termination : Lean.TSyntax `Lean.Parser.Termination.suffix
Instances For
Parse one declaration and reject repeated parameter names before any view is prepared. Its body and termination evidence remain unchanged.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Rebuild the shared declaration after an explicit type/body preparation. This only constructs syntax for the existing source emitter.
Equations
- One or more equations did not get rendered due to their size.