lean4-htt/src/Lean/Util
Eric Wieser 0336a8385b
chore: inline trace nodes (#11954)
This extracts a `postCallback` helper so that only the actual callback
is inlined.

Part of the motivation here is to exclude these tracing frames from
flame graph profiles.

---------

Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2026-01-26 08:51:25 +00:00
..
CollectAxioms.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
CollectFVars.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
CollectLevelMVars.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
CollectLevelParams.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
CollectLooseBVars.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
CollectMVars.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Diff.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
FindExpr.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
FindLevelMVar.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
FindMVar.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
FoldConsts.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
ForEachExpr.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
ForEachExprWhere.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
FVarSubset.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
HasConstCache.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Heartbeats.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
InstantiateLevelParams.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
LakePath.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
LeanOptions.lean perf: Options.hasTrace (#12001) 2026-01-16 09:03:40 +00:00
MonadBacktrack.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
MonadCache.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
NumApps.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
NumObjs.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
OccursCheck.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
ParamMinimizer.lean feat: instantiate tactic parameter optimizer (#10916) 2025-10-23 01:22:33 +00:00
Path.lean refactor: use String.Slice in String.take and variants (#11180) 2025-11-18 16:13:48 +00:00
PPExt.lean chore: do not set unused Option.Decl.group (#11307) 2025-11-21 16:44:38 +00:00
Profile.lean chore: do not set unused Option.Decl.group (#11307) 2025-11-21 16:44:38 +00:00
Profiler.lean doc: fix url to profile.ts source (#10628) 2025-10-07 12:41:04 +00:00
PtrSet.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
RecDepth.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Recognizers.lean refactor: introduce SameCtorUtils (#10316) 2025-09-10 14:32:58 +00:00
ReplaceExpr.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
ReplaceLevel.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
Reprove.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
SafeExponentiation.lean feat: improve grind cutsat support for Fin n when n is not a numeral (#10022) 2025-08-21 17:25:52 +00:00
SCC.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
ShareCommon.lean chore: remove redundant imports in core (#10750) 2025-10-16 20:27:46 +00:00
Sorry.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
SortExprs.lean refactor: module-ize Lean (#9330) 2025-07-25 12:02:51 +00:00
TestExtern.lean feat: overhaul meta system (#10362) 2025-09-17 21:04:29 +00:00
Trace.lean chore: inline trace nodes (#11954) 2026-01-26 08:51:25 +00:00