1 | 16. value(a) [[dec_lookup(A.da;kind(a))]] rho 17. p:pre(). p A.pre p.kind = kind(a) [[p.rel]] rho A.ds dec_lookup(A.da;kind(a)) de e s value(a) niltrace() 18. ef:eff(). ef A.eff ef.kind = kind(a) x'.ef.smt.lbl = [[ef.smt.term]] 1of(e) s value(a) niltrace() [[ef.smt.typ]] rho 19. fr:frame(). fr A.frame (kind(a) fr.acts) x'.fr.var = s.fr.var [[fr.typ]] rho 20. rel_mng_2(r; rho; A.ds; dec_lookup(A.da;kind(a)); de; e; s; x'; value(a); tr) 21. r@0: rel() 22. as: (LabelTerm) List 23. 1of(unzip(as)) = rel_primed_vars(r) 24. i:. i < ||as|| 2of(as[i]) (x.smts_eff(action_effect(kind(a);A.eff;A.frame);x))(1of(as[i])) 25. r@0 = rel_subst2(as;r) 26. x: Label 27. (x 1of(unzip(as))) 28. i: 29. i < ||as|| 30. < x,apply_alist(as;x;x) > = as[i] 31. xxx: Term 32. 2of(as[i]) = xxx 33. xx: Label 34. 1of(as[i]) = xx 35. xxx smts_eff(action_effect(kind(a);A.eff;A.frame);xx) t:SimpleType. mk_dec(xx, t) A.ds t term_types(A.ds;dec_lookup(A.da;kind(a));de;xxx) & x'.xx = [[xxx]] 1of(e) s value(a) tr [[t]] rho |
About: