Commit 2026-08-15 23:59 bec97d68
View on Github →chore(Algebra/BigOperators): add to_additive for expectation and antidiagonal lemmas (#42763)
- Add
@[to_additive]attributes to:Expect.expect_inv_indexNat.prod_antidiagonal_succNat.prod_antidiagonal_succ'
- Remove the duplicated additive proofs:
expect_neg_indexsum_antidiagonal_succsum_antidiagonal_succ'Used Aristotle AI to find the duplicates, and verify the change, and ChatGPT, AmazonQ to navigate VS Code, cli, running tests, making the PR, understanding the proof and so forth