Documentation

FormalConjectures.Util.Linters.NamespaceLinter

The Namespace Linter #

The namespaceLinter is a linter to aid with formatting contributions to the Formal Conjectures repository by ensuring that all declarations are placed within a namespace.

The namespace linter is set on by default. It emits a warning on any declaration that is not inside a namespace (i.e., declarations at the root level).

For instance, theorem foo would trigger a warning, while Nat.foo would not.

This helps maintain organization and avoid polluting the global namespace.

The namespace linter checks that every declaration is inside a namespace.

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