%% Mathematical notation used in the papers of Yoshito Ishiki. %% See ishiki-symbols.tex for signatures, examples, and source conventions. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{ishiki-math}[2026/11/21 v1.1 Yoshito Ishiki's mathematical notation] \newif\ifishiki@japanese \DeclareOption{japanese}{\ishiki@japanesetrue} \newif\ifishiki@aliases \DeclareOption{aliases}{\ishiki@aliasestrue} \ProcessOptions\relax \RequirePackage{mathtools} \RequirePackage{amssymb} % Japanese manuscripts use upright black boldface for semantic emphasis. % The explicit option also works with language-neutral classes such as amsart. \DeclareTextFontCommand{\ishiki@jaemph}{% \upshape\bfseries\ifdefined\color\color{black}\fi} \ExplSyntaxOn \cs_new_protected:Npn \ishiki@checkjpclass #1 { \@ifclassloaded{#1}{\@ifclasswith{#1}{english}{}{\ishiki@japanesetrue}}{} } \AddToHook{begindocument/end}{ % A language package takes precedence over the class default. \@ifpackageloaded{babel}{}{\@ifpackageloaded{polyglossia}{}{ \clist_map_function:nN { jarticle,jreport,jbook,tarticle,treport,tbook,jsarticle,jsreport,jsbook, ltjarticle,ltjreport,ltjbook,ltjsarticle,ltjsreport,ltjsbook,jlreq } \ishiki@checkjpclass }} \cs_if_exist:NT \languagename { \str_if_eq:eeT { \languagename } { japanese } { \ishiki@japanesetrue } } \ifishiki@japanese \cs_set_eq:NN \emph \ishiki@jaemph \fi } \ExplSyntaxOff % Paper 12 uses Euler script for spaces and CM calligraphic for distances. % Keep the choice local to these commands, including in documents using RSFS. \DeclareMathAlphabet{\ishiki@script}{U}{eus}{m}{n} \SetMathAlphabet{\ishiki@script}{bold}{U}{eus}{b}{n} % Number systems, subseries, and sets (papers 4, 6, 10, and 12). \newcommand*{\N}{\mathbb{N}} \newcommand*{\Z}{\mathbb{Z}} \newcommand*{\Q}{\mathbb{Q}} \newcommand*{\R}{\mathbb{R}} \newcommand*{\C}{\mathbb{C}} \newcommand*{\Nzero}{\Z_{\ge 0}} \newcommand*{\Npos}{\Z_{\ge 1}} \newcommand*{\ind}{\mathbf{1}} \newcommand*{\fin}{\Q^{(\Nzero)}} \newcommand*{\spanR}{\operatorname{span}_{\R}} \DeclareMathOperator{\Card}{Card} \newcommand*{\yoconti}{\mathfrak{c}} \DeclarePairedDelimiter{\abs}{\lvert}{\rvert} \DeclarePairedDelimiter{\norm}{\lVert}{\rVert} \DeclarePairedDelimiter{\paren}{(}{)} \DeclarePairedDelimiter{\bracket}{[}{]} \DeclarePairedDelimiter{\set}{\lbrace}{\rbrace} \DeclarePairedDelimiter{\ceil}{\lceil}{\rceil} \DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor} % Balls (paper 6), dimensions (Factorization), and pseudo-cones. \newcommand*{\yoopenball}[3]{\mathrm{U}(#1,#2;#3)} \newcommand*{\yoclosedball}[3]{\mathrm{B}(#1,#2;#3)} \DeclareMathOperator{\diam}{diam} \DeclareMathOperator{\dist}{dist} \DeclareMathOperator{\cl}{cl} \DeclareMathOperator{\Int}{Int} \newcommand*{\yotdim}[1]{\dim\nolimits_{\mathrm{T}}(#1)} \newcommand*{\yorhdim}[1]{\dim\nolimits_{\mathrm{H}}(#1)} \newcommand*{\yorpdim}[1]{\dim\nolimits_{\mathrm{P}}(#1)} \newcommand*{\yorlbdim}[1]{\mathop{\underline{\mathrm{dim}}}\nolimits_{\mathrm{B}}(#1)} \newcommand*{\yorubdim}[1]{\mathop{\overline{\mathrm{dim}}}\nolimits_{\mathrm{B}}(#1)} \newcommand*{\yoradim}[1]{\dim\nolimits_{\mathrm{A}}(#1)} \newcommand*{\yordimset}[2]{\mathrm{FD}(#1;#2)} \newcommand*{\yordimsetq}[2]{\mathrm{TD}(#1;#2)} \DeclareMathOperator{\pc}{PC} % Fixed-topology metric spaces. The yo forms from paper 6 take arguments; % the three bare operators from paper 10 can also take subscripts. \DeclareMathOperator{\Met}{Met} \DeclareMathOperator{\CPM}{CPM} \DeclareMathOperator{\Comp}{Comp} \newcommand*{\yometsp}[1]{\Met(#1)} \newcommand*{\yocpm}[1]{\CPM(#1)} \newcommand*{\yocomp}[1]{\Comp(#1)} \newcommand*{\yometbd}[1]{\mathrm{BMet}(#1)} \newcommand*{\yocpmbd}[1]{\mathrm{BCPM}(#1)} \newcommand*{\Compbd}[1]{\Comp_{\mathrm{bd}}(#1)} \newcommand*{\yometdis}[1]{\mathcal{D}_{#1}} \newcommand*{\yovalset}[2]{\mathrm{Val}(#1;#2)} % Prescribed-range ultrametrics. The second argument is the range set. \newcommand*{\UMet}[2]{\mathrm{UMet}(#1;#2)} \newcommand*{\UCPM}[2]{\mathrm{UCPM}(#1;#2)} \newcommand*{\UComp}[2]{\mathrm{UComp}(#1;#2)} \newcommand*{\UMetbd}[2]{\mathrm{UMet}_{\mathrm{bd}}(#1;#2)} \newcommand*{\UCPMbd}[2]{\mathrm{UCPM}_{\mathrm{bd}}(#1;#2)} \newcommand*{\UCompbd}[2]{\mathrm{UComp}_{\mathrm{bd}}(#1;#2)} \DeclareMathOperator{\umetdis}{\mathcal{UD}} \newcommand*{\youltsp}[2]{\UMet{#1}{#2}} \newcommand*{\youcpm}[2]{\UCPM{#1}{#2}} \newcommand*{\youcompm}[2]{\UComp{#1}{#2}} \newcommand*{\youmetdis}{\umetdis} % Components, trees, and ordered groups. A range other than R can be passed % explicitly, e.g. \youcclq[S]{u}; \youcclq{u} retains paper 10's output. \newcommand*{\yopclq}[1]{\mathfrak{P}_{#1}} \newcommand*{\yocclq}[1]{\mathfrak{C}(#1)} \newcommand*{\youpclq}[2][R]{\mathfrak{P}^{#1}_{#2}} \newcommand*{\youcclq}[2][R]{\mathfrak{C}^{#1}(#2)} \newcommand*{\yoomega}{\omega_{0}} \newcommand*{\CantorSpace}{{}^{\yoomega}2} \newcommand*{\Baire}{{}^{\yoomega}\yoomega} \newcommand*{\Nseq}{\mathcal{S}} \newcommand*{\restr}{\mathord{\upharpoonright}} \DeclareMathOperator{\Tr}{Tr} \DeclareMathOperator{\WF}{WF} \newcommand*{\Arc}[1]{\mathbf{A}(#1)} \newcommand*{\metrank}{\ishiki@script{MG}} % Gromov--Hausdorff geometry (paper 12). \newcommand*{\MetricSpace}[2]{(#1,#2)} \newcommand*{\MetricQuotient}[2]{[#1,#2]} \newcommand*{\GHSpace}{\ishiki@script{M}} \newcommand*{\UnitDiameterGHSpace}{\GHSpace_{1}} \newcommand*{\GHDistance}{\mathcal{GH}} \newcommand*{\CompactHyperspace}{\ishiki@script{K}} \newcommand*{\HausdorffDistance}[1]{\mathcal{H}[#1]} \DeclareMathOperator{\Isom}{Isom} \DeclareMathOperator{\Cor}{Cor} \DeclareMathOperator{\dis}{dis} \newcommand*{\SeparableHilbertSpace}{\ell^{2}} \newcommand*{\UltrametricGHSpace}{\ishiki@script{U}} \newcommand*{\NonArchimedeanGHDistance}{\mathcal{GH}_{\mathrm{NA}}} % Measures and metric measure geometry (paper 12 and Isometric Extensor). \newcommand*{\MeasuredSpace}[3]{(#1,#2,#3)} \newcommand*{\ProbabilityMeasures}{\operatorname{\ishiki@script{P}\!rob}} \newcommand*{\FullSupportProbabilities}[1]{\ProbabilityMeasures_{\mathrm{fs}}(#1)} \newcommand*{\InvariantProbabilities}[2]{\ProbabilityMeasures_{\mathrm{inv}}(#1,#2)} \DeclareMathOperator{\supp}{supp} \newcommand*{\DiracProbability}{\delta} \newcommand*{\Pushforward}{_{*}} \newcommand*{\ProkhorovDistance}[1]{\mathcal{LP}[#1]} \newcommand*{\GHPDistance}{\mathcal{GHP}} \newcommand*{\MMClassSpace}{\mathcal{X}} \newcommand*{\BoxDistance}{\square} \newcommand*{\KyFanDistance}{d_{\mathrm{KF}}} \newcommand*{\ConcentrationDistance}{d_{\mathrm{conc}}} \newcommand*{\LipschitzObservables}{\operatorname{Lip}_{1}} \newcommand*{\yowassp}[1]{\mathrm{W}_{1}(#1)} \newcommand*{\yowasdis}[1]{\mathrm{W}_{1}[#1]} % Optional aliases. A command already owned by another package or class % keeps its meaning. The main commands above remain available in that case. \ifishiki@aliases \providecommand*{\nn}{\N} \providecommand*{\zz}{\Z} \providecommand*{\qq}{\Q} \providecommand*{\rr}{\R} \providecommand*{\cc}{\C} \providecommand*{\NonnegativeIntegers}{\Nzero} \providecommand*{\PositiveIntegers}{\Npos} \providecommand*{\Integers}{\Z} \providecommand*{\Rationals}{\Q} \providecommand*{\RealNumbers}{\R} \providecommand*{\ComplexNumbers}{\C} \providecommand*{\Indicator}{\ind} \providecommand*{\card}{\Card} \providecommand*{\yodiam}{\diam} \providecommand*{\CompatibleMetrics}{\Met} \fi \endinput