fun apply ctxt ct = let val net = Data.get (Context.Proof ctxt) val xthms = map (Thm.transfer' ctxt) (Net.match_term net (Thm.term_of ct))
fun select ct = map_filter (maybe_instantiate ct) xthms fun select' ct = letval thm = Thm.trivial ct in map_filter (try (fn rule => rule COMP thm)) xthms end
intry hd (case select ct of [] => select' ct | xthms' => xthms') end
val prep = `Thm.prop_of
fun ins thm net = Net.insert_term Thm.eq_thm (prep thm) net handle Net.INSERT => net fun del thm net = Net.delete_term Thm.eq_thm (prep thm) net handle Net.DELETE => net
val add = Thm.declaration_attribute (Data.map o ins o Thm.trim_context) val del = Thm.declaration_attribute (Data.map o del)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.