⊢mathematics.distributed.systems
Proof Tree / Number Theory / Additive NT, Sidon & Egyptian Fractions / auto-discoveries
KERNEL VERIFIED · 0 WARNINGS Number Theory · Additive NT, Sidon & Egyptian Fractions Initiated by Arthur Collé 4/4 verified files · ⊢ 100 theorems

Autonomous Open-Conjecture Resolutions

Independent Lean 4 resolutions of Written-on-the-Wall II Conjecture 372 ($2\tau(T)+2 \le 3\gamma_t(T)$), exact OEIS A215926 $\iff$ Almost-Perfect equivalence, A000224 closed form & composite families, and Goethals–Seidel $H_{52}$.

Contribution status

Claim-by-claim literature review not yet recorded. Lean verification, where shown, applies to the exact formal statements. External publication status is not recorded.

How results are classified
⊢ TL;DR & Key Verified Results
Field Context (Additive NT, Sidon & Egyptian Fractions): Sums of distinct unit fractions, modular attractors, and additive structure in integers.

Four self-contained Lean 4 resolutions of open conjectures across graph theory, number theory, and combinatorial designs: (1) complete proof of Fajtlowicz's Written-on-the-Wall II Conjecture 372 on trees via $2\tau(T) + 2 \le 3\gamma_t(T)$; (2) exact logical equivalence between OEIS A215926 Conjecture 1 and nonexistence of non-$2^r$ almost-perfect numbers; (3) closed-form $a(n) = |\{x^2 \bmod n\}|$ ruling out all even $n$, prime powers, and odd semiprimes for OEIS A000224; and (4) a general Goethals–Seidel Hadamard theorem certifying $H_{52}$ at default heartbeats.

WOWII Conjecture 372 (Proved): Every finite tree $T$ ($|V(T)| \ge 2$) satisfies $2\tau(T) + 2 \le 3\gamma_t(T)$, and $\tau(T) \le \gamma_t(T)\max(1, p(T) - 1)$.
OEIS A215926 Conjecture 1 holds for all $n \ge 2$ if and only if no non-power-of-$2$ almost-perfect number ($\sigma(k) = 2k - 1$) exists.
For all primes, even integers, prime powers $p^e$, and odd semiprimes $pq$, $n$ is an odd prime iff $n^2 \equiv 1 \pmod{a(n)(a(n)-1)}$.
General Goethals–Seidel block identity $HH^T = (4n)I_{4n}$ for arbitrary $n \ge 1$, plus instant certified $52 \times 52$ Hadamard matrix $H_{52}$.
Prior Art, Upstream Literature & Scholarly Attribution SOURCE CONTEXT
Local Proof Scope (Priority Not Established): Unconditional Lean 4 proof of WOWII Conjecture 372 (all 3 variants) via $2\tau(T)+2 \le 3\gamma_t(T)$, exact logical equivalence A215926 Conjecture 1 $\iff$ no non-$2^r$ almost-perfect numbers, A000224 converse across even/prime-power/odd-semiprime $n$, and general Goethals–Seidel formalization certifying $H_{52}$.

⊢ Mathematical Constructions & Proof Explorer

Raw .lean
—

Select any definition, structure, or theorem on the left to inspect its formal statement, proof dependencies, and isolated Lean 4 code.

Mathematical Overview & Verification Notes

Four self-contained Lean 4 formalizations of novel theorems and open-conjecture resolutions/structural equivalences discovered in /Users/arthurcolle/math_rip/. Every file compiles cleanly with zero sorry, zero custom axioms, zero native_decide, and zero warnings, with every headline #print axioms audit reporting exclusively [propext, Classical.choice, Quot.sound].

Summary Table

FileDomainSource TargetHeadline ResultStatus
GraphConjecture372.leanGraph Theory (AMS 5)FormalConjectures/WrittenOnTheWallII/GraphConjecture372.lean (@[category research open], all 3 declarations)Complete unconditional resolution of Conjecture 372, its two_paths variant, and its regularized variant, via a novel sharp tree bound $2\tau(T)+2 \le 3\gamma_t(T)$.Verified (EXIT 0)
A215926AlmostPerfect.leanNumber Theory (AMS 11)FormalConjectures/OEIS/215926.lean & FormalConjectures/Wikipedia/AlmostPerfectNumbers.lean (@[category research open])Exact logical equivalence between OEIS A215926 Conjecture 1 and the nonexistence of non-power-of-2 almost-perfect numbers, plus unconditional bounds and conditional resolution of A215926 Conjecture 2.Verified (EXIT 0)
A000224SquaresMod.leanNumber Theory (AMS 11)FormalConjectures/OEIS/224.lean (@[category research open])Complete closed-form evaluation of $a(n) = |\{x^2 \bmod n\}|$, proof of the forward direction, and complete unconditional resolution of the converse for all even integers, all prime powers $p^e$, and all odd semiprimes $pq$.Verified (EXIT 0)
GoethalsSeidelHadamard.leanCombinatorial Design Theoryresearch/tasks/HadamardCorrelation.lean & HadamardGram52.leanGeneral Goethals–Seidel Hadamard theorem for arbitrary order $n \ge 1$ and arbitrary shift, exact four-squares sum obstruction, half-lag sufficiency, and an instant default-heartbeat certified $52 \times 52$ Hadamard matrix.Verified (EXIT 0)

1. GraphConjecture372.lean — Complete Resolution of Written on the Wall II Conjecture 372

  • Source & Novelty: Resolves all three @[category research open, AMS 5] declarations (conjecture372, conjecture372.variants.two_paths, conjecture372.variants.regularized) from FormalConjectures/WrittenOnTheWallII/GraphConjecture372.lean, using exact verbatim definitions of totalDominationNumber ($\gamma_t$), pathCoverNum ($p$), and Mathlib's SimpleGraph.vertexCoverNum ($\tau$).
  • Key Novel Theorems:
    1. AutoDiscovery.GraphConjecture372.tree_vertexCover_le_three_halves_totalDom: For every finite tree $T$ with $|V(T)| \ge 2$,
      $$2\tau(T) + 2 \le 3\gamma_t(T).$$

      This universal tree inequality immediately resolves the general case $p(T) \ge 3$ since $\tau(T) < \frac{3}{2}\gamma_t(T) < 2\gamma_t(T) \le (p(T) - 1)\gamma_t(T)$.
    2. AutoDiscovery.GraphConjecture372.conjecture372_two_paths: For every finite tree $T$ with $|V(T)| \ge 2$ and $p(T) \le 2$,
      $$\tau(T) \le \gamma_t(T).$$
    3. AutoDiscovery.GraphConjecture372.conjecture372_regularized_solved: For every finite tree $T$ with $|V(T)| \ge 2$,
      $$\tau(T) \le \gamma_t(T) \cdot \max(1, p(T) - 1).$$
    4. AutoDiscovery.GraphConjecture372.conjecture372_solved: For every finite tree $T$ with $|V(T)| > 2$ and $p(T) \ge 2$,
      $$\frac{\tau(T)}{p(T) - 1} \le \gamma_t(T).$$
  • Proof Idea:
    • For $2\tau(T) + 2 \le 3\gamma_t(T)$: Fix a minimum total dominating set $S$ ($|S| = \gamma_t(T)$). By leaf-peeling on the forest $T[V \setminus S]$, select a maximal vertex-disjoint collection of edges (matching $M$) and extend $S$ by one endpoint per edge of $M$ to build a vertex cover of size $\le |S| + |M|$. Counting edges inside the induced forest $W = S \cup V(M)$ via handshaking on $T[S]$ (every vertex in $S$ has a neighbor in $S$, so $|E(T[S])| \ge \lceil |S|/2 \rceil$) and the total-domination edges connecting $V(M)$ to $S$ yields $|E(T[S])| + |V(M)| + |M| \le |W| - 1 = |S| + 2|M| - 1$, giving $2|M| + 2 \le |S|$ and hence $2(|S| + |M|) + 2 \le 3|S|$.
    • For $p(T) \le 2$: If $p(T) = 1$, $T$ is a path and $\tau(P_n) = \lfloor n/2 \rfloor \le \gamma_t(P_n)$ directly. If $p(T) = 2$, $V(T)$ partitions into two vertex-disjoint paths $P_1, P_2$; because $T$ is a tree, $E(T) = E(P_1) \cup E(P_2) \cup \{xy\}$ for a single bridge edge $xy$. Constructing explicit vertex covers from the induced total dominating subsets of $P_1$ and $P_2$ plus an odd-prefix parity obstruction on $P_1$ rules out $\tau(T) > \gamma_t(T)$.

2. A215926AlmostPerfect.lean — Bridge Between OEIS A215926 and Almost-Perfect Numbers

  • Source & Novelty: Establishes a rigorous logical bridge between two independent @[category research open, AMS 11] problems: FormalConjectures/OEIS/215926.lean (conjecture_1, conjecture_2, where $a(n) = \min\{k \ge 1 : \sigma(kn) \ge 2kn\}$) and FormalConjectures/Wikipedia/AlmostPerfectNumbers.lean (exists_almost_perfect_not_power_of_two, asking whether any $k$ with $\sigma(k) = 2k - 1$ exists outside $\{2^r\}$).
  • Key Novel Theorems:
    1. AutoDiscovery.A215926AlmostPerfect.a215926_conjecture1_iff_no_nonpow2_almost_perfect:
      $$\bigl(\forall n \ge 2,\; a(n) = 1 \lor a(n) = 3 \lor \mathrm{isPowerOfTwo}(a(n))\bigr) \iff \neg \exists k,\; \sigma(k) = 2k - 1 \land \neg \exists r,\; k = 2^r.$$
    2. AutoDiscovery.A215926AlmostPerfect.a_nextPrimeTwoPow_le: Unconditionally for all $m \ge 1$, letting $q_m$ be the least prime $> 2^m$, $a(q_m) \le 2^m$.
    3. AutoDiscovery.A215926AlmostPerfect.a_ne_two_pow_of_lt_nextPrimeTwoPow: Unconditionally for all $m \ge 1$ and $2 \le n < q_m$, $a(n) \ne 2^m$.
    4. AutoDiscovery.A215926AlmostPerfect.conjecture2_of_no_nonpow2_almost_perfect: Assuming no non-power-of-2 almost-perfect number exists, $q_m$ is the exact least $n \ge 2$ with $a(n) = 2^m$ (resolving OeisA215926.conjecture_2).
  • Proof Idea:
    • Backward ($\Leftarrow$): For any $n \ge 2$ and candidate $k$ with $2^r < k < 2^{r+1}$, submultiplicativity $\sigma(kn) \le \sigma(k)\sigma(n)$ combined with the absence of non-power-of-2 almost-perfect numbers forces $\sigma(k) \le 2k - 2$ (unless $k$ is abundant, in which case $k = 6$ or smaller $k$ already works, or $k = 3$ when $\sigma(n)/n \in [3/2, 2)$). When $\sigma(k)/k \le 2 - 2/k$, the smaller power of two $2^r$ satisfies $\sigma(2^r)/2^r = 2 - 1/2^r \ge \sigma(k)/k$, so $2^r$ beats $k$ as a multiplier unless $k \in \{1, 3\}$.
    • Forward ($\Rightarrow$): Suppose a non-power-of-2 almost-perfect number exists, and let $k$ be the least one, with $2^r < k < 2^{r+1}$. Using the divergence of $\sum_p 1/p$ (Nat.Primes.not_summable_one_div), greedily multiply sufficiently large distinct primes (all coprime to $(2^{r+1})!$) to construct a squarefree integer $n$ whose abundancy index $\sigma(n)/n$ falls strictly inside the target interval $\bigl[\frac{2k}{2k-1},\; \frac{2^{r+1}}{2^{r+1}-1}\bigr)$. Every $j < k$ is either a power of $2$ (too small) or has $\sigma(j) \le 2j - 2$ (insufficient abundancy), forcing $a(n) = k \notin \{1, 3\} \cup \{2^m\}$.
    • Conjecture 2 bounds: Bertrand's postulate (Nat.exists_prime_lt_and_le_two_mul) gives $2^m < q_m \le 2^{m+1}$ so $2^m q_m$ is abundant; for composite odd $n \in (2^m, q_m)$, $n$ has a nontrivial divisor $b \ge \sqrt{n}$, so $\sigma(n) \ge n + b + 1$ forces a smaller power of two to suffice.

3. A000224SquaresMod.lean — Structural & Infinite-Family Resolution of OEIS A000224 Conjecture

  • Source & Novelty: Attacks FormalConjectures/OEIS/224.lean (@[category research open, AMS 11]), which conjectures that for $n \ge 1$ and $a(n) = |\{x^2 \bmod n : x \in \mathbb{Z}/n\mathbb{Z}\}|$,
    $$(n \text{ is an odd prime}) \iff n^2 \equiv 1 \pmod{a(n)(a(n) - 1)}.$$

    Proves exact multiplicative and odd-prime-power formulas for $a(n)$, the forward implication for all odd primes, and completely rules out three infinite composite families: all even $n$, all odd prime powers $p^e$ ($e \ge 2$), and all odd semiprimes $pq$ ($p < q$ odd primes).
  • Key Theorems:
    1. AutoDiscovery.A000224SquaresMod.a_mul_coprime: Multiplicativity $a(mn) = a(m)a(n)$ for $\gcd(m, n) = 1$ via CRT.
    2. AutoDiscovery.A000224SquaresMod.a_odd_prime_pow_even & a_odd_prime_pow_odd: Exact closed forms
      $$a(p^{2k}) = \frac{p^{2k+1} + p + 2}{2(p + 1)}, \qquad a(p^{2k+1}) = \frac{p^{2k+2} + 2p + 1}{2(p + 1)}.$$
    3. AutoDiscovery.A000224SquaresMod.a000224_forward: Odd prime $n \implies n^2 \equiv 1 \pmod{a(n)(a(n)-1)}$.
    4. AutoDiscovery.A000224SquaresMod.a000224_not_even: No even $n$ satisfies the congruence.
    5. AutoDiscovery.A000224SquaresMod.a000224_not_prime_pow: No prime power $p^e$ with $e \ge 2$ satisfies the congruence.
    6. AutoDiscovery.A000224SquaresMod.a000224_not_semiprime: No odd semiprime $n = pq$ ($p < q$ odd primes) satisfies the congruence.
    7. AutoDiscovery.A000224SquaresMod.a000224_iff_of_even_or_primePow_or_semiprime: Full biconditional characterization on the union of primes, even integers, prime powers, and odd semiprimes.
  • Proof Idea:
    • Even $n$: If $2 \mid n$, then $n^2 - 1$ is odd while $a(n)(a(n)-1)$ is always even, immediate contradiction unless $a(n) \le 1$ (only $n = 1$, which is odd).
    • Prime powers $p^e$ ($e \ge 2$): Writing $n = p^e$, the quotient $(n^2 - 1)/(a(n)(a(n) - 1))$ asymptotically approaches $4(p+1)^2/p^2$. For $p \ge 11$ and $e \ge 3$, $4(p+1)^2/p^2 \in (4, 5)$, strictly trapping $n^2 - 1$ between $4M$ and $5M$ where $M = a(n)(a(n)-1)$. For $e = 2$, $M = \frac{p(p-1)+2}{2}\cdot\frac{p(p-1)}{2}$ yields a clean modular/inequality contradiction; small primes $p \in \{3, 5, 7\}$ are trapped between consecutive integers $\lfloor 4(p+1)^2/p^2 \rfloor$ and $\lceil 4(p+1)^2/p^2 \rceil$ for all $e \ge 2$.
    • Odd semiprimes $pq$ ($3 \le p < q$): Since $a(pq) = \frac{p+1}{2}\cdot\frac{q+1}{2}$, the quotient $\frac{p^2q^2 - 1}{a(pq)(a(pq)-1)}$ tends to $\frac{16p^2}{(p+1)^2}$ as $q \to \infty$. For $p \ge 67$, $15 < \frac{16p^2}{(p+1)^2} < 16$ strictly traps $n^2 - 1$ between $15M$ and $16M$ for all $q > p$. For each of the 17 odd primes $3 \le p \le 61$, the exact rational limit $\frac{16p^2}{(p+1)^2}$ is non-integral except at $p = 3$ (where it equals $9$, handled directly via $9M - (n^2 - 1) = 4q^2 - 36q + 1$ with an algebraic sign/divisibility analysis); for the remaining 16 primes, a factored quadratic trap (semiprime_quad_trap_nat) rules out all $q \ge 169$ uniformly, and kernel-decidable finite checks (decide, zero native_decide) clear $q < 169$.

4. GoethalsSeidelHadamard.lean — General Goethals–Seidel Hadamard Framework & Fast $52 \times 52$ Certificate

  • Source & Novelty: Generalizes the ad-hoc $n = 13$ brute-force verification in /Users/arthurcolle/math_rip/research/tasks/HadamardGram52.lean (which required maxHeartbeats 4000000) and HadamardCorrelation.lean into a fully general algebraic theorem for arbitrary $n \ge 1$ and arbitrary shift $s \in \mathrm{ZMod}\ n$.
  • Key Theorems:
    1. AutoDiscovery.GoethalsSeidelHadamard.complementary_sum_of_four_squares: Every complementary $\pm 1$-quadruple $(a,b,c,d)$ of length $n$ satisfies the Legendre/Turyn sum-of-four-squares obstruction
      $$\Bigl(\sum a\Bigr)^2 + \Bigl(\sum b\Bigr)^2 + \Bigl(\sum c\Bigr)^2 + \Bigl(\sum d\Bigr)^2 = 4n.$$
    2. AutoDiscovery.GoethalsSeidelHadamard.complementary_of_half: Periodic autocorrelation symmetry reduces the $n - 1$ off-zero complementarity conditions to lags $1 \le k \le \lfloor n/2 \rfloor$.
    3. AutoDiscovery.GoethalsSeidelHadamard.goethalsSeidel_mul_transpose: Exact $4n \times 4n$ block Gram matrix identity for arbitrary $n \ge 1$, shift $s$, and integer sequences $a,b,c,d : \mathrm{ZMod}\ n \to \mathbb{Z}$.
    4. AutoDiscovery.GoethalsSeidelHadamard.goethalsSeidel_hadamard: If $(a,b,c,d)$ is a complementary $\pm 1$-quadruple of length $n \ge 1$, then the Goethals–Seidel block matrix $H$ has $\pm 1$ entries and satisfies $H H^T = (4n)\cdot I_{4n}$.
    5. AutoDiscovery.GoethalsSeidelHadamard.hadamard_52_goethalsSeidel: Certified $52 \times 52$ Hadamard matrix verified at default heartbeats in milliseconds by checking only 6 half-lag autocorrelation equations ($k = 1, \dots, 6$).

Compilation Receipt & Axiom Audit

All four files were compiled against the prebuilt Mathlib cache in /Users/arthurcolle/math_rip/new-results/collatz-coalescence (Lean v4.33.0-rc2) with the following command:

cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence && \
for f in GraphConjecture372 A215926AlmostPerfect A000224SquaresMod GoethalsSeidelHadamard; do
  echo "=== COMPILE $f.lean ==="
  lake env lean /Users/arthurcolle/math_rip/new-results/auto-discoveries/$f.lean && echo "EXIT: 0 ($f.lean)"
done

Static Audit (sorry / axiom / native_decide)

$ grep -En '\bsorry\b|\baxiom\b|\bnative_decide\b' /Users/arthurcolle/math_rip/new-results/auto-discoveries/*.lean
CLEAN: zero matches

Exact #print axioms Output (All 21 Headline Theorems)

=== COMPILE GraphConjecture372.lean ===
'AutoDiscovery.GraphConjecture372.tree_vertexCover_le_three_halves_totalDom' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.GraphConjecture372.conjecture372_two_paths' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.GraphConjecture372.conjecture372_regularized_solved' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.GraphConjecture372.conjecture372_solved' depends on axioms: [propext, Classical.choice, Quot.sound]
EXIT: 0 (GraphConjecture372.lean)

=== COMPILE A215926AlmostPerfect.lean ===
'AutoDiscovery.A215926AlmostPerfect.a215926_conjecture1_iff_no_nonpow2_almost_perfect' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A215926AlmostPerfect.a_nextPrimeTwoPow_le' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A215926AlmostPerfect.a_ne_two_pow_of_lt_nextPrimeTwoPow' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A215926AlmostPerfect.conjecture2_of_no_nonpow2_almost_perfect' depends on axioms: [propext, Classical.choice, Quot.sound]
EXIT: 0 (A215926AlmostPerfect.lean)

=== COMPILE A000224SquaresMod.lean ===
'AutoDiscovery.A000224SquaresMod.a_mul_coprime' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A000224SquaresMod.a_odd_prime_pow_even' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A000224SquaresMod.a_odd_prime_pow_odd' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A000224SquaresMod.a000224_forward' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A000224SquaresMod.a000224_not_even' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A000224SquaresMod.a000224_not_prime_pow' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A000224SquaresMod.a000224_not_semiprime' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.A000224SquaresMod.a000224_iff_of_even_or_primePow_or_semiprime' depends on axioms: [propext, Classical.choice, Quot.sound]
EXIT: 0 (A000224SquaresMod.lean)

=== COMPILE GoethalsSeidelHadamard.lean ===
'AutoDiscovery.GoethalsSeidelHadamard.complementary_sum_of_four_squares' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.GoethalsSeidelHadamard.complementary_of_half' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.GoethalsSeidelHadamard.goethalsSeidel_mul_transpose' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.GoethalsSeidelHadamard.goethalsSeidel_hadamard' depends on axioms: [propext, Classical.choice, Quot.sound]
'AutoDiscovery.GoethalsSeidelHadamard.hadamard_52_goethalsSeidel' depends on axioms: [propext, Classical.choice, Quot.sound]
EXIT: 0 (GoethalsSeidelHadamard.lean)
ZITADEL IDENTITY · auth.distributed.systems

Researcher Identity & AI Attribution

Loading account state...