lean4
lean4 copied to clipboard
fix: make cdot anonymous function notation handle ambiguous notation
Fixes an issue where each alternative in choice nodes would get their own arguments. Now cdot function expansion is aware of choice nodes.
Also modifies the variable naming so that multi-argument functions like (· + ·) expand as fun x1 x2 => x1 + x2 rather than fun x x_1 => x + x_1.
Closes #4832
Mathlib CI status (docs):
- ❌ Mathlib branch lean-pr-testing-4833 built against this PR, but testing failed. (2024-07-25 22:32:09) View Log
- ✅ Mathlib branch lean-pr-testing-4833 has successfully built against this PR. (2024-07-25 23:01:39) View Log
- ✅ Mathlib branch lean-pr-testing-4833 has successfully built against this PR. (2024-07-25 23:43:22) View Log
- ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 30cf3bb3bfdac33a7ab385b25e0d262e0e3d8599 --onto dd6ed124baef64a26ef5860f49597fdcef371239. (2024-08-09 21:26:01)