AFTD Auto-Formalizing Theoretical Domains

op2046_majorizes_self

theoremverified

Every finite real vector with positive sum majorizes itself after normalization.

Statement

theorem op2046_majorizes_self (n : ℕ) (x : Fin n → ℝ) (hx : 0 < (∑ i, x i)) : op2046_majorizes n x x
Source
Definition sanity check for OP-2046.
Verified
20 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • op2046_majorizesFor two real vectors with positive sums, every subset sum of the second normalized vector is bounded by some same-cardinality subset sum…

The proof, explained

By definition, a vector with positive sum majorizes itself if for every coordinate subset $T$, there is a subset $S$ of equal cardinality whose normalized sum is at least that of $T$. Taking $S = T$ trivially satisfies both the equal cardinality condition and the inequality by reflexivity.

  1. $x$ majorizes itself

    By definition, a vector $x$ majorizes another vector $y$ if both coordinate sums are strictly positive and, for any index set $T$, there exists an index set $S$ of the same cardinality such that the normalized sum of $y$ on $T$ is at most the normalized sum of $x$ on $S$. To show $x$ majorizes itself, the positivity of $\sum_i x_i$ is supplied twice by the hypothesis $hx$. For any index set $T$, setting the witness subset $S$ to be $T$ itself makes the cardinality equality $|T| = |T|$ hold by reflexivity of equality (`rfl`), and the normalized sum inequality holds by reflexivity of the ordering $\le$ (`le_rfl`).

    line 6

    uses rfl, le_rfl

      exact ⟨hx, hx, fun T => ⟨T, rfl, le_rfl⟩⟩
rfl
equality is reflexive ($a = a$ for any $a$)
le_rfl
the preorder relation $\le$ is reflexive ($a \le a$ for any $a$)

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

open scoped BigOperators Matrix Topologyopen MeasureTheory ProbabilityTheory Filternoncomputable sectiontheorem op2046_majorizes_self (n : ℕ) (x : Fin n → ℝ) (hx : 0 < (∑ i, x i)) : op2046_majorizes n x x := by  exact ⟨hx, hx, fun T => ⟨T, rfl, le_rfl⟩⟩
See it in the graphDiscuss this resultChallenge it