Translation draft, 20 October 2026

Where the Chapter Stands

The Center of Part VII

The previous chapter built an abstract theory—an orthonormal system, Fourier coefficients, projection, Bessel, Parseval, best approximation—and ended with the promise to present a concrete rational system on which all this geometry works without a single transcendental. The present chapter fulfills this promise. Its heroine is the Walsh–Hadamard transform: an orthogonal transform over the Boolean cube , which plays for finite harmonic analysis the same role that the Fourier transform plays for continuous analysis, but requires neither sines nor cosines nor the complex exponential.

This is the central chapter of Part VII, and the choice of its subject is not accidental. Classical harmonic analysis is built on the characters of the circle, the functions , which at once bring in transcendental values, the imaginary unit, and a completed infinite spectrum. ToS asks: what in harmonic analysis remains purely rational, finite, and provable without axioms? The answer: a whole parallel world, if the circle group is replaced by the Boolean cube . Its characters, the Walsh functions, take only the values , their orthogonality is an exact identity over ℚ, and the conservation of energy is a finite sum. Transcendental trigonometry and the complex DFT remain an honest boundary and are analyzed in Chapter 7.3; here is the rational core.

What This Chapter Claims—and What It Does Not

What is proved here is the following, and all of it without a single axiom.1 The Hadamard matrix is built by Sylvester’s recursion from the values ; its rows are pairwise orthogonal with squared norm , that is, , and this is proved for all . The Walsh functions are the characters of the group : the value at the sum (modulo 2) of the arguments is the product of the values. The transform conserves energy, (the discrete Plancherel identity), and is invertible up to scale, . Finally, the normalized case , if is moved out into an abstract parameter with the relation , is exactly the quantum Hadamard gate.

What the chapter does not claim. Literal orthonormality requires the factor , which is rational only when is a perfect square (for , only for even ); therefore the normalization is introduced as an abstract parameter rather than computed. The complex DFT (roots of unity , the imaginary unit ) and continuous trigonometry are an honest P4 boundary (Chapter 7.3). And “frequency” here is not a real number but a character of a finite group; the ordering of the rows by the number of sign changes (sequency) is a permutation that does not change orthogonality.

The E/R/R Framework of the Chapter

The framework of the system in the generating order Rules Roles Elements; the full analysis is in § “Analysis in the Generating Order.” The chapter introduces the system of the Walsh–Hadamard transform.

Rules ( L5). Sylvester’s recursion ; orthogonality ; the character property ; the conservation of energy .

Roles ( L4). The row is the role-character (frequency as a character of the group); is the role-transform; is the role-operation of the group ; the normalization is a role-limit.

Elements ( L1P4). The rational values of the matrix, indices , amplitudes , finite sums; the completed spectrum and transcendental values lie outside the elements (P4).

The Hadamard Matrix: Sylvester’s Recursion

Doubling Instead of Oscillation

A trigonometric harmonic is given by oscillation: and run through a continuous range of values. A Walsh function is given by the doubling of a sign table. The base block is the unit matrix . Each next level is obtained by Sylvester’s recursion:

so that

Each entry is or , that is, a purely rational number; no passage to the limit, no transcendental values.2 The sign of the entry is determined by the high-order bits of the indices and : the upper-left, upper-right, and lower-left blocks repeat , and the lower-right one is taken with a minus sign—exactly what the recursive formula encodes.

Rows as Walsh Functions

The -th row of the matrix is the Walsh function : it assigns to column the sign . This is a discrete analogue of the -th harmonic: the “higher the frequency,” the more often the function changes sign along the row. The analogy with trigonometry here is literal in structure and diverges only in the carrier: instead of a continuous interval, a finite set of points; instead of the real values of an oscillation, the signs .

A Walsh harmonic is not an oscillation but a sign pattern built by doubling. “Frequency” is measured by the number of sign changes, not by the real argument of a sine; the whole spectrum is finite and rational.

Let us note one technical nuance. Sylvester’s recursion numbers the rows in the so-called natural (Hadamard) ordering, which does not coincide with the ordering by an increasing number of sign changes (sequency), the true analogue of increasing frequency. The passage to the sequency ordering is a permutation of rows; it changes neither orthogonality nor the conservation of energy, so everything proved below does not depend on the choice of ordering.

Orthogonality:

An Exact Identity Instead of an Integral

The heart of all harmonic analysis is the orthogonality of the basis functions. In trigonometry it is expressed by the integrals for —and this is already a transcendental object: an integral of a product of transcendental functions. For Walsh the same orthogonality is a finite sum of products of signs:

that is, . Different rows are orthogonal, and each has squared norm . And this is proved for all —by induction on Sylvester’s recursive structure, as an exact identity over ℚ, without a single axiom.3

Walsh orthogonality is not an integral that has to be “taken” but a finite sum of that is computed. Where trigonometry relies on the analysis of transcendental functions, Walsh relies on the addition of integers.

It is precisely this that makes Walsh–Hadamard the point of support of rational harmony: an orthogonal system on which the whole abstract theory of Chapter 7.1 (coefficients, projection, Bessel, Parseval) is literally fulfilled, and each of its premises, , is not a postulate but a proved equality.

Walsh Functions as Characters of the Boolean Cube

What Harmonic Analysis Really Is

Behind all of harmonic analysis stands one idea: to expand a function in the characters of a group, the homomorphisms of the group into the multiplicative group of values. For the circle the characters are , and their key property is turning the addition of arguments into the multiplication of values: . It is precisely this property that stands behind the convolution theorem, behind the conservation of energy, behind the whole algebra of Fourier.

The Walsh functions have exactly the same property—but for a different group and with rational values. The group here is the Boolean cube with the operation of bitwise addition modulo 2 (XOR), and the values of the characters are . It is proved:

that is, each Walsh function is a homomorphism , a character of the Boolean cube.4

A Walsh function is a character of the Boolean cube: it turns the group operation into multiplication. The “frequency” is not a number but a label of a character. Walsh harmonic analysis is Fourier analysis on , where the rational cube has replaced the transcendental circle.

Why This Is the “Real Fourier”

From this one sees in what exact sense Walsh is not a “simplified imitation” of Fourier but its full-fledged sibling. The structure is one and the same: an orthogonal basis of characters of an abelian group—and after the normalization it becomes orthonormal; in the Walsh layer the orthogonal structure itself is rational, while the normalization is moved out as a separate boundary. Only the group changes: instead of the circle (or with roots of unity), the Boolean cube . The circle drags transcendence and complexity along with it; the cube remains in ℚ. What in Fourier analysis rests on the character property is the conservation of energy and the convolution theorem. We have already conserved energy; the convolution theorem rests on the same character and is proved for all —through the reindexing of a finite sum under the XOR bijection—and is unfolded in Chapter 7.5.5

Conservation of Energy and the Hadamard Gate

The Discrete Plancherel Identity

From orthogonality follows the conservation of energy. The Walsh transform of a function is the vector of its coefficients . Then

a discrete analogue of the Plancherel identity: the energy of the spectrum equals the energy of the signal with a factor .6 The transform is, moreover, invertible: applied twice, it only rescales the signal,

so that the inverse transform is , again without any transcendence.7 Passing to the normalized system divides both sides by and returns the Parseval of Chapter 7.1 in the form —but the factor that makes an isometry is rational only for even and in the general case remains a role-limit.

The Hadamard Gate: A Bridge to Quantum Computing

The case has its own name. The matrix , normalized by the factor , is the quantum Hadamard gate, the elementary brick of quantum computing (it creates superposition in the algorithms of Grover, Deutsch–Jozsa, and others). Its two defining features are proved as rational facts, with the only transcendence, the normalization, moved out into an abstract parameter.

First, the gate is an involution: ; applied twice, it returns the initial state.8 Second, it creates an equal superposition: from the basis state it makes a vector with equal amplitudes on both outcomes.9

The conservation of energy is an exact rational fact (); the quantum Hadamard gate is the normalized Walsh transform on two points. The only transcendence, the normalization , is separated and marked; the structure of the gate (involution, superposition) is rational.

E/R/R Analysis: The Transform as Characters of a Group

Setup

Let us analyze the constructed system—the Walsh–Hadamard transform—in terms of E/R/R. A reservation about the level: the “Walsh system” here is a substantive interpretation of the concrete matrix and its action, not an object declared in the code as System. The analysis is an ontological comprehension of the structure of the chapter and a reading of the author’s E/R/R headers of the supporting files,10 not an attribution of new formal claims to the code.

We conduct the analysis in the generating order Rules Roles Elements (epistemically the chapter went the other way, from the observable matrix to its group meaning).

Analysis in the Generating Order

Rules ( L5). At the foundation is the generating rule of the matrix: Sylvester’s recursion, which doubles the sign table. Above it are the rules that sustain this table: orthogonality , the character property (a homomorphism into ), and the conservation of energy . The universal layer is the laws L1–L5; the concrete layer is precisely Sylvester’s recursion and the group operation .

Roles ( L4). The rules set the roles. The row is the role-character: the place that the “frequency” occupies as a homomorphism of the group. itself is the role-transform (reading off all coordinates at once). The operation is the role of group structure on the set of indices. And the normalization is a role-limit: what turns an orthogonal system into an orthonormal one; for square it is rational, but in the general case it is not actualized over ℚ.

Elements ( L1P4). The roles select bearers, and the bearers are finite and rational: the values of the entries of the matrix, the indices , the amplitudes , the finite sums . Under P4 no element is a completed infinity and no value is transcendental: only the finite matrix and finite sums are actual; the completed spectrum and the value for odd are not actualized.

ComponentWhat it determinesE/R/R
Sylvester’s recursion; ; ; HOW the transform is built and preservedRules ()
character ; transform ; operation ; normalization WHAT FOR the bearers are significant: places in the systemRoles ()
values ; indices ; ; finite sums WHAT exists at each stage (finite, rational, P4)Elements (, P4)

Well-Formedness Check and What the Analysis Yields

The system is well-formed: each component falls into exactly one E/R/R category, and there is no self-reference (P1). What is essential is what is absent here: the system takes as its element neither a completed infinite spectrum nor a transcendental value. “Frequency” is not a real number-element but a role-character of a finite group; the group is finite, it has exactly characters, and all of them are presented as rows of a concrete matrix.

What the analysis yields. It reveals why Walsh is genuine harmonic analysis and not a surrogate for it: a Walsh function is a Role (a character of a group), the transform is a Rule (recursion plus orthogonality plus the conservation of energy), and the values and amplitudes are Elements (finite, rational). Transcendence enters classical Fourier not through the idea of harmonic analysis but through the choice of the group: the circle. Replacing the circle by the Boolean cube, we obtain the same idea in a purely rational execution. To take “frequency” for a real number or the spectrum for a completed infinite object is to put a role-limit in the place of an Element, the same confusion of categories that guided Parts II and IV.

The next chapter outlines the boundary from the other side: what happens when the group taken is after all the circle—continuous trigonometry and the complex DFT with roots of unity. There one sees what exactly becomes transcendental and why ToS holds this as an honest P4 boundary, while keeping Walsh–Hadamard as the rational core of harmonic analysis.



Part: Part VII. Harmonic Analysis · Volume: “Mathematics”

Navigation: ← Chapter 1. Orthonormal Systems and Fourier Coefficients · Chapter 3. Trigonometry and the Complex DFT: Where the Boundary Lies →

Footnotes

  1. The supporting file is ProcessWalshHadamard.v (directory src/process/ of the ToS Rocq repository, 12 proved statements, 0 Admitted, 0 axioms), supplemented by ProcessFourierON.v (5 statements), ProcessWalshCharacter.v (7 statements), and ProcessHadamardGate.v (5 statements). The lemma names are in the notes below. ↩

  2. In the code the matrix is given recursively: had k i j returns the entry of the matrix as a value from (ProcessWalshHadamard.v); the size is pow2 k. The sign nature is fixed by the lemma had_sq: each entry squared equals . ↩

  3. The central theorem hadamard_orthogonal in ProcessWalshHadamard.v: , proved by induction on . The diagonal case () is walsh_norm: each row has squared norm . The concrete are hadamard_2_orthogonal, hadamard_4_orthogonal. All: 0 axioms. ↩

  4. The theorem had_character in ProcessWalshCharacter.v: , proved by induction on with an analysis of the bit structure of Nat.lxor (XOR). 0 axioms. XOR here is the operation of the group . ↩

  5. The general convolution is walsh_convolution in ProcessWalshConvolutionGeneral.v: for all , through the character (had_character) and the lemma xor_perm_q_sum (the invariance of q_sum under the XOR bijection, proved by Sylvester’s block recursion). 0 axioms. ↩

  6. The theorem parseval_walsh in ProcessFourierON.v: , derived from the self-adjointness of the transform (the Walsh matrix is symmetric, had_symmetric) and the identity . 0 axioms. ↩

  7. walsh_HH in ProcessFourierON.v: (Fourier inversion up to ); it follows from and the symmetry of . ↩

  8. hgate_involution in ProcessHadamardGate.v: for the normalized gate . The normalization is introduced as an abstract parameter with the relation ; the identity (the special case ) then gives . The entries of themselves are from (hadamard_2x2). ↩

  9. hgate_superposition: , equal amplitudes on two coordinates. This is the passage from a definite state to a superposition performed by the Hadamard gate. ↩

  10. The headers give the labeling directly: ProcessWalshHadamard.v—Elements: the matrix, size ; Rules: Sylvester’s recursion, . ProcessWalshCharacter.v—Rules: ; Roles: is a character . ProcessFourierON.v—Rules: . ↩