lean4-htt/tests/lean/csimpAttr.lean.expected.out
2025-07-15 23:56:49 +00:00

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