Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

ChapterFreeFieldBornSignHom

Definition
ChapterFreeFieldBornSignHom

by leonardopedro · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

definitionstimepiece
Definition code
import Definitions.Def_ChapterFreeFieldBornSignAction
import Definitions.Def_ChapterFreeFieldBorn
import Definitions.Def_ChapterFreeFieldBornSignGauge
import Mathlib


/-!
# Chapter "Wave-function parametrization of a probability measure", §5 —
# the diagonal sign gauge as a homomorphism with parity character

Source: `book.tex`, Introduction, section *"Wave-function collapse versus Euler's
formula"* (`book.tex` line ~805) together with the free-field construction of §5
(`book.tex` ~line 1706).

Wave 158 (`ChapterFreeFieldBornSignAction`) recorded the diagonal `{±1}ⁿ` sign
gauge as an *action* of the elementary abelian 2-group `(Fin n → Bool, ⊕)`: the
sign flip `boolFlip b` (flip coordinate `k` iff `b k = true`) satisfies the
action laws (identity, `xor` composition, involution), preserves the unit sphere,
and fixes the Born image.

This wave records the underlying `±1` **sign vector** `flipVec b` as a *group
homomorphism*: `flipVec` sends the all-`false` vector to the pointwise unit `1`,
turns coordinate-wise `xor` into the pointwise product, is self-inverse, and is
injective (distinct boolean choices give distinct sign vectors, so the diagonal
gauge really has `2ⁿ` elements).  Finally we compute the **parity character**
`∏ k, flipVec b k = (-1) ^ (#flipped coordinates)` — the one-dimensional sign
representation `b ↦ (-1)^{|b|}` of the elementary abelian 2-group.

## Main results

* `flipVec_false` — `flipVec` sends the all-`false` vector to the pointwise `1`.
* `flipVec_xor` — `flipVec` turns coordinate-wise `xor` into the pointwise
  product (the homomorphism law).
* `flipVec_mul_self` — each `flipVec b` is self-inverse: `flipVec b * flipVec b = 1`.
* `flipVec_injective` — distinct boolean choices give distinct sign vectors.
* **headline** `flipVec_prod` — the parity character:
  `∏ k, flipVec b k = (-1) ^ (flipCount b)`.

Everything is intended to be `sorry`-free and axiom-clean.
-/

open MeasureTheory
open BookProof.ChapterFreeFieldBorn
open BookProof.ChapterFreeFieldBornSignGauge
open BookProof.ChapterFreeFieldBornSignAction

namespace BookProof.ChapterFreeFieldBornSignHom

variable {n : ℕ}

/-- The number of *flipped* coordinates of a boolean flip choice `b` — the
Hamming weight `|b|`.  The parity character below is `(-1)` to this power. -/
def flipCount (b : Fin n → Bool) : ℕ := (Finset.univ.filter (fun k => b k = true)).card

/-
`flipVec` sends the all-`false` vector to the pointwise multiplicative unit.
-/


/-
**Homomorphism law.** `flipVec` turns coordinate-wise `xor` into the
pointwise product of sign vectors, exhibiting it as a group homomorphism from
`(Fin n → Bool, ⊕)` to the pointwise `±1` sign vectors.
-/


/-
Each sign vector is self-inverse (the group is 2-torsion).
-/


/-
Distinct boolean flip choices give distinct sign vectors: `flipVec` is
injective, so the diagonal gauge group really has `2ⁿ` elements.
-/


/-
**Headline (parity character).** The product of the coordinates of a sign
vector is `(-1)` to the number of flipped coordinates — the one-dimensional sign
representation `b ↦ (-1)^{|b|}` of the elementary abelian 2-group.
-/


end BookProof.ChapterFreeFieldBornSignHom

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