fix(tests/lean/extra): discrepancy between tests output when compiling Lean with IGNORE_SORRY
This commit is contained in:
parent
a1798ed331
commit
9fcf3d4675
11 changed files with 6 additions and 17 deletions
|
@ -1,6 +1,3 @@
|
||||||
755.hlean:56:10: warning: using 'sorry'
|
|
||||||
755.hlean:57:10: warning: using 'sorry'
|
|
||||||
755.hlean:58:10: warning: using 'sorry'
|
|
||||||
LEAN_INFORMATION
|
LEAN_INFORMATION
|
||||||
position 55:52
|
position 55:52
|
||||||
A : Type,
|
A : Type,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import types.eq types.pi hit.colimit
|
import types.eq types.pi hit.colimit
|
||||||
|
|
||||||
open eq is_trunc unit quotient seq_colim equiv
|
open eq is_trunc unit quotient seq_colim equiv
|
||||||
|
axiom mysorry : ∀ {A : Type}, A
|
||||||
namespace one_step_tr
|
namespace one_step_tr
|
||||||
section
|
section
|
||||||
parameters {A : Type}
|
parameters {A : Type}
|
||||||
|
@ -53,7 +53,7 @@ definition one_step_tr_up (A B : Type)
|
||||||
begin
|
begin
|
||||||
fapply equiv.MK,
|
fapply equiv.MK,
|
||||||
{ intro f, fconstructor, intro a, exact f (tr a), intros, exact ap f !tr_eq},
|
{ intro f, fconstructor, intro a, exact f (tr a), intros, exact ap f !tr_eq},
|
||||||
{ exact sorry},
|
{ exact mysorry},
|
||||||
{ exact sorry},
|
{ exact mysorry},
|
||||||
{ exact sorry},
|
{ exact mysorry},
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,4 +3,3 @@ definition int.mul : ℤ → ℤ → ℤ
|
||||||
|
|
||||||
definition nat.mul : ℕ → ℕ → ℕ
|
definition nat.mul : ℕ → ℕ → ℕ
|
||||||
END_LEAN_INFORMATION
|
END_LEAN_INFORMATION
|
||||||
print_info.lean:13:8: warning: using 'sorry'
|
|
||||||
|
|
|
@ -3,4 +3,3 @@ definition int.mul : ℤ → ℤ → ℤ
|
||||||
|
|
||||||
definition nat.mul : ℕ → ℕ → ℕ
|
definition nat.mul : ℕ → ℕ → ℕ
|
||||||
END_LEAN_INFORMATION
|
END_LEAN_INFORMATION
|
||||||
print_info.lean:13:8: warning: using 'sorry'
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
print_info.lean:13:8: warning: using 'sorry'
|
|
|
@ -1,4 +1,3 @@
|
||||||
print_info.lean:13:8: warning: using 'sorry'
|
|
||||||
LEAN_INFORMATION
|
LEAN_INFORMATION
|
||||||
definition rfl : ∀ {A : Type} {a : A}, a = a
|
definition rfl : ∀ {A : Type} {a : A}, a = a
|
||||||
END_LEAN_INFORMATION
|
END_LEAN_INFORMATION
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
print_info.lean:13:8: warning: using 'sorry'
|
|
||||||
LEAN_INFORMATION
|
LEAN_INFORMATION
|
||||||
definition rfl : ∀ {A : Type} {a : A}, a = a
|
definition rfl : ∀ {A : Type} {a : A}, a = a
|
||||||
END_LEAN_INFORMATION
|
END_LEAN_INFORMATION
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
print_info.lean:13:8: warning: using 'sorry'
|
|
||||||
LEAN_INFORMATION
|
LEAN_INFORMATION
|
||||||
parameter a₁ : ℕ
|
parameter a₁ : ℕ
|
||||||
END_LEAN_INFORMATION
|
END_LEAN_INFORMATION
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
print_info.lean:13:8: warning: using 'sorry'
|
|
||||||
LEAN_INFORMATION
|
LEAN_INFORMATION
|
||||||
parameter a₁ : ℕ
|
parameter a₁ : ℕ
|
||||||
END_LEAN_INFORMATION
|
END_LEAN_INFORMATION
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
print_info.lean:13:8: warning: using 'sorry'
|
|
||||||
LEAN_INFORMATION
|
LEAN_INFORMATION
|
||||||
_ `+`:65 _:65 :=
|
_ `+`:65 _:65 :=
|
||||||
| nat.add #1 #0
|
| nat.add #1 #0
|
||||||
|
|
|
@ -3,14 +3,14 @@ open nat int
|
||||||
|
|
||||||
variables a b : nat
|
variables a b : nat
|
||||||
variables i j : int
|
variables i j : int
|
||||||
|
axiom mysorry : ∀ {A : Type}, A
|
||||||
definition foo := add a i
|
definition foo := add a i
|
||||||
definition f₁ := a + i
|
definition f₁ := a + i
|
||||||
|
|
||||||
example (n : nat) : n + n = 2 * n :=
|
example (n : nat) : n + n = 2 * n :=
|
||||||
begin
|
begin
|
||||||
unfold [nat.add,mul],
|
unfold [nat.add,mul],
|
||||||
apply sorry
|
apply mysorry
|
||||||
end
|
end
|
||||||
|
|
||||||
example (n : nat) : n + n = n + n :=
|
example (n : nat) : n + n = n + n :=
|
||||||
|
|
Loading…
Reference in a new issue