Commit Graph

445 Commits

Author SHA1 Message Date
Leni Aniva 5df3d2bee1
refactor: Remove `runTermElabM` from library 2025-04-07 20:17:58 -07:00
Leni Aniva 9216e4fa86
chore: Format code 2025-04-07 11:51:48 -07:00
Leni Aniva f42af9f6a8
fix: Level name capture 2025-04-05 14:26:22 -07:00
Leni Aniva 70152c7715
refactor: Optional levels 2025-04-03 14:38:40 -07:00
Leni Aniva b9ff9e8f13
feat(repl): Optional type argument in `env.add` 2025-03-29 14:51:35 -07:00
Leni Aniva 9ea099827f
fix(env): Adding declarations with universe levels 2025-03-29 14:39:42 -07:00
Leni Aniva 4610348fed
feat: `CoreM` timeout 2025-03-28 20:42:10 -07:00
Leni Aniva be505b8050
feat: Run cancel token with timeout 2025-03-28 19:06:43 -07:00
Leni Aniva 9980fd9c39
test(repl): Environment loading from header 2025-03-28 18:45:58 -07:00
Leni Aniva c2b7501649
refactor: Remove `CoreM` from `MainM` 2025-03-28 00:50:39 -07:00
Leni Aniva d305918bb9
chore: Update Lean to v4.17.0 2025-03-24 17:57:34 -07:00
Leni Aniva cb1082c7c7
chore: More code cleanup 2025-03-17 12:14:16 -07:00
Leni Aniva 678cc9b3c0
chore: Code cleanup 2025-03-17 11:30:24 -07:00
Leni Aniva 4643992c3b
refactor(delate): Unfold matchers into function 2025-03-17 11:26:13 -07:00
Leni Aniva 3b4b196a30
feat(delate): Add mdata annotation for matcher 2025-03-17 11:20:38 -07:00
Leni Aniva a28ad9b239
feat(delate): Expand matcher applications 2025-03-17 10:47:11 -07:00
Leni Aniva dc29d48b77
chore: Remove IO.println for trace 2025-03-17 09:31:39 -07:00
Leni Aniva 78485ae6e2
doc(frontend): Update documentation for `frontend.process` 2025-03-14 20:07:31 -07:00
Leni Aniva 98ad1ae283
feat(delate): Tracing tags 2025-03-14 16:54:34 -07:00
Leni Aniva 8063039f7e Merge pull request 'feat(frontend): Alternative methods of initializing environment' (#173) from frontend/env-init into dev
Reviewed-on: #173
2025-03-14 16:48:40 -07:00
Leni Aniva 79e4dc697e
feat(frontend): Add option to inherit environment 2025-03-14 16:46:28 -07:00
Leni Aniva 896475848b
fix: Name generation not available due to context 2025-03-10 19:03:14 -07:00
Leni Aniva 0cfd73e44e
test(frontend): Add scope `open` test 2025-03-09 23:29:33 -07:00
Leni Aniva 7ae50696ac
merge: branch 'dev' into chore/cleanup 2025-03-08 21:18:45 -08:00
Leni Aniva 39ec79e6bb
feat: Monad lifting in `GoalState.withContext` 2025-03-08 21:07:15 -08:00
Leni Aniva 999bb146fa
chore: Remove all unused auxiliary tactics 2025-03-01 20:12:30 -08:00
Leni Aniva ec3e1ff2c0
chore: Bump version to 0.3.0-rc.1 2025-02-25 15:16:10 -08:00
Leni Aniva 76639d0266
fix: Panic edge case for module name 2025-02-24 15:45:31 -08:00
Leni Aniva 267290c8f7
fix: Draft tactic failure by new `sorry` semantics 2025-02-23 14:14:59 -08:00
Leni Aniva 31c76e0d00
chore: Version bump 2025-02-23 14:10:24 -08:00
Leni Aniva c77f14d383
fix: Use context environment in sorry capture 2025-01-28 17:40:49 -08:00
Leni Aniva 6f792b0657
Merge branch 'dev' into bug/expr-proj-to-app-panic 2025-01-24 15:03:13 -08:00
Leni Aniva f7f1272145
Merge branch 'dev' into env/module 2025-01-24 15:01:00 -08:00
Leni Aniva 549be79cbf Merge pull request 'feat: Pickle constants in goal state' (#157) from serial/pickle into dev
Reviewed-on: #157
2025-01-24 14:52:52 -08:00
Leni Aniva 5c1e7599c0
feat: Projection export function 2025-01-24 14:44:09 -08:00
Leni Aniva 8ce4cbdcf5
feat: Printing field projection in sexp 2025-01-22 13:01:47 -08:00
Leni Aniva 3a26bb1924
fix: Analyze projection application 2025-01-22 12:49:33 -08:00
Leni Aniva 5994f0ddf0
fix: Conditional handling of `.proj` 2025-01-17 23:10:03 -08:00
Leni Aniva c9f524b9ae
feat: Implement `env.describe` and `env.module_read` 2025-01-15 21:20:05 -08:00
Leni Aniva 4f5ffc1ffb
feat: Protocol for module access 2025-01-15 21:02:04 -08:00
Leni Aniva 62363cb943
fix: Over-eager assertion of fvarId validity 2025-01-14 13:21:38 -08:00
Leni Aniva 9d445783c2
feat: Draft tactic REPL interface 2025-01-13 12:50:25 -08:00
Leni Aniva fef7f1e2f3
feat: Pickle constants in goal state 2025-01-13 12:43:42 -08:00
Leni Aniva c1f63af019 chore: Update version to 0.2.25 2025-01-13 12:29:11 -08:00
Leni Aniva 06fdf7e678
chore: Update Lean to v4.15.0 2025-01-13 11:09:55 -08:00
Leni Aniva 9d2a999a4f
merge: branch 'dev' into misc/version 2025-01-13 10:29:50 -08:00
Leni Aniva 6a9ba4bb15
Merge branch 'dev' into goal/tactic-draft 2025-01-13 10:22:05 -08:00
Leni Aniva ebde7c9eed
feat: Prohibit coupling in drafting 2025-01-13 10:20:36 -08:00
Leni Aniva ef4e5ecbf8
chore: Update version 2025-01-10 12:55:26 -08:00
Leni Aniva 9eec14503a
Merge branch 'dev' into bug/incorrect-binder-capture 2025-01-10 12:48:18 -08:00
Leni Aniva 814f36eb63 Merge pull request 'feat: Add source location extraction' (#154) from env/inspect into dev
Reviewed-on: #154
2025-01-10 12:47:35 -08:00
Leni Aniva 4a4b02d7b0
test: Source location extraction 2025-01-10 12:47:13 -08:00
Leni Aniva 97eaadc93c
feat: Add source location extraction 2025-01-10 12:16:23 -08:00
Leni Aniva cb46b47a60
test: Draft tactic test 2025-01-08 22:23:30 -08:00
Leni Aniva 5ce6123de7
feat: Draft tactic 2025-01-08 19:56:14 -08:00
Leni Aniva 6302b747b8
feat: Improve error message clarity 2025-01-07 17:51:32 -08:00
Leni Aniva 07e737eb81 Merge pull request 'feat: Simplify sexp printing' (#149) from delate/sexp into dev
Reviewed-on: #149
2025-01-07 17:31:29 -08:00
Leni Aniva 524314721b
feat: Gate type error collection behind flag 2025-01-07 19:40:03 +09:00
Leni Aniva 48b924fae2
fix(frontend): Incorrect capture of binder term 2024-12-20 19:12:12 +09:00
Leni Aniva b42d917aa7
fix: Unnecessary instantiation call 2024-12-17 08:18:27 +09:00
Leni Aniva 53bad1c4c9
refactor: Remove obsolete sanitize option 2024-12-15 12:52:08 -08:00
Leni Aniva 7a3b89cc0e
feat: Simplify sexp binder 2024-12-15 12:49:02 -08:00
Leni Aniva c0090dec97
fix: Quote string literal in sexp 2024-12-15 12:40:47 -08:00
Leni Aniva 13e01b9e62
Merge branch 'dev' into misc/version 2024-12-11 20:53:32 -08:00
Leni Aniva 0fa57a5a15
Merge branch 'dev' into goal/print 2024-12-11 16:51:58 -08:00
Leni Aniva 2f732a7f20
feat: Print goals in `goal.print` 2024-12-11 16:49:52 -08:00
Leni Aniva eeb336c944
Merge branch 'dev' into goal/print 2024-12-11 16:40:01 -08:00
Leni Aniva bb445f4d73
chore: Update version 2024-12-11 16:38:59 -08:00
Leni Aniva ab77418e24
fix: Drop previous message lists 2024-12-11 09:05:47 -08:00
Leni Aniva f2f71a6028
fix: Reset core message log 2024-12-11 09:01:57 -08:00
Leni Aniva 7cba8efd54
Merge branch 'dev' into frontend/infotree 2024-12-11 01:14:15 -08:00
Leni Aniva 4217dbcf80
Merge branch 'dev' into bug/tactic-failure-placeholder 2024-12-11 01:08:44 -08:00
Leni Aniva cb87fcd9dd
fix: Insert `mvarDeps` 2024-12-11 00:16:52 -08:00
Leni Aniva e0e5c9ec68
chore: Code cleanup 2024-12-10 23:51:47 -08:00
Leni Aniva 755ba13c1b
fix: Set `synthesizeSyntheticMVarsNoPostponing` 2024-12-10 23:48:46 -08:00
Leni Aniva 1d10cd2b20
fix: Collect errored mvars by iterating errorInfo 2024-12-10 23:16:33 -08:00
Leni Aniva 0725d865de
feat: Print value of arbitrary mvar in goal state 2024-12-10 14:14:59 -08:00
Leni Aniva 681c3fb78d
fix: Disallow indeterminant type `sorry` 2024-12-10 12:21:56 -08:00
Leni Aniva 37a5884be4
fix: Use `ppSyntax` instead of `ppTactic` 2024-12-09 21:39:33 -08:00
Leni Aniva 1527743900
refactor: Optionalize CompilationUnit 2024-12-09 21:00:33 -08:00
Leni Aniva eb0374dfb3
feat: Collect new constants in repl 2024-12-09 20:57:25 -08:00
Leni Aniva dd00d803d1
feat: Collect sorry/elab failure boundaries 2024-12-09 20:38:27 -08:00
Leni Aniva e9cbc6eab3
chore: Update version 2024-12-09 20:17:55 -08:00
Leni Aniva 0b4ded1049
fix: Collect sorrys and type mismatches 2024-12-09 20:15:53 -08:00
Leni Aniva 5ef2b5c118
feat: Collect newly defined constants 2024-12-09 19:40:00 -08:00
Leni Aniva d040d2006c
fix: Do not guard mvar errors in other tactics 2024-12-09 17:58:08 -08:00
Leni Aniva 47d26badc8
feat: Capture mvar errors 2024-12-09 17:30:33 -08:00
Leni Aniva 2d068ecd50
fix: Use guarded `isDefEq` 2024-12-09 00:06:20 -08:00
Leni Aniva 17ab2eafd8
fix: Halt on match guard 2024-12-09 00:03:53 -08:00
Leni Aniva ea813e5bc5
feat: Monadic info collection 2024-12-08 23:21:36 -08:00
Leni Aniva b950dc9b1a
fix: Verbose printing of infotree 2024-12-08 22:51:55 -08:00
Leni Aniva 9ede3cf717
feat: InfoTree printing 2024-12-08 15:38:03 -08:00
Leni Aniva 4de53e0547
Merge branch 'dev' into frontend/infotree 2024-12-08 12:54:19 -08:00
Leni Aniva 929311a042
fix: Only signal failure when there is error 2024-12-06 00:08:20 -08:00
Leni Aniva 34a4bf5b73
feat: Export GoalState.tryTactic 2024-12-05 22:12:04 -08:00
Leni Aniva a62ac51c37
chore: Remove all redundant filenames 2024-12-05 22:11:37 -08:00
Leni Aniva 7aafd6956f
fix: Capture composite tactic failure 2024-12-05 22:07:21 -08:00
Leni Aniva 13dd11e995
chore: Update Lean to v4.14 2024-12-05 18:55:30 -08:00
Leni Aniva ebf9ab24f7 Merge pull request 'feat: Pickling goal states' (#129) from serial/pickle into dev
Reviewed-on: #129
2024-12-05 16:02:25 -08:00
Leni Aniva c54ce93ef5
feat: Goal State IO in REPL 2024-12-05 14:31:43 -08:00