AFTD Auto-Formalizing Theoretical Domains

grid57_prefix_obstruction

def

The sorted six-column continuation of the two given columns cannot maintain accumulated pair cost at most nine.

Statement

def grid57_prefix_obstruction (fixed a : Fin 32) : Prop
Source
OP-1867: sorted-column finite obstruction computed in experiments 43999 and 44004–44005; related work arXiv:2611.19635 section 6.
Verified
28 Nov 2026
Axioms
none listed
Built on 1
  • grid57_pair_costAn explicit table of monochromatic rectangle counts determined by two five-bit columns.
Used by 6
  • grid57_fixed0_prefix_group3The fixed column 0 and any sorted next column in the indicated eight-value range cannot extend to seven columns with pair cost at most nine.
  • grid57_fixed1_prefix_group2The fixed column 1 and any sorted next column in the indicated eight-value range cannot extend to seven columns with pair cost at most nine.
  • grid57_fixed0_prefix_group2The fixed column 0 and any sorted next column in the indicated eight-value range cannot extend to seven columns with pair cost at most nine.
  • grid57_fixed0_prefix_group0The fixed column 0 and any sorted next column in the indicated eight-value range cannot extend to seven columns with pair cost at most nine.
  • grid57_fixed0_prefix_group1The fixed column 0 and any sorted next column in the indicated eight-value range cannot extend to seven columns with pair cost at most nine.
  • grid57_fixed1_prefix_group3The fixed column 1 and any sorted next column in the indicated eight-value range cannot extend to seven columns with pair cost at most nine.

Lean source view module on GitHub

def grid57_prefix_obstruction (fixed a : Fin 32) : Prop :=
  let c1 := grid57_pair_cost fixed a
  c1 ≤ 9 →
  ∀ b : Fin 32, a ≤ b →
  let c2 := c1 + grid57_pair_cost fixed b + grid57_pair_cost a b
  c2 ≤ 9 →
  ∀ c : Fin 32, b ≤ c →
  let c3 := c2 + grid57_pair_cost fixed c + grid57_pair_cost a c + grid57_pair_cost b c
  c3 ≤ 9 →
  ∀ d : Fin 32, c ≤ d →
  let c4 := c3 + grid57_pair_cost fixed d + grid57_pair_cost a d + grid57_pair_cost b d + grid57_pair_cost c d
  c4 ≤ 9 →
  ∀ e : Fin 32, d ≤ e →
  let c5 := c4 + grid57_pair_cost fixed e + grid57_pair_cost a e + grid57_pair_cost b e + grid57_pair_cost c e + grid57_pair_cost d e
  c5 ≤ 9 →
  ∀ f : Fin 32, e ≤ f →
  let c6 := c5 + grid57_pair_cost fixed f + grid57_pair_cost a f + grid57_pair_cost b f + grid57_pair_cost c f + grid57_pair_cost d f + grid57_pair_cost e f
  c6 ≤ 9 →
  False
See it in the graphDiscuss this resultChallenge it