Commit graph

26741 commits

Author SHA1 Message Date
Leonardo de Moura
03f095ccab fix: match + OfNat issue
See https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/simp.20match.20question
2021-08-27 11:48:02 -07:00
Leonardo de Moura
152572386b chore: fix comment 2021-08-27 10:43:51 -07:00
Leonardo de Moura
7c68741c65 chore: update stage0 2021-08-27 10:39:05 -07:00
Leonardo de Moura
7864a57580 chore: update stage0 2021-08-27 10:37:17 -07:00
Leonardo de Moura
6713d8777a fix: work duplication bug at specialize.cpp
closes #646
2021-08-27 10:35:27 -07:00
Leonardo de Moura
b205cfaaf2 chore: missing annotations at List.mapTR 2021-08-27 10:17:49 -07:00
Leonardo de Moura
8ba10521e6 feat: add theorem for tutorial 2021-08-26 12:58:02 -07:00
Leonardo de Moura
c897f63dd0 fix: using incorrect local context to process simp arguments 2021-08-26 12:49:12 -07:00
Leonardo de Moura
00193fb953 feat: add theorems for tutorial 2021-08-26 12:13:15 -07:00
Leonardo de Moura
b5a434d8a9 test: for induction q with Quot.ind issue
See
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Induction.20alternative.20name.20when.20using.20Quot.2Eind.3F
2021-08-26 11:15:14 -07:00
Leonardo de Moura
1aa274e5c0 chore: update stage0 2021-08-26 11:13:16 -07:00
Leonardo de Moura
cf49e6fe8f fix: binder name
Binder names are relevant for the `induction` tactic.
2021-08-26 11:11:37 -07:00
Leonardo de Moura
21a4296ca8 feat: add anyGoals tatic for tutorial 2021-08-26 10:41:06 -07:00
Leonardo de Moura
672849e302 feat: improve error message for constant a b c : Nat
see issue  #645
2021-08-26 08:26:33 -07:00
Leonardo de Moura
efa5db197e fix: position information for implicit type 2021-08-26 08:07:16 -07:00
Leonardo de Moura
1ede4843e3 feat: add renameI tactic 2021-08-25 18:50:59 -07:00
Leonardo de Moura
5e4c79964a fix: nasty bug at rename tactic 2021-08-25 15:27:29 -07:00
Leonardo de Moura
dfe7d9432d feat: add withoutModifyingStateWithInfoAndMessages 2021-08-25 15:11:45 -07:00
Leonardo de Moura
795ccf6e2b chore: add Trans instances for tutorial 2021-08-25 08:50:51 -07:00
Leonardo de Moura
5003c74191 chore: fix test 2021-08-25 07:00:25 -07:00
Leonardo de Moura
42f1e16f44 chore: fix calc test 2021-08-25 06:59:46 -07:00
Sebastian Ullrich
f9fd0b3de4 feat: calc 2021-08-25 06:57:09 -07:00
Leonardo de Moura
f08b542068 chore: add Nat.add_mul and Nat.mul_add for tutorial 2021-08-25 06:44:12 -07:00
Leonardo de Moura
fb41e0f4e5 chore: update stage0 2021-08-24 20:26:39 -07:00
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