C.Prod (name, deannotate_term so, deannotate_term ta)
| C.ALambda (_,_,name,so,ta) ->
C.Lambda (name, deannotate_term so, deannotate_term ta)
+ | C.ALetIn (_,_,name,so,ta) ->
+ C.LetIn (name, deannotate_term so, deannotate_term ta)
| C.AAppl (_,_,l) -> C.Appl (List.map deannotate_term l)
| C.AConst (_,_,uri, cookingsno) -> C.Const (uri, cookingsno)
| C.AAbst (_,_,uri) -> C.Abst uri
)
| C.AAxiom (_, _, id, ty, params) ->
C.Axiom (id, deannotate_term ty, params)
- | C.AVariable (_, _, name, ty) ->
- C.Variable (name, deannotate_term ty)
+ | C.AVariable (_, _, name, bo, ty) ->
+ C.Variable (name,
+ (match bo with None -> None | Some bo -> Some (deannotate_term bo)),
+ deannotate_term ty)
| C.ACurrentProof (_, _, name, conjs, bo, ty) ->
C.CurrentProof (
name, List.map (fun (id,con) -> (id,deannotate_term con)) conjs,