test/Tools/isac/ProgLang/prog_expr.sml
changeset 60650 06ec8abfd3bc
parent 60588 9a116f94c5a6
child 60660 c4b24621077e
equal deleted inserted replaced
60649:b2ff1902420f 60650:06ec8abfd3bc
   344 
   344 
   345 
   345 
   346 "---------fun eval_sameFunId -------------------------------------------------------------------";
   346 "---------fun eval_sameFunId -------------------------------------------------------------------";
   347 "---------fun eval_sameFunId -------------------------------------------------------------------";
   347 "---------fun eval_sameFunId -------------------------------------------------------------------";
   348 "---------fun eval_sameFunId -------------------------------------------------------------------";
   348 "---------fun eval_sameFunId -------------------------------------------------------------------";
   349 val t = @{term "M_b L"}; TermC.atomty t;
   349 val t = @{term "M_b L"}; TermC.atom_trace_detail @{context} t;
   350 val t as f1 $ _ = @{term "M_b L"};
   350 val t as f1 $ _ = @{term "M_b L"};
   351 val t as Const (\<^const_name>\<open>HOL.eq\<close>, _) $ (f2 $ _) $ _ = @{term "M_b x = c + L*x"};
   351 val t as Const (\<^const_name>\<open>HOL.eq\<close>, _) $ (f2 $ _) $ _ = @{term "M_b x = c + L*x"};
   352 f1 = f2 (*true*);
   352 f1 = f2 (*true*);
   353 val (p as Const (\<^const_name>\<open>sameFunId\<close>, _) $ 
   353 val (p as Const (\<^const_name>\<open>sameFunId\<close>, _) $ 
   354 			(f1 $ _) $ 
   354 			(f1 $ _) $