lean4-htt/tests/lean/run/offsetIssue.lean
2020-11-27 12:13:29 -08:00

6 lines
240 B
Text

def BV (n : Nat) := { a : Array Bool // a.size = n }
axiom foo {n m : Nat} (a : BV n) (b : BV m) : BV (n - m)
def test (x1 : BV 30002) (x2 : BV 30001) (y1 : BV 60004) (y2 : BV 60003) : Prop :=
foo x1 x2 = withoutExpectedType! foo y1 y2