Leonardo de Moura
2192e6148b
chore: remove coe, coeSort, and coeFun abbreviations
...
The notation `↑ e` is now expanded eagerly.
See #403
2022-01-20 15:19:06 -08:00
Leonardo de Moura
3c17755730
chore: prepare to remove coe definitions
...
The notation `↑ e` will eagerly expand the coersion.
See #403
2022-01-20 15:07:54 -08:00
Leonardo de Moura
f9fa24435d
chore: remove problematic instance hasOfNatOfCoe
...
See #403
See https://github.com/leanprover-community/mathport/issues/94
2022-01-20 14:47:25 -08:00
tydeu
8e79d88d29
feat: liftOption
2022-01-19 12:22:05 +01:00
Leonardo de Moura
a21265281b
chore: remove temporary workaround
2022-01-18 14:11:54 -08:00
Leonardo de Moura
1c1e6d79a7
feat: add equality proof for named patterns
...
The user can optionally name the equality proof.
The new test demostrates how to name the equality proof.
closes #501
2022-01-18 12:43:01 -08:00
Leonardo de Moura
cd903bde77
refactor: [s : Setoid α] => {s : Setoid α} or (s : Setoid α)
...
See comment at https://github.com/leanprover/lean4/issues/952#issuecomment-1015265136
cc @gebner
2022-01-18 09:24:06 -08:00
Leonardo de Moura
874aadd7e3
chore: update namedPattern signature
...
Remark: It is not being used yet.
2022-01-17 17:21:18 -08:00
Leonardo de Moura
0f217eb4c1
chore: prepare to change namedPattern signature
2022-01-17 17:13:09 -08:00
Leonardo de Moura
2c690926cf
feat: update namedPattern parser
2022-01-17 16:49:20 -08:00
Leonardo de Moura
de11f7e1bc
feat: add sizeOf spec lemmas as simp theorems
2022-01-17 16:14:38 -08:00
Gabriel Ebner
561a869e49
fix: provide reference implementation for Array.modify
2022-01-17 12:41:12 -08:00
Leonardo de Moura
bac91b9b5b
chore: remove arbitrary
2022-01-15 12:14:27 -08:00
Leonardo de Moura
a3a134a297
chore: export Inhabited.default
2022-01-15 11:50:28 -08:00
Leonardo de Moura
b0d9c16c7a
chore: rename PointedType => NonemptyType
2022-01-15 11:43:53 -08:00
Leonardo de Moura
e3241e82bc
feat: define PointedType as { α : Type u // Nonempty α }
2022-01-14 20:36:51 -08:00
Leonardo de Moura
acd482c5f2
feat: define Array.modify without using Inhabited
2022-01-14 19:47:42 -08:00
Leonardo de Moura
c34adb7dd5
feat: allow partial definitions to be define if type is non empty
2022-01-14 16:50:36 -08:00
Leonardo de Moura
f1adedb2de
feat: add Classical.ofNonempty
2022-01-14 15:59:11 -08:00
Leonardo de Moura
83b69bc340
refactor: move Classical.choice and Nonempty to Prelude
2022-01-14 15:59:11 -08:00
Sebastian Ullrich
6ec406b7d0
feat: System.FilePath.walkDir
2022-01-14 16:22:14 +01:00
Joscha
bce56fdc0c
feat: implement reference request
2022-01-14 09:18:57 +01:00
Leonardo de Moura
3fbf5acbee
fix: add missing [reducible] annotations Init/WF.lean
2022-01-12 17:12:55 -08:00
Leonardo de Moura
7fe6881c42
feat: use new termination_by syntax
2022-01-12 16:23:25 -08:00
Leonardo de Moura
45bd328d5e
fix: tests and add WellFoundedRelation.rel to list of definitions to unfold at decreasing_tactic
2022-01-12 08:28:03 -08:00
Leonardo de Moura
1a6abe1dad
feat: WellFoundedRelation as a class
2022-01-12 08:28:03 -08:00
Leonardo de Moura
381f66428a
chore: use termination_by'
...
We are going to define a higher level syntax for `termination_by`.
2022-01-11 15:00:53 -08:00
Leonardo de Moura
0434c36f89
chore: remove old version
2022-01-11 14:50:15 -08:00
Leonardo de Moura
ca89da28d0
chore: prepare to rename default_decreasing_tactic
2022-01-11 14:42:25 -08:00
Leonardo de Moura
2464da0dca
feat: add support for PSigma.Lex at default_decreasing_tactic
2022-01-11 14:41:28 -08:00
Leonardo de Moura
ec49c31337
chore: make sure PSigma.lex signature is similar to Prod.lex
2022-01-11 14:37:53 -08:00
Leonardo de Moura
93f3773d83
chore: cleanup
2022-01-10 16:25:07 -08:00
Leonardo de Moura
dae3489fe2
feat: remove partials from Init/Data/Array/Basic.lean
2022-01-10 16:05:33 -08:00
Leonardo de Moura
0dd3ce0598
chore: fix test
2022-01-10 14:31:23 -08:00
Leonardo de Moura
7789779020
feat: add simple default tactic for well-founded recursion
2022-01-10 14:26:08 -08:00
Leonardo de Moura
16b4aa81e5
chore: add helper lemmas for well-founded recursion
2022-01-10 14:07:35 -08:00
Leonardo de Moura
241db0fed6
chore: fix name
2022-01-10 13:20:49 -08:00
Leonardo de Moura
b1b4705c14
feat: add unfold tactic parsers
2022-01-07 13:51:45 -08:00
Mario Carneiro
dcaf3c615f
fix: induction generalizing precedence
2022-01-07 10:45:45 +01:00
Mario Carneiro
3253231d59
feat: make rw [] syntactically correct
2022-01-03 07:23:24 -08:00
Gabriel Ebner
bc5bd5a671
feat: allow the compiler to optimize unsafeCast
2022-01-03 07:13:55 -08:00
Sebastian Ullrich
bbfcb1cfb2
perf: allocation-free for i in [n:m] do
2022-01-03 07:03:56 -08:00
Sebastian Ullrich
132898f7e7
fix: reinstate monadic panic workaround
2022-01-03 14:58:24 +01:00
Henrik Böving
4ee058039b
chore: apply suggestions from code review
...
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
2022-01-03 13:43:33 +01:00
Henrik Böving
6fe010d0c2
fix: keep info in auto generated notation delaborators
...
Previously automatically generated delaborators for syntax declared with
the notation (and derived) keywords would silently drop information
during delaboration.
2022-01-03 13:43:33 +01:00
Gabriel Ebner
f43f74e78f
chore: suppress newline after .
2021-12-23 13:56:22 +01:00
Gabriel Ebner
25714a8ee1
fix: calc syntax roundtrip
2021-12-23 13:56:22 +01:00
Sebastian Ullrich
399ad64854
perf: do not specialize Inhabited
2021-12-22 17:48:11 -08:00
tydeu
f4a73889e7
feat: expose more version info (e..g., toolchain)
2021-12-19 10:44:35 +01:00
Sebastian Ullrich
167dccce0b
chore: move Leanpkg.leanVersionString to Init
2021-12-18 10:59:37 -08:00