Leonardo de Moura
6d8058034a
chore: basic conv mode parsers
2021-09-01 15:35:32 -07:00
Leonardo de Moura
b18af2c15c
feat: basic support for displaying conv state
2021-09-01 15:34:59 -07:00
Leonardo de Moura
d67c633ca1
feat: allow user to set "behavior" at declare_syntax_cat
2021-09-01 13:28:12 -07:00
Leonardo de Moura
5f762171cc
feat: add support for split at
2021-08-31 19:35:07 -07:00
Leonardo de Moura
6db4b53c40
fix: missing flag
2021-08-31 19:29:09 -07:00
Leonardo de Moura
8fec444e55
feat: add injections tactic
2021-08-31 19:12:06 -07:00
Leonardo de Moura
03e61155b0
feat: allow instances to be (temporarily) erased
2021-08-31 15:30:29 -07:00
Leonardo de Moura
56961060d4
fix: use rawIdent at eraseAttr parser
...
Reason: some attribute names are also keywords (e.g., `instance`).
2021-08-31 15:07:21 -07:00
Leonardo de Moura
c7d797f5b6
feat: add simpMatch and use it at splitMatch
2021-08-31 12:53:41 -07:00
Leonardo de Moura
6d4422e5ac
refactor: add Simp.tryLemma?
2021-08-31 12:32:34 -07:00
Leonardo de Moura
a83872c718
chore: add pp.match option
2021-08-31 12:32:04 -07:00
Leonardo de Moura
2375447b4d
chore: remove temporary trace messages
2021-08-31 12:13:07 -07:00
Leonardo de Moura
a79b50d629
chore: add type to error message
2021-08-31 10:06:22 -07:00
Leonardo de Moura
c491f829e0
feat: elaborator for the calc notation
...
- It produces better error messages.
- It tweaks the elaboration order.
- It adds a checkpoint after each step.
- It avoids the `show .. from ..` workaround.
2021-08-31 09:56:49 -07:00
Leonardo de Moura
aba0a479ec
fix: intro at split tactic
2021-08-30 20:58:04 -07:00
Leonardo de Moura
0a215ac1d2
feat: store the number of parameters in each match splitter alternative
2021-08-30 20:57:18 -07:00
Leonardo de Moura
b500a2053d
feat: split tactic for splitting match and if terms
2021-08-30 18:31:20 -07:00
Leonardo de Moura
92cf7c987f
chore: cleanup
2021-08-30 16:33:05 -07:00
Leonardo de Moura
ad3b0b4a2c
feat: nary generalize tactic
...
This commit also fixes a bug when using multiple targets with the
`induction` and `cases` tactics.
2021-08-30 16:31:39 -07:00
Leonardo de Moura
2012d9dca1
fix: make sure simp only still uses eq_self
2021-08-30 09:50:11 -07:00
Leonardo de Moura
ce47000e33
fix: missing whnf at tryLemma?
2021-08-30 08:33:58 -07:00
Leonardo de Moura
79938056ad
chore: add isIte and isDIte
2021-08-30 07:08:19 -07:00
Leonardo de Moura
02224548d2
chore: generalize signatures
2021-08-30 07:05:40 -07:00
Leonardo de Moura
1e5a4729c3
feat: case _ ... => ... as solve next goal
2021-08-29 10:45:38 -07:00
Leonardo de Moura
9d5f211c28
feat: add environment extension for storing match conditional equations and splitter
2021-08-28 14:49:20 -07:00
Leonardo de Moura
e0e3de5c62
feat: allow (decidable) propositions at #eval
2021-08-27 15:06:48 -07:00
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
c897f63dd0
fix: using incorrect local context to process simp arguments
2021-08-26 12:49:12 -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
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
Sebastian Ullrich
e632c14f3f
chore: align stx precedence in syntax to the new one in macro
2021-08-24 10:11:12 -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