lean4
lean4 copied to clipboard
feat: suggestions for some size/count/length confusions
This PR adds suggest_for annotations directing uses of Array.length permanently to Array.size, and uses of String.size permanently to String.length.
(Note: only merge after #11554)
Mathlib CI status (docs):
- ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 72196169b679949b3a19d6c69b80189562cd5b7f --onto 19e1fe55f33a8aadc4243da32828b70a4b4677cc. You can force Mathlib CI using theforce-mathlib-cilabel. (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-manualbranch. Trygit rebase 72196169b679949b3a19d6c69b80189562cd5b7f --onto 19e1fe55f33a8aadc4243da32828b70a4b4677cc. You can force reference manual CI using theforce-manual-cilabel. (2025-12-10 14:59:52)