equal
deleted
inserted
replaced
349 clausify (to_definitional_cnf_with_quantifiers thy nnf_th) |
349 clausify (to_definitional_cnf_with_quantifiers thy nnf_th) |
350 | p => p) |
350 | p => p) |
351 fun intr_imp ct th = |
351 fun intr_imp ct th = |
352 Thm.instantiate ([], map (pairself (cterm_of @{theory})) |
352 Thm.instantiate ([], map (pairself (cterm_of @{theory})) |
353 [(Var (("i", 1), @{typ nat}), |
353 [(Var (("i", 1), @{typ nat}), |
354 HOLogic.mk_number @{typ nat} ax_no)]) |
354 HOLogic.mk_nat ax_no)]) |
355 @{thm skolem_COMBK_D} |
355 @{thm skolem_COMBK_D} |
356 RS Thm.implies_intr ct th |
356 RS Thm.implies_intr ct th |
357 in |
357 in |
358 (opt |> Option.map (I #>> singleton (Variable.export ctxt ctxt0) |
358 (opt |> Option.map (I #>> singleton (Variable.export ctxt ctxt0) |
359 ##> (term_of #> HOLogic.dest_Trueprop |
359 ##> (term_of #> HOLogic.dest_Trueprop |