src/Pure/zterm.ML
changeset 79128 b6f5d4392388
parent 79126 bdb33a2d4167
child 79132 6d3322477cfd
--- a/src/Pure/zterm.ML	Tue Dec 05 11:11:00 2023 +0100
+++ b/src/Pure/zterm.ML	Tue Dec 05 11:37:24 2023 +0100
@@ -171,6 +171,7 @@
   val implies_intr_proof: theory -> term -> zproof -> zproof
   val forall_intr_proof: theory -> typ -> string * term -> zproof -> zproof
   val forall_elim_proof: theory -> term -> zproof -> zproof
+  val of_class_proof: typ * class -> zproof
   val reflexive_proof: theory -> typ -> term -> zproof
   val symmetric_proof: theory -> typ -> term -> term -> zproof -> zproof
   val transitive_proof: theory -> typ -> term -> term -> term -> zproof -> zproof -> zproof
@@ -328,6 +329,8 @@
 
 fun forall_elim_proof thy t p = ZAppt (p, global_zterm_of thy t);
 
+fun of_class_proof (T, c) = ZClassP (ztyp_of T, c);
+
 
 (* equality *)