Compare commits

...

1 Commits

Author SHA1 Message Date
Leonardo de Moura
589487bbcf feat: add Context.setConfig 2024-11-13 16:11:37 -08:00

View File

@@ -121,6 +121,9 @@ def mkContext (config : Config := {}) (simpTheorems : SimpTheoremsArray := {}) (
let config updateArith config
return { config, simpTheorems, congrTheorems }
def Context.setConfig (context : Context) (config : Config) : Context :=
{ context with config }
def Context.setSimpTheorems (c : Context) (simpTheorems : SimpTheoremsArray) : Context :=
{ c with simpTheorems }