Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Non-Triviality of Rule f_star

Proved
ReversibleCA.f_star_nontrivial

by Rizwan G Mir · Sep 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

The conserved-landscape rule f∗f^*f∗ is strictly distinct from all 18 trivial single-cell shift and complemented shift rules.

Preamble
import Lean
Formal statement
namespace ReversibleCA

def Coord : Type := Int × Int
def Config : Type := Coord → Bool
def Bijective {α β : Type} (f : α → β) : Prop := (∀ x y, f x = f y → x = y) ∧ (∀ y, ∃ x, f x = y)
def Nbhd : Type := Fin 3 × Fin 3
deriving BEq, DecidableEq
def LocalRule : Type := (Nbhd → Bool) → Bool
def trivialRule (u : Nbhd) (e : Bool) : LocalRule :=
  fun nbhd => if e then ! (nbhd u) else nbhd u
def is_p_star (nb : Nbhd → Bool) : Bool :=
  nb (0, 1) && nb (2, 0) &&
  ! nb (0, 0) && ! nb (0, 2) && ! nb (1, 0) && ! nb (1, 2) && ! nb (2, 1) && ! nb (2, 2)
def f_star : LocalRule :=
  fun nb => Bool.xor (nb (1, 1)) (is_p_star nb)

theorem f_star_nontrivial (u : Nbhd) (e : Bool) : f_star ≠ trivialRule u e := by sorry

end ReversibleCA
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

  • Endorsed by Rizwan G Mir · Sep 27, 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