Suggestion: add illustration of trace.Meta.Tactic.simp.rewrite

Aperta
#169 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
documentation

Direzione di ricerca

Inizia dal capitolo 9 di FPIL e rivedi la trattazione di simp e del combinatore <;>, insieme all’esempio suggerito trace.Meta.Tactic.simp.rewrite. Il lavoro è completato quando viene aggiunta un’introduzione chiara e adeguatamente circoscritta al tracing delle tattiche e viene spiegato un numero sufficiente di elementi dell’output del trace per aiutare i lettori a capire cosa sta facendo simp.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I just came across an illustration of trace.Meta.Tactic.simp.rewrite here: https://leanprover-community.github.io/extras/simp.html

I wanted to suggest including mention of this, and maybe other trace options like it, either in chapter 9 or in earlier or later discussions of simp (and maybe other tactics?).

Bacground: While reading FPIL chapter 9, I started to want to know more about what simp is doing. It does so much that its capabilities are necessarily mysterious, but that makes it difficult to know when it would be useful--without just throwing it into code and seeing what happens. The remark concerning <;> that it allowed tactics like simp to be applied to multiple goals simultaneously especially pushed me to want to know more about what simp was doing. If simp is doing different things with different goals, I'd like to have some idea of what it's doing. I recognize that the remarks about <;> might be intended only as flagging an advanced technique that a beginner might grow into 😄, but this still pushed me to want to get more insight into simp.

The trace output is a little bit hard to read at first, but I think I mostly understand it for the plusR_zero_left example using <;>, and It's very illuminating for me. If FPIL introduced tactic tracing, it could also clarify what's potentially confusing about the trace output.

Lingua principale
Lean
Stelle
211
Fork
83
Merge medio
8m
PR unite (30g)
5

Preparare l'ambiente

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/fp-lean

Tutte le issue di leanprover/fp-lean

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.