Documentation

Batteries.Tactic.Lemma

Control for lemma command #

The lemma command exists in Mathlib, but not in Std.

This file enforces the convention by introducing a code-action to replace lemma by theorem.

Enables the use of lemma as a synonym for theorem

Check whether lang.lemmaCmd option is enabled

Instances For

    lemma is not supported, please use theorem instead

    Instances For

      Elaborator for the lemma command, if the option lang.lemmaCmd is false the command emits a warning and code action instructing the user to use theorem instead.

      Instances For