src/Pure/Isar/proof.ML
changeset 6683 b7293047b0f4
parent 6529 0f4c2ebc5018
child 6731 57e761134c85
equal deleted inserted replaced
6682:0c6c668c685f 6683:b7293047b0f4
    56   val have_i: string -> context attribute list -> term * term list -> state -> state
    56   val have_i: string -> context attribute list -> term * term list -> state -> state
    57   val begin_block: state -> state
    57   val begin_block: state -> state
    58   val next_block: state -> state
    58   val next_block: state -> state
    59   val end_block: state -> state
    59   val end_block: state -> state
    60   val at_bottom: state -> bool
    60   val at_bottom: state -> bool
    61   val local_qed: (state -> state Seq.seq) -> state -> state Seq.seq
    61   val local_qed: (state -> state Seq.seq) -> bool -> state -> state Seq.seq
    62   val global_qed: (state -> state Seq.seq) -> bstring option
    62   val global_qed: (state -> state Seq.seq) -> bstring option
    63     -> theory attribute list option -> state -> theory * {kind: string, name: string, thm: thm}
    63     -> theory attribute list option -> state -> theory * {kind: string, name: string, thm: thm}
    64 end;
    64 end;
    65 
    65 
    66 signature PROOF_PRIVATE =
    66 signature PROOF_PRIVATE =
   622     |> close_block
   622     |> close_block
   623     |> have_thmss name atts [Thm.no_attributes [result]]
   623     |> have_thmss name atts [Thm.no_attributes [result]]
   624     |> opt_solve
   624     |> opt_solve
   625   end;
   625   end;
   626 
   626 
   627 fun local_qed finalize state =
   627 fun local_qed finalize int state =	(* FIXME handle int *)
   628   state
   628   state
   629   |> finish_proof false finalize
   629   |> finish_proof false finalize
   630   |> (Seq.flat o Seq.map finish_local);
   630   |> (Seq.flat o Seq.map finish_local);
   631 
   631 
   632 
   632