Matrix normalization for constant row and column sums
Statement
From a mxn matrix M with only strictly positive elements, I want to multiply each row and each column by real values in order to obtain a matrix N whose row sums are all 1/m and column sums are all 1/n.
For instance if n=m=2
then
and we want that
In general, We see that we have m+n variables with m+n-1 non-linear equations. (the equations over rows give the sum of all elements of the matrix as the equations over columns). So we can set the value of one of the coefficient (eg : in the previous example)
I can easily find the result for m=n=2 and I imagine that the resolution practicly feasible but I would like to find a general formula whatever would be m or n.
Any help would be welcome.
Posed by Arnaud · matrices
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-57962.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-57962.lean
import Mathlib /-! # Matrix normalization for constant row and column sums Source: https://mathoverflow.net/questions/57962 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_57962 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_57962