src/Pure/morphism.ML
changeset 53087 5a1dcda7967c
parent 45289 25e9e7f527b4
child 54740 91f54d386680
--- a/src/Pure/morphism.ML	Mon Aug 19 18:50:45 2013 +0200
+++ b/src/Pure/morphism.ML	Mon Aug 19 20:37:36 2013 +0200
@@ -33,6 +33,7 @@
   val term_morphism: (term -> term) -> morphism
   val fact_morphism: (thm list -> thm list) -> morphism
   val thm_morphism: (thm -> thm) -> morphism
+  val transfer_morphism: theory -> morphism
   val identity: morphism
   val compose: morphism -> morphism -> morphism
   val transform: morphism -> (morphism -> 'a) -> morphism -> 'a
@@ -67,6 +68,7 @@
 fun term_morphism term = morphism {binding = [], typ = [], term = [term], fact = []};
 fun fact_morphism fact = morphism {binding = [], typ = [], term = [], fact = [fact]};
 fun thm_morphism thm = morphism {binding = [], typ = [], term = [], fact = [map thm]};
+val transfer_morphism = thm_morphism o Thm.transfer;
 
 val identity = morphism {binding = [], typ = [], term = [], fact = []};