Documentation

Mathlib.Tactic.Linter.HaveLetLinter

The have vs let linter #

The have vs let linter flags uses of have to introduce a hypothesis whose Type is not Prop.

The option for this linter is a natural number, but really there are only 3 settings:

TODO:

The have vs let linter emits a warning on haves introducing a hypothesis whose Type is not Prop. There are three settings:

  • 0 -- inactive;
  • 1 -- active only on noisy declarations;
  • 2 or more -- always active.

The default value is 1.

returns the have syntax whose corresponding hypothesis does not have Type Prop and also a Formatted version of the corresponding Type.

Equations
  • One or more equations did not get rendered due to their size.
Instances For