Zulip Chat Archive

Stream: mathlib4

Topic: Gamma capitalization


Violeta Hernández (Jan 26 2026 at 12:46):

I notice that docs#Complex.Gamma, as well as theorems about it, all spell Gamma in uppercase. Does this not go against the naming conventions?

Thomas Browning (Jan 26 2026 at 12:52):

This seems to go all the way back to this discussion: https://github.com/leanprover-community/mathlib3/pull/12917#pullrequestreview-929584301

Aaron Liu (Jan 26 2026 at 13:00):

I think there's a thing in the naming convention that says about naming files uppercase unless the file is about a specifically lowercased object. This should fall under an analogous exception for naming things.

Violeta Hernández (Jan 26 2026 at 13:01):

I mean, we didn't capitalize docs#Ordinal.gamma even though it refers to the same letter with the same capitalization

Violeta Hernández (Jan 26 2026 at 13:01):

I guess it makes sense to avoid confusing with Euler's γ, though I'd expect that to be called something like eulerGamma or eulerMascheroni anyways.

Aaron Liu (Jan 26 2026 at 13:15):

docs#Real.eulerMascheroniConstant

Aaron Liu (Jan 26 2026 at 13:16):

it's not even in the same namespace

Violeta Hernández (Jan 26 2026 at 13:16):

Aaron Liu said:

it's not even in the same namespace

docs#Real.Gamma

Aaron Liu (Jan 26 2026 at 13:17):

oh of course yeah why didn't I think of that


Last updated: Feb 28 2026 at 14:05 UTC