An exponent-two middle-block source cannot satisfy the second Dris equation
ProvedOddPerfectNumber.Kernel.middle_source_exp_two_second_dris_impossiblek-fivemiddle-sourceoddperfectnumbersecond-dris
In the normalized k=5 two-prime branch, if the middle-block prime qC has factorization exponent two in m and is an incoming source for p, then the second Dris equation is impossible. The exponent-two source reduces the tuple to (p,qC,qD,a,b)=(5,31,7,1,1), and the explicit p=5 second-Dris contradiction applies after the first-equation formula for m.
Preamble
import Mathlib
Formal statement
namespace OddPerfectNumber.Kernel
theorem middle_source_exp_two_second_dris_impossible (p m d1 qC qD a b u : Nat)
(hp : p.Prime) (hd1 : 0 < d1)
(hu : p + 1 = 6 * u ^ 2)
(hC : p ^ 2 + p + 1 = qC * a ^ 2)
(hD : p ^ 2 - p + 1 = 3 * (qD * b ^ 2))
(hqC : qC.Prime) (hqD : qD.Prime)
(hqCmod : qC % p = 1)
(hm : m = 3 * u * a * b * d1 * qC * qD)
(he : m.factorization qC = 2)
(hsource : p ∣ ∑ i ∈ Finset.range (2 * m.factorization qC + 1), qC ^ i)
(h2 : (∑ d ∈ (m ^ 2).divisors, d) = p ^ 5 * (d1 ^ 2 * (qC * qD))) :
False := by
sorry
end OddPerfectNumber.KernelSource
This is a source-faithful composition of the Proved children middle_source_exp_two_forces_5_31_7 (d8e40da1-1f71-407b-ab46-7c8f59968048) and p5_q31_r7_second_dris_impossible (1a398fb3-1b9e-440c-947b-41f990b9a0ef). It isolates the exponent-two middle-source branch of the live five_no_two_prime_squarefree_index residual without claiming anything about higher source exponents or arbitrary square-support primes.