notation for multiple substitution

Aperta
#374 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@chenson2018 ci sta già lavorando.

Dal 26/2/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

We currently have HasSubstitution, providing the notation t [x := t'] for (named) substitutions. We will inevitably need notions of multiple substitution, such as in the upcoming PRs for STLC strong normalization. The natural extension is t [x := t', y := t'', z := t''']. In other proof assistants, sometimes what is done is having separate classes up to some fixed arity, but in Lean to do this generally is not so hard.

The main questions are making "multiple" general enough to not force an implementation style and being compatible with single substitution still.

(When we have a need for them, we should also make sure unnamed substitutions like t[ t' ] and t [ t', t'', t'''] also align with this)

Lingua principale
Lean
Stelle
847
Fork
234
Merge medio
2g 21h
PR unite (30g)
49

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di leanprover/cslib

Tutte le issue di leanprover/cslib

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.