## Return to Answer

3 correct hypothesis

I realized that I completely missed the second part of the question (the example). Note that ZMT implies that $f$ is a quasi-affine morphism. Then $X\to \mathit{Spec}(f_*\mathcal O_X)$ is always an open immersion (see stack project, chapter 21, Lemma 12.3). So the Stein factorization witness ZMT if and only if $f_*\mathcal O_X$ is finite over $\mathcal O_Y$.

Some comments: one should note that in general, the quasi-coherent algebra $f_*\mathcal O_X$ is not finite over $\mathcal O_Y$ and even worse, the morphism $\mathit{Spec}(f_*\mathcal O_X)\to Y$ may not be of finite type (take $Y$ an algebraic variety and $f$ an open immersion. Then $\mathcal O(X)$ is or not finitely generated is related to Hilbert's 14th problem). Now consider a ZMT factorisation $X\to Z\to Y$. If the complementary of $X$ in $Z$ only consists in points of depth at least 2 (see discussions here), then $f_*\mathcal O_X=h_*\mathcal O_Z$ is finite and we are happy. This happens when $X$ is normal (or with non-normal locus finite over $Y$) and surjective to $Y$. Y$with complementary in$Z\$ of codimension at least 2. But I don't have a general criterion.

2 typo in URL

I realized that I completely missed the second part of the question (the example). Note that ZMT implies that $f$ is a quasi-affine morphism. Then $X\to \mathit{Spec}(f_*\mathcal O_X)$ is always an open immersion (see stack project, chapter 21, Lemma 12.3). So the Stein factorization witness ZMT if and only if $f_*\mathcal O_X$ is finite over $\mathcal O_Y$.

Some comments: one should note that in general, the quasi-coherent algebra $f_*\mathcal O_X$ is not finite over $\mathcal O_Y$ and even worse, the morphism $\mathit{Spec}(f_*\mathcal O_X)\to Y$ may not be of finite type (take $Y$ an algebraic variety and $f$ an open immersion. Then $\mathcal O(X)$ is or not finitely generated is related to Hilbert's 14th problem). Now consider a ZMT factorisation $X\to Z\to Y$. If the complementary of $X$ in $Z$ only consists in points of depth at least 2 (see discussions here), then $f_*\mathcal O_X=h_*\mathcal O_Z$ is finite and we are happy. This happens when $X$ is normal (or with non-normal locus finite over $Y$) and surjective to $Y$. But I don't have a general criterion.

1

I realized that I completely missed the second part of the question (the example). Note that ZMT implies that $f$ is a quasi-affine morphism. Then $X\to \mathit{Spec}(f_*\mathcal O_X)$ is always an open immersion (see stack project, chapter 21, Lemma 12.3). So the Stein factorization witness ZMT if and only if $f_*\mathcal O_X$ is finite over $\mathcal O_Y$.

Some comments: one should note that in general, the quasi-coherent algebra $f_*\mathcal O_X$ is not finite over $\mathcal O_Y$ and even worse, the morphism $\mathit{Spec}(f_*\mathcal O_X)\to Y$ may not be of finite type (take $Y$ an algebraic variety and $f$ an open immersion. Then $\mathcal O(X)$ is or not finitely generated is related to Hilbert's 14th problem). Now consider a ZMT factorisation $X\to Z\to Y$. If the complementary of $X$ in $Z$ only consists in points of depth at least 2 (see discussions here), then $f_*\mathcal O_X=h_*\mathcal O_Z$ is finite and we are happy. This happens when $X$ is normal (or with non-normal locus finite over $Y$) and surjective to $Y$. But I don't have a general criterion.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 52, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.929092526435852, "perplexity_flag": "head"}