Support for decreasing_by
and termination_by'
notations #
- ref : Lean.Syntax
- value : Lean.Syntax
Instances For
Equations
- Lean.Elab.WF.instInhabitedTerminationHintValue = { default := { ref := default, value := default } }
def
Lean.Elab.WF.expandTerminationHint
(terminationHint? : Option Lean.Syntax)
(cliques : Array (Array Lake.Name))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.WF.TerminationHint.markAsUsed
(t : Lean.Elab.WF.TerminationHint)
(clique : Array Lake.Name)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.WF.TerminationHint.find?
(t : Lean.Elab.WF.TerminationHint)
(clique : Array Lake.Name)
:
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
Support for termination_by
notation #
- ref : Lean.Syntax
- declName : Lake.Name
- vars : Array Lean.Syntax
- body : Lean.Syntax
- implicit : Bool
Instances For
Equations
- Lean.Elab.WF.instInhabitedTerminationByElement = { default := { ref := default, declName := default, vars := default, body := default, implicit := default } }
- elements : Array Lean.Elab.WF.TerminationByElement
- used : Bool
Instances For
- core: Lean.Elab.WF.TerminationHint → Lean.Elab.WF.TerminationBy
- ext: Array Lean.Elab.WF.TerminationByClique → Lean.Elab.WF.TerminationBy
Instances For
Equations
- Lean.Elab.WF.instInhabitedTerminationBy = { default := Lean.Elab.WF.TerminationBy.core default }
- core: Lean.Syntax → Lean.Elab.WF.TerminationWF
- ext: Array Lean.Elab.WF.TerminationByElement → Lean.Elab.WF.TerminationWF
Instances For
def
Lean.Elab.WF.expandTerminationBy
(hint? : Option Lean.Syntax)
(cliques : Array (Array Lake.Name))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.WF.TerminationBy.markAsUsed
(t : Lean.Elab.WF.TerminationBy)
(cliqueNames : Array Lake.Name)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.WF.TerminationBy.find?
(t : Lean.Elab.WF.TerminationBy)
(cliqueNames : Array Lake.Name)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Elab.WF.TerminationByClique.allImplicit c = Array.all c.elements (fun elem => elem.implicit) 0 (Array.size c.elements)
Instances For
Equations
- Lean.Elab.WF.TerminationByClique.getExplicitElement? c = Array.find? c.elements fun x => !x.implicit
Instances For
Equations
- One or more equations did not get rendered due to their size.