I have recently noticed that
lowercase('𝐴')
# '𝐴': Unicode U+1D434 (category Lu: Letter, uppercase)
and
uppercase('𝑎')
# '𝑎': Unicode U+1D44E (category Ll: Letter, lowercase)
do not behave as I would have expected, as 𝐴 and 𝑎 have the same(-ish) relation as A and a, one being the capital form, the other the small form.
This seems to be the case for all Characters in the Unicode Block “Mathematical Alphanumeric Symbols” that have both lower-case and upper-case (Small and Capital) forms, as well as some Characters where the corresponding lower-case or upper-case form is in the Unicode block “Letterlike Symbols” (for example ‘ℛ’ and ‘𝓇’. )
Is this behaviour intended?