Joachim Breitner
f6deaa8fb2
chore: update stage0
2024-07-03 14:54:58 +02:00
Lean stage0 autoupdater
7ef95cd30b
chore: update stage0
2024-07-03 07:48:23 +00:00
Lean stage0 autoupdater
d5a45dfa8b
chore: update stage0
2024-07-01 17:36:58 +00:00
Leonardo de Moura
f31d4dc128
chore: update stage0
2024-06-29 19:18:53 +02:00
Leonardo de Moura
93d2ad5fa7
chore: update stage0
2024-06-28 00:55:47 +02:00
Lean stage0 autoupdater
968aff403b
chore: update stage0
2024-06-23 10:09:59 +00:00
Sebastian Ullrich
5767a597d4
chore: update stage0
2024-06-21 22:04:02 +02:00
Leonardo de Moura
53be53f5ae
chore: update stage0
2024-06-20 01:05:52 +02:00
Leonardo de Moura
2518105bd9
chore: update stage0
2024-06-19 20:21:34 +02:00
Leonardo de Moura
2c83e080f7
chore: update stage0
2024-06-17 23:27:34 +02:00
Sebastian Ullrich
237f392cc1
chore: update stage0
2024-06-14 12:35:45 +02:00
Sebastian Ullrich
bfcaaa3d9d
chore: update stage0
2024-06-07 13:59:22 +02:00
Sebastian Ullrich
d644b377bb
chore: update stage0
2024-06-07 13:59:22 +02:00
Kim Morrison
287d46e1f6
chore: update stage0
2024-06-06 06:20:50 +01:00
Lean stage0 autoupdater
007b423006
chore: update stage0
2024-05-30 09:57:02 +00:00
Sebastian Ullrich
8c7364ee64
chore: update stage0
2024-05-28 23:04:19 +02:00
Sebastian Ullrich
ba629545cc
chore: update stage0
2024-05-23 17:26:21 +02:00
Leonardo de Moura
6155513c60
chore: update stage0
...
Motivation: `[grind_cases]` at `Init`
2024-05-21 21:46:23 +02:00
Leonardo de Moura
239ade80dc
chore: update stage0
2024-05-19 07:20:10 +02:00
Leonardo de Moura
c8b72beb4d
chore: update stage0
2024-05-19 07:20:10 +02:00
Leonardo de Moura
770235855f
chore: update stage0
2024-05-14 19:52:25 +02:00
Lean stage0 autoupdater
dcdc3db3d4
chore: update stage0
2024-05-10 07:39:47 +00:00
Leonardo de Moura
dfde4ee3aa
chore: update stage0
2024-05-07 03:23:30 +02:00
Leonardo de Moura
7294646eb9
chore: update stage0
2024-04-29 05:46:11 +02:00
Lean stage0 autoupdater
291bb84c97
chore: update stage0
2024-04-19 14:31:23 +00:00
Lean stage0 autoupdater
9dcf07203e
chore: update stage0
2024-04-19 08:22:54 +00:00
Lean stage0 autoupdater
11a9d2ee4b
chore: update stage0
2024-04-17 19:26:22 +00:00
Lean stage0 autoupdater
88ee503f02
chore: update stage0
2024-04-17 09:21:10 +00:00
Lean stage0 autoupdater
b0a305f19f
chore: update stage0
2024-04-13 09:49:19 +00:00
Marc Huisinga
ecf0459122
fix: don't use info nodes before cursor for completion ( #3778 )
...
This fixes an issue where the completion would use info nodes before the
cursor for computing completions.
Fixes https://github.com/leanprover/lean4/issues/3462 .
ToDo:
- [x] Fix test failures for completions that previously worked by
accident (cc: @Kha)
- [x] stage0 update
---------
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2024-04-02 08:49:24 +00:00
Leonardo de Moura
9bdb37a9b0
chore: update stage0
...
Reason: new builtin environment extension
2024-03-28 17:58:33 -07:00
Lean stage0 autoupdater
63290babde
chore: update stage0
2024-03-27 07:34:13 +00:00
Lean stage0 autoupdater
027b2bc38d
chore: update stage0
2024-03-22 18:09:36 +00:00
Lean stage0 autoupdater
d884a946c8
chore: update stage0
2024-03-22 01:16:40 +00:00
Lean stage0 autoupdater
d5701fc912
chore: update stage0
2024-03-22 00:00:55 +00:00
Lean stage0 autoupdater
4391bc2977
chore: update stage0
2024-03-20 22:45:34 +00:00
Lean stage0 autoupdater
01432ffc5a
chore: update stage0
2024-03-18 12:20:03 +00:00
Lean stage0 autoupdater
f70895ede5
chore: update stage0
2024-03-15 16:30:21 +00:00
Leonardo de Moura
214179b6b9
chore: update stage0
2024-03-13 21:15:48 -07:00
Leonardo de Moura
653eb5f66e
chore: update stage0
2024-03-13 21:15:48 -07:00
Leonardo de Moura
0f19332618
chore: update stage0
2024-03-13 12:37:58 -07:00
Lean stage0 autoupdater
1388f6bc83
chore: update stage0
2024-03-11 17:22:37 +00:00
Kyle Miller
45fccc5906
feat: custom eliminators for induction and cases tactics, and beautiful eliminators for Nat ( #3629 )
...
Replaces `@[eliminator]` with two attributes `@[induction_eliminator]`
and `@[cases_eliminator]` for defining custom eliminators for the
`induction` and `cases` tactics, respectively.
Adds `Nat.recAux` and `Nat.casesAuxOn`, which are eliminators that are
defeq to `Nat.rec` and `Nat.casesOn`, but these use `0` and `n + 1`
rather than `Nat.zero` and `Nat.succ n`.
For example, using `induction` to prove that the factorial function is
positive now has the following goal states (thanks also to #3616 for the
goal state after unfolding).
```lean
example : 0 < fact x := by
induction x with
| zero => decide
| succ x ih =>
/-
x : Nat
ih : 0 < fact x
⊢ 0 < fact (x + 1)
-/
unfold fact
/-
...
⊢ 0 < (x + 1) * fact x
-/
simpa using ih
```
Thanks to @adamtopaz for initial work on splitting the `@[eliminator]`
attribute.
2024-03-09 15:31:51 +00:00
Leonardo de Moura
d731854d5a
chore: update stage0
2024-03-06 15:29:04 -08:00
Leonardo de Moura
4208c44939
chore: update stage0
2024-03-06 15:29:04 -08:00
Leonardo de Moura
da869a470b
chore: update stage0
2024-03-05 14:42:05 -08:00
Leonardo de Moura
a4143ded64
chore: update stage0
2024-03-05 14:42:05 -08:00
Leonardo de Moura
1da65558d0
chore: update stage0
2024-03-05 14:42:05 -08:00
Scott Morrison
015af6d108
chore: use match_expr in omega ( #3577 )
2024-03-03 22:22:28 +00:00
Leonardo de Moura
8a3c9cafb9
chore: update stage0
2024-03-02 10:07:15 -08:00