/-- A Lie group is a group and a smooth manifold at the same time in which
the multiplication and inverse operations are smooth. -/
-- See note [Design choices about smooth algebraic structures]
@[ancestor has_smooth_mul, to_additive]
class lie_group {๐ : Type*} [nontrivially_normed_field ๐]
{H : Type*} [topological_space H]
{E : Type*} [normed_add_comm_group E] [normed_space ๐ E] (I : model_with_corners ๐ E H)
(G : Type*) [group G] [topological_space G] [charted_space H G]
extends has_smooth_mul I G : Prop :=
(smooth_inv : smooth I I (ฮป a:G, aโปยน))
In particular, the output of Lean Chat didn't talk at all about needing a smooth inverse function.Anyway, I very much agree with you that there are risks here. At the same time, I think this can be an extremely useful tool for new users trying to get started. Because mathlib is approaching 1M lines of code, and a tool like this might help a lot in discovering parts of the library. As you say, it can already be used as some sort of snippet-engine-on-steroids.