equal
deleted
inserted
replaced
18 |
18 |
19 val _ = |
19 val _ = |
20 ProofGeneralPgip.add_preference Preferences.category_tracing |
20 ProofGeneralPgip.add_preference Preferences.category_tracing |
21 (Preferences.bool_pref auto "auto-try" "Try standard proof methods.") |
21 (Preferences.bool_pref auto "auto-try" "Try standard proof methods.") |
22 |
22 |
23 val default_timeout = Time.fromSeconds 5 |
23 val default_timeout = seconds 5.0 |
24 |
24 |
25 fun can_apply timeout_opt pre post tac st = |
25 fun can_apply timeout_opt pre post tac st = |
26 let val {goal, ...} = Proof.goal st in |
26 let val {goal, ...} = Proof.goal st in |
27 case (case timeout_opt of |
27 case (case timeout_opt of |
28 SOME timeout => TimeLimit.timeLimit timeout |
28 SOME timeout => TimeLimit.timeLimit timeout |