gap order comparison
ProvedFreiman.gap_order_comparisonfreimangaphall-ray
Choose the least differing index to turn all allowed digit comparisons into the two non-strict tail bounds.
Preamble
import Definitions.Def_Freiman_gapModel
Formal statement
namespace Freiman theorem gap_order_comparison (horder : ∀ (b c : ℕ → ℕ+) (n : ℕ), gapSameBefore b c n → b n ≠ c n → (cfValue b < cfValue c ↔ if Even n then c n < b n else b n < c n)) (b c : ℕ → ℕ+) : ((∀ n, gapSameBefore b c n → gapUpperDigit b c n) → cfValue b ≤ cfValue c) ∧ ((∀ n, gapSameBefore b c n → gapLowerDigit b c n) → cfValue c ≤ cfValue b) := by sorry end Freiman
Source
Freiman Hall ray report, m3_maximum.tex and m3_minimum.tex; first-difference arguments