lean4-htt/src/Lean/Meta
Kyle Miller 592eb02bb2
feat: have level metavariable pretty printer instantiate level metavariables (#13438)
This PR makes the universe level pretty printer instantiate level
metavariables when `pp.instantiateMVars` is true.

Previously level metavariables were not instantiated.

The PR adjusts the tracing in the LevelDefEq module to create the trace
message using the original MetavarContext. It also adds
`Meta.isLevelDefEq.step` traces for when level metavariables are
assigned.
2026-04-18 01:07:22 +00:00
..
ArgsPacker
Constructions feat: add linter.redundantVisibility for redundant private/public modifiers (#13132) 2026-04-13 08:34:20 +00:00
DiscrTree chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
Match feat: add linter.redundantVisibility for redundant private/public modifiers (#13132) 2026-04-13 08:34:20 +00:00
Sym fix: avoid assigning mvar when Sym.intros produces no binders (#13451) 2026-04-17 21:47:47 +00:00
Tactic fix: kernel error in grind order module for Nat casts to non-Int types (#13453) 2026-04-17 23:51:21 +00:00
AbstractMVars.lean feat: use StateT.run instead of function application (#5121) 2026-03-03 03:12:26 +00:00
AbstractNestedProofs.lean fix: add checkSystem calls to long-running elaboration paths (#13220) 2026-04-01 12:54:57 +00:00
ACLt.lean fix: prevent a hang in acLt (#13367) 2026-04-17 21:46:29 +00:00
AppBuilder.lean fix: add checkSystem calls to hasAssignableMVar (#13219) 2026-03-31 19:27:15 +00:00
ArgsPacker.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
Basic.lean perf: prevent unnecessary allocations of EST.Out.ok (#13163) 2026-03-27 22:10:24 +00:00
BinderNameHint.lean
Canonicalizer.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
CasesInfo.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
Check.lean feat: add structured TraceResult to TraceData (#12698) 2026-03-10 02:42:57 +00:00
CheckTactic.lean
Closure.lean feat: unfold and rewrap instances in inferInstanceAs and deriving 2026-03-22 13:25:46 +01:00
Coe.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
CoeAttr.lean
CollectFVars.lean
CollectMVars.lean
CompletionName.lean
CongrTheorems.lean fix: use isClass? instead of binder annotation to identify instance parameters (#12172) 2026-01-28 20:33:43 +00:00
Constructions.lean
CtorIdxHInj.lean feat: add linter.redundantVisibility for redundant private/public modifiers (#13132) 2026-04-13 08:34:20 +00:00
CtorRecognizer.lean
DecLevel.lean fix: universe normalization in getDecLevel (#13391) 2026-04-14 21:27:22 +00:00
Diagnostics.lean
DiscrTree.lean refactor: DiscrTree (#11875) 2026-01-02 19:53:45 +00:00
Eqns.lean feat: allow deprecating options (#13195) 2026-04-02 14:44:11 +00:00
Eval.lean feat: stricter meta check for temporary programs in native_decide etc (#13005) 2026-03-20 15:51:18 +00:00
ExprDefEq.lean feat: add backward.isDefEq.respectTransparency.types option (#13280) 2026-04-04 18:05:33 +00:00
ExprLens.lean
ExprTraverse.lean
ForEachExpr.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
FunInfo.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
GeneralizeTelescope.lean
GeneralizeVars.lean
GetUnfoldableConst.lean feat: theorems are opaque (#12973) 2026-03-23 13:57:07 +00:00
HasAssignableMVar.lean feat: pretty print level metavariables using index (#13030) 2026-04-01 22:34:29 +00:00
HasNotBit.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
HaveTelescope.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
Hint.lean
IndPredBelow.lean feat: add structured TraceResult to TraceData (#12698) 2026-03-10 02:42:57 +00:00
Inductive.lean
InferType.lean perf: add checkInterrupted to inferType cache miss path (#13258) 2026-04-03 06:03:55 +00:00
Injective.lean feat: add structured TraceResult to TraceData (#12698) 2026-03-10 02:42:57 +00:00
Instances.lean feat: add instance validation checks in addInstance (#13389) 2026-04-16 17:48:16 +00:00
IntInstTesters.lean
Iterator.lean
KAbstract.lean
KExprMap.lean
LazyDiscrTree.lean refactor: remove unnecessary use of constNames in LazyDiscrTree (#12422) 2026-02-12 23:52:48 +00:00
LetToHave.lean feat: add structured TraceResult to TraceData (#12698) 2026-03-10 02:42:57 +00:00
LevelDefEq.lean feat: have level metavariable pretty printer instantiate level metavariables (#13438) 2026-04-18 01:07:22 +00:00
LitValues.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
Match.lean
MatchUtil.lean
MethodSpecs.lean refactor: DiscrTree (#11875) 2026-01-02 19:53:45 +00:00
MkIffOfInductiveProp.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
MonadSimp.lean refactor: have telescope support (#11914) 2026-01-06 19:20:25 +00:00
NatInstTesters.lean
Native.lean chore: fix spelling errors (#13274) 2026-04-04 07:34:34 +00:00
NatTable.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
Offset.lean refactor: replace grind canonicalizer with type-directed normalizer (#13166) 2026-03-28 02:43:22 +00:00
Order.lean
PPGoal.lean
PProdN.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
ProdN.lean feat: new, extensible do elaborator (#12459) 2026-02-21 17:17:29 +00:00
RecExt.lean refactor: use isRecursiveDefinition when validating macro_inline (#12106) 2026-01-22 16:31:34 +00:00
RecursorInfo.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
Reduce.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
ReduceEval.lean
SameCtorUtils.lean chore: fix spelling errors (#13274) 2026-04-04 07:34:34 +00:00
SizeOf.lean fix: generate SizeOf spec theorems for inductives with private constructors (#13374) 2026-04-12 12:00:51 +00:00
Sorry.lean chore: deprecate levelZero and levelOne (#12720) 2026-03-04 01:03:08 +00:00
SplitSparseCasesOn.lean feat: add linter.redundantVisibility for redundant private/public modifiers (#13132) 2026-04-13 08:34:20 +00:00
StringLitProof.lean perf: optimize string literal equality simprocs for kernel efficiency (#12887) 2026-03-14 10:30:31 +00:00
Structure.lean refactor: DiscrTree (#11875) 2026-01-02 19:53:45 +00:00
Sym.lean feat: add Sym.Arith infrastructure for arithmetic normalization (#13289) 2026-04-06 05:21:09 +00:00
SynthInstance.lean perf: mark ReaderT context argument as borrow (#12942) 2026-03-23 14:45:52 +00:00
Tactic.lean feat: add experimental cbv tactic (#12279) 2026-02-04 14:39:39 +00:00
Transform.lean fix: add checkSystem calls to long-running elaboration paths (#13220) 2026-04-01 12:54:57 +00:00
TransparencyMode.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
TryThis.lean
UnificationHint.lean feat: add structured TraceResult to TraceData (#12698) 2026-03-10 02:42:57 +00:00
WHNF.lean fix: add checkSystem calls to long-running elaboration paths (#13220) 2026-04-01 12:54:57 +00:00
WrapInstance.lean fix: keep wrapInstance mvar-free (#13346) 2026-04-13 08:11:10 +00:00