This is similar to Lean's collectAxioms, but collects nodes in the blueprint (plus all axioms)
rather than just axioms.
- env : Lean.Environment
- root : Lean.Name
Instances For
- visited : Lean.NameSet
Instances For
@[reducible, inline]
Equations
Instances For
def
Architect.collectUsed
{m : Type → Type}
[Monad m]
[Lean.MonadEnv m]
[Lean.MonadError m]
(constName : Lean.Name)
:
Returns the irreflexive transitive set of blueprint nodes that a constant depends on,
as a pair of sets (constants used by type, constants used by value).
They are made disjoint except that possibly both contain sorryAx.
Equations
- One or more equations did not get rendered due to their size.