The cheese cut (one plane through a cube of cubes)

7 of 8 main results in Lean (88%); 1 of 8 Lean + certificate (Theorem 1 for all n ≥ 3 combines Lean for n ≤ 32 and n ≥ 700 with two independent exact-integer C certificates for n = 33–699); 0 written-only; 1 open conjecture · AI-generated and directed by Tyler B. Hughes · No human mathematician has yet refereed the proof.

Lean proves that one flat cut through an n × n × n stack of small cubes passes through at most (9n² + 4n − 17)/4 of them, rounded down, for n from 3 to 32 and from 700 on. A tilted cut reaches it: 230 for n = 10.

For every n with 3 ≤ n ≤ 32 or n ≥ 700, the largest number of open unit cubes of [0, n]³ met by a plane a x + b y + c z = t with (a, b, c) ≠ (0, 0, 0) is F(n) = ⌊(9n² + 4n − 17)/4⌋, so m(10) = 230 and, for n ≥ 700, m(n) < F(n) + 2; for every n ≥ 3 some such plane meets exactly F(n) cubes, and for every n ≥ 2 every such plane meets at most ⌊(9n² + 6n − 20)/4⌋ of them.

Bárány and Frankl (2021) asked how many of the n³ small cubes one plane can pass through. They built a tilted plane that meets F(n) of them, and of the 10 × 10 × 10 box they wrote "at least 230 and at most 246 pieces ... The exact number is unknown." They also remarked that for large n their construction can be improved by 2. Lean shows it cannot, for every n ≥ 700, and that 230 is the exact answer for n = 10.

The 3 × 3 × 3 stack by hand

Number the small cubes (i, j, k) with i, j and k in {0, 1, 2}, and let s = i + j + k. Inside cube (i, j, k) the sum x + y + z runs strictly between s and s + 3, so the plane x + y + z = 4.5 passes through its inside exactly when s is 2, 3 or 4. The 27 cubes have s = 0, 1, …, 6 in groups of 1, 3, 6, 7, 6, 3 and 1, so the plane meets 6 + 7 + 6 = 19 of them. The formula gives (81 + 12 − 17)/4 = 19, so F(3) = 19, and Lean proves that no plane does better. The tilted plane Lean uses for n = 3, 2x + 2y + 3z = 10.5, also meets 19.

Cubes, cuts and the count

The small cube (i, j, k) is the open box between (i, j, k) and (i + 1, j + 1, k + 1), and a plane a x + b y + c z = t with (a, b, c) ≠ (0, 0, 0) meets it when some point inside lies on the plane. Lean proves this happens exactly when t lies strictly between the smallest and largest values of a x + b y + c z on the box. Flipping, swapping and scaling the axes changes nothing, so every plane meets as many cubes as one with 0 ≤ a ≤ b ≤ c and a + b + c = 1. The answer m(n) is the largest count, and an upper bound for every plane plus one plane that reaches it gives m(n) exactly.

  • When a plane meets a small cube

    If (a, b, c) ≠ (0, 0, 0), the plane meets the cube (i, j, k) exactly when a i + b j + c k minus the negative parts < t < a i + b j + c k plus the positive parts.

    theorem CheeseCutM.cuts_iff_range {a : ℝ} {b : ℝ} {c : ℝ} {t : ℝ} (hv : IsNormal a b c) (z : Cell) :
      Meets a b c t z ↔ dot a b c z - negSum a b c < t ∧ t < dot a b c z + posSum a b c
  • When a plane with no negative entries meets a cube

    If a, b, c ≥ 0 and a + b + c > 0, the plane meets the cube (i, j, k) exactly when a i + b j + c k < t < a i + b j + c k + a + b + c.

    theorem CheeseCutM.meets_iff_nonneg {a : ℝ} {b : ℝ} {c : ℝ} {t : ℝ} (ha : 0 ≤ a) (hb : 0 ≤ b) (hc : 0 ≤ c) (hW : 0 < a + b + c) (z : Cell) :
      Meets a b c t z ↔ dot a b c z < t ∧ t < dot a b c z + (a + b + c)
  • Every plane can be sorted and scaled

    Every plane with (a, b, c) ≠ (0, 0, 0) meets as many cubes as some plane with 0 ≤ a′ ≤ b′ ≤ c′ and a′ + b′ + c′ = 1.

    theorem CheeseCutM.wlog_ordered_nonneg (n : ℕ) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (hv : IsNormal a b c) :
      ∃ a' b' c' t', 0 ≤ a' ∧ a' ≤ b' ∧ b' ≤ c' ∧ a' + b' + c' = 1 ∧ cutCount n a b c t = cutCount n a' b' c' t'
  • A bound that is reached is the maximum

    If every plane meets at most M small cubes and some plane meets exactly M, then m(n) = M.

    theorem CheeseCutM.maxCutCount_eq_of_bounds {n : ℕ} {M : ℕ} (hub : ∀ (a b c t : ℝ), IsNormal a b c → cutCount n a b c t ≤ M) (hlb : ∃ a b c t, IsNormal a b c ∧ cutCount n a b c t = M) :
      maxCutCount n = M
  • The inside of a small cube
  • A plane
  • A plane meeting a small cube
  • A real direction for a plane
  • The small cubes of the box
  • The small cubes a plane meets
  • The number of small cubes a plane meets
  • The most small cubes one plane can meet
  • Bárány and Frankl's number F(n)

The tilted cut meets F(n) cubes

With h = n − 1 and s = ⌊(3n − 4)/2⌋, the plane h x + h y + (h + 1) z = h(s + 3) + 1/2 meets exactly the cubes of a slab: the whole diagonal layers i + j + k = s, s + 1, s + 2, the cubes of layer s + 3 on the floor k = 0, and the cubes of layer s − 1 on the ceiling k = n − 1. Lean counts the slab by whole-number sums and gets F(n) for every n ≥ 3, of either parity.

  • The tilted cut meets exactly F(n) cubes

    For every n ≥ 3, some plane with (a, b, c) ≠ (0, 0, 0) meets exactly F(n) small cubes of the n × n × n box.

    theorem CheeseCutM.barany_frankl_lower_bound (n : ℕ) (hn : 3 ≤ n) :
      ∃ a b c t, IsNormal a b c ∧ cutCount n a b c t = F n
  • The tilted plane meets exactly the slab

    For h ≥ 1, the cubes the tilted plane meets in the (h + 1)-box are exactly the slab.

    theorem CheeseCutM.witness_cutSet (h : ℕ) (s : ℕ) (hh : 1 ≤ h) :
      cutSet (h + 1) (↑h) (↑h) (↑h + 1) (↑(h * (s + 3)) + 1 / 2) = slab (h + 1) s
  • The size of the slab

    For h ≥ 1, the slab has as many cubes as the slab count.

    theorem CheeseCutM.card_slab (h : ℕ) (s : ℕ) (hh : 1 ≤ h) :
      (slab (h + 1) s).card = gCount (h + 1) s
  • The slab
  • Three whole diagonal layers
  • Part of the layer above, on the floor
  • Part of the layer below, on the ceiling
  • The slab count

Lines of cubes give a bound for every n ≥ 2

Every small cube lies on one line of cubes in the direction (1, 1, 1), and a cut meets at most one cube of each line. The lines start at the cubes with a coordinate 0, at most 3n² − 3n + 1 of them, so a cut meets at most that many, minus the lines it misses. The missed lines are the whole-number points of six right triangles, and lower bounds on those points give ⌊(9n² + 6n − 20)/4⌋ for n ≥ 16. With n = 2 and the small boxes, Lean extends this bound to every n ≥ 2.

  • Every cut meets at most ⌊(9n² + 6n − 20)/4⌋ cubes when n ≥ 2

    For every n ≥ 2 and every plane a x + b y + c z = t with (a, b, c) ≠ (0, 0, 0), the plane meets at most (9n² + 6n − 20)/4 small cubes, rounded down.

    theorem CheeseCutM.theoremU_bound_all_ge_2 (n : ℕ) (hn : 2 ≤ n) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (hv : IsNormal a b c) :
      cutCount n a b c t ≤ Ubound n
  • For n ≥ 16 every cut meets at most ⌊(9n² + 6n − 20)/4⌋ cubes

    For every n ≥ 16 and every plane with (a, b, c) ≠ (0, 0, 0), the plane meets at most (9n² + 6n − 20)/4 cubes, rounded down.

    theorem CheeseCutM.theoremU_bound (n : ℕ) (hn : 16 ≤ n) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (hv : IsNormal a b c) :
      cutCount n a b c t ≤ Ubound n
  • A cut meets at most one cube per line

    If a, b, c ≥ 0 and a + b + c > 0, the plane meets at most as many cubes as there are line starts.

    theorem CheeseCutM.cutCount_le_starts {n : ℕ} {a : ℝ} {b : ℝ} {c : ℝ} {t : ℝ} (ha : 0 ≤ a) (hb : 0 ≤ b) (hc : 0 ≤ c) (hW : 0 < a + b + c) :
      cutCount n a b c t ≤ (starts n).card
  • Met cubes plus missed lines are at most the lines

    If a, b, c ≥ 0 and a + b + c > 0, the met cubes plus the lines missed below plus the lines missed above number at most the line starts.

    theorem CheeseCutM.lines_bound {n : ℕ} {a : ℝ} {b : ℝ} {c : ℝ} {t : ℝ} (ha : 0 ≤ a) (hb : 0 ≤ b) (hc : 0 ≤ c) (hW : 0 < a + b + c) :
      cutCount n a b c t + ((missA1 n a b c t).card + (missA2 n a b c t).card + (missA3 n a b c t).card) +
        ((missB1 n a b c t).card + (missB2 n a b c t).card + (missB3 n a b c t).card) ≤
      (starts n).card
  • Met cubes plus six triangles are at most the lines

    If a, b, c ≥ 0 and a + b + c > 0, the cubes met in the (h + 1)-box plus the points of the six triangles, plus h³, are at most (h + 1)³.

    theorem CheeseCutM.lemmaT_le (h : ℕ) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) (hc : 0 ≤ c) (hW : 0 < a + b + c) :
      cutCount (h + 1) a b c t + ((tri b c ((b + c) * ↑h - t) h).card + (tri b c (t - ↑h * a - (b + c + a)) h).card) +
            ((tri a c ((a + c) * ↑h - t) h).card + (tri a c (t - ↑h * b - (a + c + b)) h).card) +
          ((tri a b ((a + b) * ↑h - t) h).card + (tri a b (t - ↑h * c - (a + b + c)) h).card) +
        h ^ 3 ≤
      (h + 1) ^ 3
  • Where the lines of cubes start
  • A bounded triangle of whole-number points
  • The number of points in a triangle
  • In the 2 × 2 × 2 box a cut meets at most 7 cubes

    Every plane with (a, b, c) ≠ (0, 0, 0) meets at most 7 of the 8 small cubes.

    theorem CheeseCutM.cutCount_two_le_seven (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (hv : IsNormal a b c) :
      cutCount 2 a b c t ≤ 7
  • The weaker bound

Only cuts near the diagonal can do better

For n ≥ 16, a plane that meets F(n) cubes must face almost along (1, 1, 1): after sorting and scaling, its direction is described by two small numbers u and w with u + 2w ≤ 3r(n), where r(n) = √(8/(27(n + 6))). So it is enough to show that every such direction misses at least D(n) = 3n² − 3n + 1 − F(n) lines. Pairing the two triangles of each pair of axes bounds the missed lines from below, and for even n a coupling bound covers a small leftover region K.

  • Enough missed lines near the diagonal is enough

    For n ≥ 16, if every direction with u, w > 0 and u + 2w ≤ 3r(n) misses at least D(n) lines at every height t, then every plane meets at most F(n) cubes.

    theorem CheeseCutM.reduction_R (n : ℕ) (hn : 16 ≤ n) (hstar : ∀ (u w t : ℝ), 0 < u → 0 < w → u + 2 * w ≤ 3 * rad n → D n ≤ missedCount n u w t) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (a.0 : IsNormal a b c) :
      cutCount n a b c t ≤ F n
  • A cut meeting F(n) cubes faces almost along the diagonal

    For n = h + 1 ≥ 16, if 0 ≤ a ≤ c, 0 ≤ b ≤ c, c > 0 and the plane meets at least F(n) cubes, then c < a + b and c/(a + b + c) − 1/3 ≤ r(n).

    theorem CheeseCutM.u2_sorted_cone (h : ℕ) (hh : 15 ≤ h) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) (hc : 0 < c) (hac : a ≤ c) (hbc : b ≤ c) (hF : F (h + 1) ≤ cutCount (h + 1) a b c t) :
      c < a + b ∧ c / (a + b + c) - 1 / 3 ≤ rad (h + 1)
  • Two triangles hold at least G(S) points

    For 0 < p ≤ q, any α and β and any level S, Δ(p, q; α) + Δ(p, q; β) ≥ G(S), computed with α + β.

    theorem CheeseCutM.lemma_P_pairing_bound {p : ℝ} {q : ℝ} (hp : 0 < p) (hpq : p ≤ q) (α : ℝ) (β : ℝ) (S : ℕ) :
      Gval p q (α + β) S ≤ Delta p q α + Delta p q β
  • The three best pairing bounds are missed lines

    For n ≥ 1, if x₁ > 0 and u, w ≥ 0, then B₁ + B₂ + B₃ is at most the missed lines at every height t.

    theorem CheeseCutM.lemma_P_sum_B {n : ℕ} (hn : 1 ≤ n) {u : ℝ} {w : ℝ} (hx1 : 0 < x1 u w) (hu : 0 ≤ u) (hw : 0 ≤ w) (t : ℝ) :
      B1 n u w + B2 n u w + B3 n u w ≤ missedCount n u w t
  • For even n, a direction in K misses D(n) lines

    For n = 2c + 4 with c ≥ 1, every direction (u, w) ≠ (0, 0) with u, w ≥ 0 in K misses at least D(n) lines at every height t.

    theorem CheeseCutM.lemma_C_coupling (c : ℕ) (hc : 1 ≤ c) (u : ℝ) (w : ℝ) (t : ℝ) (hu : 0 ≤ u) (hw : 0 ≤ w) (hne : (u, w) ≠ (0, 0)) (hK : inK c u w) :
      D (2 * c + 4) ≤ missedCount (2 * c + 4) u w t
  • D(n) is the baseline pairing sum, plus 1 for even n

    For n ≥ 3, D(n) = T*(n) + 1 when n is even and D(n) = T*(n) when n is odd.

    theorem CheeseCutM.D_eq_Tstar (n : ℕ) (hn : 3 ≤ n) :
      D n = Tstar n + if Even n then 1 else 0
  • The missed lines for a direction
  • The cone radius
  • The number of lines a better cut must miss
  • The pairing bound at level S

Every box from 3 to 32

For n = 3 and n = 4 Lean proves the bounds 19 and 35 directly. For each n from 5 to 32 a certificate splits the possible directions into regions by straight lines, and in each region whole-number combinations of the region's inequalities show that the pairing bounds reach D(n) missed lines, or that the direction lies in the region K. Lean evaluates the certificate check by computation and proves that a passing check means no plane beats F(n). With the tilted cut this gives m(n) = F(n) for 3 ≤ n ≤ 32, and m(10) = 230.

  • m(n) = F(n) for every n from 3 to 32

    For every n with 3 ≤ n ≤ 32, the most small cubes of the n × n × n box that one plane meets is F(n).

    theorem CheeseCutM.maxCutCount_eq_F_3_to_32 (n : ℕ) (hn3 : 3 ≤ n) (hn32 : n ≤ 32) :
      maxCutCount n = F n
  • m(10) = 230

    One plane meets at most 230 small cubes of the 10 × 10 × 10 box, and some plane meets exactly 230.

    theorem CheeseCutM.maxCutCount_ten :
      maxCutCount 10 = 230
  • For n from 3 to 32 every cut meets at most F(n) cubes

    For every n with 3 ≤ n ≤ 32 and every plane with (a, b, c) ≠ (0, 0, 0), the plane meets at most F(n) small cubes.

    theorem CheeseCutM.cutCount_le_F_3_to_32 (n : ℕ) (hn3 : 3 ≤ n) (hn32 : n ≤ 32) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (a.0 : IsNormal a b c) :
      cutCount n a b c t ≤ F n
  • A passing tree certificate bounds every cut by F(n)

    If the full certificate check passes for n, every plane with (a, b, c) ≠ (0, 0, 0) meets at most F(n) small cubes.

    theorem CheeseCutM.checkCertN_sound (n : ℕ) (rp : ℕ) (rq : ℕ) (fuel : ℕ) (words : List ℕ) (hok : checkCertN n rp rq fuel words = true) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (a.0 : IsNormal a b c) :
      cutCount n a b c t ≤ F n
  • Enough missed lines near the diagonal is enough, for n ≥ 3

    For n ≥ 3, take R₁ ≥ 1/2 when n < 16 and R₁ ≥ 3r(n) when n ≥ 16. If every direction with u, w > 0, u ≠ w and u + 2w ≤ R₁ misses at least D(n) lines at every height, then every plane meets at most F(n) cubes.

    theorem CheeseCutM.reduction_R_general (n : ℕ) (hn : 3 ≤ n) (R1 : ℝ) (hR1 : (n < 16 → 1 / 2 ≤ R1) ∧ (16 ≤ n → 3 * rad n ≤ R1)) (hstar : ∀ (u w t : ℝ), 0 < u → 0 < w → u ≠ w → u + 2 * w ≤ R1 → D n ≤ missedCount n u w t) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (a.0 : IsNormal a b c) :
      cutCount n a b c t ≤ F n
  • In the 3 × 3 × 3 box a cut meets at most 19 cubes

    Every plane with (a, b, c) ≠ (0, 0, 0) meets at most 19 of the 27 small cubes.

    theorem CheeseCutM.cutCount_three_le_nineteen (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (hv : IsNormal a b c) :
      cutCount 3 a b c t ≤ 19
  • In the 4 × 4 × 4 box a cut meets at most 35 cubes

    Every plane with (a, b, c) ≠ (0, 0, 0) meets at most 35 of the 64 small cubes.

    theorem CheeseCutM.cutCount_four_le_thirtyfive (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (hv : IsNormal a b c) :
      cutCount 4 a b c t ≤ 35

Every box from 700 on

For n ≥ 700 Lean proves by estimates, with no computer search, that every direction in the cone has pairing bounds adding up to at least D(n), or else n is even and the direction lies in K. With the coupling bound and the reduction, every plane meets at most F(n) cubes, so m(n) = F(n) and m(n) < F(n) + 2 for every n ≥ 700.

  • m(n) = F(n) for every n ≥ 700

    For every n ≥ 700, the most small cubes of the n × n × n box that one plane meets is F(n).

    theorem CheeseCutM.maxCutCount_eq_F_ge_700 (n : ℕ) (hn : 700 ≤ n) :
      maxCutCount n = F n
  • The tilted cut cannot be improved by 2 when n ≥ 700

    For every n ≥ 700, m(n) < F(n) + 2.

    theorem CheeseCutM.barany_frankl_plus_two_refuted_ge_700 (n : ℕ) (hn : 700 ≤ n) :
      maxCutCount n < F n + 2
  • For n ≥ 700, F(n) is a bound that is reached

    For every n ≥ 700, every plane meets at most F(n) small cubes and some plane meets exactly F(n).

    theorem CheeseCutM.theoremM_ge_700 (n : ℕ) (hn : 700 ≤ n) :
      (∀ (a b c t : ℝ), IsNormal a b c → cutCount n a b c t ≤ F n) ∧ ∃ a b c t, IsNormal a b c ∧ cutCount n a b c t = F n
  • For n ≥ 700 every cut meets at most F(n) cubes

    For every n ≥ 700 and every plane with (a, b, c) ≠ (0, 0, 0), the plane meets at most F(n) small cubes.

    theorem CheeseCutM.theorem_A_upper_bound_ge_700 (n : ℕ) (hn : 700 ≤ n) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (a.0 : IsNormal a b c) :
      cutCount n a b c t ≤ F n
  • For n ≥ 700 the pairing bounds reach D(n) outside K

    For every n ≥ 700 and every direction with u, w > 0 and u + 2w ≤ 3r(n), B₁ + B₂ + B₃ ≥ D(n), or n is even and the direction lies in K.

    theorem CheeseCutM.theorem_A_ge_700 (n : ℕ) (hn : 700 ≤ n) (u : ℝ) (w : ℝ) (hu : 0 < u) (hw : 0 < w) (hcone : u + 2 * w ≤ 3 * rad n) :
      D n ≤ B1 n u w + B2 n u w + B3 n u w ∨ Even n ∧ inK ((n - 4) / 2) u w
  • An identity for three tent sums

    For n ≥ 3, h = n − 1 and Mₖ = h − 3 + μₖ ≥ −1, 4(T₂(M₁) + T₂(M₂) + T₂(M₃) − T*(n)) equals 2(h − 2)(μ₁ + μ₂ + μ₃ − 1) + μ₁² + μ₂² + μ₃² − 1 minus a parity correction.

    theorem CheeseCutM.identity_A0 (n : ℕ) (hn : 3 ≤ n) (μ₁ : ℤ) (μ₂ : ℤ) (μ₃ : ℤ) (h1 : -1 ≤ ↑n - 4 + μ₁) (h2 : -1 ≤ ↑n - 4 + μ₂) (h3 : -1 ≤ ↑n - 4 + μ₃) :
      have h := ↑n - 1;
    have M₁ := h - 3 + μ₁;
    have M₂ := h - 3 + μ₂;
    have M₃ := h - 3 + μ₃;
    have pi :=
      (((if Even M₁ then 1 else 0) + if Even M₂ then 1 else 0) + if Even M₃ then 1 else 0) - if Even h then 1 else 2;
    4 * (↑(T2 M₁) + ↑(T2 M₂) + ↑(T2 M₃) - ↑(Tstar n)) =
      2 * (h - 2) * (μ₁ + μ₂ + μ₃ - 1) + (μ₁ ^ 2 + μ₂ ^ 2 + μ₃ ^ 2) - 1 - pi

Every box from 33 to 699, by certificates checked outside Lean

For n ≥ 16 a vertex certificate lists the lines where the pairing bounds change and checks a lower bound at every corner where two of them cross. Lean proves the vertex principle: when a value only grows as a point crosses to the positive side of more lines, every point has a corner whose value is no larger. So a passing certificate means no plane beats F(n). If every n from 33 to 699 has one, then m(n) = F(n) and m(n) < F(n) + 2 for every n ≥ 3. Outside Lean, two independently written `C` programs in exact integer arithmetic checked a vertex certificate for each of the 685 sizes from 16 to 700, and both passed at every size with no failures. Lean does not check those runs; for 33 ≤ n ≤ 699 the result depends on them.

  • Certificates for 33 to 699 would settle every n ≥ 3

    If every n with 33 ≤ n ≤ 699 has a passing vertex certificate, then for every n ≥ 3, m(n) = F(n) and m(n) < F(n) + 2.

    theorem CheeseCutM.theoremM_all_n_from_arr_33_699 (h_arr_33_699 : ∀ (n : ℕ), 33 ≤ n → n ≤ 699 → ∃ cfg, ArrVerifyPass n cfg) (n : ℕ) (hn : 3 ≤ n) :
      maxCutCount n = F n ∧ maxCutCount n < F n + 2
  • A passing vertex certificate bounds every cut by F(n)

    For every n ≥ 16, if a vertex certificate passes, every plane with (a, b, c) ≠ (0, 0, 0) meets at most F(n) small cubes.

    theorem CheeseCutM.prop_V_arr_verify_sound (n : ℕ) (hn : 16 ≤ n) (cfg : ArrVerifyCfg) (hpass : ArrVerifyPass n cfg) (a : ℝ) (b : ℝ) (c : ℝ) (t : ℝ) (a.0 : IsNormal a b c) :
      cutCount n a b c t ≤ F n
  • The vertex principle

    If the list includes the three sides of the zone and each of its forms gives a line, and a whole-number value f on the zone can only grow when a point moves to the positive side of more lines, then every point p ≠ (0, 0) of the zone has a corner v ≠ (0, 0), where two crossing lines meet, with f(v) ≤ f(p).

    theorem CheeseCutM.lemma_H_vertex_principle (R1 : ℝ) (A : Finset AffForm) (hnd : ∀ ℓ ∈ A, NonDegen ℓ) (hU : sideU ∈ A) (hW : sideW ∈ A) (hT : sideTop R1 ∈ A) (f : ℝ × ℝ → ℕ) (hf : ∀ (q₁ q₂ : ℝ × ℝ), inZone R1 q₁ → inZone R1 q₂ → (∀ ℓ ∈ A, 0 < evalForm ℓ q₁ → 0 < evalForm ℓ q₂) → f q₁ ≤ f q₂) {p : ℝ × ℝ} (hp : inZone R1 p) (hp0 : p ≠ (0, 0)) :
      ∃ v, IsVertex R1 A v ∧ v ≠ (0, 0) ∧ f v ≤ f p