The idea is to make sure lean doesn't timeout (at reflexivity) when we apply simp or
rewrite in goals such as
(x y : nat) |- x + y + 10000000000 = x + y + 200000000000000
This commit also addresses an issue raised at #1218
23 lines
387 B
Text
23 lines
387 B
Text
example (h : false) : 10000000 = 20000000 :=
|
|
begin
|
|
try {simp},
|
|
contradiction
|
|
end
|
|
|
|
example (h : false) (x : nat) : x + 10000000 = x + 20000000 :=
|
|
begin
|
|
try {simp},
|
|
contradiction
|
|
end
|
|
|
|
example (h : false) (x y : nat) : x + y + 10000000 = x + y + 20000000 :=
|
|
begin
|
|
try {simp},
|
|
contradiction
|
|
end
|
|
|
|
example (h : false) : "hello" = "world" :=
|
|
begin
|
|
try {simp},
|
|
contradiction
|
|
end
|