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
|
||||
position 55:52
|
||||
A : Type,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import types.eq types.pi hit.colimit
|
||||
|
||||
open eq is_trunc unit quotient seq_colim equiv
|
||||
|
||||
axiom mysorry : ∀ {A : Type}, A
|
||||
namespace one_step_tr
|
||||
section
|
||||
parameters {A : Type}
|
||||
|
@ -53,7 +53,7 @@ definition one_step_tr_up (A B : Type)
|
|||
begin
|
||||
fapply equiv.MK,
|
||||
{ intro f, fconstructor, intro a, exact f (tr a), intros, exact ap f !tr_eq},
|
||||
{ exact sorry},
|
||||
{ exact sorry},
|
||||
{ exact sorry},
|
||||
{ exact mysorry},
|
||||
{ exact mysorry},
|
||||
{ exact mysorry},
|
||||
end
|
||||
|
|
|
@ -3,4 +3,3 @@ definition int.mul : ℤ → ℤ → ℤ
|
|||
|
||||
definition nat.mul : ℕ → ℕ → ℕ
|
||||
END_LEAN_INFORMATION
|
||||
print_info.lean:13:8: warning: using 'sorry'
|
||||
|
|
|
@ -3,4 +3,3 @@ definition int.mul : ℤ → ℤ → ℤ
|
|||
|
||||
definition nat.mul : ℕ → ℕ → ℕ
|
||||
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
|
||||
definition rfl : ∀ {A : Type} {a : A}, a = a
|
||||
END_LEAN_INFORMATION
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
print_info.lean:13:8: warning: using 'sorry'
|
||||
LEAN_INFORMATION
|
||||
definition rfl : ∀ {A : Type} {a : A}, a = a
|
||||
END_LEAN_INFORMATION
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
print_info.lean:13:8: warning: using 'sorry'
|
||||
LEAN_INFORMATION
|
||||
parameter a₁ : ℕ
|
||||
END_LEAN_INFORMATION
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
print_info.lean:13:8: warning: using 'sorry'
|
||||
LEAN_INFORMATION
|
||||
parameter a₁ : ℕ
|
||||
END_LEAN_INFORMATION
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
print_info.lean:13:8: warning: using 'sorry'
|
||||
LEAN_INFORMATION
|
||||
_ `+`:65 _:65 :=
|
||||
| nat.add #1 #0
|
||||
|
|
|
@ -3,14 +3,14 @@ open nat int
|
|||
|
||||
variables a b : nat
|
||||
variables i j : int
|
||||
|
||||
axiom mysorry : ∀ {A : Type}, A
|
||||
definition foo := add a i
|
||||
definition f₁ := a + i
|
||||
|
||||
example (n : nat) : n + n = 2 * n :=
|
||||
begin
|
||||
unfold [nat.add,mul],
|
||||
apply sorry
|
||||
apply mysorry
|
||||
end
|
||||
|
||||
example (n : nat) : n + n = n + n :=
|
||||
|
|
Loading…
Reference in a new issue