You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do not have a consistent naming convention for trace options.
Moreover, most trace messages are mainly for helping developers to debug Lean. We need new messages/options for helping users to diagnose problems by themselves.
Work items:
A naming convention for option names
Design new trace for helping users to diagnose problems.
An API for users traversing/filtering/inspecting trace objects.
Activity
[-]Cleanning up[/-][+]Cleaning trace message option names[/+]dselsam commentedon Apr 14, 2021
Recording some thoughts here while they are fresh. There are really two different hierarchies of trace messages:
traceCtxcalls)Accordingly, I think there are two types of trace queries that would be good to support:
isDefEqcalls, including in modules thatisDefEqcallsMeta.synthInstanceOf course, they compose. One might want the
Meta.synthInstance.newSubgoalcalls that occur insideisDefEqcalls.Here is a rough proposal sketch starting point:
enableneutraland its nearest non-neutral contextual ancestor isenableIdeally all the trace data is emitted in a single run and the data can be browsed interactively.
feat: `apply with` tactic (leanprover#400)