OctoInform Beta

OpenAI preprint, September 2026 · §2. Episode graphs and affine updates · §2

Lemma 2.3: Evaluating the lift of an affine map at last coordinate one recovers the original map

Homogeneous lifts preserve composition and embeddings intertwining allowed updates preserve graph languages.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

An affine map ff on a vector space VV is a map from VV to itself that applies a linear endomorphism followed by a translation. Enlarging the space by one scalar coordinate places the original states at last coordinate 11, raising the question of how homogeneous lifts of affine maps act there and compose, and when an injective embedding of state spaces preserves the language of words obtained by concatenating episodes, each an input word, whose successive updates take a start state to a target state.

The homogeneous lift

For a finite vector space VV over a finite field KK, homogenization lifts f(x)=Lx+bf(x)=Lx+b to a linear endomorphism of V×KV\times K without requiring invertibility. For a semimodule VV over a commutative semiring KK, a KK-linear endomorphism L:V→VL : V \to V, and a vector b∈Vb \in V, the homogeneous lift fˆL,b\hat{f}_{L,b} of (L,b)(L,b) is the KK-linear endomorphism of V×KV \times K given at each (x,c)∈V×K(x,c) \in V \times K by fˆL,b(x,c)=(Lx+cb,c).\hat{f}_{L,b}(x, c) = (Lx + cb, c).(1)✦

Graph languages

For an alphabet Σ\Sigma, let the episode domain D⊆Σ*D \subseteq \Sigma^* be the language of admissible episodes. A finite list 𝒆\mathbf{e} of words over Σ\Sigma has all episodes in DD when every word in 𝒆\mathbf{e} belongs to DD.✦

An episode update GG on a state set SS over an alphabet Σ\Sigma is a family (Ge)e∈Σ*(G_e)_{e \in \Sigma^*} of maps Ge:S→SG_e : S \to S, one for each word over Σ\Sigma. Given a state x∈Sx \in S and a finite list 𝒆=(e1,…,er)\mathbf{e} = (e_1, \dots, e_r) (r≥0r \ge 0) of words over Σ\Sigma, the iterated episode update G𝒆(x)∈SG_{\mathbf{e}}(x) \in S from xx along 𝒆\mathbf{e} is defined from left to right by G𝒆(x)=Ger(⋯Ge1(x)⋯),G_{\mathbf{e}}(x) = G_{e_r}(\cdots G_{e_1}(x) \cdots),(2)✦ taking G𝒆(x)=xG_{\mathbf{e}}(x) = x when 𝒆\mathbf{e} is empty.

The episode domain DD fixes which episodes are available for paths from a start state to a target state. For a language D⊆Σ*D \subseteq \Sigma^*, an episode update GG on SS, and states x,y∈Sx, y \in S, the graph language 𝒢D(G,x,y)⊆Σ*\mathcal{G}_D(G, x, y) \subseteq \Sigma^* is defined using the iterated episode update (2) by 𝒢D(G,x,y)={e1⋯er∈Σ*:𝒆=(e1,…,er) with r≥0 has all episodes in D and G𝒆(x)=y}.\mathcal{G}_D(G, x, y) = \{\, e_1 \cdots e_r \in \Sigma^* : \mathbf{e} = (e_1, \dots, e_r) \text{ with } r \ge 0 \text{ has all episodes in } D \text{ and } G_{\mathbf{e}}(x) = y \,\}.(3)✦

The claim

Lemma 2.3. Let KK be any commutative semiring and let VV be any KK-semimodule. For KK-linear endomorphisms L,A:V→VL, A : V \to V, vectors b,c∈Vb, c \in V, and x∈Vx \in V, fˆL,b(x,1)=(Lx+b,1),\hat{f}_{L,b}(x, 1) = (Lx + b, 1),(4)✦ and fˆA,c∘fˆL,b=fˆA∘L,Ab+c.\hat{f}_{A,c} \circ \hat{f}_{L,b} = \hat{f}_{A \circ L,\, Ab + c}.(5)✦ Let Σ\Sigma be an alphabet, D⊆Σ*D \subseteq \Sigma^* be a language, SS and UU be sets, GG and JJ be episode updates on SS and UU, and ι:S→U\iota : S \to U be an injective map such that Je(ι(z))=ι(Ge(z))J_e(\iota(z)) = \iota(G_e(z)) for every e∈De \in D and every z∈Sz \in S. Then for all x,y∈Sx, y \in S, 𝒢D(G,x,y)=𝒢D(J,ι(x),ι(y)).\mathcal{G}_D(G, x, y) = \mathcal{G}_D(J, \iota(x), \iota(y)).(6)✦

In the paper, over a finite field KK (written 𝑭\mathbf{F} in the paper) and for states x,y∈Vx, y \in V (with the space VV written SS in the paper), an affine update on VV lifts to a linear update on V⊕KV \oplus K, and the lifted graph language from (x,1)(x, 1) to (y,1)(y, 1) gives the original graph language from xx to yy.

What is checked

Lemma 2.3 is stated over the homogeneous lift (1) of a KK-linear endomorphism on VV and a vector in VV, together with the graph language (3) of an episode update on a state set SS built from finite lists having all episodes in DD and their iterated episode update (2), and an injective map ι:S→U\iota : S \to U intertwining two episode updates on DD.