6 lines
284 B
Text
6 lines
284 B
Text
csimpAttr.lean:7:2-7:7: error: invalid 'csimp' theorem, only constant replacement theorems (e.g., `@f = @g`) are currently supported.
|
|
[Compiler.IR] [init]
|
|
def f (x_1 : tobj) : tobj :=
|
|
let x_2 : tobj := Nat.add x_1 x_1;
|
|
let x_3 : tobj := Nat.add x_2 x_2;
|
|
ret x_3
|