lean4-htt/tests
Sebastian Graf 4077bf2c05
feat: implement mvcgen?, expanding to mvcgen invariants? (#10782)
This PR implements a hint tactic `mvcgen?`, expanding to `mvcgen
invariants?`

Example:
```
/--
info: Try this:
  [apply] mvcgen invariants?
---
info: Try this:
  [apply] mvcgen [mySum] invariants?
---
info: Try this:
  [apply] mvcgen +elimLets invariants?
---
info: Try this:
  [apply] mvcgen +elimLets [mySum] invariants?
-/
#guard_msgs (info) in
theorem mySum_suggest_invariant_short (l : List Nat) : mySum l = l.sum := by
  generalize h : mySum l = r
  apply Id.of_wp_run_eq h
  mvcgen?
  mvcgen? [mySum]
  mvcgen? +elimLets
  mvcgen? +elimLets [mySum]
  all_goals admit
```
2025-10-15 08:22:09 +00:00
..
bench refactor: use Shrink stub in the iterator framework (#10725) 2025-10-14 10:22:14 +00:00
compiler refactor: discipline around arithmetic of String.Pos.Raw (#10713) 2025-10-09 07:47:45 +00:00
elabissues
ir
lake fix: lake: local cache w/ --old (#10741) 2025-10-11 02:20:31 +00:00
lean feat: implement mvcgen?, expanding to mvcgen invariants? (#10782) 2025-10-15 08:22:09 +00:00
pkg fix: simp should not pick up inaccessible definitional equations (#10696) 2025-10-08 12:48:35 +00:00
playground
plugin
simpperf
.gitignore
common.sh
lakefile.toml
lean-toolchain