Tools: the registry of the target linter
Library · Source module
Tools: the registry of the target linter
Diagnostic linter registration; formal certification is independent of these registrations. Three kinds of names that the target linter (NLAlib/Ops/Tools/Lint.lean) cannot infer from types, registered by commands:
* ops_register_xi c₁ c₂ …: operations that take a random word as an operand (sraddXi), which may occur only in the trees of implementation tables. Constructor names ending in Xi are ξ-taking by convention without registration. * ops_register_model c₁ …: model primitives, interpretations a headline may name instead of quantifying over them. * ops_register_witness c₁ …: witness theorems whose name does not start with exists_.
Main results
The registration commands record names used by conditional headline guidance.
Declarations
- NLAlib.Ops.Tools.Lint.RegKind
- NLAlib.Ops.Tools.Lint.elabRegModel
- NLAlib.Ops.Tools.Lint.elabRegWitness
- NLAlib.Ops.Tools.Lint.elabRegXi
- NLAlib.Ops.Tools.Lint.instBEqRegKind.beq
- NLAlib.Ops.Tools.Lint.instInhabitedRegKind.default
- NLAlib.Ops.Tools.Lint.instReprRegKind.repr
- NLAlib.Ops.Tools.Lint.opsRegistry
- NLAlib.Ops.Tools.Lint.regModel
- NLAlib.Ops.Tools.Lint.regWitness
- NLAlib.Ops.Tools.Lint.regXi
- NLAlib.Ops.Tools.Lint.registerNames
- NLAlib.Ops.Tools.Lint.registered