We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0133586 commit dedf7a8Copy full SHA for dedf7a8
src/Lean/ReducibilityAttrs.lean
@@ -36,6 +36,12 @@ builtin_initialize reducibilityCoreExt : PersistentEnvExtension (Name × Reducib
36
statsFn := fun s => "reducibility attribute core extension" ++ Format.line ++ "number of local entries: " ++ format s.size
37
-- attribute is set by `addPreDefinitions`
38
asyncMode := .async .asyncEnv
39
+ replay? := some <| fun _oldState newState newItems otherState =>
40
+ newItems.foldl (init := otherState) fun otherState k =>
41
+ if let some v := newState.find? k then
42
+ otherState.insert k v
43
+ else
44
+ otherState
45
}
46
47
builtin_initialize reducibilityExtraExt : SimpleScopedEnvExtension (Name × ReducibilityStatus) (SMap Name ReducibilityStatus) ←
0 commit comments