src/Tools/isac/Interpret/mathengine.sml
author Walther Neuper <wneuper@ist.tugraz.at>
Tue, 07 Feb 2017 08:57:42 +0100
changeset 59316 3a60188d9cc3
parent 59313 8f730d631591
child 59395 862eb17f9e16
permissions -rw-r--r--
separate structure Model : MODEL
     1 (* The _functional_ mathematics engine, ie. without a state.
     2    Input and output are Isabelle's formulae as strings.
     3    authors: Walther Neuper 2000
     4    (c) due to copyright terms
     5 
     6 use"mathengine.sml";
     7 *)
     8 
     9 signature MATH_ENGINE =
    10 sig
    11   type NEW (* TODO: refactor "fun me" with calcstate and remove *)
    12   val me : Solve.tac'_ -> Ctree.pos' -> NEW -> Ctree.ctree -> Ctree.pos' * NEW * Generate.mout * Solve.tac'_ * Selem.safe * Ctree.ctree
    13   val autocalc :
    14      Ctree.pos' list -> Ctree.pos' -> (Ctree.state) * Generate.taci list -> Solve.auto -> string * Ctree.pos' list * (Ctree.state)
    15   val locatetac :
    16     Tac.tac -> Ctree.state -> string * (Generate.taci list * Ctree.pos' list * (Ctree.state))
    17   val step : Ctree.pos' -> Chead.calcstate -> string * Chead.calcstate'
    18   val detailstep :
    19     Ctree.ctree -> Ctree.pos' -> string * Ctree.ctree * Ctree.pos'
    20   val get_pblID : Ctree.state -> pblID option
    21 
    22   val initcontext_met : Ctree.ctree -> Ctree.pos' -> bool * string list * scr * Model.itm list * (bool * term) list
    23   val initcontext_pbl : Ctree.ctree -> Ctree.pos' -> bool * string list * term * Model.itm list * (bool * term) list
    24   val context_met : metID -> Ctree.ctree -> Ctree.pos -> bool * metID * scr * Model.itm list * (bool * term) list
    25   val context_pbl : pblID -> Ctree.ctree -> Ctree.pos -> bool * pblID * term * Model.itm list * (bool * term) list
    26   val set_method : metID -> Ctree.state -> Ctree.ctree * Ctree.ocalhd
    27   val set_problem : pblID -> Ctree.state -> Ctree.ctree * Ctree.ocalhd
    28   val set_theory : thyID -> Ctree.state -> Ctree.ctree * Ctree.ocalhd
    29   val tryrefine : pblID -> Ctree.ctree -> Ctree.pos' -> bool * pblID * term * Model.itm list * (bool * term) list
    30 (* ---- for tests only: shifted from below to remove the Warning "unused" at fun.def. --------- *)
    31   val CalcTreeTEST : Selem.fmz list -> Ctree.pos' * NEW * Generate.mout * (string * Tac.tac) * Selem.safe * Ctree.ctree
    32   val f2str : Generate.mout -> cterm'
    33 (*/-------------------------------------------------------- ! aktivate for Test_Isac BEGIN ---\* )
    34   type nxt_
    35   type lOc_
    36   val loc_solve_ : string * Tac.tac_ -> Ctree.ctree *  Ctree.pos' -> lOc_
    37   val loc_specify_ : Tac.tac_ -> Ctree.state -> lOc_
    38 ( *\--- ! aktivate for Test_Isac END ----------------------------------------------------------/*)
    39 
    40 (*----- unused code, kept as hints to design ideas ---------------------------------------------*)
    41   (* NONE *)
    42 end
    43 
    44 (**)
    45 structure Math_Engine(**): MATH_ENGINE(**) =
    46 struct
    47 (**)
    48 
    49 fun get_pblID (pt, (p, _): Ctree.pos') =
    50   let val p' = Ctree.par_pblobj pt p
    51   	val (_, pI, _) = Ctree.get_obj Ctree.g_spec pt p'
    52   	val (_, (_, oI, _), _) = Ctree.get_obj Ctree.g_origin pt p'
    53   in
    54     if pI <> e_pblID
    55     then SOME pI
    56     else
    57       if oI <> e_pblID then SOME oI else NONE end;
    58 
    59 datatype lOc_ =
    60   ERror of string              (*after loc_specify, loc_solve*)
    61 | UNsafe of Chead.calcstate'   (*after loc_specify, loc_solve*)
    62 | Updated of Chead.calcstate'  (*after loc_specify, loc_solve*)
    63 
    64 fun loc_specify_ m (pt,pos) =
    65   let
    66     val (p, _, f, _, _, pt) = Chead.specify m pos [] pt;
    67   in
    68     case f of (Generate.Error' e) => ERror e | _ => Updated ([], [], (pt,p))
    69   end
    70 
    71 (* TODO push return-value cs' into solve and rename solve->loc_solve?_? *)
    72 fun loc_solve_ m (pt, pos) =
    73   let
    74     val (msg, cs') = Solve.solve m (pt, pos);
    75   in
    76     case msg of "ok" => Updated cs' | msg => ERror msg 
    77   end
    78 
    79 datatype nxt_ =
    80 	HElpless  (**)
    81 | Nexts of Chead.calcstate (**)
    82 
    83 (* locate a tactic in a script and apply it if possible;
    84    report of tacs' applicability in tacis; pt is dropped in setNextTactic*)
    85 fun locatetac _ (ptp as (_, ([], Ctree.Res))) = ("end-of-calculation", ([], [], ptp))
    86   | locatetac tac (ptp as (pt, p)) =
    87     let
    88       val (mI, m) = Solve.mk_tac'_ tac;
    89     in
    90       case Applicable.applicable_in p pt m of
    91 	      Chead.Notappl _ => ("not-applicable", ([],[],  ptp): Chead.calcstate')
    92 	    | Chead.Appl m =>
    93 	      let 
    94           val x = if member op = Solve.specsteps mI
    95 		        then loc_specify_ m ptp else loc_solve_ (mI,m) ptp
    96 	      in 
    97 	        case x of 
    98 		        ERror _ => ("failure", ([], [], ptp))
    99 		        (*FIXXXXXME: loc_specify_, loc_solve_ TOGETHER with dropping meOLD+detail.sml*)
   100 		      | UNsafe cs' => ("unsafe-ok", cs')
   101 		      | Updated (cs' as (_, _, (_, p'))) => (*ev.SEVER.tacs like Begin_Trans*)
   102 		        (if p' = ([], Ctree.Res) then "end-of-calculation" else "ok", cs')
   103             (*for SEVER.tacs user to ask ? *)
   104 	      end
   105     end
   106 
   107 (* iterated by nxt_me; there (the resulting) ptp dropped
   108    may call nxt_solve Apply_Method --- thus evaluated here after solve.sml *)
   109 fun nxt_specify_ (ptp as (pt, (p, p_))) =
   110   let
   111     val (pblobj, meth, origin, oris, dI', pI', mI', probl, dI, pI, mI) = 
   112   	  case Ctree.get_obj I pt p of
   113   	    pblobj as (Ctree.PblObj {meth, origin = origin as (oris, (dI', pI', mI'), _),
   114   		  probl, spec = (dI, pI, mI), ...}) => (pblobj, meth, origin, oris, dI', pI', mI', probl, dI, pI, mI)
   115       | Ctree.PrfObj _ => error "nxt_specify_: not on PrfObj"
   116   in 
   117     if Ctree.just_created_ pblobj (*by Subproblem*) andalso origin <> Ctree.e_origin
   118     then 
   119       case mI' of
   120         ["no_met"] => Chead.nxt_specif (Tac.Refine_Tacitly pI') (pt, (p, Ctree.Pbl))
   121       | _ => Chead.nxt_specif Tac.Model_Problem (pt, (p, Ctree.Pbl))
   122     else 
   123       let 
   124         val cpI = if pI = e_pblID then pI' else pI;
   125   	    val cmI = if mI = e_metID then mI' else mI;
   126   	    val {ppc, prls, where_, ...} = Specify.get_pbt cpI;
   127   	    val pre = Stool.check_preconds "thy 100820" prls where_ probl;
   128   	    val pb = foldl and_ (true, map fst pre);
   129   	    (*FIXME.WN0308:    ~~~~~: just check true in itms of pbl/met?*)
   130   	    val (_, tac) =
   131   	      Chead.nxt_spec p_ pb oris (dI', pI', mI') (probl, meth) (ppc, (#ppc o Specify.get_met) cmI) (dI, pI, mI)
   132       in
   133         case tac of
   134   	      Tac.Apply_Method mI => 
   135   	        Solve.nxt_solv (Tac.Apply_Method' (mI, NONE, Selem.e_istate, Selem.e_ctxt)) (Selem.e_istate, Selem.e_ctxt) ptp
   136   	    | _ => Chead.nxt_specif tac ptp
   137   	  end
   138   end
   139 
   140 (* specify a new method; WN0512 impl.incomplete, see 'nxt_specif (Specify_Method ' *)
   141 fun set_method mI ptp =
   142   let
   143     val (mits, pt, p) =
   144       case Chead.nxt_specif (Tac.Specify_Method mI) ptp of
   145         ([(_, Tac.Specify_Method' (_, _, mits), _)], [], (pt, (p, _))) => (mits, pt, p)
   146       | _ => error "set_method: case 1 uncovered"
   147   	val pre = []        (*...from Specify_Method'*)
   148   	val complete = true (*...from Specify_Method'*)
   149   	(*from Specify_Method'  ?   vvv,  vvv ?*)
   150     val (hdf, spec) =
   151       case Ctree.get_obj I pt p of
   152         Ctree.PblObj {origin = (_, _, hdf), spec, ...} => (hdf, spec)
   153       | Ctree.PrfObj _ => error "set_method: case 2 uncovered"
   154   in
   155     (pt, (complete, Ctree.Met, hdf, mits, pre, spec) : Ctree.ocalhd)
   156   end
   157 
   158 (* specify a new problem; WN0512 impl.incomplete, see 'nxt_specif (Specify_Problem ' *)
   159 fun set_problem pI ptp =
   160   let
   161     val (complete, pits, pre, pt, p) =
   162       case Chead.nxt_specif (Tac.Specify_Problem pI) ptp of
   163         ([(_, Tac.Specify_Problem' (_, (complete, (pits, pre))),_)], _, (pt, (p,_)))
   164           => (complete, pits, pre, pt, p)
   165       | _ => error "set_problem: case 1 uncovered"
   166     (*from Specify_Problem' ?   vvv,  vvv ?*)
   167     val (hdf, spec) =
   168       case Ctree.get_obj I pt p of
   169         Ctree.PblObj {origin = (_, _, hdf), spec, ...} => (hdf, spec)
   170       | Ctree.PrfObj _ => error "set_problem: case 2 uncovered"
   171   in
   172     (pt, (complete, Ctree.Pbl, hdf, pits, pre, spec) : Ctree.ocalhd)
   173   end
   174 
   175 fun set_theory tI ptp =
   176   let
   177     val (complete, pits, pre, pt, p) =
   178       case Chead.nxt_specif (Tac.Specify_Theory tI) ptp of  
   179         ([(_, Tac.Specify_Problem' (_, (complete, (pits, pre))), _)], _, (pt, (p, _)))
   180           => (complete, pits, pre, pt, p)
   181       | _ => error "set_theory: case 1 uncovered"
   182   	(*from Specify_Theory'  ?   vvv,  vvv ?*)
   183     val (hdf, spec) =
   184       case Ctree.get_obj I pt p of
   185         Ctree.PblObj {origin = (_, _, hdf), spec, ...} => (hdf, spec)
   186       | Ctree.PrfObj _ => error "set_theory: case 2 uncovered"
   187   in (pt, (complete, Ctree.Pbl, hdf, pits, pre, spec) : Ctree.ocalhd) end;
   188 
   189 (* does a step forward; returns tactic used, ctree updated.
   190    TODO.WN0512 redesign after specify-phase became more separated from solve-phase *)
   191 fun step (ip as (_, p_)) (ptp as (pt,p), tacis) =
   192   let val pIopt = get_pblID (pt,ip);
   193   in
   194     if ip = ([], Ctree.Res)
   195     then ("end-of-calculation", (tacis, [], ptp): Chead.calcstate') 
   196     else
   197       case tacis of
   198         (_::_) => 
   199           if ip = p (*the request is done where ptp waits for*)
   200           then 
   201             let val (pt',c',p') = Generate.generate tacis (pt,[],p)
   202   	        in ("ok", (tacis, c', (pt', p'))) end
   203           else (case (if member op = [Ctree.Pbl, Ctree.Met] p_
   204   	                  then nxt_specify_ (pt, ip) else Solve.nxt_solve_ (pt, ip))
   205   	                  handle ERROR msg => (writeln ("*** " ^ msg);
   206   	                    ([], [], ptp)) (*e.g. Add_Given "equality///"*) of
   207   	              cs as ([],_,_) => ("helpless", cs)
   208   	            | cs => ("ok", cs))
   209       | _ => (case pIopt of
   210   	            NONE => ("no-fmz-spec", ([], [], ptp))
   211   	          | SOME _ =>                         (*vvvvvv: Apply_Method without init_form*)
   212   	            (case if member op = [Ctree.Pbl, Ctree.Met] p_ andalso is_none (Ctree.get_obj Ctree.g_env pt (fst p))
   213   		                then nxt_specify_ (pt, ip) 
   214                       else (Solve.nxt_solve_ (pt,ip))
   215   	                    handle ERROR msg => (writeln ("*** " ^ msg);
   216   	                      ([],[],ptp)) (*e.g. Add_Given "equality///"*) of
   217   	               cs as ([],_,_) =>("helpless", cs) (*FIXXME del.handle*)
   218   		           | cs => ("ok", cs)))
   219   end
   220 
   221 (* does several steps within one calculation as given by "type auto";
   222    the steps may arbitrarily go into and leave different phases, 
   223    i.e. specify-phase and solve-phase
   224    TODO.WN0512 ? redesign after the phases have been more separated
   225    at the fron-end in 05: 
   226    eg. CompleteCalcHead could be done by a separate fun !!!*)
   227 fun autocalc c ip cs (Solve.Step s) =
   228     if s <= 1
   229     then
   230       let val (str, (_, c', ptp)) = step ip cs;      (* autoord = 1, probably does 1 step too much*)
   231 	    in (str, c@c', ptp) end
   232     else
   233       let val (str, (_, c', ptp as (_, p))) = step ip cs;
   234       in
   235         if str = "ok" 
   236         then autocalc (c@c') p (ptp, []) (Solve.Step (s - 1))
   237         else (str, c@c', ptp) end
   238     (* handles autoord <= 3, autoord > 3 handled by all_solve, complete_solve *)
   239   | autocalc c (pos as (_, p_)) ((pt, _), _(*tacis could help 1x in solve*)) auto =
   240     if Solve.autoord auto > 3 andalso Ctree.just_created (pt, pos)
   241     then
   242       let val ptp = Chead.all_modspec (pt, pos);
   243       in Solve.all_solve auto c ptp end                    (*... auto = 4 | 5 | 6 *)
   244     else
   245       if member op = [Ctree.Pbl, Ctree.Met] p_
   246       then
   247         if not (Chead.is_complete_mod (pt, pos))
   248    	    then
   249    	      let val ptp = Chead.complete_mod (pt, pos)      (*... auto = 2 | 3 *)
   250    		    in
   251    		      if Solve.autoord auto < 3 then ("ok", c, ptp)
   252    		      else
   253    		       if not (Chead.is_complete_spec ptp)
   254    			     then
   255    			       let val ptp = Chead.complete_spec ptp
   256    			       in
   257    			         if Solve.autoord auto = 3 then ("ok", c, ptp) else Solve.all_solve auto c ptp
   258    			       end
   259    			     else if Solve.autoord auto = 3 then ("ok", c, ptp) else Solve.all_solve auto c ptp 
   260    		    end
   261    	    else 
   262    		    if not (Chead.is_complete_spec (pt,pos))
   263    		    then
   264    		      let val ptp = Chead.complete_spec (pt, pos)
   265    		      in
   266    		        if Solve.autoord auto = 3 then ("ok", c, ptp) else Solve.all_solve auto c ptp
   267    		      end
   268    		    else
   269    		      if Solve.autoord auto = 3 then ("ok", c, (pt, pos)) else Solve.all_solve auto c (pt, pos)
   270    	  else Solve.complete_solve auto c (pt, pos);
   271 
   272 (*.initialiye matching; before 'tryMatch' get the pblID to match with:
   273    if no pbl has been specified, take the init from origin.*)
   274 fun initcontext_pbl pt (p, _) =
   275   let
   276     val (probl, os, pI, hdl, pI') =
   277       case Ctree.get_obj I pt p of
   278         Ctree.PblObj {probl, origin = (os, (_, pI, _), hdl), spec=(_, pI', _), ...}
   279           => (probl, os, pI, hdl, pI')
   280       | Ctree.PrfObj _ => error "initcontext_pbl: uncovered case"
   281   	val pblID =
   282   	  if pI' = e_pblID 
   283   		then (* TODO.WN051125 (#init o get_pbt) pI *) takelast (2, pI)
   284   		else pI'
   285   	val {ppc, where_, prls, ...} = Specify.get_pbt pblID
   286   	val (model_ok, (pbl, pre)) = Specify.match_itms_oris (assoc_thy "Isac") probl (ppc,where_,prls) os
   287   in
   288     (model_ok, pblID, hdl, pbl, pre)
   289   end
   290 
   291 fun initcontext_met pt (p,_) =
   292   let
   293     val (meth, os, mI, mI') =
   294       case Ctree.get_obj I pt p of
   295         Ctree.PblObj {meth, origin = (os, (_, _, mI), _), spec=(_, _, mI'), ...} => (meth, os, mI, mI')
   296       | Ctree.PrfObj _ => error "initcontext_met: uncovered case"
   297   	val metID = if mI' = e_metID 
   298   		    then (*TODO.WN051125 (#init o get_pbt) pI *) takelast (2, mI)
   299   		    else mI'
   300   	val {ppc, pre, prls, scr, ...} = Specify.get_met metID
   301   	val (model_ok, (pbl, pre)) = Specify.match_itms_oris (assoc_thy "Isac") meth (ppc,pre,prls) os
   302   in
   303     (model_ok, metID, scr, pbl, pre)
   304   end
   305 
   306 (* match the model of a problem at pos p with the model-pattern of the problem with pblID *)
   307 fun context_pbl pI pt p =
   308   let
   309     val (probl, os, hdl) =
   310       case Ctree.get_obj I pt p of
   311         Ctree.PblObj {probl,origin = (os, _, hdl),...} => (probl, os, hdl)
   312       | Ctree.PrfObj _ => error "context_pbl: uncovered case"
   313   	val {ppc,where_,prls,...} = Specify.get_pbt pI
   314   	val (model_ok, (pbl, pre)) = Specify.match_itms_oris (assoc_thy "Isac") probl (ppc,where_,prls) os
   315   in
   316     (model_ok, pI, hdl, pbl, pre)
   317   end
   318 
   319 fun context_met mI pt p =
   320   let
   321     val (meth, os) =
   322       case Ctree.get_obj I pt p of
   323         Ctree.PblObj {meth, origin = (os, _, _),...} => (meth, os)
   324       | Ctree.PrfObj _ => error "context_met: uncovered case"
   325   	val {ppc,pre,prls,scr,...} = Specify.get_met mI
   326   	val (model_ok, (pbl, pre)) = Specify.match_itms_oris (assoc_thy "Isac") meth (ppc,pre,prls) os
   327   in
   328     (model_ok, mI, scr, pbl, pre)
   329   end
   330 
   331 fun tryrefine pI pt (p,_) =
   332   let
   333     val (probl, os, hdl) =
   334       case Ctree.get_obj I pt p of
   335         Ctree.PblObj {probl, origin = (os, _, hdl), ...} => (probl, os, hdl)
   336       | Ctree.PrfObj _ => error "context_met: uncovered case"
   337   in
   338     case Specify.refine_pbl (assoc_thy "Isac") pI probl of
   339   	  NONE => (*copy from context_pbl*)
   340   	    let
   341   	      val {ppc,where_,prls,...} = Specify.get_pbt pI
   342   	      val (_, (pbl, pre)) = Specify.match_itms_oris (assoc_thy "Isac") probl (ppc,where_,prls) os
   343         in
   344           (false, pI, hdl, pbl, pre)
   345         end
   346   	| SOME (pI, (pbl, pre)) => (true, pI, hdl, pbl, pre) 
   347   end
   348 
   349 fun detailstep pt (pos as (p, _)) = 
   350   let 
   351     val nd = Ctree.get_nd pt p
   352     val cn = Ctree.children nd
   353   in 
   354     if null cn 
   355     then
   356       if (Tac.is_rewset o (Ctree.get_obj Ctree.g_tac nd)) [(*root of nd*)]
   357       then Solve.detailrls pt pos
   358       else ("no-Rewrite_Set...", Ctree.EmptyPtree, Ctree.e_pos')
   359     else ("donesteps", pt, (p @ [length (Ctree.children (Ctree.get_nd pt p))], Ctree.Res)) 
   360   end;
   361 
   362 
   363 (*** for mathematics authoring on sml-toplevel; no XML ***)
   364 
   365 type NEW = int list;
   366 
   367 (* 15.8.03 for me with loc_specify/solve, nxt_specify/solve
   368    delete as soon as TESTg_form -> _mout_ dropped           *)
   369 fun TESTg_form ptp =
   370   let
   371     val (form, _, _) = Chead.pt_extract ptp
   372   in
   373     case form of
   374       Ctree.Form t => Generate.FormKF (term2str t)
   375     | Ctree.ModSpec (_, p_, _, gfr, pre, _) =>
   376       Generate.PpcKF (
   377         (case p_ of Ctree.Pbl => Generate.Problem []
   378           | Ctree.Met => Generate.Method []
   379           | _ => error "TESTg_form: uncovered case",
   380  			Specify.itms2itemppc (assoc_thy"Isac") gfr pre))
   381    end
   382 
   383 (* create a calc-tree; for use within sml: thus "^^^" NOT decoded to "^" etc;
   384    compare "fun CalcTree" which DOES decode                        *)
   385 fun CalcTreeTEST [(fmz, sp)] = 
   386   let
   387     val ((pt, p), tacis) = Chead.nxt_specify_init_calc (fmz, sp)
   388 	  val tac = case tacis of [] => Tac.Empty_Tac | _ => (#1 o hd) tacis
   389 	  val f = TESTg_form (pt,p)
   390   in (p, []:NEW, f, (Tac.tac2IDstr tac, tac), Selem.Sundef, pt) end
   391 | CalcTreeTEST _ = error "CalcTreeTEST: uncovered case"
   392        
   393 (*for tests > 15.8.03 after separation setnexttactic / nextTac:
   394   external view: me should be used by math-authors as done so far
   395   internal view: loc_specify/solve, nxt_specify/solve used
   396                  i.e. same as in setnexttactic / nextTac*)
   397 (*ENDE TESTPHASE 08/10.03:
   398   NEW loeschen, eigene Version von locatetac, step
   399   meNEW, CalcTreeTEST: tac'_ -replace-> tac, remove [](cid) *)
   400 
   401 fun me (_, tac) p _(*NEW remove*) pt =
   402   let 
   403     val (pt, p) = 
   404 	    (*locatetac is here for testing by me; step would suffice in me*)
   405 	    case locatetac tac (pt,p) of
   406 		    ("ok", (_, _, ptp)) => ptp
   407 	    | ("unsafe-ok", (_, _, ptp)) => ptp
   408 	    | ("not-applicable",_) => (pt, p)
   409 	    | ("end-of-calculation", (_, _, ptp)) => ptp
   410 	    | ("failure", _) => error "sys-error"
   411 	    | _ => error "me: uncovered case"
   412 	  val (_, ts) =
   413 	    (case step p ((pt, Ctree.e_pos'),[]) of
   414 		    ("ok", (ts as (_, _, _) :: _, _, _)) => ("", ts)
   415 	    | ("helpless", _) => ("helpless: cannot propose tac", [])
   416 	    | ("no-fmz-spec", _) => error "no-fmz-spec"
   417 	    | ("end-of-calculation", (ts, _, _)) => ("", ts)
   418 	    | _ => error "me: uncovered case")
   419 	      handle ERROR msg => raise ERROR msg
   420 	  val tac = 
   421       case ts of 
   422         tacis as (_::_) => let val (tac, _, _) = last_elem tacis in tac end 
   423 		  | _ => if p = ([], Ctree.Res) then Tac.End_Proof' else Tac.Empty_Tac;
   424   in (p, [] : NEW, TESTg_form (pt, p) (* form output comes from locatetac *), 
   425 	   (Tac.tac2IDstr tac, tac), Selem.Sundef, pt)
   426   end
   427 
   428 (* for quick test-print-out, until 'type inout' is removed *)
   429 fun f2str (Generate.FormKF cterm') = cterm'
   430   | f2str _ = error "f2str: uncovered case in fun.def.";
   431 
   432 end