let aconjecture_of_conjecture' = aconjecture_of_conjecture seed
ids_to_terms ids_to_father_ids ids_to_inner_sorts ids_to_inner_types
ids_to_hypotheses hypotheses_seed in
- let eta_fix context t =
- if eta_fix then E.eta_fix context t else t
+ let eta_fix metasenv t =
+ if eta_fix then E.eta_fix metasenv t else t
in
let aobj =
match obj with
("mettereaposto",id,abo,aty, params)
| C.CurrentProof (id,conjectures,bo,ty,params) ->
let conjectures' =
+ (*CSC: This code is bugged, since it does a List.map instead
+ * of a List.fold, withouth calling eta_fixing with the
+ * current context. Indeed, eta_fix always starts now in the
+ * empty context. Instead of fixing this piece of code and
+ * adding a new argument to eta_fix, I just skip eta_fixing
+ * of the CurrentProof metasenv. Does this break well-typedness?
List.map
(function (i,canonical_context,term) ->
let canonical_context' =
in
let term' = eta_fix conjectures term in
(i,canonical_context',term')
- ) conjectures
+ ) conjectures *)
+ conjectures
in
let aconjectures =
List.map