leanprover-community / mathport

Mathport is a tool for porting Lean3 projects to Lean4
Apache License 2.0
43 stars 15 forks source link

Theorem names beginning with `_root_` are not properly translated #210

Open winstonyin opened 1 year ago

winstonyin commented 1 year ago

See Mathlib.Data.Set.Image, _root_.function.injective.mem_set_image is defined under the namespace set, but is translated to Function.Injective.mem_set_image without the _root_ prefix, thus causing the definition to become Set.Function.Injective.mem_set_image.