equal
deleted
inserted
replaced
298 ExtractionData.get thy; |
298 ExtractionData.get thy; |
299 val procs = maps (fst o snd) types; |
299 val procs = maps (fst o snd) types; |
300 val rtypes = map fst types; |
300 val rtypes = map fst types; |
301 val eqns = Net.merge (K false) (#net realizes_eqns, #net typeof_eqns); |
301 val eqns = Net.merge (K false) (#net realizes_eqns, #net typeof_eqns); |
302 val thy' = add_syntax thy; |
302 val thy' = add_syntax thy; |
303 val rd = ProofSyntax.read_proof thy' false |
303 val rd = Proof_Syntax.read_proof thy' false; |
304 in fn (thm, (vs, s1, s2)) => |
304 in fn (thm, (vs, s1, s2)) => |
305 let |
305 let |
306 val name = Thm.get_name thm; |
306 val name = Thm.get_name thm; |
307 val _ = name <> "" orelse error "add_realizers: unnamed theorem"; |
307 val _ = name <> "" orelse error "add_realizers: unnamed theorem"; |
308 val prop = Pattern.rewrite_term thy' |
308 val prop = Pattern.rewrite_term thy' |