let module C = Cic in
let module Con = Cic2content in
match ce with
- Con.Declaration d ->
+ `Declaration d ->
(match d.Con.dec_name with
Some s ->
C.Lambda (C.Name s, term2cic d.Con.dec_type, target)
| None ->
C.Lambda (C.Anonymous, term2cic d.Con.dec_type, target))
- | Con.Hypothesis h ->
+ | `Hypothesis h ->
(match h.Con.dec_name with
Some s ->
C.Lambda (C.Name s, term2cic h.Con.dec_type, target)
| None ->
C.Lambda (C.Anonymous, term2cic h.Con.dec_type, target))
- | Con.Proof p ->
+ | `Proof p ->
(match p.Con.proof_name with
Some s ->
C.LetIn (C.Name s, proof2cic premise_env p, target)
| None ->
C.LetIn (C.Anonymous, proof2cic premise_env p, target))
- | Con.Definition d ->
+ | `Definition d ->
(match d.Con.def_name with
Some s ->
C.LetIn (C.Name s, proof2cic premise_env p, target)
| None ->
C.LetIn (C.Anonymous, proof2cic premise_env p, target))
- | Con.Joint ho ->
+ | `Joint ho ->
raise TO_DO
and conclude2cic premise_env conclude =