equal
deleted
inserted
replaced
112 val const_take = (dbind "_take" , HOLogic.natT-->dtype->>dtype, NoSyn); |
112 val const_take = (dbind "_take" , HOLogic.natT-->dtype->>dtype, NoSyn); |
113 val const_finite = (dbind "_finite", dtype-->HOLogic.boolT , NoSyn); |
113 val const_finite = (dbind "_finite", dtype-->HOLogic.boolT , NoSyn); |
114 |
114 |
115 (* ----- case translation --------------------------------------------------- *) |
115 (* ----- case translation --------------------------------------------------- *) |
116 |
116 |
117 fun syntax b = Syntax.constN ^ Sign.full_bname thy b; |
117 fun syntax b = Syntax.mark_const (Sign.full_bname thy b); |
118 |
118 |
119 local open Syntax in |
119 local open Syntax in |
120 local |
120 local |
121 fun c_ast authentic con = Constant ((authentic ? syntax) (Binding.name_of con)); |
121 fun c_ast authentic con = Constant ((authentic ? syntax) (Binding.name_of con)); |
122 fun expvar n = Variable ("e" ^ string_of_int n); |
122 fun expvar n = Variable ("e" ^ string_of_int n); |