test/Tools/isac/Minisubpbl/150-add-given.sml
branchdecompose-isar
changeset 41986 64efbbbed4b4
child 52070 77138c64f4f6
equal deleted inserted replaced
41985:cb8ea2269e6f 41986:64efbbbed4b4
       
     1 (* Title:  150-add-given.sml
       
     2    Author: Walther Neuper 1105
       
     3    (c) copyright due to lincense terms.
       
     4 *)
       
     5 
       
     6 val fmz = ["equality (x+1=(2::real))", "solveFor x","solutions L"];
       
     7 val (dI',pI',mI') =
       
     8   ("Test", ["sqroot-test","univariate","equation","test"],
       
     9    ["Test","squ-equ-test-subpbl1"]);
       
    10 val (p,_,f,nxt,_,pt) = CalcTreeTEST [(fmz, (dI',pI',mI'))]; (*nxt = ("Model_Problem"*)
       
    11 val (p,_,f,nxt,_,pt) = me nxt p [] pt; (*nxt = (_,Add_Given "equality (x + 1 = 2)*)
       
    12 val (p,_,f,nxt,_,pt) = me nxt p [1] pt; (*nxt = (_,Add_Given "solveFor x"*)
       
    13 case nxt of (_, Add_Given "solveFor x") => ()
       
    14 | _ => error "minisubpbl: Add_Given is broken in root-problem";
       
    15