leanprover-community / leanprover-community/mathlib4

Rename `.lipschitz` to `.lipschitzWith`

Open
#42,869 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
4.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

There are many lemmas and theorems involving the Lipschitz property which are in need of renaming, because their names contain lipschitz whilst the API they are referring is lipschitzWith. This issue is mainly created for bookkeeping which still need to be renamed.

  • ContinuousLinearMap.lipschitz
  • Isometry.lipschitz
  • IsometryClass.lipschitz
  • Dilation.lipschitz
  • LinearIsometry.lipschitz
  • LinearIsometryEquiv.lipschitz
  • SemilinearIsometryClasss.lipschitz
  • ContinuousLinearEquiv.lipschitz
  • AffineIsometry.lipschitz
  • AffineIsometryEquiv.lipschitz
  • ApproximatesLinearOn.lipschitz
  • IsCoercive.lipschitz
  • Isometry.antilipschitz
  • IsometryClass.antilipschitz
  • Dilation.antilipschitz
  • LinearIsometry.antilipschitz
  • LinearIsometryEquiv.antilipschitz
  • SemilinearIsometryClass.antilipschitz
  • ContinuousLinearEquiv.antilipschitz
  • AffineIsometry.antilipschitz
  • AffineIsometryEquiv.antilipschitz
  • ApproximatesLinearOn.antilipschitz
  • IsCoercive.antilipschitz
  • setToL1_lipschitz

These potentially need renames:

  • opNNNorm_le_of_lipschitz
  • opNorm_le_iff_lipschitz

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the unchecked declarations listed in the issue, including IsometryClass.lipschitz, LinearIsometryEquiv.lipschitz, the affine-isometry variants, and setToL1_lipschitz. Search their references and the two potentially affected opNorm lemmas; done means the intended names and references are consistent and the relevant mathlib checks pass.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.