equal
deleted
inserted
replaced
127 val (mutual, thy) = analyze_eqs thy eqss |
127 val (mutual, thy) = analyze_eqs thy eqss |
128 val Mutual {name, sum_const, qglrss, ...} = mutual |
128 val Mutual {name, sum_const, qglrss, ...} = mutual |
129 val global_glrs = flat qglrss |
129 val global_glrs = flat qglrss |
130 val used = fold (fn (qs, _, _, _) => fold (curry op ins_string o fst o dest_Free) qs) global_glrs [] |
130 val used = fold (fn (qs, _, _, _) => fold (curry op ins_string o fst o dest_Free) qs) global_glrs [] |
131 in |
131 in |
132 (mutual, name, FundefPrep.prepare_fundef_new thy congs name (Const sum_const) global_glrs used) |
132 (mutual, name, FundefPrep.prepare_fundef thy congs name (Const sum_const) global_glrs used) |
133 end |
133 end |
134 |
134 |
135 |
135 |
136 (* Beta-reduce both sides of a meta-equality *) |
136 (* Beta-reduce both sides of a meta-equality *) |
137 fun beta_norm_eq thm = |
137 fun beta_norm_eq thm = |