Leni Aniva
245e76b2f1
feat: Print the root mvar name
2023-11-06 11:51:31 -08:00
Leni Aniva
7c28cf4ed0
Merge branch 'dev' into goal/continuation
2023-11-06 11:45:24 -08:00
Leni Aniva
c5f563598d
chore: Remove unnecessary unsafe's
2023-11-06 11:43:57 -08:00
Leni Aniva
dbace9f2d5
fix: Use Lean's built in name parser
...
The `str_to_name` parser cannot handle numerical names and escapes.
2023-11-06 10:45:11 -08:00
Leni Aniva
d809a960f9
feat: Goal continuation fails if target has goals
2023-11-04 15:53:57 -07:00
Leni Aniva
754fb69cff
feat: Partial state continuation
2023-11-04 15:33:53 -07:00
Leni Aniva
dc2cc5be77
test: Separate mvar coupling tests
2023-11-04 15:01:41 -07:00
Leni Aniva
8dd994d1ca
bug: Fix quote escape problem
2023-10-30 14:45:43 -07:00
Leni Aniva
d87217c6bb
feat: Print metavariable name in goal
2023-10-30 14:44:06 -07:00
Leni Aniva
454a5bc6b9
feat: Simplify printing of function applications
2023-10-29 12:50:36 -07:00
Leni Aniva
e2526f11b1
feat: Print names in one segment separated with .
2023-10-29 11:56:56 -07:00
Leni Aniva
c2d606b9d9
feat: Simplify name printing
2023-10-29 11:18:35 -07:00
Leni Aniva
427d819349
feat: Add REPL function for root expression
2023-10-27 15:41:12 -07:00
Leni Aniva
82f5494718
feat: Add REPL command for assigning an expression
2023-10-27 15:32:59 -07:00
Leni Aniva
b381d89ff9
feat: Assigning a goal with an expression
2023-10-27 15:15:22 -07:00
Leni Aniva
e98fb77f33
refactor: Separate goal printing and processing
...
Added a test for delta proof variables
2023-10-26 22:47:42 -07:00
Leni Aniva
4ffd226cac
test: m-coupled goals
2023-10-26 11:22:02 -07:00
Leni Aniva
0ecfa9fc26
feat: Display user name in Goal structure
...
1. Modify `serialize_expression_ast` so its no longer a monad
2. Test existence of root expression
2023-10-25 22:18:59 -07:00
Leni Aniva
0a0f0304a8
feat: Add proof continue and root extraction
2023-10-25 16:03:45 -07:00
Leni Aniva
9447d29e37
Store states instead of goals
...
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
2023-10-15 17:15:23 -07:00
Leni Aniva
8c93d30ab7
Rename tactic to goal and restructure
2023-10-15 12:31:22 -07:00
Leni Aniva
42133f9b74
Add holes test stub
...
Move tests into their own namespaces
2023-10-06 17:31:36 -07:00
Leni Aniva
5b002a9ceb
Fix test failures
2023-10-05 17:51:41 -07:00
Leni Aniva
2c3a7adb61
Use makefile instead of ad-hoc script
2023-10-02 10:26:19 -07:00
Leni Aniva
0c5f439067
Add SemihashMap structure for goal bookkeeping
2023-08-27 19:53:09 -07:00
Leni Aniva
81702d12ef
Remove the obsolete name field from proof tree structure
2023-08-26 18:50:15 -07:00
Leni Aniva
51edc701fe
Add test cases for command error categories
2023-08-24 23:12:18 -07:00
Leni Aniva
7160f8aa61
Merge branch 'dev' into io/serial
2023-08-23 13:25:08 -07:00
Leni Aniva
85440e0278
Unify json and unknown error into command error
2023-08-23 13:00:11 -07:00
Leni Aniva
e63f7c9afa
Add proper printing of sorts
2023-08-23 12:51:06 -07:00
Leni Aniva
ddf7ec21c8
Add compressed json print option; Rearrange commands into hierarchy
2023-08-16 19:25:32 -07:00
Leni Aniva
0e61093f47
Add proof variable delta; Bump version to 0.2.1
2023-08-15 15:40:54 -07:00
Leni Aniva
d476354a4a
Add expression sexp printing (2/2)
2023-08-14 21:43:40 -07:00
Leni Aniva
19c57ada1e
Add expression sexp printing (1/2, tests pending)
2023-08-14 17:07:53 -07:00
Leni Aniva
d705cdf0e5
version bump, restructure
2023-08-13 21:19:06 -07:00
Leni Aniva
572548c1bd
Add json goal printing
2023-05-27 23:10:39 -07:00
Leni Aniva
fd536da55c
Add expression binding printing and import Lean
2023-05-24 00:54:48 -07:00
Leni Aniva
58367cef6c
Use TermElabM as the main monad stack instead of IO
2023-05-23 05:12:46 -07:00
Leni Aniva
c781797898
Save core state in proofs
2023-05-22 22:48:48 -07:00
Leni Aniva
22202af24e
Add option id handling with ?
2023-05-22 14:56:43 -07:00
Leni Aniva
111dea2093
Add option format for proof output and test cases
2023-05-22 14:49:56 -07:00
Leni Aniva
8a448fb114
Add testing stub
2023-05-22 11:47:46 -07:00