Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_FiniteMagmaE677.lean
qedmarket’s copy of theproofnetwork/open-problems@860a535, 30 Nov 2026original source ↗
/-From Prove2Me, definition `FiniteMagmaE677` (https://prove2.me/definitions/b73d92eb-3d59-4152-8899-914880d6ee06). Apache-2.0 per Prove2Me's terms.-/import Mathlib.Data.Fintype.Basic /-! The operation is arbitrary: no associativity, identity, or cancellation is assumed. -/namespace FiniteMagmaE677 universe u def E677 {α : Type u} (op : α → α → α) : Prop := ∀ x y : α, x = op y (op x (op (op y x) y)) def E255 {α : Type u} (op : α → α → α) : Prop := ∀ x : α, x = op (op (op x x) x) x /-- An element whose right product with `x` is `x`. -/def HasFixerAt {α : Type u} (op : α → α → α) (x : α) : Prop := ∃ y : α, op y x = x /-- Membership in the forward orbit of `x` under left multiplication by `x`. -/def InLeftOrbit {α : Type u} (op : α → α → α) (x a : α) : Prop := ∃ i : ℕ, a = (op x)^[i] x /-- A collision of right products on the left orbit of `x` either is trivial or yields a fixer. -/def OrbitRightCollisionOrFixer {α : Type u} (op : α → α → α) (x : α) : Prop := ∀ ⦃a b : α⦄, InLeftOrbit op x a → InLeftOrbit op x b → op a x = op b x → a = b ∨ HasFixerAt op x end FiniteMagmaE677