lean4-htt/tests/pkg/cbv_attr/CbvAttr/InvertedTheorem.lean
Wojciech Różowski 5cc6585c9b
chore: disable cbv usage warning (#12986)
This disables `cbv` usage warning and reflects that in the corresponding
unit tests.
2026-03-19 14:12:04 +00:00

10 lines
184 B
Text

module
public def f6 (x : Nat) :=
x + 1
private axiom myAx : x + 1 = f6 x
@[cbv_eval ←] public theorem f6_spec : x + 1 = f6 x := myAx
example : f6 1 = 2 := by conv => lhs; cbv