chore(library/init/core): move sorry_ax up (temporarily) to get error recovery sooner

This commit is contained in:
Sebastian Ullrich 2019-01-15 17:42:09 +01:00
parent cead81fcea
commit d444b5ef49

View file

@ -317,6 +317,11 @@ inductive nat
| zero : nat
| succ (n : nat) : nat
/- Auxiliary axiom used to implement `sorry`.
TODO: add this theorem on-demand. That is,
we should only add it if after the first error. -/
constant sorry_ax (α : Sort u) (synthetic := tt) : α
/- Declare builtin and reserved notation -/
class has_zero (α : Type u) := (zero : α)
@ -2169,8 +2174,3 @@ theorem by_contradiction {p : Prop} (h : ¬p → false) : p :=
decidable.by_contradiction h
end classical
/- Auxiliary axiom used to implement `sorry`.
TODO: add this theorem on-demand. That is,
we should only add it if after the first error. -/
constant sorry_ax (α : Sort u) (synthetic := tt) : α