Commit graph

27081 commits

Author SHA1 Message Date
Leonardo de Moura
2ef0146140 fix: avoid unnecessary matcheApp.addArgs at BRecOn and Fix
It fixes the following two cases from #998
```
attribute [simp] Lean.Export.exportName
attribute [simp] Lean.Export.exportLevel
```
2022-02-08 15:06:14 -08:00
Leonardo de Moura
8692225432 fix: saveEqn at Lean/Elab/PreDefinition/Eqns.lean
see #998
2022-02-08 13:44:49 -08:00
Leonardo de Moura
33ed496661 feat: improve contradiction 2022-02-08 13:26:05 -08:00
Leonardo de Moura
3367f0b06a feat: use splitTarget? when proving equation theorems for recursive definitions 2022-02-08 12:53:09 -08:00
Leonardo de Moura
afb5cb16ee chore: simplify option names
see #1011
2022-02-08 12:23:24 -08:00
Leonardo de Moura
59acf01bc9 feat: relax auto-implicit restrictions
The new options `relaxedAutoBoundImplicitLocal` can be used to
disable this feature.

closes #1011
2022-02-08 12:17:42 -08:00
Leonardo de Moura
398b9c136a chore: fix test 2022-02-08 11:43:45 -08:00
Leonardo de Moura
96336bb44d test: add tests for #998
The previous changes fixed two of them.
2022-02-08 11:43:45 -08:00
Leonardo de Moura
c486203481 fix: use simpTargetStar when proving equation theorems for recursive definitions
Add `take` function reported at Zulip.
2022-02-08 11:43:45 -08:00
Leonardo de Moura
c1777c17e3 feat: add simpTargetStar 2022-02-08 11:43:45 -08:00
Leonardo de Moura
824d0aa8a5 chore: remove leftover 2022-02-08 11:43:45 -08:00
Sebastian Ullrich
ad80c69cba chore: CI: add RELEASES.md diff to nightly description 2022-02-08 14:25:54 +01:00
Sebastian Ullrich
e45830f8b3 chore: CI: release only if all jobs finished successfully 2022-02-08 14:25:54 +01:00
Leonardo de Moura
e626b3d4aa chore: make it clear that v4.0.0-m4 has not been released yet 2022-02-07 17:59:46 -08:00
Leonardo de Moura
a9bb646d4f chore: cleanup 2022-02-07 17:35:07 -08:00
Leonardo de Moura
aa2d547c2b doc: add last item at congr theorem whishlist
closes #988
2022-02-07 17:26:43 -08:00
Leonardo de Moura
8d7f0ea2f2 feat: add removeUnnecessaryCasts
see #988
2022-02-07 17:24:32 -08:00
Leonardo de Moura
9d34d9bc5a feat: cache and optimize mkCongrSimp? at simp
see #988
2022-02-07 17:01:21 -08:00
Leonardo de Moura
007f0e1d71 feat: use mkCongrSimp? at simp
TODO: cache auto generated congr theorems, and `removeUnnecessaryCasts`

see #988
2022-02-07 16:45:01 -08:00
Leonardo de Moura
93bd4a7f88 chore: lemma => thm 2022-02-07 13:55:23 -08:00
Leonardo de Moura
6f7fb9ccaf chore: update stage0 2022-02-07 13:19:52 -08:00
Leonardo de Moura
5baac1905f fix: use private names for theorems that are created on demand
closes #1006
2022-02-07 13:16:22 -08:00
ammkrn
efb533fb24
doc: document some do block patterns/sugar 2022-02-07 20:50:15 +01:00
Leonardo de Moura
eff63632b3 feat: improve error message when max heartbeats is reached during TC
see #1007
2022-02-07 11:23:48 -08:00
Gabriel Ebner
f8b43630a6 fix: refs to copied subobjects in diamond extension 2022-02-07 10:54:32 -08:00
Sebastian Ullrich
4e77b6a615 doc: extend RELEASES.md 2022-02-07 11:31:58 +01:00
Leonardo de Moura
e8781ad889 chore: update stage0 2022-02-06 09:17:40 -08:00
Leonardo de Moura
8cea32f42d chore: fix test 2022-02-06 09:15:39 -08:00
Leonardo de Moura
9c2942c36d chore: "simp lemma" => "simp theorem" 2022-02-06 09:15:39 -08:00
Leonardo de Moura
d6dc077c86 refactor: CongrLemma => SimpCongrTheorem 2022-02-06 09:15:39 -08:00
Leonardo de Moura
96bae46045 refactor: SimpLemma => SimpTheorem 2022-02-06 09:15:39 -08:00
Sebastian Ullrich
2c7d67d498 fix: make info of fields synthesized by structure update synthetic 2022-02-06 08:50:07 -08:00
Leonardo de Moura
255db2b47d chore: update stage0 2022-02-06 08:12:21 -08:00
Joscha
196cf67eed fix: handle overlapping definitions 2022-02-06 16:52:18 +01:00
Leonardo de Moura
f78d355416 chore: style 2022-02-06 07:29:26 -08:00
Leonardo de Moura
e35235eec5 chore: update stage0 2022-02-06 07:24:22 -08:00
Sebastian Ullrich
0ef5985b5f fix: binder info range for let rec/where 2022-02-06 07:21:51 -08:00
Patrick Stevens
b48e48328f
chore: Nix: bump vscode-lean4 version to 0.0.63 2022-02-05 20:08:45 +01:00
Joscha
841d51a7e6 fix: walkDir 2022-02-05 19:55:09 +01:00
Sebastian Ullrich
06e81637fe fix: symlinking src/ into build directory 2022-02-05 18:52:40 +01:00
Leonardo de Moura
7f0060b214 chore: update stage0 2022-02-04 18:25:35 -08:00
Leonardo de Moura
6de0b1fc67 feat: add mkCongrSimp.mkProof
see #988
2022-02-04 17:57:28 -08:00
Leonardo de Moura
3ae455bccf feat: add mkCongrSimp?
TODO: proof is still missing

see #988
2022-02-04 17:57:28 -08:00
Leonardo de Moura
a028a69159 feat: cache isProp and isDecInst at FunInfo 2022-02-04 17:57:28 -08:00
Wojciech Nawrocki
5668e2644a fix: typo 2022-02-04 12:55:53 -08:00
Sebastian Ullrich
a7ba103e0a chore: remove leanpkg 2022-02-04 19:03:40 +01:00
Sebastian Ullrich
2b7427c962 chore: adjust changelog merge strategy config
/cc @leodemoura
2022-02-04 18:32:20 +01:00
Leonardo de Moura
cfb67ee589 chore: add RELEASES.md
It is based on the approach used in rust.
2022-02-04 09:24:20 -08:00
Sebastian Ullrich
ae062c6ead fix: match tactic should not trigger implicit lambdas 2022-02-04 07:55:56 -08:00
Sebastian Ullrich
7fd76cd1b9
chore: CI: fix sanitizer test excludes
Apparently StackOverflow got fixed at some point?
2022-02-04 15:01:30 +01:00