Leonardo de Moura
|
56cd6c1ff5
|
fix: we should not use implicit targets when creating the key for the CustomEliminator map
|
2022-05-20 06:55:23 -07:00 |
|
Sebastian Ullrich
|
eb170d1f43
|
fix: compiled string literals containing null bytes
|
2022-05-17 09:24:34 -07:00 |
|
Sebastian Ullrich
|
a2bf2a4abd
|
fix: info at pattern variables
|
2022-05-17 06:28:59 -07:00 |
|
Sebastian Ullrich
|
46df02877d
|
fix: elab info for decreasing_by
|
2022-05-16 10:20:49 +02:00 |
|
Wojciech Nawrocki
|
a8cfbb11bf
|
Revert "chore: fix tests"
This reverts commit c6acd968d7.
|
2022-05-12 13:22:37 -07:00 |
|
Wojciech Nawrocki
|
bea68819c9
|
feat: support optional RPC fields
|
2022-05-12 13:22:37 -07:00 |
|
Leonardo de Moura
|
c6acd968d7
|
chore: fix tests
|
2022-05-12 08:44:00 -07:00 |
|
Wojciech Nawrocki
|
fbb20d465b
|
fix: RpcEncoding tests
|
2022-05-12 08:38:09 -07:00 |
|
Sebastian Ullrich
|
d03f0b3851
|
fix: set of chained lexical references
|
2022-05-11 17:32:06 +02:00 |
|
Leonardo de Moura
|
94d2a3ef86
|
feat: improve error message when failing to infer resulting universe level for inductive datatypes and structures
|
2022-05-10 18:30:53 -07:00 |
|
Leonardo de Moura
|
c935a3ff6a
|
feat: improve error location for universe level errors at inductive command
|
2022-05-10 12:50:01 -07:00 |
|
Sebastian Ullrich
|
392640d292
|
feat: allow keyword-like projection identifiers
|
2022-05-10 12:25:30 -07:00 |
|
Leonardo de Moura
|
f58afaaa43
|
fix: make sure let _ := val and let _ : type := val are treated at letIdDecl
closes #1114
|
2022-05-10 06:52:27 -07:00 |
|
Sebastian Ullrich
|
1b51bab4a1
|
feat: turn on info trees by default
|
2022-05-10 06:24:31 -07:00 |
|
Leonardo de Moura
|
7ce0471f28
|
feat: improve binrel% elaborator
It now relies on `binop%` too, and addresses issue reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Regression.20in.20coercion.20inference/near/281737387
|
2022-05-09 18:39:52 -07:00 |
|
Sebastian Ullrich
|
ff6537be1b
|
fix: use consistent goal prefix everywhere
|
2022-05-09 17:49:00 +02:00 |
|
Leonardo de Moura
|
fc03b2fc31
|
feat: unfold ident,+
|
2022-05-09 07:09:53 -07:00 |
|
Leonardo de Moura
|
e729b32b2b
|
feat: unfold should fail if it didn't unfold anything
|
2022-05-09 06:41:17 -07:00 |
|
Leonardo de Moura
|
4875224bd4
|
feat: unfold tactic tries to reduce match after unfolding
|
2022-05-09 06:35:40 -07:00 |
|
Sebastian Ullrich
|
91991649bc
|
fix: connect occurrences of mutable variable inside and outside for in info tree
|
2022-05-07 15:50:26 -07:00 |
|
Leonardo de Moura
|
ab31f9ad5d
|
fix: fixes #1143
|
2022-05-07 15:27:34 -07:00 |
|
Leonardo de Moura
|
2c8c20d424
|
feat: add [eliminator] attribute specifying default recursors/eliminators for the cases and induction tactics
|
2022-05-07 15:09:42 -07:00 |
|
Leonardo de Moura
|
af5e13e534
|
feat: improve binop% elaboration function
|
2022-05-07 10:32:55 -07:00 |
|
Leonardo de Moura
|
38baeaf373
|
feat: backtrack when applying default instances if subproblems cannot be solved
|
2022-05-07 09:56:38 -07:00 |
|
Leonardo de Moura
|
8c23bef399
|
feat: add support for casesOn applications to structural and well-founded recursion modules
|
2022-05-06 17:12:10 -07:00 |
|
Leonardo de Moura
|
7a1c79043e
|
chore: fix test
|
2022-05-04 15:34:37 -07:00 |
|
Leonardo de Moura
|
c65537aea5
|
feat: Option is a Monad again
TODO: remove `OptionM` after update stage0
see: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Do.20we.20still.20need.20OptionM.3F/near/279761084
|
2022-05-04 15:27:42 -07:00 |
|
Leonardo de Moura
|
04d3c6feeb
|
fix: auto implicit behavior on constructors
|
2022-05-04 15:04:49 -07:00 |
|
Leonardo de Moura
|
a1af8074c9
|
feat: improve discriminant refinement procedure
|
2022-05-04 14:46:43 -07:00 |
|
Leonardo de Moura
|
16ed5a3213
|
fix: erase_irrelevant.cpp
It addresses issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/'unreachable'.20code.20was.20reached.20by.20termination.20check/near/281159704
|
2022-05-04 08:06:59 -07:00 |
|
Leonardo de Moura
|
94b5a9b460
|
feat: improve split tactic
|
2022-05-03 17:46:50 -07:00 |
|
Sebastian Ullrich
|
e76a2a6d9e
|
chore: normalize spelling
|
2022-05-03 10:26:11 +02:00 |
|
Leonardo de Moura
|
94abfdba6c
|
feat: improve implementedBy errors, and relax type matching test
|
2022-05-02 08:48:15 -07:00 |
|
Sebastian Ullrich
|
09e4c00c68
|
fix: lexical references through x := e and similar macros
|
2022-05-01 17:46:05 +02:00 |
|
Leonardo de Moura
|
109363bc7e
|
fix: closes #1132
|
2022-05-01 08:18:30 -07:00 |
|
Leonardo de Moura
|
4eb2cfec46
|
feat: make sure case' ... => tac does not use done after tac
|
2022-05-01 07:30:11 -07:00 |
|
Leonardo de Moura
|
862492778a
|
test: add deq_correct test from Zulip
|
2022-04-29 15:50:40 -07:00 |
|
Leonardo de Moura
|
cddf9ddd95
|
fix: forallAltTelescope heterogeneous equality support
|
2022-04-29 15:37:20 -07:00 |
|
Leonardo de Moura
|
95ea0b92ea
|
chore: fix test
|
2022-04-29 12:40:32 -07:00 |
|
Leonardo de Moura
|
d4d538cad8
|
fix: counterexample generation for new match encoding
|
2022-04-29 12:36:53 -07:00 |
|
Leonardo de Moura
|
ec932e389b
|
chore: fix test
|
2022-04-29 12:30:45 -07:00 |
|
Leonardo de Moura
|
10d43492ba
|
chore: fix test
|
2022-04-29 07:17:46 -07:00 |
|
Sebastian Ullrich
|
ff4a770c2d
|
feat: annotate match tactic alternatives with expected state
|
2022-04-29 16:16:09 +02:00 |
|
Sebastian Ullrich
|
39a0de40dd
|
feat: annotate <;> with expected state
|
2022-04-29 16:16:09 +02:00 |
|
Sebastian Ullrich
|
a167828b79
|
fix: refine previous commit's heuristic
Show indented state if there is no outer state that is leading & not indented
relative to the cursor position
|
2022-04-29 16:16:09 +02:00 |
|
Sebastian Ullrich
|
87b216a8e1
|
fix: do not show states from tactics indented further than the cursor
|
2022-04-29 16:16:09 +02:00 |
|
Sebastian Ullrich
|
cc5e7ee731
|
test: part of #1119
|
2022-04-29 16:16:09 +02:00 |
|
Sebastian Ullrich
|
b714a32d27
|
fix: revert "fix: show single final state after tactic combinator"
This reverts commit eb7bf2b272.
|
2022-04-29 16:16:09 +02:00 |
|
Leonardo de Moura
|
575b1187c5
|
feat: add Tactic.Context.recover for controlling error recovery
Moreover, when executing `tac_1 <|> tac_2`, we now disable error
recovery at `tac_1`.
closes #1126 #1127
|
2022-04-27 10:47:15 -07:00 |
|
Leonardo de Moura
|
ae913efa99
|
test: collect info view issues
|
2022-04-27 09:42:18 -07:00 |
|