Counterexample structure (p) — Extensions twisted by permutations over a finite right-cancellative fibre satisfy E255
ProvedFiniteMagmaE677.e255_of_twisted_extension_of_right_cancelLet and be finite sets with operations and , and let be an operation on , with blocks as in Counterexample structure (n). The block is permutation-twisted when there are permutations of with
is right-cancellative when gives .
Theorem. Suppose that
- satisfies E677, and satisfies E255;
- every block is permutation-twisted, except that the blocks with (the idempotent diagonal blocks) may have any table;
- E255 holds at every point with ;
- is right-cancellative.
Then satisfies E255. No equation on , no equation on other than E255, and no property of the twists other than bijectivity is assumed.
Proof idea. Let with , and let , so by E255 in . The block is permutation-twisted, and is injective on the finite set , so it is onto: some satisfies . In a finite E677 magma, such an element gives E255 at (ETP blueprint, Lemma 13.2). The points over an idempotent are hypothesis 3.
Use in a counterexample search. In a minimum counterexample, hypotheses 1 and 3 hold for every congruence that is neither equality nor universal (see (n)). So over a finite right-cancellative fibre, no choice of permutation twists off the idempotent diagonal blocks gives a minimum counterexample.
Prior work. The construction is B. Le Floch's (ETP Zulip thread "FINITE: 677 -> 255", 2024-12-18), with endomorphisms of the fibre as twists, bijective. On 2024-12-23 he also proposed permutations as twists, in the general form ("I suspect Terry's last construction could involve a pair of permutations instead of powers of a single one"); the twists here are the case . On 2024-12-25 he wrote: "If the base 677 magma is right-cancellative then the resulting magma is right-cancellative" (see also 2024-12-18: "This implies right-invertibility, which implies 255."). The proof above is the fixer argument of the proof of ETP blueprint Lemma 13.4 (affine extensions; B. Le Floch, same thread, 2024-12-14), with right cancellation in in place of the injectivity of the affine map. This theorem adds a Lean proof, a base that satisfies only E255 (no right cancellation), and arbitrary idempotent diagonal blocks.
Formalization Note The twists are maps φ ψ : Q → Q → Equiv.Perm E with no further property. htw says that every block (x, y) with ¬ (x = y ∧ opQ x x = x) is permutation-twisted, hidem is hypothesis 3, and hrc says that every right multiplication of opE is injective. The theorem is about the product type; a magma that is only isomorphic to a product needs a transport step that is not part of this statement.
import Definitions.Def_FiniteMagmaE677 import Mathlib universe u v open FiniteMagmaE677
theorem FiniteMagmaE677.e255_of_twisted_extension_of_right_cancel
{Q : Type u} {E : Type v} [Finite Q] [Finite E]
(opQ : Q → Q → Q) (opE : E → E → E) (op : Q × E → Q × E → Q × E)
(φ ψ : Q → Q → Equiv.Perm E)
(hQ : FiniteMagmaE677.E255 opQ) (h : FiniteMagmaE677.E677 op)
(htw : ∀ (x y : Q) (s t : E), ¬ (x = y ∧ opQ x x = x) →
op (x, s) (y, t) = (opQ x y, opE (φ x y s) (ψ x y t)))
(hidem : ∀ x : Q, opQ x x = x → ∀ s : E,
(x, s) = op (op (op (x, s) (x, s)) (x, s)) (x, s))
(hrc : ∀ b : E, Function.Injective (fun a : E => opE a b)) :
FiniteMagmaE677.E255 op := by sorry