Upper bound: some has
ProvedRhoMin.every_nLet be a permutation of . The graph on has P-edges and V-edges with consecutive integers. A PC path is a sequence of distinct vertices whose consecutive vertices are joined by edges of alternating colours, and is the largest number of vertices of a PC path of .
For every there is a permutation of with
This is the quantitative form of the upper half of the main theorem.
Formalization Note The inequality is written as , with the natural number Nat.log 2 n, so that no truncated subtraction occurs.
import Definitions.Def_RhoMin_Defs import Mathlib.Data.Nat.Log import Mathlib.Order.Interval.Finset.Nat import Mathlib.Data.Fintype.Perm import Mathlib.Data.Fintype.Card import Mathlib.Data.List.Nodup import Mathlib.Data.Nat.Find import Mathlib.Data.List.FinRange import Mathlib.Data.Finset.Lattice.Fold import Mathlib.Data.Finset.Card import Mathlib.Data.List.Count import Mathlib.Algebra.BigOperators.Group.Finset.Basic import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Data.Fintype.Inv open RhoMin
theorem RhoMin.every_n {n : ℕ} (hn : 8 ≤ n) : ∃ σ : Equiv.Perm (Fin n), rho σ + 19 ≤ 14 * Nat.log 2 n := by sorryRead-back
What the Lean code literally says, in plain math · claude-fable-5-2
Statement. Let be a natural number with . Then there exists a permutation of such that
This is a non-strict inequality between natural numbers. Here is the floor of the base-2 logarithm, i.e. the largest natural number with (not the real logarithm). Only existence of one such is asserted (no uniqueness, and no claim about other permutations).
Meaning of . For :
- are P-adjacent if or (as natural numbers); this does not depend on .
- are V-adjacent if or (as natural numbers).
A finite list of elements of is alternating with starting colour (where is either P or V) if for every with , the pair is adjacent in colour when is even and adjacent in the other colour when is odd. The empty list and every one-element list are alternating for either starting colour. A pair that happens to be both P-adjacent and V-adjacent may serve as a step of either colour.
A list is a PC list if its entries are pairwise distinct and it is alternating for at least one of the two starting colours.
is the largest natural number such that there exists a PC list for with exactly entries (the count is of entries, not of steps). Always when .
Edge cases. Nothing is asserted for . For the claim reads , i.e. . Since for every permutation by definition, the inequality holds for every permutation of whenever , which is the case exactly for and for . Because the logarithm is floored, the right-hand side is constant on each range .