lean4-htt/src/Std
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
..
Data feat: hash map iterators (#10761) 2025-10-14 15:10:01 +00:00
Do chore: fix the docstring of PredTrans.conjunctive (#10691) 2025-10-07 08:56:13 +00:00
Internal fix: add cancel function to the Timer API to make it behave correctly with finalizers and selectables (#10630) 2025-10-08 16:14:39 +00:00
Net refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +00:00
Sat chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Sync feat: add Std.CancellationToken type (#10510) 2025-10-07 03:21:45 +00:00
Tactic feat: implement mvcgen?, expanding to mvcgen invariants? (#10782) 2025-10-15 08:22:09 +00:00
Time doc: typo in docstring of Std.Time.DateTime.now (#10668) 2025-10-07 04:55:31 +00:00
Data.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Do.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Internal.lean refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +00:00
Net.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Sat.lean chore: remove public section from end of files (#10684) 2025-10-06 13:30:48 +00:00
Sync.lean feat: add Std.CancellationToken type (#10510) 2025-10-07 03:21:45 +00:00
Tactic.lean refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +00:00
Time.lean refactor: module-ize Std.Time (#9100) 2025-07-16 09:57:53 +00:00