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

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