Zulip Chat Archive
Stream: lean4
Topic: Lean.Replay
Kim Morrison (Nov 03 2024 at 23:15):
Mario Carneiro said:
Kim Morrison Why is
Lean.Replay
in lean instead of lean4checker now? It would be easier to fix this from lean4checker?
From memory it has been split that way since the beginning of lean4checker. I'd be pretty happy to move this code down to lean4checker, though, if you or anyone else thinks there's a good reason to. (In particular, I'd merge PRs making this happen, or add P-medium
to an issue asking for this to happen, and if there's an urgent reason do it myself. :-)
Kim Morrison (Nov 04 2024 at 07:39):
Ah -- I just remembered that Replay
is also used by the REPL, so I'd prefer that it is not in lean4checker.
Notification Bot (Nov 04 2024 at 07:53):
2 messages were moved here from #Equational > Mathlib Bump by Mario Carneiro.
Mario Carneiro (Nov 04 2024 at 07:53):
what's the context of the use of replay
in the REPL?
Mario Carneiro (Nov 04 2024 at 07:54):
why does it not just import environments the normal way?
Jannis Limperg (Nov 04 2024 at 09:22):
Aesop also uses replay
. This is because when we construct the final proof, we effectively merge different environments stored at nodes of the proof tree. It seems safer to do this with replay
than to just copy the constants over.
Last updated: May 02 2025 at 03:31 UTC