lean4-htt/tests/pkg/cbv_attr/CbvAttr/InvertedLocalTheorem.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
190 B
Text

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