aboutsummaryrefslogtreecommitdiff
path: root/proofs
diff options
context:
space:
mode:
authorfilliatr1999-12-08 15:15:47 +0000
committerfilliatr1999-12-08 15:15:47 +0000
commitc4dccc430e10b784e65b5bf3330c55d658d2883d (patch)
tree42afd0f7ff5f3c2079f65597fe15f46a1b830203 /proofs
parentb3e6d156fbc13ae6d79075265fc20f8912c520da (diff)
deplacement de Discharge dans toplevel
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@222 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs')
-rw-r--r--proofs/pfedit.ml9
1 files changed, 3 insertions, 6 deletions
diff --git a/proofs/pfedit.ml b/proofs/pfedit.ml
index 6e6114f901..12f53c685d 100644
--- a/proofs/pfedit.ml
+++ b/proofs/pfedit.ml
@@ -175,8 +175,7 @@ let save_named opacity =
and strength = ts.top_strength in
let pfterm = extract_pftreestate pfs in
declare_constant (id_of_string ident)
- ({ const_entry_body = pfterm; const_entry_type = Some concl },
- strength, opacity);
+ ({ const_entry_body = pfterm; const_entry_type = Some concl }, strength);
del_proof ident;
message(ident ^ " is defined")
@@ -188,13 +187,11 @@ let save_anonymous opacity save_ident n =
let pfterm = extract_pftreestate pfs in
if ident = "Unnamed_thm" then
declare_constant (id_of_string save_ident)
- ({ const_entry_body = pfterm; const_entry_type = Some concl },
- strength, opacity)
+ ({ const_entry_body = pfterm; const_entry_type = Some concl }, strength)
else begin
message("Overriding name " ^ ident ^ " and using " ^ save_ident);
declare_constant (id_of_string save_ident)
- ({ const_entry_body = pfterm; const_entry_type = Some concl },
- strength, opacity)
+ ({ const_entry_body = pfterm; const_entry_type = Some concl }, strength)
end;
del_proof ident;
message(save_ident ^ " is defined")