Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

`AKCond` of one `A` axis (round six, `akCond_at`)

Proved
J6Seg.AC.akCond_at

by xuanji · Oct 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

complexity-theoryinteger-multiplicationkappa-improvement

AKCond of one A axis.

The following holds (Lean statement, in the scope of module Solutions.J6SegAKCost4):

theorem J6Seg.AC.akCond_at (P : Prm) {n : ℕ} {src : ℕ → ℕ} {D k : ℕ} (h : AxANum P n src D k)
    (hp64 : 64 ≤ pP6 P n) :
    let p := pP6 P n; let s := src k; let t := tF6 P n k; let α := αN6 P n; let H := HA6 P n
    let pk := pkA6 8 16 p; let b := bA6 17 40 p; let w := p + 2
    let f := Nat.log 2 (IntMul.HvdH.sWidth p α) + 3
    let pre := preT P n D k; let post := postT P n D k
    let WA := J6A.WA p α H
    AKCond p s t α H pk b w f pre post (mulSup (2 * (20 * p + 60)))
      (mulSup (2 * (b * (2 * (2 * WA + 2 * H)) + 2))) (20 * p + 60) (b + 2) (b + 2)
      (17 + 2 * WA + (2 * WA + 2 * H) + 2 * H) (aK0 p) (aK0 p) (aK0 p) (2 ^ (p + 2))

Context. A-axis costs 4: the numeric side conditions AKCond of the A kernel v2

For p ≥ 64 (eventually true) and an A axis with the facts AxANum, akCond_at gives AKCond at

  • B = 20p + 60, BH = Bk = b + 2, Lmax = 17 + 2W + (2W + 2H) + 2H (the row length),
  • φ₁ = mulSup (2B), φ₂ = mulSup (2 (b · 2n + 2)) with n = 2W + 2H,
  • Ka = Kr = Kc = (8p + 35) 2^{2p} (J6AILTab12), X₀ = 2^{p+2}.

The exponential facts come from 2^16 p^4 ≤ 2^p (pow4_big, p ≥ 64).

Formalization Note. Part of the Lean formalization of the round-six κ-improvement (integer-multiplication-kappa campaign, target IntMul.Kappa.jain_round6_framework). The statement is copied verbatim from the Lean development; the platform node carries the same declaration name. Definitions it mentions live in the IntMul_Kappa_R6_Defs* bundles (on top of the published κ bundles IntMul_Kappa_K_Defs*).

Preamble
-- Round-six κ development (integer-multiplication-kappa), generated by skeleton subtraction.

import Definitions.Def_IntMul_Kappa_R6_Defs70

set_option autoImplicit false
set_option relaxedAutoImplicit false
set_option maxHeartbeats 1000000

open J6Seg J6Seg.AC
open IntMul NLogN IntMul.Kappa.R6 J6Seg J6Seg.KR J6Seg.KR.AK J6Seg.Ax
Formal statement
theorem J6Seg.AC.akCond_at (P : Prm) {n : ℕ} {src : ℕ → ℕ} {D k : ℕ} (h : AxANum P n src D k)
    (hp64 : 64 ≤ pP6 P n) :
    let p := pP6 P n; let s := src k; let t := tF6 P n k; let α := αN6 P n; let H := HA6 P n
    let pk := pkA6 8 16 p; let b := bA6 17 40 p; let w := p + 2
    let f := Nat.log 2 (IntMul.HvdH.sWidth p α) + 3
    let pre := preT P n D k; let post := postT P n D k
    let WA := J6A.WA p α H
    AKCond p s t α H pk b w f pre post (mulSup (2 * (20 * p + 60)))
      (mulSup (2 * (b * (2 * (2 * WA + 2 * H)) + 2))) (20 * p + 60) (b + 2) (b + 2)
      (17 + 2 * WA + (2 * WA + 2 * H) + 2 * H) (aK0 p) (aK0 p) (aK0 p) (2 ^ (p + 2)) := by sorry
Source
S. Jain, round-six networks for the integer-multiplication κ-improvement campaign (https://github.com/Swapnil-jain/integer-mult-kappa, commit 5868dc7) and D. Colkitt, integer-mult-bounds (https://github.com/CrocSwap/integer-mult-bounds); target `IntMul.Kappa.jain_round6_framework`. Lean declaration `J6Seg.AC.akCond_at`, Solutions/J6SegAKCost4.lean (lines 139–371) of the round-six development.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me