repaired inconsistency introduced in transiting to 'Local_Theory.define'
authorblanchet
Mon, 02 Dec 2013 20:31:54 +0100
changeset 55995141cb34744de
parent 55994 82a78bc9fa0d
child 55996 59388c359dec
repaired inconsistency introduced in transiting to 'Local_Theory.define'
src/HOL/Tools/ctr_sugar.ML
     1.1 --- a/src/HOL/Tools/ctr_sugar.ML	Mon Dec 02 20:31:54 2013 +0100
     1.2 +++ b/src/HOL/Tools/ctr_sugar.ML	Mon Dec 02 20:31:54 2013 +0100
     1.3 @@ -503,7 +503,7 @@
     1.4                      if n = 1 then pair (Term.lambda u (mk_uu_eq ()), unique_disc_no_def)
     1.5                      else pair (alternate_disc k, alternate_disc_no_def)
     1.6                    else if Binding.eq_name (b, equal_binding) then
     1.7 -                    pair (rhs, refl)
     1.8 +                    pair (rhs, Thm.reflexive (certify lthy rhs))
     1.9                    else
    1.10                      Local_Theory.define ((b, NoSyn), ((Thm.def_binding b, []), rhs)) #>> apsnd snd
    1.11                  end) ks exist_xs_u_eq_ctrs disc_bindings