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
Mario Carneiro
6e7d76f4d8
fix: typo
2022-02-03 18:21:14 -08:00
Leonardo de Moura
95aec2cf93
chore: update stage0
2022-02-03 18:10:10 -08:00
Leonardo de Moura
1684cfec83
chore: update lake
2022-02-03 18:09:48 -08:00
Leonardo de Moura
12e2a79170
chore: fix codebase after removing auto pure
2022-02-03 18:08:14 -08:00
Leonardo de Moura
00f59a91ee
chore: update stage0
2022-02-03 17:07:14 -08:00
Leonardo de Moura
e9d85f49e6
chore: remove tryPureCoe?
...
Based on the discussion at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/for.2C.20unexpected.20need.20for.20type.20ascription/near/269083574
The consensus seemed to be that "auto pure" is more confusing than its worth.
2022-02-03 16:25:24 -08:00
Leonardo de Moura
6d07092d1e
chore: update stage0
2022-02-03 15:56:28 -08:00
Leonardo de Moura
5f74cd4968
feat: add let pat := val | elseCase do-notation
2022-02-03 15:55:03 -08:00
Leonardo de Moura
420f5bb315
fix: hide internal namespaces from autocompletion
...
closes #993
2022-02-03 13:33:27 -08:00
Leonardo de Moura
17eab845ed
fix: improve tryPostponeIfMVar
...
see #992
2022-02-03 13:24:19 -08:00
Leonardo de Moura
2bc5b8d1ec
chore: remove doc/changes.md
...
In the last dev meeting, we have decided we are not going to use it.
We will release often (every month), and use pull requests and issues
to report changes.
2022-02-03 09:23:45 -08:00
Leonardo de Moura
42b3ed5903
test: add Pi.single test
...
see #988
2022-02-03 09:22:22 -08:00
Sebastian Ullrich
22526051e0
fix: install sources to src/lean/, not lib/lean
...
Not only is this more semantically appropriate (see e.g.
`/usr/src/{linux,rust,...}` on Debian), it also prevents .ilean files
from Lake tests (which are symlinked into the build directory as part of
`src/` during development) from ending up in the built-in LEAN_PATH and
being watched & loaded by the server.
2022-02-03 18:20:21 +01:00
Gabriel Ebner
55be278cd7
fix: ensure motive of matches is Bool
2022-02-03 18:17:27 +01:00
Gabriel Ebner
54cff10f3f
fix: dependent fields in diamond extensions
2022-02-03 09:17:14 -08:00
Leonardo de Moura
c30380e2fa
feat: lift the restriction in congr theorems that all function arguments on the lhs must be free variables
...
see #988
2022-02-02 18:23:18 -08:00
Leonardo de Moura
b7c853692d
test: add test for decide congruence issue
...
TODO: congruence lemma must be automatically generated.
see #988
2022-02-02 17:49:03 -08:00
Leonardo de Moura
101fc12b54
feat: partially applied user congruence lemmas
...
see #988
2022-02-02 17:41:21 -08:00
Leonardo de Moura
dbb6dcd9a9
fix: remove irrelevant hypotheses in auto-generated equation theorems
2022-02-02 15:39:51 -08:00
Leonardo de Moura
188f0eb70f
fix: splitMatch tactic
...
Improve how we compute the motive for match-splitter eliminator.
closes #986
2022-02-02 15:06:03 -08:00
Leonardo de Moura
d7f085976f
feat: add Coe MVarId MessageData
2022-02-02 15:06:03 -08:00
Leonardo de Moura
4a4074baab
fix: only generalize when needed at cases
2022-02-02 15:06:03 -08:00
Leonardo de Moura
4fe56d2a9d
fix: allow mkElimApp to assign new goals when solving typing constraints
2022-02-02 15:06:03 -08:00
Leonardo de Moura
65e1fc1211
feat: at splitMatch only generalize discriminants that are not FVar
2022-02-02 15:06:03 -08:00
Leonardo de Moura
630bf4e129
chore: update error message for throwNestedTacticEx
2022-02-02 15:06:03 -08:00
Leonardo de Moura
3101b98f50
feat: used nested tactic exception at splitMatch
2022-02-02 15:06:03 -08:00
Sebastian Ullrich
16f6b19e21
fix: silence .ilean load errors
2022-02-02 22:02:15 +01:00
Sebastian Ullrich
e400b02a05
test: wrong test
2022-02-02 13:17:30 +01:00
Sebastian Ullrich
3425278d97
test: forgot to commit test for #801
2022-02-02 13:08:23 +01:00
larsk21
ce92672c3a
fix: remove explicit Ord Range
2022-02-02 13:03:21 +01:00