leanprover-community/batteries

Develop the `List.sum`, `List.prod` and related APIs

开放

#1,465 创建于 2025年10月16日

 (1 条评论) (0 个反应) (0 位负责人)Lean (154 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (406 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Mathlib's BigOperators library is well-developed, sophisticated and works extremely well. There is however a need for a less sophisticated intermediate library built directly on Std's basic classes for associativity, commutativity, identities. Just downstreaming Mathlib's API is not possible since many features don't fit in Batteries' focus on programming and formal verification.

We need a plan for this. This plan should balance low-level and high-level features, enhancing Std's basic API in a manner compatible with Mathlib's API. This plan should strengthen both Std and Mathlib, while staying within the scope of Batteries.

贡献者指南