Leonardo de Moura
b65da42b7e
chore: update stage0
2021-10-26 12:41:23 -07:00
Leonardo de Moura
352391bfcb
chore: remove mpz_get_d dependency
2021-10-26 12:40:20 -07:00
Leonardo de Moura
c25758e314
chore: remove mpz dead code
2021-10-26 12:28:33 -07:00
Leonardo de Moura
6d0fa6da7c
chore: remove mpz dead code
2021-10-26 12:05:19 -07:00
Leonardo de Moura
fa9c5ad21a
chore: remove mpq
2021-10-26 11:56:37 -07:00
Gabriel Ebner
95b769cd5d
fix: add missing borrow annotations
2021-10-26 11:51:30 -07:00
Gabriel Ebner
61e0eab23f
refactor: reimplement ofScientific for floats
2021-10-26 11:51:30 -07:00
Gabriel Ebner
220ec6e42c
chore: add more decimals tests
2021-10-26 11:51:30 -07:00
Gabriel Ebner
5aab241f7a
fix: show correct popup for a + b
2021-10-26 20:19:27 +02:00
Gabriel Ebner
c870d7374e
chore: update stage0
2021-10-26 20:19:27 +02:00
Gabriel Ebner
9b166d4cf4
Revert "chore: prefer native"
2021-10-26 20:19:27 +02:00
Gabriel Ebner
bfc74decde
feat: add info field to Syntax.node
2021-10-26 20:19:27 +02:00
Gabriel Ebner
e21c021f49
chore: update stage0
2021-10-26 20:19:27 +02:00
Gabriel Ebner
b74db2d902
feat: update macros for extra info field
2021-10-26 20:19:27 +02:00
Gabriel Ebner
6efb459d5b
chore: prefer native
2021-10-26 20:19:27 +02:00
Gabriel Ebner
aa3d7cd751
chore: update stage0
2021-10-26 20:19:27 +02:00
Gabriel Ebner
6063c662de
feat: predictable naming for notation
2021-10-26 20:19:27 +02:00
Gabriel Ebner
422f808bf2
feat: predictable naming for elab_rules
2021-10-26 20:19:27 +02:00
Gabriel Ebner
ce15ea98c5
feat: predictable naming for macro_rules
2021-10-26 20:19:27 +02:00
Gabriel Ebner
babfdb879a
feat: add aux_def command
2021-10-26 20:19:27 +02:00
Gabriel Ebner
3818cbc897
fix: lean-gdb
2021-10-26 20:19:27 +02:00
Sebastian Ullrich
9fc0cd0555
feat: make CMAKE_ args for stage 0 overridable using STAGE0_CMAKE_...
2021-10-26 08:27:31 +02:00
Leonardo de Moura
0a3a8d2d3d
feat: add mpn module
...
This is the Z3 bignum module.
2021-10-25 15:57:19 -07:00
Leonardo de Moura
3d1f682144
feat: missing whnf at checkParamsAndResultType
2021-10-25 13:08:43 -07:00
Leonardo de Moura
57f02804f3
feat: use forallTelescopeReducing
...
This is needed now that we allow definitions at `inductive`.
2021-10-25 13:05:23 -07:00
Leonardo de Moura
3dbd1fd074
chore: style
2021-10-25 13:02:15 -07:00
Leonardo de Moura
80a73dd903
feat: basic support for definitions at inductive declarations
2021-10-25 12:44:35 -07:00
Leonardo de Moura
2b58cb49c9
feat: use whnf at getResultingUniverse
2021-10-25 12:38:56 -07:00
Leonardo de Moura
851ac3809e
feat: extend isInductivePredicate
2021-10-25 12:37:04 -07:00
Leonardo de Moura
a741a3dfd4
chore: update stage0
2021-10-22 16:30:14 -07:00
Leonardo de Moura
83cf5b20a1
fix: simpLet
...
Given `let x := v; b`, `simpLet` was using an incorrect local context to simplify `v`.
2021-10-22 16:29:00 -07:00
Leonardo de Moura
55bbaa55d8
fix: toHeadIndex
2021-10-22 14:54:01 -07:00
Leonardo de Moura
78b3b8b1e8
fix: pattern should only match if the head symbols are equal
2021-10-22 14:26:11 -07:00
Leonardo de Moura
881bf2a088
fix: set zeta to true at pattern conv tactic
2021-10-22 14:14:49 -07:00
Leonardo de Moura
4c335fd660
fix: do not use let_fun notation when pp.notation is set to false
2021-10-22 14:10:37 -07:00
Leonardo de Moura
fbdb68b669
feat: conv in conv
...
Featured suggested at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Pattern.20matching.20lambda.20body.20in.20conv/near/257193307
2021-10-22 13:53:56 -07:00
Sebastian Ullrich
f202c7c322
fix: prefer local search path
2021-10-22 12:48:37 +02:00
Sebastian Ullrich
91f1948f50
fix: Lake search path
2021-10-22 12:30:30 +02:00
Sebastian Ullrich
436b31b83c
doc: quickstart: updated Windows instructions
2021-10-22 09:57:07 +02:00
Sebastian Ullrich
14fdb793f7
chore: update stage0
2021-10-21 22:11:27 +02:00
Gabriel Ebner
ee2804d278
fix: use unsigned char in hash_str
...
char has different signedness on various architectures (signed on amd64,
unsigned on aarch64). oleans are then not architecture-independent
since they contain hashes (e.g. in mkStr).
2021-10-21 22:08:49 +02:00
Leonardo de Moura
b4a6b4f882
fix: do not consume pretty print hints at isDefEq
...
TODO: improve the solution. It is too hackish.
The issue was reported here https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/.E2.9C.94.20MData.20and.20unification/near/258352713
2021-10-20 15:58:56 -07:00
Leonardo de Moura
58430704e5
refactor: move inaccessible? to Expr.lean
2021-10-20 15:54:18 -07:00
Leonardo de Moura
f01a124f18
fix: builtin attribute initialization
...
The failure was triggered if a module declared (only) builtin
attributes that do not have any persistent extension associated with
them.
Fixes #726
2021-10-20 13:55:54 -07:00
Leonardo de Moura
b281295190
chore: cleanup
2021-10-20 13:55:54 -07:00
Sebastian Ullrich
2e36e362cb
chore: bench: apparently make doesn't like writing to /dev/null anymore?
2021-10-20 12:44:30 +02:00
Leonardo de Moura
68469c2487
chore: update Lake
2021-10-19 07:19:07 -07:00
Leonardo de Moura
1bd78590e6
test: for Lean 3 nocomputable issue
...
Issue reported at
https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/noncomputable.20tainting/near/258174927
2021-10-19 07:15:55 -07:00
Leonardo de Moura
b7ff5d3352
fix: make sure unused 'let'-declarations are preserved in WF
2021-10-19 06:51:54 -07:00
Leonardo de Moura
1d372ed7e3
test: well-founded recursion for unary function
2021-10-19 06:47:59 -07:00