# On the Solution Set of Semi-Infinite Tensor Complementarity Problem Formalization in Lean 4 of R. Deb and A. K. Das, *"On the solution set of semi-infinite tensor complementarity problem"* (`arXiv:2401.00189v1`, 2023-12-30 source). ## Formalization Notes The notes below record mathematical discrepancies observed while formalizing R. Deb and A. K. Das, *"On the solution set of semi-infinite tensor complementarity problem"* (`arXiv:2401.00189v1`, `2023-12-30` source in `Semi-infinite_TCP.tex`), together with Lean counterexamples on genuine carriers satisfying all standing paper assumptions (`Errata.lean`) and the sharp amended statements (`SolutionSet.lean`, `ErrorBounds.lean`). ### 1. Theorem 3.2: Reversed Envelope Inclusion, Inequalities (3.2)–(3.3), and Line 336 Proof Step - **Source location**: `Semi-infinite_TCP.tex`, Section 3, Theorem 3.2 (lines 319–339; equations (3.2) and (3.3) at lines 325–330; proof line 336). - **Statement and proof-step discrepancies**: 1. Theorem 3.2 asserts $S^* \subseteq \mathrm{SOL}(q_{\max}, \mathcal{A}_{\max}) \cap \mathrm{SOL}(q_{\min}, \mathcal{A}_{\min})$ (written $M_{\max}, M_{\min}$ in the first sentence on line 320 and $\mathcal{A}_{\max}, \mathcal{A}_{\min}$ in (3.4)), derived from the stated inequalities $\max_{\omega \in \Omega}(\mathcal{A}(\omega)x + q(\omega)) \ge \mathcal{A}_{\max} x + q_{\max}$ and $\min_{\omega \in \Omega}(\mathcal{A}(\omega)x + q(\omega)) \le \mathcal{A}_{\min} x + q_{\min}$ for $x \ge 0$. For $x \ge 0$, the opposite inequalities hold componentwise, so the general inclusion is the reverse direction $\mathrm{SOL}(q_{\max}, \mathcal{A}_{\max}) \cap \mathrm{SOL}(q_{\min}, \mathcal{A}_{\min}) \subseteq S^*$ (indeed, the preprint's own Example 3.1 on lines 343–380 explicitly notes strict inclusion $S^* \supset \mathrm{SOL}(q_{\max}, \mathcal{A}_{\max}) \cap \mathrm{SOL}(q_{\min}, \mathcal{A}_{\min})$). 2. The second part of Theorem 3.2 (equality under row-wise common attainment) holds as stated, but its proof on line 336 asserts $\mathrm{SOL}(q_{\min}, \mathcal{A}_{\min}) = \mathrm{SOL}(q(\omega'_i), \mathcal{A}(\omega'_i))$ (and similarly $\mathrm{SOL}(q_{\max}, \mathcal{A}_{\max}) = \mathrm{SOL}(q(\bar{\omega}_i), \mathcal{A}(\bar{\omega}_i))$). When the attaining parameter $\omega'_i$ (or $\bar{\omega}_i$) depends on the coordinate $i$, these full solution-set equalities need not hold. - **Counterexamples**: - `Papers.arxiv_2401_00189.erratum_thm3_2_inclusion_false` (`Errata.lean`) refutes $S^* \subseteq \mathrm{SOL}(q_{\max}, \mathcal{A}_{\max}) \cap \mathrm{SOL}(q_{\min}, \mathcal{A}_{\min})$ on the paper's own Example 3.1 (`exampleTensor`, `exampleQ1`, `exampleOmega = [0, 1]`), where $(0, 1)^\top \in S^* \setminus (\mathrm{SOL}(q_{\max}, \mathcal{A}_{\max}) \cap \mathrm{SOL}(q_{\min}, \mathcal{A}_{\min}))$. - `Papers.arxiv_2401_00189.erratum_thm3_2_ineq_false` (`Errata.lean`) exhibits the continuous order-2 family $\mathcal{A}(\omega) = \mathrm{diag}(1 - \omega, \omega)$, $q(\omega) = (\omega, 1 - \omega)^\top$ on $\Omega = [0, 1]$ at $x = (1, 1)^\top \ge 0$, where $\max_{\omega \in [0, 1]} (\mathcal{A}(\omega)x + q(\omega))_1 = 1 < 2 = (\mathcal{A}_{\max} x + q_{\max})_1$ and $(\mathcal{A}_{\min} x + q_{\min})_1 = 0 < 1 = \min_{\omega \in [0, 1]} (\mathcal{A}(\omega)x + q(\omega))_1$. - `Papers.arxiv_2401_00189.erratum_thm3_2_proof_step_false` (`Errata.lean`) exhibits $\Omega = \{0, 1\}$, $\mathcal{A}(\omega) = \mathrm{diag}(1 + \omega, 2 - \omega)$, $q(\omega) = (-1 + \omega, -\omega)^\top$, where row-wise common attainment holds for both $\mathcal{A}_{\min}, q_{\min}$ ($\omega'_0 = 0$, $\omega'_1 = 1$) and $\mathcal{A}_{\max}, q_{\max}$ ($\bar{\omega}_0 = 1$, $\bar{\omega}_1 = 0$), yet $(1, 1)^\top \in \mathrm{SOL}(q_{\min}, \mathcal{A}_{\min}) \setminus \mathrm{SOL}(q(\omega), \mathcal{A}(\omega))$ and $(0, 0)^\top \in \mathrm{SOL}(q_{\max}, \mathcal{A}_{\max}) \setminus \mathrm{SOL}(q(\omega), \mathcal{A}(\omega))$ for every $\omega \in \Omega$. - **Amended formalization**: `Papers.arxiv_2401_00189.tensorMulVec_infTensor_add_infVec_le`, `Papers.arxiv_2401_00189.tensorMulVec_add_le_supTensor_add_supVec`, `Papers.arxiv_2401_00189.tcpSolutionSet_envelope_inter_subset_sitcpSolutionSet`, and `Papers.arxiv_2401_00189.sitcpSolutionSet_eq_tcpSolutionSet_envelope_inter` (`SolutionSet.lean`, proved via coordinatewise row-subtensor equality). ### 2. Example 3.1: Intermediate Pointwise Solution Formulas (Cases 1 and 2) - **Source location**: `Semi-infinite_TCP.tex`, Section 3, Example 3.1 (Case 1 at line 354; Case 2 at lines 389–393). - **Statement discrepancies**: 1. In Case 1 ($q_1(\omega) = (1, \omega^2)^\top$, line 354), the intermediate pointwise solution list for $\omega \in [0, 1]$ gives the third point as $\bigl(\frac{2(1 - \omega)}{1 - 2\omega^3},\, 1\bigr)^\top$ (missing a minus sign and assuming $1 - 2\omega^3 < 0$). At $\omega = 0 \in [0, 1]$, this evaluates to $(2, 1)^\top$, which does not solve $\mathrm{TCP}(q_1(0), \mathcal{A}(0))$. 2. In Case 2 ($\bar{q} = (1, 1)^\top$, lines 389–393), the intermediate pointwise solution list for $\omega \in [0, 1]$ is written $\{(0, 0)^\top, (\alpha(\omega), 1/\omega)^\top\}$, where $\alpha(\omega)$ is defined as the positive root of $\omega^2(1 - 2\omega^3) x_1^2 - 2\omega(1 - \omega) x_1 - (1 - \omega^2) = 0$: (a) the middle coefficient has the opposite sign ($-2\omega(1 - \omega)x_1$ instead of $+2\omega(1 - \omega)x_1$), so at $\omega = 1/2 \in [0, 1]$ the positive root $\alpha(1/2) = \frac{4 + 2\sqrt{13}}{3}$ gives $(\alpha(1/2), 2)^\top \notin \mathrm{SOL}(\bar{q}, \mathcal{A}(1/2))$; (b) $1/\omega$ is undefined at $\omega = 0$, and even after correcting the sign to $+2\omega(1 - \omega)x_1$, at $\omega = 9/10 \in [0, 1]$ the quadratic is strictly negative for all $x_1 \in \mathbb{R}$, so no real root $\alpha(9/10)$ exists; and (c) at $\omega = 1 \in [0, 1]$, $(1, 0)^\top \in \mathrm{SOL}(\bar{q}, \mathcal{A}(1))$ is omitted from the pointwise list. In both cases, the final solution sets $S^* = \{(0, 0)^\top, (0, 1)^\top\}$ (Case 1) and $S^* = \{(0, 0)^\top\}$ (Case 2) reported by the example remain exact. - **Counterexamples**: - `Papers.arxiv_2401_00189.erratum_ex3_1_pointwise_formula_false` (`Errata.lean`) verifies $0 \in [0, 1]$ and $(2, 1)^\top \notin \mathrm{SOL}(q_1(0), \mathcal{A}(0))$. - `Papers.arxiv_2401_00189.erratum_ex3_1_case2_pointwise_formula_false` (`Errata.lean`) verifies all three Case 2 discrepancies at $\omega = 1/2$, $\omega = 9/10$, and $\omega = 1$ in $[0, 1]$. - **Amended formalization**: Exact verification of $S^*$ and all envelope solution sets in `Example.lean` (`Papers.arxiv_2401_00189.sitcpSolutionSet_exampleQ1_eq`, `Papers.arxiv_2401_00189.exampleQ1_strict_inclusion`, `Papers.arxiv_2401_00189.sitcpSolutionSet_exampleQ2_eq`, `Papers.arxiv_2401_00189.exampleQ2_eq`). ### 3. Theorem 3.4: Residual Omission and Strict Positivity `0 < ε` - **Source location**: `Semi-infinite_TCP.tex`, Section 3, Theorem 3.4 (lines 435–450). - **Note**: 1. In the printed residual $r_y(x) = \max_{\omega \in \Omega} \bigl\Vert \min\{x, [\mathcal{A}(\omega)(x - y)]^{1/(m-1)} + [\mathcal{A}(\omega) y^{m-1}]^{1/(m-1)}\} \bigr\Vert$ (lines 438 and 447), the second bracket omits $+ q(\omega)$ (as well as the exponent $m - 1$ on $(x - y)$ and signed $(m - 1)$-th roots $[\cdot]^{[1/(m-1)]}$). Without $+ q(\omega)$, for $\Omega = \{0\}$, $m = 2$, $n = 1$, $\mathcal{A}(0) = (1)$ (a $P$-tensor), $q(0) = (-1)$, and $y = (1) \in S^* = \{1\}$, the literal residual vanishes at $x = (0)$ while $\mathrm{dist}(0, S^*) = 1$ and $\mathrm{diam}(\mathrm{SOL}(q(0), \mathcal{A}(0))) = 0$. 2. Requiring strictly $\varepsilon > 0$ with $\varepsilon \le \mathrm{diam}(\mathrm{SOL}(q(\omega_0), \mathcal{A}(\omega_0)))$ is inconsistent whenever the fiber solution set $\mathrm{SOL}(q(\omega_0), \mathcal{A}(\omega_0))$ is a singleton (so its diameter is $0$), whereas Definition 2.6 permits $\varepsilon \ge 0$. Note also that ensuring $\max_{\omega \in \Omega}$ is well-defined and attained requires compactness of $\Omega$ and continuity of $\mathcal{A}$ and $q$ on $\Omega$. - **Counterexamples**: - `Papers.arxiv_2401_00189.erratum_thm3_4_missing_q_false` (`Errata.lean`) refutes the $\varepsilon$-error bound for the literal order-2 residual omitting $+ q(\omega)$ under all standing assumptions. - `Papers.arxiv_2401_00189.erratum_thm3_4_strict_eps_false` (`Errata.lean`) shows that for $\Omega = \{0\}$, $m = 2$, $n = 1$, $\mathcal{A}(0) = (1)$, $q(0) = (1)$, all hypotheses (and the amended bound with $\varepsilon = 0$) hold while no $\varepsilon > 0$ satisfies $\varepsilon \le \mathrm{diam}(\mathrm{SOL}(q(0), \mathcal{A}(0))) = 0$. - **Amended formalization**: `Papers.arxiv_2401_00189.sitcp_epsErrorBound_of_isPTensor` and `Papers.arxiv_2401_00189.hasEpsErrorBound_sitcpZzhResidual_of_isPTensor` (`ErrorBounds.lean`), using the complete Zheng–Zhang–Huang residual `sitcpZzhResidual`, compactness of $\Omega$, continuity of $\mathcal{A}, q$, and $0 \le \varepsilon$. ### 4. Theorem 3.6: Proof-Step Normalization by `‖xₙ‖^(m - 1)` for `m ≥ 3` - **Source location**: `Semi-infinite_TCP.tex`, Section 3, proof of Theorem 3.6 (lines 484–489). - **Proof-step discrepancy**: In the "Only if part" proof, given an unbounded sequence $\Vert x_n \Vert \to \infty$, the text assumes $\frac{x_n}{\Vert x_n \Vert^{m-1}}$ converges to a limit $x_0$ with $\Vert x_0 \Vert = 1$ (and divides by $\Vert x_n \Vert^{2(m-1)}$ in (3.18)). When $m \ge 3$, $\bigl\Vert \frac{x_n}{\Vert x_n \Vert^{m-1}} \bigr\Vert = \Vert x_n \Vert^{2 - m} \to 0$, so no subsequence can converge to a unit vector. (In lines 458, 480, and 486, $\mathcal{A}(\omega)x$ also appears as shorthand for $\mathcal{A}(\omega)x^{m-1}$ or $\mathcal{A}(\omega)x_n^{m-1}$.) - **Counterexample**: `Papers.arxiv_2401_00189.erratum_thm3_6_proof_normalization_false` (`Errata.lean`) proves that for every $m \ge 3$ and every unbounded sequence $(x_n)$ in $\mathbb{R}$, $\Vert x_n \Vert^{-(m-1)} x_n \to 0$ and no subsequence converges to a unit vector. - **Amended formalization**: Theorem 3.6 itself holds verbatim (with $\mathcal{A}(\omega)x^{m-1}$) by normalizing on the Euclidean unit sphere via $\Vert x_n \Vert^{-1} x_n$, proved in `Papers.arxiv_2401_00189.isLevelBounded_sitcpLevelResidual_iff_isSemiInfiniteR0Tensor` (`ErrorBounds.lean`). ## Source & Attribution - **Title**: On the solution set of semi-infinite tensor complementarity problem - **Authors**: R. Deb, A. K. Das - **Copyright**: Copyright © 2023 R. Deb, A. K. Das. - **Source**: [https://arxiv.org/abs/2401.00189](https://arxiv.org/abs/2401.00189) (`arXiv:2401.00189v1`, `2023-12-30` source in `Semi-infinite_TCP.tex`) - **License**: Creative Commons Attribution 4.0 International (CC BY 4.0) — [https://creativecommons.org/licenses/by/4.0/](https://creativecommons.org/licenses/by/4.0/) (legal code: [https://creativecommons.org/licenses/by/4.0/legalcode](https://creativecommons.org/licenses/by/4.0/legalcode)) - **Warranty Disclaimer**: Provided without warranties (CC BY 4.0 Section 5 Disclaimer of Warranties). - **Modification Notice**: This Lean 4 formalization, and `README.md` are an AI-generated adapted work modified from the original preprint. - **Non-Endorsement**: No endorsement by the authors or arXiv is implied. ## Mathematical Scope This formalization covers all definitions, theorems, corollaries, and illustrative examples in Sections 2 and 3 of `Semi-infinite_TCP.tex` under standard Lean axioms (`propext`, `Classical.choice`, `Quot.sound`), including standalone Lean proofs of the cited finite-dimensional tensor complementarity prerequisites (Song–Yu boundedness for $R_0$-tensors, Bai–Huang–Wang existence and compactness for $P$-tensors, and Zheng–Zhang–Huang global error bounds for $P$-tensors). Where the compiled preprint contains statement or proof-step discrepancies (Theorem 3.2 envelope inclusion orientation, inequalities (3.2)–(3.3), and line 336 proof step; Example 3.1 intermediate pointwise solution formulas in Cases 1 and 2; Theorem 3.4 missing $+ q(\omega)$ residual term and strict `0 < ε`; Theorem 3.6 proof normalization by $\|x_n\|^{m-1}$), we formalize the sharp amended theorems alongside compiling counterexamples on genuine carriers in `Errata.lean`; see `## Formalization Notes`. ## Source-to-Module Mapping | Source Section / Item | Lean Module | Key Declarations | |:--- |:--- |:--- | | Section 2 (TCP, $S$-/$P$-/$R_0$-tensors, Song–Yu, Bai–Huang–Wang, Zheng–Zhang–Huang) | `PaperLib.Optimization.Complementarity.Tensor` | `Complementarity.tensorMulVec`, `Complementarity.IsSTensor`, `Complementarity.IsPTensor`, `Complementarity.IsR0Tensor`, `Complementarity.IsR0Tensor.isCompact_tcpSolutionSet`, `Complementarity.IsPTensor.nonempty_and_isCompact_tcpSolutionSet`, `Complementarity.IsPTensor.exists_euclidean_infDist_le_pTensorResidual` | | Section 3 (SITCP, envelopes, semi-infinite $S$-/$R_0$-tensors, residuals) | [Defs.lean](Papers/arxiv_2401_00189/Defs.lean) | `Papers.arxiv_2401_00189.IsSITCPSolution`, `Papers.arxiv_2401_00189.sitcpFeasibleSet`, `Papers.arxiv_2401_00189.sitcpSolutionSet`, `Papers.arxiv_2401_00189.supTensor`, `Papers.arxiv_2401_00189.infTensor`, `Papers.arxiv_2401_00189.supVec`, `Papers.arxiv_2401_00189.infVec`, `Papers.arxiv_2401_00189.IsSemiInfiniteSTensor`, `Papers.arxiv_2401_00189.IsSemiInfiniteR0Tensor`, `Papers.arxiv_2401_00189.sitcpZzhResidual`, `Papers.arxiv_2401_00189.sitcpLevelResidual` | | Section 3, Theorem 3.1 (FIP & compactness) | [SolutionSet.lean](Papers/arxiv_2401_00189/SolutionSet.lean) | `Papers.arxiv_2401_00189.sitcpSolutionSet_nonempty_iff_finset`, `Papers.arxiv_2401_00189.sitcpSolutionSet_nonempty_iff_fin`, `Papers.arxiv_2401_00189.isCompact_sitcpSolutionSet_of_isR0Tensor` | | Section 3, Theorem 3.2 (repaired envelope bounds & equality) | [SolutionSet.lean](Papers/arxiv_2401_00189/SolutionSet.lean) | `Papers.arxiv_2401_00189.tensorMulVec_infTensor_add_infVec_le`, `Papers.arxiv_2401_00189.tensorMulVec_add_le_supTensor_add_supVec`, `Papers.arxiv_2401_00189.tcpSolutionSet_envelope_inter_subset_sitcpSolutionSet`, `Papers.arxiv_2401_00189.sitcpSolutionSet_eq_tcpSolutionSet_envelope_inter` | | Section 3, Theorem 3.3 & Corollary 3.1 (semi-infinite $S$-tensors & feasibility) | [SolutionSet.lean](Papers/arxiv_2401_00189/SolutionSet.lean) | `Papers.arxiv_2401_00189.isSemiInfiniteSTensor_iff_forall_continuousOn_feasible`, `Papers.arxiv_2401_00189.sitcpFeasibleSet_nonempty_of_isSTensor_infTensor` | | Section 3, Example 3.1 & $T_{4,2}$ non-vacuity witness | [Example.lean](Papers/arxiv_2401_00189/Example.lean) | `Papers.arxiv_2401_00189.exampleTensor`, `Papers.arxiv_2401_00189.sitcpSolutionSet_exampleQ1_eq`, `Papers.arxiv_2401_00189.exampleQ1_strict_inclusion`, `Papers.arxiv_2401_00189.exampleQ2_eq`, `Papers.arxiv_2401_00189.exists_nonDiag_order4_sitcp_witness` | | Section 3, Theorems 3.4, 3.5, 3.6 (error bounds & level boundedness) | [ErrorBounds.lean](Papers/arxiv_2401_00189/ErrorBounds.lean) | `Papers.arxiv_2401_00189.sitcp_epsErrorBound_of_isPTensor`, `Papers.arxiv_2401_00189.isSemiInfiniteR0Tensor_of_isR0Tensor`, `Papers.arxiv_2401_00189.isLevelBounded_sitcpLevelResidual_iff_isSemiInfiniteR0Tensor` | | Statement & proof-step discrepancy witnesses | [Errata.lean](Papers/arxiv_2401_00189/Errata.lean) | `Papers.arxiv_2401_00189.erratum_thm3_2_inclusion_false`, `Papers.arxiv_2401_00189.erratum_thm3_2_ineq_false`, `Papers.arxiv_2401_00189.erratum_thm3_2_proof_step_false`, `Papers.arxiv_2401_00189.erratum_ex3_1_pointwise_formula_false`, `Papers.arxiv_2401_00189.erratum_ex3_1_case2_pointwise_formula_false`, `Papers.arxiv_2401_00189.erratum_thm3_4_missing_q_false`, `Papers.arxiv_2401_00189.erratum_thm3_4_strict_eps_false`, `Papers.arxiv_2401_00189.erratum_thm3_6_proof_normalization_false` | | Umbrella re-export | [../arxiv-2401.00189.lean](Papers/arxiv_2401_00189/) | Re-exports `Defs`, `SolutionSet`, `Example`, `ErrorBounds`, `Errata` |