Leonardo de Moura
|
46a5f06121
|
feat: do not consider dot notation when isAuxDecl is true
|
2021-08-21 16:35:32 -07:00 |
|
Leonardo de Moura
|
ec6af1ba26
|
feat: use simple List.append definition and add csimp theorem
|
2021-08-21 16:11:54 -07:00 |
|
Leonardo de Moura
|
4d1d06fcbc
|
chore: fix test
|
2021-08-21 15:07:36 -07:00 |
|
Leonardo de Moura
|
3b240d9a14
|
feat: use simple List.length definition and add csimp theorem
|
2021-08-21 13:11:06 -07:00 |
|
Leonardo de Moura
|
6cfdfe9942
|
feat: apply csimp attribute constant replacements
|
2021-08-21 12:22:15 -07:00 |
|
Leonardo de Moura
|
e8d23f305d
|
chore: elaborate open scoped
|
2021-08-21 07:16:24 -07:00 |
|
Leonardo de Moura
|
7066619123
|
refactor: define Nat.le using inductive type
|
2021-08-20 19:39:45 -07:00 |
|
Sebastian Ullrich
|
5f4b1b1d44
|
Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it""
This reverts commit ccbc9d00db.
|
2021-08-20 09:42:05 -07:00 |
|
Sebastian Ullrich
|
ccbc9d00db
|
Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"
|
2021-08-20 15:39:00 +02:00 |
|
Leonardo de Moura
|
49520aa2ee
|
feat: generate conditional equation theorems for match expressions
|
2021-08-19 19:33:31 -07:00 |
|
Leonardo de Moura
|
3c519887d1
|
chore: generate error message when MatchEqs fail
TODO: we currently do not generate equation theorems
for `match` expressions using array literals.
|
2021-08-19 17:04:52 -07:00 |
|
Leonardo de Moura
|
33a0da8c6f
|
chore: remove simp annotation from PUnit.eq_punit
closes #635
|
2021-08-19 11:22:13 -07:00 |
|
Leonardo de Moura
|
a6529a795b
|
feat: add casesOnStuckLHS
|
2021-08-19 11:22:13 -07:00 |
|
Leonardo de Moura
|
7c9158a50e
|
fix: structure command diamond support
Fixes issue described at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Structure.20diamond.20error
|
2021-08-19 07:45:21 -07:00 |
|
Leonardo de Moura
|
107712f8be
|
feat: add instance from CoeSort to CoeTail
|
2021-08-18 20:24:43 -07:00 |
|
Leonardo de Moura
|
99e8a98f06
|
feat: allow universes metavariables from any depth to be assigned when ignoreLevelDepth is true
We set `ignoreLevelDepth` to true during type class resolution.
|
2021-08-18 20:20:51 -07:00 |
|
Leonardo de Moura
|
45d3b85d5a
|
refactor: cleanup MatchEqs and simplify SplitIf
|
2021-08-18 18:34:34 -07:00 |
|
Sebastian Ullrich
|
40f41a1f14
|
chore: adjust binary size benchmark
|
2021-08-18 13:54:52 +02:00 |
|
Leonardo de Moura
|
83eaa47e0a
|
chore: move MatchEqs
|
2021-08-17 21:32:32 -07:00 |
|
Leonardo de Moura
|
a5b9306e04
|
fix: deep recursion at contradiction
|
2021-08-17 21:32:32 -07:00 |
|
Leonardo de Moura
|
52b52b22ef
|
fix: to do unfold matcher applications that cannot be reduced when smartUnfolding is true
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/How.20to.20WHNF.20without.20exposing.20recursors.3F
|
2021-08-17 21:32:32 -07:00 |
|
Jannis Limperg
|
9278e0694b
|
chore: add test case for BinomialHeap
|
2021-08-17 10:19:12 -07:00 |
|
Jannis Limperg
|
63628ef61b
|
fix: BinomialHeap: insert (head h) (tail h) = h
fixes #629
|
2021-08-17 10:19:12 -07:00 |
|
Leonardo de Moura
|
d775dc6195
|
feat: add flag for controlling the execution of initialize commands when importing modules programmatically
Fixes issue reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Environment.20extensions.20in.20importModules
|
2021-08-16 17:43:28 -07:00 |
|
Leonardo de Moura
|
571a0491ee
|
feat: add Meta.byCases helper tactic
|
2021-08-16 14:58:51 -07:00 |
|
Leonardo de Moura
|
4fe65f3200
|
test: mathport issue https://github.com/dselsam/mathport/issues/18
|
2021-08-15 08:11:20 -07:00 |
|
Leonardo de Moura
|
9182ebd4c1
|
feat: elaborate * simp argument
|
2021-08-15 08:02:21 -07:00 |
|
Leonardo de Moura
|
3c68703f39
|
feat: elaborate <- modifier at simp arguments
|
2021-08-15 07:07:58 -07:00 |
|
Leonardo de Moura
|
4239ae69f6
|
chore: fix tests
|
2021-08-13 17:24:58 -07:00 |
|
Leonardo de Moura
|
d3d03df83c
|
feat: new elaborator for binop%
cc @gebner.
|
2021-08-13 15:44:59 -07:00 |
|
Sebastian Ullrich
|
d3f007b3cd
|
chore: fix stdlib benchmarks
|
2021-08-12 22:41:42 +02:00 |
|
Leonardo de Moura
|
da03262937
|
fix: check redundant sources at structure instance notation
|
2021-08-12 09:16:30 -07:00 |
|
Sebastian Ullrich
|
20accf5105
|
feat: revise macro parameter syntax
|
2021-08-12 07:48:42 -07:00 |
|
Leonardo de Moura
|
c68882ca67
|
feat: structure instance notation with multiple sources
closes #462
closes #463
|
2021-08-12 06:18:47 -07:00 |
|
Leonardo de Moura
|
a02a490a10
|
feat: add mkProjStx?
|
2021-08-12 05:41:00 -07:00 |
|
Daniel Selsam
|
5952a857cd
|
feat: pp.analyze improve heuristics for fun binders
|
2021-08-12 09:37:57 +02:00 |
|
Daniel Selsam
|
638d0ca8ed
|
feat: pp.instances and pp.instanceTypes
|
2021-08-12 09:33:30 +02:00 |
|
Daniel Selsam
|
040141f137
|
feat: unexpander for Subtype
|
2021-08-12 09:32:33 +02:00 |
|
Leonardo de Moura
|
74bd537465
|
fix: generation of to* field names
|
2021-08-11 17:25:02 -07:00 |
|
Leonardo de Moura
|
f1738ce2a0
|
feat: add macro for expanding field abbrev notation
The new macro allows us to use the field abbrev notation in patterns
too. See new test.
|
2021-08-11 16:02:50 -07:00 |
|
Daniel Selsam
|
efb3f528a6
|
fix: handle MData-wrapped app fns consistently in delaborator
Fixes #625
|
2021-08-11 18:53:32 +02:00 |
|
Leonardo de Moura
|
6352e549b5
|
test: add classes up to Field
|
2021-08-11 08:51:49 -07:00 |
|
Sebastian Ullrich
|
3b43ab47f1
|
fix: formatter: check for comment tokens
Fixes #624
|
2021-08-11 17:37:18 +02:00 |
|
Leonardo de Moura
|
d471f8df60
|
fix: fixes #621
|
2021-08-10 21:15:35 -07:00 |
|
Leonardo de Moura
|
61b3e6bcb8
|
fix: reduce projections of expanded structures at copyDefaultValue?
|
2021-08-10 20:50:59 -07:00 |
|
Leonardo de Moura
|
0623bb3860
|
feat: update fieldMap with composite field
|
2021-08-10 20:04:41 -07:00 |
|
Leonardo de Moura
|
ae03f15c92
|
test: default value set at copied structure
|
2021-08-10 19:00:34 -07:00 |
|
Leonardo de Moura
|
3b1285bee8
|
feat: process overriden default values in copied parents
|
2021-08-10 18:55:12 -07:00 |
|
Leonardo de Moura
|
295cae8afd
|
feat: copy field default values
Only basic examples are working. We still have many TODOs
|
2021-08-10 16:53:10 -07:00 |
|
Leonardo de Moura
|
47b8fa15f1
|
fix: propagate visibility annotation
|
2021-08-10 15:34:07 -07:00 |
|