Nominal/nominal_function_common.ML
changeset 3120 368fc38321fc
parent 2974 b95a2065aa10
child 3121 878de0084b62
equal deleted inserted replaced
3119:ed0196555690 3120:368fc38321fc
    72 val get_function = NominalFunctionData.get o Context.Proof;
    72 val get_function = NominalFunctionData.get o Context.Proof;
    73 
    73 
    74 
    74 
    75 fun lift_morphism thy f =
    75 fun lift_morphism thy f =
    76   let
    76   let
    77     val term = Drule.term_rule thy f
    77     val term = Thm.term_of (Drule.cterm_rule f (Thm.cterm_of thy t))
    78   in
    78   in
    79     Morphism.thm_morphism f $> Morphism.term_morphism term
    79     Morphism.thm_morphism f $> Morphism.term_morphism term
    80     $> Morphism.typ_morphism (Logic.type_map term)
    80     $> Morphism.typ_morphism (Logic.type_map term)
    81   end
    81   end
    82 
    82