The areas / V34. The tactics of Mathlib
Mathlib.Tactic.IrreducibleDef
1 declarations and 1 deprecated aliases. Mathlib docs · Source
Irreducible definitions
This file defines an irreducible_def command,
which works almost like the def command
except that the introduced definition
does not reduce to the value.
Instead, the command
adds a _def lemma
which can be used for rewriting.
irreducible_def frobnicate (a b : Nat) :=
a + b
example : frobnicate a 0 = a := by
simp [frobnicate_def]
def Lean.Elab.Command.irredDefLemma E1 #
Lean.ParserDescr
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Lean.Elab.Command.command_Irreducible_def____ | 2026-11-23 |