equal
deleted
inserted
replaced
372 |> Sign.declare_const [] (c', T', NoSyn) |
372 |> Sign.declare_const [] (c', T', NoSyn) |
373 |-> (fn const' as Const (c'', _) => Thm.add_def false true |
373 |-> (fn const' as Const (c'', _) => Thm.add_def false true |
374 (Thm.def_name c', Logic.mk_equals (Const (c, T'), const')) |
374 (Thm.def_name c', Logic.mk_equals (Const (c, T'), const')) |
375 #>> Thm.varifyT |
375 #>> Thm.varifyT |
376 #-> (fn thm => add_inst_param (c, tyco) (c'', thm) |
376 #-> (fn thm => add_inst_param (c, tyco) (c'', thm) |
377 #> PureThy.note Thm.internalK (c', thm) |
377 #> PureThy.add_thm ((c', thm), [PureThy.kind_internal]) |
378 #> snd |
378 #> snd |
379 #> Sign.restore_naming thy |
379 #> Sign.restore_naming thy |
380 #> pair (Const (c, T)))) |
380 #> pair (Const (c, T)))) |
381 end; |
381 end; |
382 |
382 |