This PR migrates most remaining tests to the new test suite. It also completes the migration of directories like `tests/lean/run`, meaning that PRs trying to add tests to those old directories will now fail.
40 lines
842 B
Text
40 lines
842 B
Text
namespace Foo
|
|
namespace Bla
|
|
|
|
theorem ex1 {a b : Nat} (h : a ≤ b) : a + a ≤ b + b :=
|
|
sorry
|
|
|
|
theorem ex2 {a b : Nat} (h : a ≤ b) : a + 2 ≤ b + 2 :=
|
|
sorry
|
|
|
|
theorem ex3 {a b c d : Nat} (h : a ≤ b) (h : c ≤ d) : a + c ≤ b + d :=
|
|
sorry
|
|
|
|
theorem ax1 {a b : Nat} (h : a ≤ b) : a - a ≤ b - b :=
|
|
sorry
|
|
|
|
end Bla
|
|
end Foo
|
|
|
|
theorem tst1 (h : a ≤ b) : a + 2 ≤ b + 2 :=
|
|
Foo.Bla.
|
|
--^ completion
|
|
#print ""
|
|
|
|
open Foo in
|
|
theorem tst2 (h : a ≤ b) : a + 2 ≤ b + 2 :=
|
|
Bla.
|
|
--^ completion
|
|
#print ""
|
|
|
|
theorem tst3 (h : a ≤ b) : a + 2 ≤ b + 2 :=
|
|
let aux := Foo.Bla. -- we don't have the expected type here
|
|
--^ completion
|
|
aux
|
|
|
|
#print ""
|
|
|
|
theorem tst4 (h : a ≤ b) : a + 2 ≤ b + 2 :=
|
|
let aux := Foo.Bla.e -- we don't have the expected type here
|
|
--^ completion
|
|
aux
|