-rw-r--r-- 667 holtrace-20261122/holtrace_save_mini.ml raw
Printf.printf("===== loading holtrace_save_mini\n");;
module Holtrace_save: sig
val new_basic_type_definition: string -> string * string -> thm -> thm * thm
val holtrace_typedef_thms: unit -> thm list
end = struct
let orig_new_basic_type_definition = new_basic_type_definition
let typedef_thms = ref ([]:thm list)
let new_basic_type_definition tyname (absname,repname) th =
let ath,rth = orig_new_basic_type_definition tyname (absname,repname) th in
typedef_thms := rth::ath::!typedef_thms;
ath,rth
let holtrace_typedef_thms() = !typedef_thms
end
include Holtrace_save
Printf.printf("===== finished loading holtrace_save_mini\n");;