Notation and term elaborators
Los mantenedores suelen responder en 1 día
@fmontesi ya está trabajando en esto.
Desde el 28/7/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Lean
- Estrellas
- 847
- Forks
- 234
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 49
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de leanprover/cslib
-
`listFullBeta_cons_r` should rename to `listFullBeta_concat_r`Posiblemente ocupada @lengyijun la tomó hace 134 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
leanprover/cslib#784 ·
Los mantenedores suelen responder en 1 día
-
logic
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
leanprover/cslib#74 ·
Los mantenedores suelen responder en 1 día
-
dependency-incompatibility
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
leanprover/cslib#1271 ·
Los mantenedores suelen responder en 1 día
-
Generalize `RelationAlgebra`Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
leanprover/cslib#1262 ·
Los mantenedores suelen responder en 1 día
-
BetaAt.appR doesn't require LC N, weakening BetaAt.lc_r, not consistent with FullBetaPosiblemente ocupada @Digger-Rockwell la tomó hace 5 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
leanprover/cslib#1243 · 1 comentario ·
Los mantenedores suelen responder en 1 día