3 imports Isac.Build_Thydata
7 "----------- method analog to rls 'integration' ---------";
8 "----------- method analog to rls 'integration' ---------";
9 "----------- method analog to rls 'integration' ---------";
11 partial_function (tailrec) integration_test :: "real \<Rightarrow> real \<Rightarrow> real"
13 "integration_test f_f v_v =
14 (((Rewrite_Set_Inst [(''bdv'',v_v)] ''integration_rules'') #>
15 (Rewrite_Set_Inst [(''bdv'',v_v)] ''add_new_c'') #>
16 (Rewrite_Set_Inst [(''bdv'',v_v)] ''simplify_Integral'')) (f_f::real))"
17 setup \<open>KEStore_Elems.add_mets @{context}
18 [MethodC.prep_input @{theory "Isac_Knowledge"} "met_testint" [] MethodC.id_empty
19 (["diff", "integration", "test"],
20 [("#Given" ,["functionTerm f_f", "integrateBy v_v"]), ("#Find", ["antiDerivative F_F"])],
21 {rew_ord'="tless_true", rls'=Atools_erls, calc = [], srls = Rule_Set.empty, prls = Rule_Set.empty,
22 crls = Atools_erls, errpats = [], nrls = Rule_Set.empty},
23 @{thm integration_test.simps})]\<close>