equal
deleted
inserted
replaced
79 val lthy'' = lthy' |
79 val lthy'' = lthy' |
80 |> Local_Theory.declaration {syntax = false, pervasive = true} |
80 |> Local_Theory.declaration {syntax = false, pervasive = true} |
81 (fn phi => |
81 (fn phi => |
82 (case Quotient_Info.transform_quotconsts phi qconst_data of |
82 (case Quotient_Info.transform_quotconsts phi qconst_data of |
83 qcinfo as {qconst = Const (c, _), ...} => |
83 qcinfo as {qconst = Const (c, _), ...} => |
84 Quotient_Info.update_quotconsts c qcinfo |
84 Quotient_Info.update_quotconsts (c, qcinfo) |
85 | _ => I)) |
85 | _ => I)) |
86 |> (snd oo Local_Theory.note) |
86 |> (snd oo Local_Theory.note) |
87 ((rsp_thm_name, @{attributes [quot_respect]}), [rsp_thm]) |
87 ((rsp_thm_name, @{attributes [quot_respect]}), [rsp_thm]) |
88 in |
88 in |
89 (qconst_data, lthy'') |
89 (qconst_data, lthy'') |