Re: [isabelle] Tracing the simplifier in proofs



Hi John,

> I tried this series of commands within my proof:
> 
>   ML "trace_simp := true"
>   apply simp
>   ML "trace_simp := false"

use "ML_val" instead of "ML";  "ML" is a theory-context sensitive
command and can only be used at the theory toplevel.

Note further that the Isabelle library provides set/reset combinators,
so just write

>   ML_val "set trace_simp"
>   apply simp
>   ML_val "reset trace_simp"

Hope this helps
	Florian

-- 

Home:
http://wwwbroy.in.tum.de/~haftmann

PGP available:
http://home.informatik.tu-muenchen.de/haftmann/pgp/florian_haftmann_at_informatik_tu_muenchen_de

Attachment: signature.asc
Description: OpenPGP digital signature



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.