Enable handling of m-Coupled goals #20

Merged
aniva merged 11 commits from goal/dependency into dev 2023-10-27 19:30:21 -07:00
Owner
  1. Enable companion generation; Goals can now depend on each other (#18)
  2. Enable hole filling via proof terms
  3. Enable hole result collection. i.e. after a hole is filled its expression can be extracted

Files renamed:

  • Commands.lean -> Protocol.lean
  • Symbols.lean -> Symbol.lean

Refactoring:

  • Separated serialization logic from Goal.lean
  • Use goal states instead of goals
1. Enable companion generation; Goals can now depend on each other (#18) 2. Enable hole filling via proof terms 3. Enable hole result collection. i.e. after a hole is filled its expression can be extracted Files renamed: * `Commands.lean` -> `Protocol.lean` * `Symbols.lean` -> `Symbol.lean` Refactoring: * Separated serialization logic from `Goal.lean` * Use goal states instead of goals
Move tests into their own namespaces
1. Rename {Commands, Protocol}, and {Symbols, Symbol}
2. Store the root mvarId in the proof state along with goal indices
3. Add diagnostics function which prints out the state
4. Bump version to 0.2.6 (breaking change)

Documentations pending
aniva changed title from Enable companion generation to Enable handling of m-Coupled goals 2023-10-25 14:34:43 -07:00
Author
Owner

Pending test on this case:

Σ' p: Prop, p

Also we need to expose an interface for (2) so the user doesn't have to rely on reduce

Pending test on this case: ```lean Σ' p: Prop, p ``` Also we need to expose an interface for (2) so the user doesn't have to rely on `reduce`
aniva added this to the v0.2.6 milestone 2023-10-25 16:05:23 -07:00
1. Modify `serialize_expression_ast` so its no longer a monad
2. Test existence of root expression
Added a test for delta proof variables
aniva deleted branch goal/dependency 2023-10-27 19:30:21 -07:00
Sign in to join this conversation.
No description provided.