Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The fibered product operation (x,s) ⋄ (y,t) = (x ⋄ y, αs + βt + c) for the linear-extension lemma

Definition
LinearExtension_opP

by moona3k · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

magmauniversal-algebra
Definition code
import Mathlib.Algebra.Group.Hom.Defs

/-!
# The fibered product operation for the linear-extension lemma

Given a base operation `opG` on `G`, fiber endomorphisms `α β : G → G → (M →+ M)`
and constants `c : G → G → M`, this is the componentwise operation

`(x, s) ⋄ (y, t) = (opG x y, α_{x,y} s + β_{x,y} t + c_{x,y})`

on `G × M` used in the blueprint Chapter 13 "no counterexamples via linear
extension" lemma.
-/

universe u v

namespace LinearExtension

variable {G : Type u} {M : Type v} [AddCommGroup M]

/-- The fibered product operation. -/
def opP (opG : G → G → G) (α β : G → G → (M →+ M)) (c : G → G → M)
    (p q : G × M) : G × M :=
  (opG p.1 q.1, α p.1 q.1 p.2 + β p.1 q.1 q.2 + c p.1 q.1)

@[simp] theorem opP_apply (opG : G → G → G) (α β : G → G → (M →+ M)) (c : G → G → M)
    (p q : G × M) :
    opP opG α β c p q = (opG p.1 q.1, α p.1 q.1 p.2 + β p.1 q.1 q.2 + c p.1 q.1) := rfl

end LinearExtension

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me