equal
deleted
inserted
replaced
508 val _ = gen_theorem true Thm.theoremK; |
508 val _ = gen_theorem true Thm.theoremK; |
509 val _ = gen_theorem true Thm.lemmaK; |
509 val _ = gen_theorem true Thm.lemmaK; |
510 val _ = gen_theorem true Thm.corollaryK; |
510 val _ = gen_theorem true Thm.corollaryK; |
511 |
511 |
512 val _ = |
512 val _ = |
|
513 OuterSyntax.local_theory_to_proof "example_proof" |
|
514 "example proof body, without any result" K.thy_schematic_goal |
|
515 (Scan.succeed |
|
516 (Specification.schematic_theorem_cmd "" NONE (K I) |
|
517 Attrib.empty_binding [] (Element.Shows []) false #> Proof.enter_forward)); |
|
518 |
|
519 val _ = |
513 OuterSyntax.command "have" "state local goal" |
520 OuterSyntax.command "have" "state local goal" |
514 (K.tag_proof K.prf_goal) |
521 (K.tag_proof K.prf_goal) |
515 (SpecParse.statement >> ((Toplevel.print oo Toplevel.proof') o IsarCmd.have)); |
522 (SpecParse.statement >> ((Toplevel.print oo Toplevel.proof') o IsarCmd.have)); |
516 |
523 |
517 val _ = |
524 val _ = |