leanprover-community/physlib

Multigoal linter

Open

#353 opened on Feb 27, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Lean (139 forks)auto 404
good first issuehelp-wanted

Repository metrics

Stars
 (642 stars)
PR merge metrics
 (PR metrics pending)

Description

The whole of PhysLean needs the MultiGoal linter run on it and all the warnings dealt with.

In particular

[leanOptions]
linter.style.multiGoal = true

should be added to lakefile.toml and the project built with lake build. This will generate warnings, some of which may be from Mathlib, but the ones from PhysLean should be dealt. For example:

   exact h 
   exact h2 

should be replaced with:

  · exact h1 
  · exact h2 

Contributor guide