Left to Solve
Problems / MathOverflow (not formalized)

Optimal transport warping implementation in Matlab

Open, not yet stated in LeanMathOverflow (not formalized)Real Functionsdifficulty55/100

Statement

I am implementing the paper "Optimal Mass Transport for Registration and Warping", my goal being to put it online as I just cannot find any eulerian mass transportation code online and this would be interesting at least for the research community in image processing.

The paper can be summarized as follows :

- find an initial map using 1D histogram matchings along the x and y coordinates

- solve for the fixed point of , where stands for a 90 degrees counter clockwise rotation, for the solution of the poisson equation with Dirichlet boundary conditions (=0), and is the determinant of the Jacobian matrix.

- stability is guaranteed for a timestep

For numerical simulations (performed on a regular grid), they indicate using matlab's poicalc for solving the poisson equation, they use centered finite differences for spatial derivatives, except for which is computed using an upwind scheme.

Using my code, the energy functional and curl of the mapping are properly decreasing for a couple iterations (from a few tens …

Posed by WhitAngl · differential-equations, image-processing, na.numerical-analysis

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-96267.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-96267.lean

import Mathlib

/-!
# Optimal transport warping implementation in Matlab

Source: https://mathoverflow.net/questions/96267
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_96267

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_96267