Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation E4 and six-marker variant — Frequency division

Proved
LawsOfForm.modulator_division

by FiniteUniverse · Sep 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

laws-of-formlogic

Under the declared synchronous unit-delay gate interpretation, both exact source netlists divide the sampled input frequency by two from any equilibrium at unmarked input, for every half-cycle length at least four. The eight-marker secondary output has the stated phase displacement. Existence of initial equilibria is included to make the claim nonvacuous. Minimal gate count and arbitrary physical delay behavior are outside this target.

Preamble
import Definitions.Def_LawsOfForm_Modulator

set_option autoImplicit false
Formal statement
namespace LawsOfForm
theorem modulator_division (hold : Nat) (hhold : 4 ≤ hold) :
  (∀ (s : Fin 8 → Bool), eightStep false s = s → ∀ k : Nat,
    sampledTrace eightStep hold s (k + 4) 7 = sampledTrace eightStep hold s k 7 ∧
    sampledTrace eightStep hold s (k + 2) 7 = !(sampledTrace eightStep hold s k 7) ∧
    sampledTrace eightStep hold s (k + 1) 7 = sampledTrace eightStep hold s k 3) ∧
  (∀ (s : Fin 6 → Bool), sixStep false s = s → ∀ k : Nat,
    sampledTrace sixStep hold s (k + 4) 5 = sampledTrace sixStep hold s k 5 ∧
    sampledTrace sixStep hold s (k + 2) 5 = !(sampledTrace sixStep hold s k 5)) ∧
  (∃ s : Fin 8 → Bool, eightStep false s = s) ∧
  (∃ s : Fin 6 → Bool, sixStep false s = s) := by sorry
end LawsOfForm
Source
G. Spencer-Brown, Laws of Form, Julian Press, New York, first American edition, 1972. Page authority: complete user-supplied G-Spencer-Brown-Laws-of-Form.pdf, SHA-256 1d1112350b9cf616a52bd406284f05a7fa8efe54dab6cbd37b21c005ba3928eb. Printed p = one-based PDF p+24. Edition record: https://openlibrary.org/books/OL5299727M/Laws_of_form. Chapter 11, E4 and both circuit drawings, printed pp. 65–68 (PDF pp. 89–92).
Read-back

What the Lean code literally says, in plain math · Codex (GPT-6)

For every natural number hhh with 4≤h4\le h4≤h, consider Boolean states, with 000 meaning false, 111 meaning true, ∨\lor∨ denoting Boolean disjunction, and ¬\neg¬ denoting Boolean negation. Define an eight-coordinate update EaE_aEa​, for a Boolean input aaa and a state s=(s0,…,s7)s=(s_0,\ldots,s_7)s=(s0​,…,s7​), by Ea(s)=(¬(a∨s7),¬(s0∨s2),¬(s0∨s3),¬(s2∨s4),¬(a∨s6),¬(s4∨s3),¬(s1∨s7),¬(s6∨s5))E_a(s)=(\neg(a\lor s_7),\neg(s_0\lor s_2),\neg(s_0\lor s_3),\neg(s_2\lor s_4),\neg(a\lor s_6),\neg(s_4\lor s_3),\neg(s_1\lor s_7),\neg(s_6\lor s_5))Ea​(s)=(¬(a∨s7​),¬(s0​∨s2​),¬(s0​∨s3​),¬(s2​∨s4​),¬(a∨s6​),¬(s4​∨s3​),¬(s1​∨s7​),¬(s6​∨s5​)), and define a six-coordinate update FaF_aFa​, for a state s=(s0,…,s5)s=(s_0,\ldots,s_5)s=(s0​,…,s5​), by Fa(s)=(¬(s1∨s2∨s3),¬(a∨s0∨s2),¬(a∨s1∨s3),¬(s1∨s2∨s5),¬(s1∨s3∨s5),¬(s2∨s3∨s4))F_a(s)=(\neg(s_1\lor s_2\lor s_3),\neg(a\lor s_0\lor s_2),\neg(a\lor s_1\lor s_3),\neg(s_1\lor s_2\lor s_5),\neg(s_1\lor s_3\lor s_5),\neg(s_2\lor s_3\lor s_4))Fa​(s)=(¬(s1​∨s2​∨s3​),¬(a∨s0​∨s2​),¬(a∨s1​∨s3​),¬(s1​∨s2​∨s5​),¬(s1​∨s3​∨s5​),¬(s2​∨s3​∨s4​)). Every coordinate in either update is computed simultaneously from the state before that update. For either update family G=EG=EG=E or G=FG=FG=F, and any initial state sss of the corresponding size, define sampled states X0G,h,s=sX^{G,h,s}_0=sX0G,h,s​=s and Xk+1G,h,s=Gak h(XkG,h,s)X^{G,h,s}_{k+1}=G_{a_k}^{\,h}(X^{G,h,s}_k)Xk+1G,h,s​=Gak​h​(XkG,h,s​) for every natural number kkk, where ak=1a_k=1ak​=1 when kkk is even and ak=0a_k=0ak​=0 when kkk is odd, and Ga hG_a^{\,h}Gah​ means exactly hhh successive applications of the simultaneous update with input aaa held constant throughout; zero applications would leave the state unchanged. The assertion is the conjunction of these four claims: for every eight-coordinate Boolean state sss satisfying E0(s)=sE_0(s)=sE0​(s)=s, and every natural number kkk, Xk+4,7E,h,s=Xk,7E,h,sX^{E,h,s}_{k+4,7}=X^{E,h,s}_{k,7}Xk+4,7E,h,s​=Xk,7E,h,s​, Xk+2,7E,h,s=¬Xk,7E,h,sX^{E,h,s}_{k+2,7}=\neg X^{E,h,s}_{k,7}Xk+2,7E,h,s​=¬Xk,7E,h,s​, and Xk+1,7E,h,s=Xk,3E,h,sX^{E,h,s}_{k+1,7}=X^{E,h,s}_{k,3}Xk+1,7E,h,s​=Xk,3E,h,s​; for every six-coordinate Boolean state sss satisfying F0(s)=sF_0(s)=sF0​(s)=s, and every natural number kkk, Xk+4,5F,h,s=Xk,5F,h,sX^{F,h,s}_{k+4,5}=X^{F,h,s}_{k,5}Xk+4,5F,h,s​=Xk,5F,h,s​ and Xk+2,5F,h,s=¬Xk,5F,h,sX^{F,h,s}_{k+2,5}=\neg X^{F,h,s}_{k,5}Xk+2,5F,h,s​=¬Xk,5F,h,s​; there exists an eight-coordinate Boolean state sss with E0(s)=sE_0(s)=sE0​(s)=s; and there exists a six-coordinate Boolean state sss with F0(s)=sF_0(s)=sF0​(s)=s. Here Xk,iX_{k,i}Xk,i​ means coordinate iii of sampled state kkk, with coordinates numbered from zero. The quantified sample index includes k=0k=0k=0, so the identities include the initial state, before the first block of hhh updates with input 111; the permitted holding lengths include h=4h=4h=4 and every larger natural number, but exclude h=0,1,2,3h=0,1,2,3h=0,1,2,3. The two existence claims assert at least one fixed state for each network and do not assert uniqueness. The trace identities apply to every initial state satisfying the respective fixed-state hypothesis and refer to the indicated sampled coordinates, without asserting identities at intervening individual updates.

Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FiniteUniverse · Nov 18, 2026

    Confirmed by the mission captain (proposal self-audit).

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