It now relies on `binop%` too, and addresses issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Regression.20in.20coercion.20inference/near/281737387
11 lines
214 B
Text
11 lines
214 B
Text
theorem ex1 (a : Int) (b c : Nat) : a = ↑b - ↑c := sorry
|
|
|
|
#check ex1
|
|
|
|
theorem ex2 (a : Int) (b c : Nat) : a = b - c := sorry
|
|
|
|
#check ex2
|
|
|
|
theorem ex3 (a : Int) (b c : Nat) : a = ↑(b - c) := sorry
|
|
|
|
#check ex3
|