src/Pure/sign.ML
changeset 33385 fb2358edcfb6
parent 33173 b8ca12f6681a
child 33724 5ee13e0428d2
equal deleted inserted replaced
33384:1b5ba4e6a953 33385:fb2358edcfb6
   390 
   390 
   391 fun cert_def ctxt tm =
   391 fun cert_def ctxt tm =
   392   let val ((lhs, rhs), _) = tm
   392   let val ((lhs, rhs), _) = tm
   393     |> no_vars (Syntax.pp ctxt)
   393     |> no_vars (Syntax.pp ctxt)
   394     |> Logic.strip_imp_concl
   394     |> Logic.strip_imp_concl
   395     |> PrimitiveDefs.dest_def ctxt Term.is_Const (K false) (K false)
   395     |> Primitive_Defs.dest_def ctxt Term.is_Const (K false) (K false)
   396   in (Term.dest_Const (Term.head_of lhs), rhs) end
   396   in (Term.dest_Const (Term.head_of lhs), rhs) end
   397   handle TERM (msg, _) => error msg;
   397   handle TERM (msg, _) => error msg;
   398 
   398 
   399 
   399 
   400 
   400