@@ -1034,9 +1034,9 @@ let output oc phrases llp =
10341034 let prooftree = extract_prooftree llp in
10351035 let dkproof = make_proof_term (List. hd goal) prooftree in
10361036 fprintf oc " #REQUIRE zenon;\n\n " ;
1037- if ! Globals. signature_name = " " then List. iter (print_line oc) dksigs;
1037+ if ! Globals. ctx_flag then List. iter (print_line oc) dksigs;
10381038 fprintf oc " \n " ;
1039- if ! Globals. signature_name = " " then List. iter (print_line oc) dkctx;
1039+ if ! Globals. ctx_flag then List. iter (print_line oc) dkctx;
10401040 fprintf oc " \n " ;
10411041 List. iter (print_line oc) dkrules;
10421042 fprintf oc " \n " ;
@@ -1062,18 +1062,18 @@ let output_term oc phrases _ llp =
10621062 let dkproof = make_proof_term (List. hd goal) prooftree in
10631063 fprintf oc " #REQUIRE zenon.\n " ;
10641064 let sig_name = ! Globals. signature_name in
1065- if sig_name <> " " then
1066- begin
1065+ if sig_name <> " " then begin
10671066 fprintf oc " #REQUIRE %s.\n " ! Globals. signature_name;
1068- fprintf oc " \n [] %s.%s --> " ! Globals. signature_name goal_name
1069- end
1067+ fprintf oc " \n [] %s.%s --> " ! Globals. signature_name goal_name end
1068+ else if ! Globals. gdv then
1069+ fprintf oc " \n [] Signature.%s --> " goal_name
10701070 else fprintf oc " \n [] %s --> " goal_name;
10711071 if ! Globals. conjecture <> " " then
10721072 fprintf oc " __negated_conjecture_proof__ : \
10731073 zenon.proof (zenon.not %slambdapi__conjecture) =>\n "
1074- (if sig_name <> " " then sig_name^ " ." else " " );
1074+ (if sig_name <> " " then sig_name^ " ." else if ! Globals. gdv then " Signature. " else " " );
10751075 fprintf oc " zenon.nnpp (%a)\n (%a)"
10761076 print_dk_term dkgoal print_dk_term dkproof;
1077- if sig_name <> " " then fprintf oc " ." ;
1077+ if ! Globals. gdv then fprintf oc " ." ;
10781078 fprintf oc " \n " ;
10791079 []
0 commit comments