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