lean4-htt/src/Std
Sebastian Graf 9e1d97c261
feat: extended using invariants and with syntax for mvcgen (#9927)
This PR implements extended `induction`-inspired syntax for `mvcgen`,
allowing optional `using invariants` and `with` sections.

```lean
  mvcgen
  using invariants
  | 1 => Invariant.withEarlyReturn
      (onReturn := fun ret seen => ⌜ret = false ∧ ¬l.Nodup⌝)
      (onContinue := fun traversalState seen =>
        ⌜(∀ x, x ∈ seen ↔ x ∈ traversalState.prefix) ∧ traversalState.prefix.Nodup⌝)
  with mleave -- mleave is a no-op here, but we are just testing the grammar
  | vc1 => grind
  | vc2 => grind
  | vc3 => grind
  | vc4 => grind
  | vc5 => grind
```
2025-08-15 12:25:01 +00:00
..
Classes fix: remove accidental instance for lexOrd (#9739) 2025-08-06 06:16:57 +00:00
Data feat: high-level order typeclasses (#9729) 2025-08-11 14:55:17 +00:00
Do fix: documentated examples for PostCond, move around tests (#9924) 2025-08-15 07:59:33 +00:00
Internal fix: background function and forIn (#9560) 2025-08-15 02:39:57 +00:00
Net refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +00:00
Sat feat: high-level order typeclasses (#9729) 2025-08-11 14:55:17 +00:00
Sync fix: do not allow access to private primitives in public scope (#9890) 2025-08-14 15:34:54 +00:00
Tactic feat: extended using invariants and with syntax for mvcgen (#9927) 2025-08-15 12:25:01 +00:00
Time fix: replace 'D' with 'd' for day representation in long date format (#9799) 2025-08-11 13:17:34 +00:00
Classes.lean refactor: module-ize Std.Classes (#9079) 2025-06-30 09:45:24 +00:00
Data.lean refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +00:00
Do.lean refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +00:00
Internal.lean refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +00:00
Net.lean refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +00:00
Sat.lean refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +00:00
Sync.lean refactor: module-ize remainder of Std (#9195) 2025-07-17 11:43:57 +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