This upstreams NatCast and IntCast alone independent of norm_cast in #3322. This will allow more efficiently upstreaming parts of Std.Data.Int relevant for omega. --------- Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
4 lines
140 B
Text
4 lines
140 B
Text
def f1 : Int → Nat → Nat → Int :=
|
|
fun a b c => a + (↑b - ↑c)
|
|
def f2 : Int → Nat → Nat → Int :=
|
|
fun a b c => ↑b - ↑c + a
|