lean4-htt/tests/lean/binopIssues.lean.expected.out
Joe Hendrix 1d9074c524
chore: upstream NatCast and IntCast (#3347)
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>
2024-02-16 00:54:22 +00:00

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