src/HOL/Mirabelle/Tools/mirabelle_sledgehammer.ML
changeset 40526 ca3c6b1bfcdb
parent 40417 a29b2fee592b
child 40554 ff446d5e9a62
equal deleted inserted replaced
40525:14a2e686bdac 40526:ca3c6b1bfcdb
   387   let
   387   let
   388     val lex = Keyword.get_lexicons
   388     val lex = Keyword.get_lexicons
   389     val get = maps (ProofContext.get_fact ctxt o fst)
   389     val get = maps (ProofContext.get_fact ctxt o fst)
   390   in
   390   in
   391     Source.of_string name
   391     Source.of_string name
   392     |> Symbol.source {do_recover=false}
   392     |> Symbol.source
   393     |> Token.source {do_recover=SOME false} lex Position.start
   393     |> Token.source {do_recover=SOME false} lex Position.start
   394     |> Token.source_proper
   394     |> Token.source_proper
   395     |> Source.source Token.stopper (Parse_Spec.xthms1 >> get) NONE
   395     |> Source.source Token.stopper (Parse_Spec.xthms1 >> get) NONE
   396     |> Source.exhaust
   396     |> Source.exhaust
   397   end
   397   end