Notation and term elaborators
Maintainer thường phản hồi trong vòng 1 ngày
@fmontesi đang làm issue này rồi.
Từ ngày 28/7/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
In logic, semantics, and type systems (at least!), we encounter often the situation where we'd like to use important Lean symbols for notation. Examples: T → T for arrow types (functions) in an embedded type system, A → B for implication in an embedded logic, M → N for a reduction, x : T for x has type T, etc.
We will also need to combine notations in nontrivial ways. For example, this is the shape of reductions between typing judgements used in plenty of papers: (Γ ⊢ M : T) → (Γ ⊢ M' : T).
In a Zulip discussion (#computer science > Overloading Lean's notation), we discussed the possibility of using term elaborators. This is an example from Iris: https://github.com/leanprover-community/iris-lean/blob/master/src/Iris/BI/Notation.lean.
Thus we could write things like red(ty(Γ ⊢ M : T) → ty(Γ ⊢ M' : T)) (the nested ty might be unnecessary).
The design of these elaborators will need some thinking, so I'm opening this issue to keep record.
- Ngôn ngữ chính
- Lean
- Star
- 847
- Fork
- 234
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 49
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của leanprover/cslib
-
`listFullBeta_cons_r` should rename to `listFullBeta_concat_r`Có thể đã có người làm @lengyijun đã nhận 134 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
leanprover/cslib#784 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
logic
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
leanprover/cslib#74 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dependency-incompatibility
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
leanprover/cslib#1271 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Generalize `RelationAlgebra`Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
leanprover/cslib#1262 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BetaAt.appR doesn't require LC N, weakening BetaAt.lc_r, not consistent with FullBetaCó thể đã có người làm @Digger-Rockwell đã nhận 5 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
leanprover/cslib#1243 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày