aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Compat/AdmitAxiom.v
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2015-12-14 11:22:54 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2015-12-14 11:22:54 +0100
commit81ef6a6dc1bfc3db0e7df3e32b6446fc4d2c4008 (patch)
treed8f4d554a78bca6901cbc63e7f6af8dbc40462e6 /theories/Compat/AdmitAxiom.v
parent9329cb508f336b48a2bf2e699886546158b6b4d8 (diff)
Moved proof_admitted to its own file, named "AdmitAxiom.v".
Diffstat (limited to 'theories/Compat/AdmitAxiom.v')
-rw-r--r--theories/Compat/AdmitAxiom.v15
1 files changed, 15 insertions, 0 deletions
diff --git a/theories/Compat/AdmitAxiom.v b/theories/Compat/AdmitAxiom.v
new file mode 100644
index 000000000..68607f6b2
--- /dev/null
+++ b/theories/Compat/AdmitAxiom.v
@@ -0,0 +1,15 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2015 *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+(** Compatibility file for making the admit tactic act similar to Coq v8.4. In
+8.4, [admit] created a new axiom; in 8.5, it just shelves the goal. This
+compatibility definition is not in the Coq84.v file to avoid loading an
+inconsistent axiom implicitly. *)
+
+Axiom proof_admitted : False.
+Ltac admit := clear; abstract case proof_admitted.