| /- | |
| Copyright (c) 2026 Lean FRO LLC. All rights reserved. | |
| Released under Apache 2.0 license as described in the file LICENSE. | |
| Authors: Sebastian Graf | |
| -/ | |
| module | |
| prelude | |
| public import Lean.Elab.Tactic.VCGen.Reduce | |
| public import Lean.Elab.Tactic.VCGen.SpecDB | |
| public import Lean.Elab.Tactic.VCGen.RuleConstruction | |
| public import Lean.Elab.Tactic.VCGen.Context | |
| public import Lean.Elab.Tactic.VCGen.Util | |
| public import Lean.Elab.Tactic.VCGen.RuleCache | |
| public import Lean.Elab.Tactic.VCGen.Entails | |
| public import Lean.Elab.Tactic.VCGen.Solve | |
| public import Lean.Elab.Tactic.VCGen.Driver | |
| public import Lean.Elab.Tactic.VCGen.SimpAttr | |
| public import Lean.Elab.Tactic.VCGen.RIntroAttr | |
| public import Lean.Elab.Tactic.VCGen.Frontend | |
| /-! | |
| The `vcgen` tactic, split across the modules above. | |
| - `VCGen.Reduce` — SymM head-redex reducer. | |
| - `VCGen.SpecDB` — `SpecTheorem` instantiation, simp-side migration, and `findSpecs` lookup. | |
| - `VCGen.RuleConstruction` — SymM rule constructors from spec/simp/split info. | |
| - `VCGen.Context` — `VCGenM`, its `Context`/`State`, the bundle of pre-built rules. | |
| - `VCGen.Util` — generic VCGenM helpers (`introsHygienic`, `simpGoalTelescope`, `cleanupVC`). | |
| - `VCGen.RuleCache` — VCGenM cache wrappers around the SymM rule constructors. | |
| - `VCGen.Entails` — entailment-shaped goal decomposition (Triple unfolding, state/precondition intro, component and lattice steps). | |
| - `VCGen.Solve` — the main `solve` step / `SolveResult`. | |
| - `VCGen.Driver` — the worklist driver (`work`, `emitVC`, `main`, `Result`). | |
| - `VCGen.SimpAttr` — the `@[vcgen_simp]` theorem set. | |
| - `VCGen.RIntroAttr` — the `@[vcgen_rintro]` binder destructuring rules. | |
| - `VCGen.Frontend` — the `vcgen` syntax + tactic elaborator + `mkSpecContext`. | |
| -/ |