The primrec tactic #
Proves Primrec f by reading the shape of f off the goal, via Aesop. The rules are in
Foundation/Vorspiel/Computability/Primrec.lean; @[primrec] adds more.
Equations
Instances For
Adds a lemma of the form Primrec fun a ↦ F (f a) (g a) to the primrec rule set.
Equations
- attrPrimrec = Lean.ParserDescr.node `attrPrimrec 1024 (Lean.ParserDescr.nonReservedSymbol "primrec" false)
Instances For
Proves Primrec f, Primrec₂ f, PrimrecPred p or PrimrecRel r.
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.