François G. Dorais
|
493a887cfb
|
fix: remove unnecessary hypothesis
|
2023-01-09 18:20:41 +01:00 |
|
Jeremy Salwen
|
60f30addc7
|
doc: add more detail to the split tactic docs (#1988)
Co-authored-by: Mac <tydeu@hatpress.net>
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
|
2023-01-09 13:12:39 +01:00 |
|
Gabriel Dahia
|
b9f0062a58
|
doc: replace maximum? in minimum? docstring
This is my first contribution, if it can be counted as a contribution. Following the [documentation for simple fixes](https://github.com/leanprover/lean4/blob/master/CONTRIBUTING.md#simple-fixes), I opened the PR directly instead of discussing in the zulip or opening an issue. Hope that's ok.
|
2023-01-05 14:02:19 -08:00 |
|
Leonardo de Moura
|
0739c9ccd7
|
chore: revert workaround
|
2023-01-04 09:02:02 -08:00 |
|
Gabriel Ebner
|
cb7657f47e
|
fix: remove nonempty_list tactic
|
2023-01-03 18:17:19 -08:00 |
|
Gabriel Ebner
|
a2f5959118
|
chore: use deriving Nonempty
|
2022-12-22 03:48:15 +01:00 |
|
Gabriel Ebner
|
05401776f2
|
fix: add reflexivity instances to coercions
This is important when users plug custom instances into auxiliary
classes like `CoeTC`. We already had a reflexivity instance for
`CoeTC`.
|
2022-12-22 02:02:55 +01:00 |
|
Gabriel Ebner
|
0d598dcfdf
|
fix: Format.align always prints whitespace
|
2022-12-21 22:54:42 +01:00 |
|
Gabriel Ebner
|
eeab2af7ae
|
fix: remove Inhabited Environment instance
|
2022-12-21 20:08:08 +01:00 |
|
Gabriel Ebner
|
586079462c
|
doc: explain variable conditions in type classes
|
2022-12-21 04:24:39 +01:00 |
|
Gabriel Ebner
|
14f8ff1642
|
feat: add CoeOut class
|
2022-12-21 04:24:39 +01:00 |
|
Gabriel Ebner
|
c7fb3a1c91
|
chore: make use of CoeHead chaining
|
2022-12-21 04:24:39 +01:00 |
|
Gabriel Ebner
|
78676a5a5a
|
refactor: chain CoeHead
|
2022-12-21 04:24:39 +01:00 |
|
Gabriel Ebner
|
2b97392f2e
|
refactor: use @[coe_decl] attribute
|
2022-12-21 04:24:39 +01:00 |
|
Gabriel Ebner
|
d2203aa5a0
|
chore: restrict dangerous typed syntax coercions
|
2022-12-21 04:24:39 +01:00 |
|
Gabriel Ebner
|
434d889f4d
|
chore: remove dangerous instances
|
2022-12-21 04:24:39 +01:00 |
|
Mario Carneiro
|
8b0699cd3b
|
fix: disable memoize in pattern conv
|
2022-12-19 06:21:54 -08:00 |
|
Gabriel Ebner
|
f3f4eba945
|
fix: make Format.*join* tail-recursive
|
2022-12-12 22:58:21 +01:00 |
|
Gabriel Ebner
|
1c8ef51124
|
fix: make List.toString tail-recursive
|
2022-12-12 22:58:21 +01:00 |
|
Mario Carneiro
|
eb3b0377d7
|
fix: List.groupBy
|
2022-12-12 16:55:27 +01:00 |
|
ChrisHughes24
|
e168806078
|
chore: rename Prod.ext
|
2022-12-02 20:24:19 +01:00 |
|
Gabriel Ebner
|
681bbe5cf4
|
feat: ByteArray.hash
|
2022-12-01 20:18:14 -08:00 |
|
Sebastian Ullrich
|
af5efe0b2d
|
doc: MonadReader
|
2022-12-01 10:16:04 +01:00 |
|
Leonardo de Moura
|
aee63ee7b0
|
feat: panic at Name.append if both names have macro scopes
|
2022-11-30 06:39:49 -08:00 |
|
Leonardo de Moura
|
a095dabb17
|
feat: Name.append and macro scopes
|
2022-11-29 23:06:04 -08:00 |
|
Leonardo de Moura
|
bc21716bad
|
chore: helper simp theorems
|
2022-11-29 23:05:48 -08:00 |
|
Scott Morrison
|
1b50292228
|
chore: protect Prod.Lex
|
2022-11-29 20:09:08 +01:00 |
|
Henrik Böving
|
24cc6eae6d
|
feat: log2 for Fin and UInts
|
2022-11-29 01:05:06 +01:00 |
|
Mario Carneiro
|
17ef0cea8a
|
feat: intra-line withPosition formatting
|
2022-11-28 09:02:08 -08:00 |
|
Leonardo de Moura
|
9dbd9ec554
|
chore: fix build
|
2022-11-28 07:53:43 -08:00 |
|
Scott Morrison
|
c4ff5fe199
|
chore: change simp default to decide := false
|
2022-11-27 09:27:16 -08:00 |
|
Mario Carneiro
|
9b572d4e20
|
chore: make <;> left associative
|
2022-11-23 07:44:54 -08:00 |
|
Mario Carneiro
|
c8859a31d9
|
fix: Nat.log2_terminates should not be private
|
2022-11-19 08:26:59 -08:00 |
|
Leonardo de Moura
|
966e1df96d
|
chore: fix build
|
2022-11-19 07:46:01 -08:00 |
|
Mario Carneiro
|
f74fee07e6
|
doc: document Init.Data.List.Basic (#1828)
* doc: document Init.Data.List.Basic
* Apply suggestions from code review
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
|
2022-11-18 06:16:50 -08:00 |
|
Sebastian Ullrich
|
a4abbf07b8
|
chore: remove remnants of C++ format
|
2022-11-18 06:11:24 -08:00 |
|
Mario Carneiro
|
d3a30869c7
|
fix: spacing in by_cases
|
2022-11-16 08:16:42 -08:00 |
|
Leonardo de Moura
|
a4acf084c8
|
chore: fix build
|
2022-11-15 16:51:40 -08:00 |
|
Mario Carneiro
|
a2199d6d57
|
doc: document Init.Data.Nat.Basic
|
2022-11-13 21:59:57 -08:00 |
|
Mario Carneiro
|
b948a56196
|
chore: remove [Inhabited A] from binSearch / binInsert
|
2022-11-13 15:00:26 -08:00 |
|
Alex J. Best
|
c72cf24694
|
chore: protect Int.repr
|
2022-11-13 15:00:08 -08:00 |
|
Mario Carneiro
|
178d0ebe4f
|
fix: protected on Nat.add_zero
|
2022-11-13 14:59:47 -08:00 |
|
Mario Carneiro
|
7358df2f7e
|
chore: remove Int.natMod
|
2022-11-13 14:59:26 -08:00 |
|
Sebastian Ullrich
|
7410d00678
|
feat: Subarray.findRev?
|
2022-11-11 09:13:02 +01:00 |
|
Leonardo de Moura
|
ca0fb21df4
|
fix: fixes #1813
Remark: modifies the value for the `mid` priority.
See new note at `Init/Notation.lean`
|
2022-11-10 16:09:21 -08:00 |
|
Leonardo de Moura
|
3e33fcc4f8
|
chore: use lean_string_utf8_next_fast
|
2022-11-09 12:06:37 -08:00 |
|
Leonardo de Moura
|
92c03c0050
|
perf: prepare do add String.next'
|
2022-11-09 12:00:31 -08:00 |
|
Leonardo de Moura
|
20eeb4202f
|
perf: fast String.get' without runtime bounds check
TODO: naming convention `String.get'` should be called `String.get`,
and we should rename the old `String.get`
|
2022-11-09 12:00:30 -08:00 |
|
Adrien Champion
|
33aa1724f2
|
fix: rewrite by with strict indentation in a few struct-fields
|
2022-11-08 08:30:42 -08:00 |
|
Leonardo de Moura
|
95df68f3e4
|
chore: [elab_as_elim] at Eq.substr
Lean 3 compatibility issue.
see #1806
|
2022-11-07 19:44:11 -08:00 |
|