equal
deleted
inserted
replaced
103 context |
103 context |
104 |> Data.map (map_solvers (Symtab.update (name, (info, [])))) |
104 |> Data.map (map_solvers (Symtab.update (name, (info, [])))) |
105 |> Context.map_theory (Attrib.setup (Binding.name (name ^ "_options")) |
105 |> Context.map_theory (Attrib.setup (Binding.name (name ^ "_options")) |
106 (Scan.lift (@{keyword "="} |-- Args.name) >> |
106 (Scan.lift (@{keyword "="} |-- Args.name) >> |
107 (Thm.declaration_attribute o K o set_solver_options o pair name)) |
107 (Thm.declaration_attribute o K o set_solver_options o pair name)) |
108 ("Additional command line options for SMT solver " ^ quote name)) |
108 ("additional command line options for SMT solver " ^ quote name)) |
109 |
109 |
110 fun all_solvers_of ctxt = Symtab.keys (solvers_of (Data.get (Context.Proof ctxt))) |
110 fun all_solvers_of ctxt = Symtab.keys (solvers_of (Data.get (Context.Proof ctxt))) |
111 |
111 |
112 fun solver_name_of ctxt = solver_of (Data.get (Context.Proof ctxt)) |
112 fun solver_name_of ctxt = solver_of (Data.get (Context.Proof ctxt)) |
113 |
113 |