Open dselsam opened 3 years ago
Auto-capitalizing would introduce new problems though. If Mathlib.fin
became Mathlib.Fin
, then neither Fin
would be usable outside of the Mathlib
namespace. Having two Fin
s is already annoying though. Maybe auto-capitalization + more-alignments is the way to go.
Lean4 capitalization conventions have changed. For example, types are now capitalized, so
set α
would normally be written asSet α
. These mismatches make using the auto-ported Mathlib libraries in Lean4 rather awkward. Also, when theMathlib
namespace is merely opened,MonadStateOf.set
(exported into_root_
inInit
) clashes withMathlib.set
and so the full nameMathlib.set
must be written explicitly.Both problems would be solved by having mathport automatically change the capitalization of the names as appropriate.