equal
deleted
inserted
replaced
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 |