lean4-htt/src/Lean
Kim Morrison b46fd3e92d
feat: with_weak_namespace command (#11338)
This PR upstreams the `with_weak_namespace` command from Mathlib:
`with_weak_namespace <id> <cmd>` changes the current namespace to `<id>`
for the duration of executing command `<cmd>`, without causing scoped
things to go out of scope. This is in preparation for upstreaming the
`scoped[Foo.Bar]` syntax from Mathlib, which will be useful now that we
are adding `grind` annotations in scopes.
2025-11-25 02:37:40 +00:00
..
Compiler fix: compilation of projections on non trivial structures (#11340) 2025-11-24 19:25:03 +00:00
Data feat: document that backward options may disappear (#11304) 2025-11-24 17:49:46 +00:00
DocString chore: rename String.ValidPos to String.Pos (#11240) 2025-11-24 16:40:21 +00:00
Elab feat: with_weak_namespace command (#11338) 2025-11-25 02:37:40 +00:00
ErrorExplanations feat: improve error message in the case of type class synthesis failure (#11245) 2025-11-21 21:24:27 +00:00
Language fix: symbol clashes between packages (#11082) 2025-11-19 02:24:44 +00:00
LibrarySuggestions feat: implement grind_annotated command (#11332) 2025-11-25 02:12:35 +00:00
Linter feat: document that backward options may disappear (#11304) 2025-11-24 17:49:46 +00:00
Meta chore: rename String.ValidPos to String.Pos (#11240) 2025-11-24 16:40:21 +00:00
Parser feat: with_weak_namespace command (#11338) 2025-11-25 02:37:40 +00:00
ParserCompiler chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
PrettyPrinter refactor: deprecate String.posOf and variants in favor of unified String.find (#11276) 2025-11-23 18:39:53 +00:00
Server feat: document that backward options may disappear (#11304) 2025-11-24 17:49:46 +00:00
Util feat: document that backward options may disappear (#11304) 2025-11-24 17:49:46 +00:00
Widget chore: rename String.Range to Lean.Syntax.Range (#10852) 2025-10-21 07:32:25 +00:00
AddDecl.lean test: avoid testing colliding private inductives (#11041) 2025-11-01 11:47:52 +00:00
Attributes.lean chore: make declMetaExt persistent for shake (#11201) 2025-11-16 20:11:56 +00:00
AuxRecursor.lean feat: sparse casesOn constructions (#11072) 2025-11-05 15:49:11 +00:00
BuiltinDocAttr.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Class.lean
Compiler.lean
CoreM.lean chore: add CoreM.toIO' (#11325) 2025-11-23 10:59:15 +00:00
Data.lean
Declaration.lean chore: >6 month old deprecations (#10969) 2025-10-26 22:48:41 +00:00
DeclarationRange.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
DefEqAttrib.lean
DocString.lean
Elab.lean feat: with_weak_namespace command (#11338) 2025-11-25 02:37:40 +00:00
EnvExtension.lean
Environment.lean fix: avoid storing reference to environment in realization result to prevent promise cycle (#11328) 2025-11-24 10:16:56 +00:00
ErrorExplanation.lean chore: rename String.ValidPos to String.Pos (#11240) 2025-11-24 16:40:21 +00:00
ErrorExplanations.lean feat: improve error message in the case of type class synthesis failure (#11245) 2025-11-21 21:24:27 +00:00
Exception.lean feat: hint about inaccessible private declaration on dot notation failure (#10803) 2025-10-17 09:31:56 +00:00
Expr.lean chore: new module system adjustments for the Mathlib port (#11093) 2025-11-05 22:17:53 +00:00
ExtraModUses.lean chore: make declMetaExt persistent for shake (#11201) 2025-11-16 20:11:56 +00:00
HeadIndex.lean
Hygiene.lean chore: do not set unused Option.Decl.group (#11307) 2025-11-21 16:44:38 +00:00
ImportingFlag.lean
InternalExceptionId.lean
KeyedDeclsAttribute.lean
LabelAttribute.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Level.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
LibrarySuggestions.lean feat: make set_library_suggestions persistent 2025-11-03 23:26:40 +11:00
Linter.lean
LoadDynlib.lean refactor: use String.Slice in String.take and variants (#11180) 2025-11-18 16:13:48 +00:00
LocalContext.lean feat: new do elaborator, part 1: doElem_elab attribute (#11150) 2025-11-12 14:25:28 +00:00
Log.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Message.lean refactor: use String.split instead of String.splitOn or String.splitToList (#11250) 2025-11-19 09:35:19 +00:00
Meta.lean
MetavarContext.lean
Modifiers.lean chore: more module system fixes and refinements for finishing batteries port (#10819) 2025-10-21 08:19:50 +00:00
MonadEnv.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Namespace.lean
Parser.lean
ParserCompiler.lean chore: make declMetaExt persistent for shake (#11201) 2025-11-16 20:11:56 +00:00
PrettyPrinter.lean chore: do not set unused Option.Decl.group (#11307) 2025-11-21 16:44:38 +00:00
PrivateName.lean
ProjFns.lean
ReducibilityAttrs.lean feat: allow setting reducibilityCoreExt in async contexts (#11301) 2025-11-21 09:23:14 +00:00
Replay.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
ReservedNameAction.lean
ResolveName.lean chore: more module system fixes and refinements for finishing batteries port (#10819) 2025-10-21 08:19:50 +00:00
Runtime.lean
ScopedEnvExtension.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Server.lean feat: revamp server logging (#10787) 2025-10-28 16:26:59 +00:00
Setup.lean fix: symbol clashes between packages (#11082) 2025-11-19 02:24:44 +00:00
Shell.lean feat: coercion from String to String.Slice (#11341) 2025-11-24 16:50:08 +00:00
Structure.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
SubExpr.lean refactor: use String.split instead of String.splitOn or String.splitToList (#11250) 2025-11-19 09:35:19 +00:00
Syntax.lean chore: rename Substring to Substring.Raw (#11154) 2025-11-16 09:30:04 +00:00
ToExpr.lean feat: support for Rat scientific literals (#10961) 2025-10-26 02:05:26 +00:00
ToLevel.lean
Util.lean feat: instantiate tactic parameter optimizer (#10916) 2025-10-23 01:22:33 +00:00
Widget.lean