Leonardo de Moura
|
fb45eb4964
|
fix: universe polymorphic enumeration types
Fixes issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Incorrect.20number.20of.20universe.20levels.20parameters/near/284283021
|
2022-05-30 06:43:46 -07:00 |
|
Sebastian Ullrich
|
d3cf60e86a
|
chore: further refine goal state heuristics
|
2022-05-30 13:27:56 +02:00 |
|
Sebastian Ullrich
|
b31690b1d7
|
fix: go to definition/goal state at end of syntax
|
2022-05-30 11:16:25 +02:00 |
|
Leonardo de Moura
|
ca6f53b407
|
feat: use subst_vars at builtin decreasing_tactic
|
2022-05-28 16:24:32 -07:00 |
|
Leonardo de Moura
|
40fc64480a
|
feat: add tactic subst_vars
|
2022-05-28 16:19:34 -07:00 |
|
Leonardo de Moura
|
2c5bafcbd8
|
fix: dead variables at match equation hypotheses
This commit addresses an issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Structural.20Recursion.20Problem/near/284238723
|
2022-05-28 16:09:35 -07:00 |
|
Leonardo de Moura
|
34bbe5d12c
|
feat: add simp theorem List.of_toArray_eq_toArray (as bs : List α) : (as.toArray = bs.toArray) = (as = bs) := by
|
2022-05-27 18:26:48 -07:00 |
|
Leonardo de Moura
|
fbd8224b4d
|
fix: allow recursive occurrences in binder types at WF/PackDomain.lean
fixes #1171
|
2022-05-27 11:23:51 -07:00 |
|
Leonardo de Moura
|
3be437cad3
|
fix: make sure register_simp_attr declares an simp-like attribute parser for user simp attributes
closes #1164
|
2022-05-26 19:49:33 -07:00 |
|
Leonardo de Moura
|
25126cd057
|
fix: autoParam is structure fields lost in multiple inheritance
closes #1158
|
2022-05-26 14:35:47 -07:00 |
|
Leonardo de Moura
|
fc606f3ab5
|
fix: closes #1156
|
2022-05-26 12:51:28 -07:00 |
|
Leonardo de Moura
|
988697b431
|
fix: fixes #1169
|
2022-05-26 07:05:32 -07:00 |
|
Leonardo de Moura
|
944063682e
|
fix: another specialize.cpp bug
This is just a workaround. This code has to be ported to Lean.
The issue has been reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/.28kernel.29.20unknown.20constant/near/283750650
|
2022-05-25 20:36:18 -07:00 |
|
Leonardo de Moura
|
dca8a8ed98
|
fix: match or-pattern
This issue has been reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Probably.20a.20bug/near/283779934
|
2022-05-25 20:05:46 -07:00 |
|
Leonardo de Moura
|
bef1cd4872
|
fix: make structure instance notation (e.g., { a, b }) works in patterns after we define the Set notation in Mathlib
|
2022-05-25 19:14:22 -07:00 |
|
Jannis Limperg
|
6dc5ddac35
|
fix: apply after-compilation attributes to inductive/structure decls
Attributes with `AttributeApplicationTime.afterCompilation` were
silently not applied to `inductive` and `structure` declarations.
|
2022-05-25 11:32:08 -07:00 |
|
Sebastian Ullrich
|
4a1885f997
|
chore: update benchmark suite
|
2022-05-25 18:26:36 +02:00 |
|
Leonardo de Moura
|
7c427c1ef2
|
fix: make sure let-expressions do not affect the structural recursion module
This issue has been reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Termination.20check.20not.20preserved.20under.20let.20binding.2E/near/282934378
|
2022-05-23 13:42:48 -07:00 |
|
Leonardo de Moura
|
2fc23a2a2b
|
feat: make sure we can use split to synthesize code
|
2022-05-23 11:55:57 -07:00 |
|
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 |
|