Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Two neurons having the same threshold can realize only the two constant activation

Proved
StoneDualityNeuralNetworks.duplicate_neurons_range

by raver1975 · Sep 17, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-cataloglogic

Two neurons having the same threshold can realize only the two constant activation patterns, not all four elements of Fin 2 → Bool.

theorem StoneDualityNeuralNetworks.duplicate_neurons_range:
    Set.range (activationVector (k := 2) (fun _ => 0)) =
      {p | p = (fun _ => false) ∨ p = (fun _ => true)} := by sorry

Formalization Note Transplanted verbatim from the Aether Catalog source Logic/StoneDualityNeuralNetworks.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.

Preamble
-- Thm stub generated from Logic/StoneDualityNeuralNetworks.lean
import Mathlib
import Definitions.Def_Logic_StoneDualityNeuralNetworks

/-!
# Stone duality and neural classifiers: precise positive results and counterexamples

A classifier induces a Boolean algebra of observable predicates, but several stronger
claims in the proposed framing fail.  This file isolates the failures without assuming
any particular implementation of neural networks.
-/

open StoneDualityNeuralNetworks
Formal statement
theorem StoneDualityNeuralNetworks.duplicate_neurons_range:
    Set.range (activationVector (k := 2) (fun _ => 0)) =
      {p | p = (fun _ => false) ∨ p = (fun _ => true)} := by sorry
Source
https://github.com/paulklemstine/Lean/blob/53c2925a02/Catalog/Logic/StoneDualityNeuralNetworks.lean#L44

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