src/HOL/TLA/TLA.ML
changeset 4423 a129b817b58a
parent 4089 96fba19bcbe2
child 4477 b3e5857d8d99
equal deleted inserted replaced
4422:21238c9d363e 4423:a129b817b58a
  1044 
  1044 
  1045 (* ----------------------------------------------------------------------
  1045 (* ----------------------------------------------------------------------
  1046    example of a history variable: existence of a clock
  1046    example of a history variable: existence of a clock
  1047 
  1047 
  1048 goal TLA.thy "(EEX h. Init($h .= #True) .& [](h$ .~= $h))";
  1048 goal TLA.thy "(EEX h. Init($h .= #True) .& [](h$ .~= $h))";
  1049 br tempI 1;
  1049 by (rtac tempI 1);
  1050 br historyI 1;
  1050 by (rtac historyI 1);
  1051 bws action_rews;
  1051 by (rewrite_goals_tac action_rews);
  1052 by (TRYALL (rtac impI));
  1052 by (TRYALL (rtac impI));
  1053 by (TRYALL (etac conjE));
  1053 by (TRYALL (etac conjE));
  1054 ba 3;
  1054 by (assume_tac 3);
  1055 by (Asm_full_simp_tac 3);
  1055 by (Asm_full_simp_tac 3);
  1056 by (auto_tac (temp_css addSIs2 [(temp_unlift Init_true) RS iffD2, temp_unlift BoxTrue]));
  1056 by (auto_tac (temp_css addSIs2 [(temp_unlift Init_true) RS iffD2, temp_unlift BoxTrue]));
  1057 (** solved **)
  1057 (** solved **)
  1058 
  1058 
  1059 ---------------------------------------------------------------------- *)
  1059 ---------------------------------------------------------------------- *)