Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Factor-pair and mask-pair predicates for 64141

Definition
Couret_FivePairSemantics_d40383365465

by alexcour · Nov 8, 2026 · Mathlib c5ea003 (Lean v4.30.0)

couret-programmecouret-unification-20261108

For unit-residue codes a,ba,ba,b modulo 30, the factor-pair predicate asks for d,e>1d,e>1d,e>1 with de=64141de=64141de=64141, residues a,ba,ba,b, and the prescribed bit-index ordering. The mask-pair predicate asks for the same ordering, both codes present in mask 254, and code product equal to the identity.

These definitions isolate the arithmetic and finite-mask descriptions whose equivalence is proved separately. Mask 254 has every unit-residue bit except the identity bit.

Definition code
import Std
import Definitions.Def_Couret_OptimalFive_2f3f11b1b6a3
namespace Couret
namespace S5

/- The cancellation/complement argument follows the archived S4 proof,
   specialized here to the explicit five-prime counterexample. -/
def factorPair64141 (a b : Code30) : Prop :=
  ∃ d e : Nat, 1 < d ∧ 1 < e ∧ d * e = 64141 ∧
    d % 30 = residue30 a ∧ e % 30 = residue30 b ∧ bitIndex30 a ≤ bitIndex30 b

def maskPair64141 (a b : Code30) : Prop :=
  bitIndex30 a ≤ bitIndex30 b ∧ maskSupport 254 a ∧ maskSupport 254 b ∧ mul30 a b = (0,0)















end S5
end Couret
Source
Alexandre Couret, Certified minimal memory for a divisor-residue presence observable modulo 30, https://zenodo.org/records/23989640; archive Couret_BC_MOD30_Companion_20261105.zip, SHA-256 9bb2678164c63a9e47c192093f5ce9deb1b7b74a1f1c8fecc77f305a408266a2; file source/S5/FivePairSemantics.lean; source file SHA-256 8b2d02904e438e1da57317890d439cece1022f7fb4ad1cbb929067cc80c7fde2

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me