🖇️ Environment Delta Pickling #137
Labels
No Label
category
bug
category
chore
category
doc
category
feature
category
optimization
category
organization
part/Delation
part/Elab
part/Environment
part/FFI
part/Frontend
part/Goal
part/REPL
part/Serial
priority
high
priority
irrelevant
priority
low
priority
medium
priority
pending-measurement
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Depends on
#157 feat: Pickle constants in goal state
aniva/Pantograph
#216 feat(serial): Robust environment extension pickling
aniva/Pantograph
#221 feat(serial): Pickle environment delta's
aniva/Pantograph
Reference: aniva/Pantograph#137
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some tactics such as
simp
generates environment extensions. These should be pickled alongside the goal state or environment to ensure these tactics work properly.https://leanprover.zulipchat.com/#narrow/channel/219941-Machine-Learning-for-Theorem-Proving/topic/Pantograph/near/486815694
Moreover, the current pickling method pickles the entire environment, whose size could be unbounded. This is a problem for parallelization on a cluster.
Pickle environment extensionsto Tracker: Environment Delta PicklingOne simple solution here is to collect all generated proof terms and check if they contain constants not in the parent environment.
Vide Mathlib4's https://leanprover-community.github.io/mathlib4_docs/Lean/Environment.html#Lean.Environment.replayConsts
Tracker: Environment Delta Picklingto 🖇️ Environment Delta Pickling