Equations
- Lean.Meta.addGlobalInstance declName attrKind = Lean.ScopedEnvExtension.add Lean.Meta.globalInstanceExtension declName attrKind
Instances For
@[export lean_is_instance]
Equations
- Lean.Meta.isGlobalInstance env declName = Lean.PersistentHashMap.contains (Lean.ScopedEnvExtension.getState Lean.Meta.globalInstanceExtension env) declName