quotient_info.ML
changeset 314 3b3c5feb6b73
parent 311 77fc6f3c0343
child 318 746b17e1d6d8
equal deleted inserted replaced
312:4cf79f70efec 314:3b3c5feb6b73
    79    val merge = Symtab.merge (K true)) 
    79    val merge = Symtab.merge (K true)) 
    80 
    80 
    81 val quotdata_lookup_thy = Symtab.lookup o QuotData.get
    81 val quotdata_lookup_thy = Symtab.lookup o QuotData.get
    82 val quotdata_lookup = quotdata_lookup_thy o ProofContext.theory_of
    82 val quotdata_lookup = quotdata_lookup_thy o ProofContext.theory_of
    83 
    83 
    84 fun quotdata_update_thy qty_name (qty, rty, rel, equiv_thm) = 
    84 fun quotdata_update_thy qty_name (qty, rty, rel, equiv_thm) =
    85       QuotData.map (Symtab.update (qty_name, {qtyp = qty, rtyp = rty, rel = rel, equiv_thm = equiv_thm}))
    85       QuotData.map (Symtab.update (qty_name, {qtyp = qty, rtyp = rty, rel = rel, equiv_thm = equiv_thm}))
    86 
    86 
    87 fun quotdata_update qty_name (qty, rty, rel, equiv_thm) = 
    87 fun quotdata_update qty_name (qty, rty, rel, equiv_thm) = 
    88       ProofContext.theory (quotdata_update_thy qty_name (qty, rty, rel, equiv_thm))
    88       ProofContext.theory (quotdata_update_thy qty_name (qty, rty, rel, equiv_thm))
    89 
    89