How to define a function that has these specific properties?
Statement
Suppose . For , we write or if and
\begin{align*} x_{i(x,y)} > y_{i(x,y)},\quad \text{ where } \quad i(x,y) := \max\{ i: x_i \neq y_i\}. \end{align*}
That is, for any two vectors and that are not equal, we let be the last position on which they differ and say that if the coordinate of at is larger than the corresponding coordinate of . We write if either or , and similarly for . This is a total order.
For example, if and then because they are equal on the last three positions and the next position that they differ is the second coordinate, since 3>2 we conclude that . This is called "reflected lexicographic order".
Now, let , we are interested in defining a function that has the following properties:
•
•
• When one of the coordinates of x is 1 and the rest are 0, then , for …
Posed by ie86 · co.combinatorics, order-theory, multivariable-calculus
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-374341.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-374341.lean
import Mathlib /-! # How to define a function that has these specific properties? Source: https://mathoverflow.net/questions/374341 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_374341 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_374341