lean4 icon indicating copy to clipboard operation
lean4 copied to clipboard

feat: suggestions for some size/count/length confusions

Open robsimmons opened this issue 1 month ago • 3 comments

This PR adds suggest_for annotations directing uses of Array.length permanently to Array.size, and uses of String.size permanently to String.length.

robsimmons avatar Dec 10 '25 14:12 robsimmons

(Note: only merge after #11554)

robsimmons avatar Dec 10 '25 14:12 robsimmons

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 72196169b679949b3a19d6c69b80189562cd5b7f --onto 19e1fe55f33a8aadc4243da32828b70a4b4677cc. You can force Mathlib CI using the force-mathlib-ci label. (2025-12-10 14:59:50)

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 72196169b679949b3a19d6c69b80189562cd5b7f --onto 19e1fe55f33a8aadc4243da32828b70a4b4677cc. You can force reference manual CI using the force-manual-ci label. (2025-12-10 14:59:52)

leanprover-bot avatar Dec 10 '25 14:12 leanprover-bot