Commit graph

25717 commits

Author SHA1 Message Date
Leonardo de Moura
2f8d2e8a12 feat: add procedure for solving subgoals generated by mkSplitterProof 2021-08-24 20:23:13 -07:00
Leonardo de Moura
2b9fded6b7 feat: add splitter theorem 2021-08-24 18:37:12 -07:00
Leonardo de Moura
a3ec6a0565 chore: missing instance 2021-08-24 18:12:12 -07:00
Leonardo de Moura
f4ecbd1102 chore: reduce dependencies 2021-08-24 17:38:43 -07:00
Leonardo de Moura
6f71cb1047 refactor: add Meta.intros 2021-08-24 17:24:29 -07:00
Leonardo de Moura
14b65499e6 feat: construct proof template for the auto generated extended elimination principle 2021-08-24 17:13:42 -07:00
Leonardo de Moura
214f2f7bb6 fix: toFVarsRHSArgs 2021-08-24 16:50:03 -07:00
Leonardo de Moura
63b11368ca chore: add Or.elim for tutorial 2021-08-24 14:11:18 -07:00
Leonardo de Moura
82eb1b3558 chore: add Or.intro_left and Or.intro_right
for porting manuals
2021-08-24 14:06:29 -07:00
Sebastian Ullrich
e632c14f3f chore: align stx precedence in syntax to the new one in macro 2021-08-24 10:11:12 -07:00
Leonardo de Moura
97764b58b2 chore: update stage0 2021-08-24 09:06:16 -07:00
Wojciech Nawrocki
81eff794d5 doc: add review comments 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
0d35cf3bb8 feat: allow future additions to CodeWithInfos tags 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
0dea880aba doc: diagnostic diff in snapshots 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
1076d3ed2f chore: bump server version 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
0897984a95 feat: send expression range in interactive term goal 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
198be2c8a7 chore: no backticks in Name JSON 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
2f5fbf3b13 feat: support multiple RPC sessions
Motivation: we may want to also use RPC in editor insets, or multiple
webviews in general.
2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
e4fb367f20 chore: make rpc/connect a request 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
278f884406 chore: use array for hypothesis names 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
03dbfaea03 chore: remove ExprWithCtx 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
dc5652210c fix: missing instance 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
fd016c6065 chore: address some comments 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
916e80a906 fix: optional type for plain goal request 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
1b68daef39 fix: clear messages earlier 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
feff4c2ed3 feat: unify goal handlers 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
3667b46d1e chore: support goals embedded in messages 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
e8af38f586 chore: fix tests 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
f52940160e feat: better interactive goals 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
c948d87a28 chore: forgot import 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
568cc3cf11 refactor: consistent naming of widget modules 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
f7e9ba76dd perf: cache diagnostics in server
Reason 1: we were making quadratically many pretty-printer calls since each `publishMessages` would format the entire `MessageLog`.

Reason 2: we want to avoid formatting each diagnostic twice, once as interactive, and once as plain LSP diagnostic.
2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
c316a8ea69 fix: syntax not updating in header snapshots 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
ce7f31a654 feat: keep-alive semantics for RPC sessions 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
e3d866bc03 feat: initial TraceExplorer
Motivation: trace messages from systems such as instance synthesis or defeq checks can be massive and it is hard to find the relevant info within. We provide an interactive TraceExplorer component to do this.
2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
8207ca6493 feat: more widget Info integration 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
fdc11104eb feat: begin integrating Elab.Info in widgets 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
7ecea27986 feat: emit MessageData from Infos 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
382add19e2 chore: use new deriving handler 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
7d3db49a15 chore: log errors at identifier 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
7babcc2425 fix: tail-recursion in Format pretty-printer 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
77365abc8b chore: Repr Syntax and minor cleanup 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
1bab9f6ffc refactor: simplify delaborator monad stacks 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
73f219ddba fix: no non-expr embeds in diagnostics 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
73363bef1f fix: delab structure field annotations 2021-08-24 08:57:41 -07:00
Daniel Selsam
2f484ec096 feat: build info trees in delab 2021-08-24 08:57:41 -07:00
Daniel Selsam
c44d341bd4 feat: SubExpr support for iterating holes 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
fd3bf289c4 fix: text ordering 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
d116e2e923 feat: batch RPC release 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
f49b7c4c57 chore: drop superfluous "server"
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
2021-08-24 08:57:41 -07:00