🖇️ Environment Delta Pickling #137

Closed
opened 2024-12-08 16:11:48 -08:00 by aniva · 3 comments
Owner

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.

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.
aniva self-assigned this 2024-12-08 16:11:48 -08:00
aniva added this to the v0.2.22 milestone 2024-12-08 16:13:10 -08:00
aniva removed this from the v0.2.22 milestone 2024-12-09 20:19:25 -08:00
aniva added this to the v0.2.25 milestone 2025-01-13 12:35:24 -08:00
aniva modified the milestone from v0.2.25 to v0.3 2025-01-24 15:06:56 -08:00
aniva removed this from the v0.3 milestone 2025-03-24 18:22:55 -07:00
aniva added this to the v0.4.0 milestone 2025-05-17 11:22:13 -07:00
aniva changed title from Pickle environment extensions to Tracker: Environment Delta Pickling 2025-06-19 15:04:11 -07:00
Author
Owner

One 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

One 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
aniva changed title from Tracker: Environment Delta Pickling to 🖇️ Environment Delta Pickling 2025-06-25 10:44:18 -07:00
aniva modified the milestone from v0.4.0 to v0.3.4 2025-07-02 15:26:59 -07:00
aniva modified the milestone from v0.3.4 to v0.4.0 2025-07-11 16:06:11 -07:00
Author
Owner
Currently blocked by https://github.com/leanprover/lean4/pull/9020
Author
Owner

It is finished! #248

It is finished! #248
aniva closed this issue 2025-08-17 12:16:07 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: aniva/Pantograph#137
No description provided.