src/Pure/Isar/skip_proof.ML
changeset 17956 369e2af8ee45
parent 17476 315cb57e3dd7
child 18708 4b3dadb4fe33
equal deleted inserted replaced
17955:3b34516662c6 17956:369e2af8ee45
    33 
    33 
    34 fun cheat_tac thy st =
    34 fun cheat_tac thy st =
    35   ALLGOALS (Tactic.rtac (make_thm thy (Var (("A", 0), propT)))) st;
    35   ALLGOALS (Tactic.rtac (make_thm thy (Var (("A", 0), propT)))) st;
    36 
    36 
    37 fun prove thy xs asms prop tac =
    37 fun prove thy xs asms prop tac =
    38   Tactic.prove thy xs asms prop
    38   Goal.prove thy xs asms prop
    39     (if ! quick_and_dirty then (K (cheat_tac thy)) else tac);
    39     (if ! quick_and_dirty then (K (cheat_tac thy)) else tac);
    40 
    40 
    41 end;
    41 end;