Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Lean/Elab/Tactic/Do/VCGen.lean
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ where
@[builtin_tactic Lean.Parser.Tactic.mvcgen]
def elabMVCGen : Tactic := fun stx => withMainContext do
if mvcgen.warning.get (← getOptions) then
logWarningAt stx "The `mvcgen` tactic is experimental and still under development. Avoid using it in production projects."
logWarningAt stx "The `mvcgen` tactic is new and its behavior may change in the future. This project has used `set_option mvcgen.warning true` to discourage its use."
let ctx ← mkSpecContext stx[1] stx[2]
let fuel := match ctx.config.stepLimit with
| some n => .limited n
Expand Down
4 changes: 2 additions & 2 deletions src/Lean/Elab/Tactic/Do/VCGen/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ open Lean Parser Elab Tactic Meta Do SpecAttr
builtin_initialize registerTraceClass `Elab.Tactic.Do.vcgen

register_builtin_option mvcgen.warning : Bool := {
defValue := true
defValue := false
group := "debug"
descr := "disable `mvcgen` usage warning"
descr := "enable `mvcgen` usage warning"
}

inductive Fuel where
Expand Down
Loading