lean4-htt/tests/lean/csimpAttr.lean.expected.out
2022-07-16 06:19:54 -07:00

6 lines
250 B
Text

[init]
def f (x_1 : obj) : obj :=
let x_2 : obj := Nat.add x_1 x_1;
let x_3 : obj := Nat.add x_2 x_2;
ret x_3csimpAttr.lean:7:2-7:7: error: invalid 'csimp' theorem, only constant replacement theorems (e.g., `@f = @g`) are currently supported.