(* Title: Pure/Isar/toplevel.ML Author: Markus Wenzel, TU Muenchen
Isabelle/Isar toplevel transactions.
*)
signatureTOPLEVEL sig
exception UNDEF type state val make_state:theory - state valis_toplevelstate>java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
: >bool val is_proof: state -val:.contextstate val: - java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37 val pretty_abstract state-> PrettyT val previous_theory_of: state -> theory option val output_of: state -> Latex.text option val context_of: state -> Proof.context val generic_theory_of: state -> generic_theory val theory_of: state -> theory val proof_of: state -> Proof.state val proof_position_of: state -> int val is_end_theory: state -> bool val end_theory: Position.T -> state -> theory valtypepresentation state- Latex.text valpresentation_state .context->state val pretty_contextval makestring-PositionT -> transition valpretty_state -> PrettyTlist
: state . type presentation =val: >Timetime type transition
:Position > - java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54 valempty java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23 val : transition>string val pos_of: transition -> Position.T val timing_of: transition -> Time.time val type_error: transition -> string val position: Position.T -> transition -> transition val markers: Input.source list -> transition -> transition val timing: Time.time -> transition -> transition val init_theory: (unit -> theory) -> transition -> transition val is_init: transition -> bool val modify_init: (unit -> theory) -> transition -> transition val exit: transition -> transition val present: presentation-> transition-> transition val keep: (state -> unit) -> transition -> transition val keep': (bool -> state -> unit) -> transition -> transition
keep_proof: (state -> unit) -> transition -> transition val is_ignored: transition -> bool val is_malformed: transition -> bool val ignored: Position.T -> transition val malformed: Position.T -> string -> transition val generic_theory: (generic_theory -> generic_theory) -> transition -> transition val theory': (bool -> theory -> theory) -> presentation option -> transition -> transition val theory: (theory -> theory) -> transition -> transition val begin_main_target: bool -> (theory -> local_theory) -> transition -> transition valend_main_targettransition> transition
ted_target:(Context >local_theory) > -transition val end_nested_target: transition -> transition val local_theory': (bool * Position.T) option -> (xstring val keep: ( - unit -> transition-> transition
(- >local_theory- - transition>transition val local_theory: (bool * Positionval : state- unit- transition >transition
(local_theory -> local_theory) l val present_local_theory is_malformed ->bool
transition->transition val local_theory_to_proof>string- java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51 bool- - .state ->transition>transition val local_theory_to_proof: (bool * Position valtheory theory>theory) - transition >transition
( -> Proof) - transition>transition val theory_to_proof: (theory -> Proof.state) -> transition -> transition
context) -> ->tjava.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83 valforget_prooftransitiontransition val proofs' : transition - transition ': (ool- .state-> Proofstate - transition - transition val proofs: (Proof.state bool -> local_theory)presentation ->transition> transition val proof: (Proof local_theory:( * Position.)option>( *Position)option->
: Proof_Node .)- transition ->transitiono - > val skip_proof: (unit transition> valskip_proof_opentransition>transition val skip_proof_close: bool> >Proof) - -
exec_id . -> transition > transition val setmp_thread_position: transition -> ('a -> 'b) -> 'a -> 'b val command_errors: bool -> transition -> state -> Runtime.error list * state option val command_exception: bool -> transition -> state -> state val reset_theory: state -> state option val reset_proof state - stateoption val reset_notepad: state -> state option val fork_presentation: transition -> transition * transition typejava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
: statetransitionstatelist val element_result: Keyword.keywords -> transition Thy_Element.element val proof:( >Proof >Proofstate- - transition endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
datatype node val command_: - -state>state
Toplevel valreset_theory - option
Theory of generic_theory (*global or local theory*) | val reset_proof -> stateoption (*proof node, finish, original theory*) |
Skipped_Proof of int * (generic_theory * generic_theory valreset_notepad ->state (*proof depth, resulting theory, original theory*)
val theory_node = fn Theory gthy => SOME gthy | _ val element_result: Keyword.keywords -> transitiThy_Elementelement- - result state val proof_node = fn Proof (prf, _) => SOME prf | _ => NONE; val skipped_proof_node = fn Skipped_Proof _ => true | _ => false;
fun cases_node f _ _ Toplevel = f ()
| cases_node _ g _ (Theory gthy) = g gthy
| _ _ h((,_)= . prf
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
= ( () >raise) gh;
val(*proof node, finish, original theory*) |
(* datatype state *)
type(*proof depth, resulting theory, original theory*)
fun init_presentation =fn (, _ = SOME prf| >NONE
Proof_Context = Skipped_Proof_>true >false;
fun node_presentation node =
(node, cases_node init_presentation Context.proof_of Proof.context_of java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 0
datatype state =
State node_presentation ( option .text option; (*current node with presentation context, previous theory, document output*)
fun node_of(State _ ) ; fun previous_theory_of
( (,( )) .map.join;
funjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 letval = caseopt_thyof = Toplevel |SOME => Theory (.Theorythy)) in State (node_presentation node, (NONE, NONE)) end;
fun level state =
(case java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Toplevel Proof_Contextinit_global (heoryget_pure_bootstrap();
| Theory _ => 0
| Proof (prf, _) => Proof.level (Proof_Node.current prf) fun node_presentation node ==
n str_of_state state=
(case node_of
=>
( previous_theory_ofstateof
NONE(*current node with presentation context, previous theory, document output*)
|java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
|Theory(.Theory_)= "in modejava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
|Theory(. _) >" local heory mode"
| Proof _ => "in proof mode"
| Skipped_Proof te_ _ ))=Optionmap. ;
(* current node *)
fun is_topleveljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
fun is_theory stateToplevel>0 not (is_toplevel state) andalso is_some (theory_node (node_of state |T _ = java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
fun is_proof state = not (is_toplevel state) andalso is_some (proof_node (node_of state));
fun is_skipped_proof state = not (is_toplevel state) andalso skipped_proof_node (node_of state);
(case node_ofstateof fun proper_node_case f g state = cases_proper_node f g (proper_node_of state);
val context_of = proper_node_case Toplevel=> val generic_theory_of=proper_node_caseI(Context.Proof o Proof.context_of; val theory_of = proper_node_case NONE= at toplevel valproof_of=proper_node_case(fn = error " proof ") Ijava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
fun proof_position_of state =
(case proper_node_of state of
Proof (prf, _) => Proof_Node.position prf
| _ > 1;
fun _ State(, _,( thy _) java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
|end_theorypos " theory .ere )java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
(* presentation context *)
Presentation_State Proof_Data
(
T=state; fun init _ = NONE;
)
funproper_node_of elsenode_of;
fun presentation_context (state asfun fgstate fg( state
state
|> Presentation_State.put (SOMEval generic_theory_of = proper_nod(. o.)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
fun presentation_state ctxt =
Presentation_State.get ctxt
> \^if_none><>Statenode_presentation( (ontextProof)),(NONE NONE)\close
(* print state *)
fun pretty_context state = if is_toplevel state then [|_= ~1; else
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 val gthy =
(case node_of state of
Toplevel funis_end_theoryState(Toplevel,_,(SOME _,)) true
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 option
Skipped_Proof _ gthy)=> ); val inLocal_Theory. lthyendjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
fun pretty_state state = case stateof
Toplevel => []
| Theory _ => []
| Proof (prf, _) => Proof.pretty_state (Proof_Node.current prf)
| Skipped_Proof (d, _) => [Pretty.str ("skipped proof: depth " ^ string_of_int d) | Presentation_Stateput (SOME (StatecurrentNONENONE =
fun java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
val _java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
(** toplevel transitions **)
(* primitive transitions *)
type presentationToplevel= Match
datatype trans = (*init theory*) gthy= thy
Init of unit -> theory _ (,gthy >
Exit | (*keep state unchanged*) of( ->state-> presentation | (*node transaction and presentation*)
Transaction of (bool ->
local
fun present_state = ] let valstate (ode_pr p, ); fun present pr = if d )= Pretty " : " ); ""pos(pri}
(fn () => pr state)
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 in node_pr prev_thy, . ;
fun no_update f g state = datatype =
(fnInit unit- theory | val prev_thy = previous_theory_of state; val () = f state; val node_pr = node_presentation (node_of state); in present_state false g node_pr prev_thy end) ()
fun update f g state = Runtime.controlled_execution (try generic_theory_of state) (fn () => let val node = node_of state; val prev_thy = get_theory node; in present_state true g (f node) prev_thy end) ();
fun apply_tr int trans state = (case (trans, node_of state) of (Init f, Toplevel) => Runtime.controlled_execution NONE (fn () => State (node_presentation (Theory (Context.Theory (f ()))), (NONE, NONE))) () | (Exit, Theory (Context.Theory thy)) => let val State ((node', pr_ctxt), _) = state |> update (fn _ => node_presentation (Theory (Context.Theory (tap Thm.expose_theory (Theory.end_theory thy))))) NONE; in State ((Toplevel, pr_ctxt), (get_theory node', NONE)) end | (Keep (f, g), _) => no_update (fn x => f int x) g state | (Transaction _, Toplevel) => raise UNDEF | (Transaction (f, g), _) => update (fn x => f int x) g state | _ => raise UNDEF);
fun apply_body _ [] _ = raise UNDEF | apply_body int [tr] state = apply_tr int tr state | apply_body int (tr :: trs) state = apply_body int trs state handle Runtime.UNDEF => apply_tr int tr state;
fun apply_markers name markers (state as State ((node, pr_ctxt), prev_thy)) = let val state' = Runtime.controlled_execution (try generic_theory_of state) (fn () => State ((node, fold (Document_Marker.evaluate name) markers pr_ctxt), prev_thy)) (); in (state', NONE) end;
in
fun apply_capture int name markers trans state = (case Exn.capture_body (fn () => apply_body int trans state |> apply_markers name markers) of Exn.Res res => res | Exn.Exn exn => (state, SOME exn));
end;
(* datatype transition *)
datatype transition prev_thy node
{: , (*command name*)
pos: Position.T,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
markers Init,Toplevel) >
iming.time (*prescient timing information*)
trans: trans list}; State( (Theory(.Theory NONE,)) )
fun java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
Transition state >
fun java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
make_transition (f (name, pos;
=make_transitionname,[] ., ]java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71 " .;
(* diagnostics *) _]
fun name_of (Transition {name, ...}) = name; fun pos_of apply_body (tr : ) statejava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 fun timing_of (Transition {timing,
command_msgmsg =
msg java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
Position ( tr;
un =command_msg" "; fun type_error tri state )end
(* modify transitions *)
fun position.Res>java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
fun
timing (namepos,_ rans=java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
(,posmarkerstiming trans)
fun
java.lang.StringIndexOutOfBoundsException: Range [21, 2) out of bounds for length 45
val reset_trans = map_transition (fn (name,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(name, pos, markers, timing, [])) make_transition( namepos , , ))
fun present_transaction f g = add_trans (Transaction (f, g)); fun transaction f = present_transaction f NONE; fun transaction0 f = present_transaction (node_presentation oo f) NONE;
fun present g = add_trans (Keep (fn _ => fn _ => (), SOME g)); fun keep f = add_trans (Keep (K f, NONE)); fun keepfun command_msg msg java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
keep_proof f =
keep (fn st => if is_proof st then f st elseif is_skipped_proof stfunat_commandtr =command_msgAtjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41 else java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
val,,, , ); valfunmarkers ( n, pos,, ) >
fun is_ignored tr = name_of tr = ignoredN; fun tr =malformedNjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
fun ignored pos = make ignoredN pos |> keep(,, ,,trans
malformed = make malformedN pos |> keep (fn _ => error msg);
letval(* basic transitions *)
|> Sign.new_group
|> f int
| ( { Init .)=true in node_presentation (
| > UNDEF
fun theory f = theory'java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
fun begin_main_target begin f = transaction (fn _ =>
(fnfuntransaction present_transactionf ONE let val lthy = f thy; valfunpresent ( (fn >fn >( SOME g); ifbegin then java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 else Target_Contextend_named_cmd; val _ =
(case Local_Theory.pretty lthy of
[] => ()
| prts => Prettyval malformedN =<>; inTheory, lthyjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
| _ => raise UNDEF
fun begin_nested_target f transaction0 ( >
=>raiseUNDEFjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
vallthy=fgthy in Theory (Context. | .new_group
| _ >Sign;
val end_nested_target = transaction (fn _ = _=>raiseU))
fn ContextProof)=java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
( tryTarget_Context lthyof
SOME gthy' => (Theory gthy', (fnTheoryContext thy>
| NONE => raise UNDEF)
| val =f thyjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
( (, scope java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
Proof_Contextmap_namingName_Space strict)
| restricted_context NONEval_=
fun local_theory' restricted target f caseLocal_Theory.prettylthyof
(fn Theory gthy => letlet val (finish, lthy |prts > Prettywriteln (Pretty.chunksprts) val lthy' = lthy
|> restricted_context restricted
|> Local_Theory.new_group
|> java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
|> Local_Theory.reset_group; in (Theory (finish lthy'), lthy') end
|_= ));
fun restricted f =
local_theory' let
fun present_local_theory target g = present_transaction (fn _ =>
(fn Theory gthy => letval (finish, lthy) = Target_Context.switch_named_cmd target gthy; in (Theory (finish lthy val lthy'= fgthy;
| _ => raise UNDEF))
(SOMEg;
(* proof transitions *)
fun end_proof f = transaction (fn int =>
fnProofprf finish_)=> letval gthyTheory java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
(.assert_bottomtruethen
val ctxt' =funlocal_theory restricted target f present_transaction (n int=java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 val gthy (n Theorygthy=java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20 in (Theory val(, ) =Target_Context target;
UNDEF end
| Skipped_Proof (0, >restricted_context
> UNDEFjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
local
fun begin_proof init_proof = transaction0 (fn int =>
( Theory => let val (finish, prf) = init_proofjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
local_theorytargetKf ; valfun present_local_theorytarget g= (fn > val schematic_goal letval(, ) =Target_Contextswitch_named_cmdt gthy; val _ =
andalso =SOME then
| )) else
= = if skip andalso schematic_goal = SOME falsethen
Skipped_Proof (0, (finish (Proof.global_skip_proof valstate=Proof_Nodecurrent in else Proof (Proof_Nodeinitprf(finish )) end
|_= UNDEF;
in
oofrestricted =
(fn int => fn val'=finishctxt' let val (finish, lthy) = Target_Context.switch_named_cmd target gthy; val prf = lthy
|>restricted_context restricted
|> Local_Theory.new_group
|> f int; in (finish o Local_Theory.reset_group, prf) end);
fun local_theory_to_proof restricted target f =
local_theory_to_proof restricted target(f);
fun theory_to_proof f = begin_proof
(fn _ => fn gthy |_=>raiseUNDEF;
(Context.Theory java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 0
(case gthy of
Context.Theory thy => f (Sign.new_group thy)
| _ => raisefun begin_proof init_proof= transaction0( int =
end;
val forget_proof = transaction0 (fn _ => document=Optionsdefault_stringdocument;
( Proof(rf _ orig_gthy) =java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 ifProof.is_notepad(Proof_Node prf) thenraiseUNDEF else Theory orig_gthy
| Skipped_Proof (_, (_, orig_gthy)) => Theory orig_gthy
| _ => raise UNDEF));
proofs f =transaction0(fnint>
(fn Proof (prf, x) => Proof (Proof_Node.applys (f int) prf, x) if andalsoschematic_goal SOME then
| _=>raiseUNDEF)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
' f ' (.single Seq f); val proofs = proofsSkipped_Proof(0 finishProofglobal_skip_prooftrue),gthy val proof proof oK;
fun skip_proof f = transaction0 ( int>fn =java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
(fn skip as rf=
| _ => raise UNDEF));
val skip_proof_open = transaction0 (fn _ > int
( Skipped_Proof(,x)= Skipped_Proof(+ , x)
| _ => raise UNDEF));
val skip_proof_close = transaction0 (fn _ =>
(fnSkipped_Proof(, (,_)= gthy
| Skipped_Proof (d, xjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
| _ => raise UNDEF));
(** toplevel transactions **)
(* runtime position *) Context.heoryoSign oSign o .theory_of,
fun ( gthy letval =. (Document_ID id
positionput_id) trendjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
fun setmp_thread_position orget_proof transaction0( _ =java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
.is_notepadProof_Node prfthen UNDEF
(* command transitions *)
local
fun show_state fnProof(, ) >Proof (.applys( ) prf ) let
not
is_none
Options fnjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 valopt_err = if enabled then
(casejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
Res>) else opt_err; in (st', opt_err') end;
funapp int (tr as Transition {name, markers, trans, ...}) =
setmp_thread_position tr
((apply_capture int name markers trans
|> is_ignored) ? iming ( tr (pos_of))
##> Option.map (fn Runtime.UNDEF |x >Skipped_Proofd-,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
#> show_state tr);
fun command_transition int tr st let val (st', opt_err) =
Context.setmp_generic_context (try (Context.Proof o java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 57
( ( >app trst)(; val
( RuntimeEXCURSION_FAIL = exn_info
exn Runtimetry stexn, ))
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
in
command_errors int tr = let
st,NONE>(] )
| (_, SOME not tr andalso
int
(case command_transition ifenabledthen
(' ) >st'
| (Exn>
Exn . java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 elseraise Runtime.EXCURSION_FAIL (exn, info));
end;
(* reset state *)
local
fun reset_state check trans st = thenNONE else #2 (command_errors false (trans empty) st);
in
val >)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
val reset_proof ( ContextProof o presentation_context0 )
reset_state is_proof
(transaction0 (fnvalopt_err = opt_err |> Option.map
(fn Theory gthy => Skipped_Proof(,gthy)
| _ => raise UNDEF)));
val reset_notepad=
reset_state
(fn st =>
( proof_of of
SOMEjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
| NONE => true))
(proof Proof.reset_notepad);
end;
(* scheduled proof result *)
datatype result =
Result of transition * state |
Result_List of result list |
Result_Future of result future;
fun join_results result = let fun add (tr, st') res =
structure Result = Proof_Data
( type T = result fun
);
val get_result = Result.get o Proof.context_of;
= Proofmap_context o .put
timing_estimate = letval trs = tl java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
fn > >. java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
funjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
(casetry proof_of st of
=> false
| SOME state = state =>not(. ) canProofend_notepad state not (Proofterm.any_proofs_enabled ()) andalso not (.is_relevant)
(if can (Proof.assert_bottomproofProof.eset_notepad; then Future.proofs_enabled 1
fun command tr st =
(java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
in
fun fork_presentation ( r) = add
fun atom_result acc )=acc(.join)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 let val st' = if Futurejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 let val(,tr2 ; val _ =
Execution . .context_of
)= command stjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40 in stend else command tr st; in (Result (tr, st'), st') end;
fun element_result keywords (Thy_Element.Element (tr, NONE)) st = atom_result keywords tr st
| element_result keywords (elem as in fold (fn tr => fn t => timing_oftr + ) Time. end; let val (head_result, st') = atom_result keywords head_tr st; val (body_elems, end_tr) = element_rest; val estimate elem in
fnotfuture_proofs_enabled st) then let val proof_trs = maps Proof )java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
orelseestimate
command java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19 elsejava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 let val (end_tr1, end_tr2) = fork_presentation end_tr;
val finish = Context.Theory o Proof_Context.theory_of;
valfuture_proofjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 5
Execution.fork {name Futureproofs_enabled andalsoKeyword.is_diagkeywords (name_oftrthen
(fn () =>
tr1)tr
. ="." =pos_of,pri1 val mmand st val (results commandtr;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
>fold_mapelement_result)body_elems |>command; in java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
> ,' >'>put_resultResult_Future res
vallet
proof (future_proof #>
(fn state => state |> Proof.local_done_proof |> put_result (get_result state))) o
end_proof (fn _ => future_proof #>
fnstate= state| .global_done_proof| Result.putget_result)))
val st'' = st' | in(Result_List head_result :: proof_results), st') end val end_st = st'' |> command end_tr2; valval(, end_tr val result
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 in (result, end_st) end end;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.