lean4-htt/src/Init
Paul Reichert f58999a7a6
refactor: use Shrink stub in the iterator framework (#10725)
This PR introduces a no-op version of `Shrink`, a type that should allow
shrinking small types into smaller universes given a proof that the type
is small enough, and uses it in the iterator library. Because this type
would require special compiler support, the current version is just a
wrapper around the inner type so that the wrapper is equivalent, but not
definitionally equivalent.

While `Shrink` is unable to shrink universes right now, but introducing
it now will allow us to generalize the universes in the iterator library
with fewer breaking changes as soon as an actual `Shrink` is possible.
2025-10-14 10:22:14 +00:00
..
Control feat: any/all predicates for iterators (#10686) 2025-10-10 19:24:10 +00:00
Data refactor: use Shrink stub in the iterator framework (#10725) 2025-10-14 10:22:14 +00:00
Grind feat: repeat tactical for grind interactive mode (#10748) 2025-10-12 22:05:58 +00:00
GrindInstances chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Internal chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Meta feat: hexnum parser (#10716) 2025-10-08 21:12:03 +00:00
Omega perf: shorten critical build path around String.Basic (#10614) 2025-09-29 19:45:21 +00:00
System fix: make IO.sleep opaque (#10718) 2025-10-09 07:37:11 +00:00
BinderNameHint.lean chore: fix spelling errors (#9175) 2025-07-24 23:35:32 +00:00
BinderPredicates.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
ByCases.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Classical.lean chore: module system fixes and refinements from Mathlib porting (#10643) 2025-10-02 08:28:08 +00:00
Coe.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Control.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Conv.lean feat: add enter [in patt] syntax (#10081) 2025-08-23 17:16:53 +00:00
Core.lean chore: module system fixes and refinements from Mathlib porting (#10643) 2025-10-02 08:28:08 +00:00
Data.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Dynamic.lean perf: do not export opaque bodies (#10119) 2025-08-27 20:59:59 +00:00
Ext.lean chore: further cleanup from shaking Init (#10658) 2025-10-02 17:29:00 +00:00
GetElem.lean chore: remove >6 month old deprecations (#10446) 2025-09-22 12:47:11 +00:00
Grind.lean feat: infrastructure for grind interactive mode (#10607) 2025-09-28 23:46:49 +00:00
GrindInstances.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Guard.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Hints.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Internal.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
LawfulBEqTactics.lean feat: linear-size BEq instance (#10268) 2025-09-18 21:27:25 +00:00
MacroTrace.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Meta.lean feat: finish? and grind? infrastructure (#10747) 2025-10-12 02:48:16 +00:00
MetaTypes.lean doc: improve docstrings for simp!, simp_all!, dsimp! and autoUnfold (#9991) 2025-09-09 13:34:16 +00:00
MethodSpecsSimp.lean feat: @[method_specs_simp] in Init (#10407) 2025-09-16 10:27:33 +00:00
Notation.lean doc: add a recommended spelling for HEq (#10717) 2025-10-09 10:10:23 +00:00
NotationExtra.lean feat: overhaul meta system (#10362) 2025-09-17 21:04:29 +00:00
Omega.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Prelude.lean feat: hexnum parser (#10716) 2025-10-08 21:12:03 +00:00
PropLemmas.lean chore: module system fixes and refinements from Mathlib porting (#10643) 2025-10-02 08:28:08 +00:00
RCases.lean fix: add missing spaces for pretty printing (#9475) 2025-07-23 19:35:04 +00:00
ShareCommon.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
SimpLemmas.lean fix: performance issue when elaborating match-expressions with many literals (#9372) 2025-07-15 03:52:23 +00:00
Simproc.lean chore: more module system fixes and improvements from Mathlib porting (#10655) 2025-10-08 11:30:09 +00:00
SizeOf.lean chore: rename String.Pos to String.Pos.Raw (#10624) 2025-10-01 07:45:24 +00:00
SizeOfLemmas.lean chore: avoid confusing public import all combination (#10051) 2025-08-22 12:04:42 +00:00
Syntax.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
System.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Tactics.lean feat: grind interactive mode basic tactics (#10677) 2025-10-06 01:08:26 +00:00
TacticsExtra.lean feat: overhaul meta system (#10362) 2025-09-17 21:04:29 +00:00
Task.lean refactor: implement IO.waitAny using Lean (#9732) 2025-08-06 13:09:15 +00:00
Try.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Util.lean chore: reorganize Init imports around strings (#10289) 2025-09-07 17:09:14 +00:00
WF.lean feat: add @[grind =] to Prod.lex_def (#9609) 2025-07-29 02:45:02 +00:00
WFTactics.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
While.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00