This PR adds a warning when using `cbv` or `decide_cbv` in tactic mode, matching the existing warning in conv mode (`src/Lean/Elab/Tactic/Conv/Cbv.lean`). The warning informs users that these tactics are experimental and still under development. It can be disabled with `set_option cbv.warning false`. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
3 lines
119 B
Text
3 lines
119 B
Text
set_option cbv.warning false
|
|
|
|
example : ("abc".pos ⟨1⟩ (by decide_cbv)).get (by decide_cbv) = 'b' := by decide_cbv
|