equal
deleted
inserted
replaced
163 val ((fixp, mono), fixp_eq) = the (lookup_mode lthy mode) |
163 val ((fixp, mono), fixp_eq) = the (lookup_mode lthy mode) |
164 handle Option.Option => error (cat_lines ["Unknown mode " ^ quote mode ^ ".", |
164 handle Option.Option => error (cat_lines ["Unknown mode " ^ quote mode ^ ".", |
165 "Known modes are " ^ commas_quote (known_modes lthy) ^ "."]); |
165 "Known modes are " ^ commas_quote (known_modes lthy) ^ "."]); |
166 |
166 |
167 val ((fixes, [(eq_abinding, eqn)]), _) = prep fixes_raw [eqn_raw] lthy; |
167 val ((fixes, [(eq_abinding, eqn)]), _) = prep fixes_raw [eqn_raw] lthy; |
168 val ((_, plain_eqn), _) = Function_Lib.focus_term eqn lthy; |
168 val ((_, plain_eqn), _) = Variable.focus eqn lthy; |
169 |
169 |
170 val ((f_binding, fT), mixfix) = the_single fixes; |
170 val ((f_binding, fT), mixfix) = the_single fixes; |
171 val fname = Binding.name_of f_binding; |
171 val fname = Binding.name_of f_binding; |
172 |
172 |
173 val cert = cterm_of (Proof_Context.theory_of lthy); |
173 val cert = cterm_of (Proof_Context.theory_of lthy); |