diff -r 498ed5bb1004 -r 98df8f6dc3f9 test/Tools/isac/Minisubpbl/530-error-Check_Elementwise.sml --- a/test/Tools/isac/Minisubpbl/530-error-Check_Elementwise.sml Wed Dec 05 15:29:36 2012 +0100 +++ b/test/Tools/isac/Minisubpbl/530-error-Check_Elementwise.sml Wed Dec 05 15:56:38 2012 +0100 @@ -55,19 +55,19 @@ "~~~~~ fun nxt_solve_, args:"; val (ptp as (pt, pos as (p, p_))) = (pt, ip); val thy' = get_obj g_domID pt (par_pblobj pt p); val (srls, is, sc) = from_pblobj_or_detail' thy' (p,p_) pt; (*is: which ctxt?*) -"~~~~~ fun next_tac, args:"; val (thy, (ptp as (pt, pos as (p, _)):ptree * pos'), (sc as Script (h $ body)), +"~~~~~ fun next_tac, args:"; val (thy, (ptp as (pt, pos as (p, _)):ptree * pos'), (sc as Prog (h $ body)), (ScrState (E,l,a,v,s,b), ctxt)) = ((thy',srls), (pt,pos), sc, is); val ctxt = get_ctxt pt pos val SOME t = parseNEW ctxt "Check_elementwise [x = 1] {(v_v::real). Assumptions}"; l; (*= [R, R, D, L, R]*) -"~~~~~ fun nstep_up, args:"; val (thy, ptp, (Script sc), E, l, ay, a, v) = +"~~~~~ fun nstep_up, args:"; val (thy, ptp, (Prog sc), E, l, ay, a, v) = (thy, ptp, sc, E, l, Skip_, a, v); 1 < length l; (*true*) val up = drop_last l; go up sc; (* = Const ("HOL.Let", *) -"~~~~~ fun nxt_up, args:"; val (thy, ptp, (scr as (Script sc)), E, l, ay, +"~~~~~ fun nxt_up, args:"; val (thy, ptp, (scr as (Prog sc)), E, l, ay, (t as Const ("HOL.Let",_) $ _), a, v) = -(thy, ptp, (Script sc), E, up, ay, (go up sc), a, v); +(thy, ptp, (Prog sc), E, up, ay, (go up sc), a, v); ay = Napp_; (*false*) val up = drop_last l; val (Const ("HOL.Let",_) $ e $ (Abs (i,T,body))) = go up sc;