Joachim Breitner
|
60096e7d15
|
refactor: more idiomatic syntax for if h: (#5567)
https://github.com/leanprover/lean4/pull/5552 introduced a fair number
of `if h:`, but the slightly preferred style is `if h :`, with a space,
so here goes a quick `sed`.
|
2024-10-01 15:23:54 +00:00 |
|
TomasPuverle
|
ddec5336e5
|
chore: switch obvious cases of array "bang"[]! indexing to rely on hypothesis (#5552)
Update certain uses of `arr[i]!` to use the "provably correct" version
`arr[i]`, in order to use "best practices".
Some motivation and discussion on
[Zulip](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Lean.20compiler.2Felaborator.20development.20question/near/472934715)
|
2024-10-01 11:12:22 +00:00 |
|
Leonardo de Moura
|
5302b7889a
|
fix: fold raw Nat literals at dsimp (#3624)
closes #2916
Remark: this PR also renames `Expr.natLit?` ==> `Expr.rawNatLit?`.
Motivation: consistent naming convention: `Expr.isRawNatLit`.
|
2024-03-06 18:29:20 +00:00 |
|
Leonardo de Moura
|
2defc58159
|
chore: rename isNatLit => isRawNatLit
Motivation: consistency with `mkRawNatLit`
|
2024-02-23 15:16:12 -08:00 |
|
Henrik Böving
|
23e49eb519
|
perf: add prelude to all Lean modules
|
2024-02-18 14:55:17 -08:00 |
|
Leonardo de Moura
|
2ebcf29cde
|
chore: use a[i]! for array accesses that may panic
|
2022-07-02 15:12:05 -07:00 |
|
Leonardo de Moura
|
03f6b87647
|
feat: add hand-written rfl tactic
It requires update stage0
|
2022-04-09 11:57:27 -07:00 |
|
Leonardo de Moura
|
a486503c62
|
chore: fold Nat literals at reduce
|
2022-03-18 17:10:46 -07:00 |
|
Leonardo de Moura
|
12e2a79170
|
chore: fix codebase after removing auto pure
|
2022-02-03 18:08:14 -08:00 |
|
Leonardo de Moura
|
5154f462f8
|
feat: add reduce conv tactic
|
2021-09-09 17:47:10 -07:00 |
|
Leonardo de Moura
|
16ea00586d
|
fix: fixes #620
|
2021-08-10 15:06:06 -07:00 |
|
Leonardo de Moura
|
d0b4bda739
|
chore: add cache
|
2021-01-06 06:21:55 -08:00 |
|
Leonardo de Moura
|
c2afb6fc24
|
chore: cleanup
|
2021-01-05 14:58:23 -08:00 |
|
Leonardo de Moura
|
544a6cbb94
|
chore: cleanup
|
2021-01-05 12:29:29 -08:00 |
|
Leonardo de Moura
|
2d2d39c78e
|
chore: use mut
|
2020-11-07 17:32:13 -08:00 |
|
Leonardo de Moura
|
5ea49c92bb
|
chore: cleanup
|
2020-10-27 13:26:21 -07:00 |
|
Leonardo de Moura
|
13c2a8ff51
|
chore: remove #lang lean4 header
|
2020-10-25 09:54:07 -07:00 |
|
Leonardo de Moura
|
a3429caaf4
|
chore: move to new frontend
|
2020-10-18 08:27:58 -07:00 |
|
Leonardo de Moura
|
ac565de96c
|
refactor: add MonadMetaM class
|
2020-08-24 12:17:47 -07:00 |
|
Leonardo de Moura
|
249bda16c0
|
chore: remove prelude commands from Lean package
|
2020-06-25 11:21:17 -07:00 |
|
Leonardo de Moura
|
4ccc3fef52
|
chore: move Init.Lean files to Lean package
|
2020-05-26 15:04:35 -07:00 |
|