Module docstring
{"# Environment extension for the forward-reasoning part of the gcongr tactic
"}
{"# Environment extension for the forward-reasoning part of the gcongr tactic
"}
Mathlib.Tactic.GCongr.ForwardExt
structure
/-- An extension for `gcongr_forward`. -/
structure ForwardExt where
eval (h : Expr) (goal : MVarId) : MetaM Unit
Mathlib.Tactic.GCongr.mkForwardExt
definition
(n : Name) : ImportM ForwardExt
/-- Read a `gcongr_forward` extension from a declaration of the right type. -/
def mkForwardExt (n : Name) : ImportM ForwardExt := do
let { env, opts, .. } ← read
IO.ofExcept <| unsafe env.evalConstCheck ForwardExt opts ``ForwardExt n
Mathlib.Tactic.GCongr.forwardExt
opaque
: PersistentEnvExtension Name (Name × ForwardExt) (List Name × List (Name × ForwardExt))