lean4-htt/src/Init/Data
Aaron Liu 5c8ebd8868
feat: make Option.decidableEqNone coherent with Option.instDecidableEq (#9302)
This PR modifies `Option.instDecidableEq` and `Option.decidableEqNone`
so that the latter can be made into a global instance without causing
diamonds. It also adds `Option.decidabeNoneEq`.

See
[Zulip](https://leanprover.zulipchat.com/#narrow/channel/270676-lean4/topic/Option.2EdecidableEqNone/near/527226250).

---------

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Rob Simmons <rob@lean-fro.org>
2025-11-20 01:48:42 +00:00
..
Array feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
BitVec refactor: use String.ofList and String.toList for String <-> List Char conversion (#11017) 2025-10-31 14:41:23 +00:00
ByteArray feat: termination arguments for String.ValidPos and String.Slice.Pos (#10933) 2025-10-27 10:05:44 +00:00
Char feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
Dyadic feat: add Int.ediv_pow and related lemmas (#11100) 2025-11-06 06:16:18 +00:00
Fin chore: deprecate more duplications (#11004) 2025-10-30 05:58:29 +00:00
FloatArray chore: remove >6 month old deprecations (#10968) 2025-10-26 10:01:30 +00:00
Format refactor: use String.split instead of String.splitOn or String.splitToList (#11250) 2025-11-19 09:35:19 +00:00
Int feat: add grind_pattern constraint annotations (#11193) 2025-11-15 19:08:03 +00:00
Iterators feat: add MPL specs for slice for ... in (#11141) 2025-11-17 15:58:29 +00:00
List feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
Nat feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
Option feat: make Option.decidableEqNone coherent with Option.instDecidableEq (#9302) 2025-11-20 01:48:42 +00:00
Ord chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Order feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
Range refactor: small iterator improvements (#11175) 2025-11-18 09:28:55 +00:00
Rat feat: redefine Int.pow, for faster kernel reduction (#11139) 2025-11-14 05:45:19 +00:00
SInt chore: add deprecations for duplicated theorems (#10967) 2025-10-29 05:26:16 +00:00
Slice feat: add MPL specs for slice for ... in (#11141) 2025-11-17 15:58:29 +00:00
String fix: several memory leaks in the new String API (#11263) 2025-11-19 18:23:35 +00:00
Subtype chore: add deprecations for duplicated theorems (#10967) 2025-10-29 05:26:16 +00:00
Sum chore: missing grind modifiers and local grind theorems config (#10428) 2025-09-17 16:15:16 +00:00
ToString refactor: use String.Slice in String.take and variants (#11180) 2025-11-18 16:13:48 +00:00
UInt chore: add deprecations for duplicated theorems (#10967) 2025-10-29 05:26:16 +00:00
Vector feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
AC.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Array.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
BEq.lean feat: integrate high-level order typeclasses with BEq and Ord (#9908) 2025-08-19 07:54:53 +00:00
BitVec.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Bool.lean chore: deprecate more duplications (#11004) 2025-10-30 05:58:29 +00:00
ByteArray.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Cast.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Char.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Dyadic.lean feat: (approximate) inverses of dyadic rationals (#10194) 2025-09-02 03:43:53 +00:00
Fin.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Float.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Float32.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
FloatArray.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Format.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Function.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Hashable.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Int.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Iterators.lean feat: List slices (#11019) 2025-11-14 11:33:25 +00:00
LawfulHashable.lean perf: shorten critical build path around String.Basic (#10614) 2025-09-29 19:45:21 +00:00
List.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Nat.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
NeZero.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
OfScientific.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Option.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Ord.lean perf: shorten critical build path around String.Basic (#10614) 2025-09-29 19:45:21 +00:00
Order.lean feat: package factories for order typeclasses (#9797) 2025-08-19 13:43:29 +00:00
PLift.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Prod.lean chore: grind attributes for Prod (#11085) 2025-11-05 20:52:28 +00:00
Queue.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Random.lean chore: reorganize Init imports around strings (#10289) 2025-09-07 17:09:14 +00:00
Range.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
RArray.lean refactor: denote functions in grind (#11071) 2025-11-04 23:34:17 +00:00
Rat.lean feat: upstream definition of Rat from Batteries (#9957) 2025-08-19 01:58:24 +00:00
Repr.lean chore: rename Substring to Substring.Raw (#11154) 2025-11-16 09:30:04 +00:00
SInt.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Slice.lean feat: List slices (#11019) 2025-11-14 11:33:25 +00:00
Stream.lean chore: rename Substring to Substring.Raw (#11154) 2025-11-16 09:30:04 +00:00
String.lean refactor: use String.split instead of String.splitOn or String.splitToList (#11250) 2025-11-19 09:35:19 +00:00
Subtype.lean feat: high-level order typeclasses (#9729) 2025-08-11 14:55:17 +00:00
Sum.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
ToString.lean fix: turn meta import into import in Init.Data.ToString (#10754) 2025-10-13 09:20:48 +00:00
UInt.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
ULift.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Vector.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Zero.lean chore: module system fixes and refinements from Mathlib porting (#10643) 2025-10-02 08:28:08 +00:00