Formal Derivation
Context: An algebraic derivation showing how the system’s state space supports the high-level intuition
Color = f(Context, Intent).
1. Proposition
Section titled “1. Proposition”The Axiomatic Color system posits that a resolved color is a pure function of two independent variables: Context (the environment) and Intent (the semantic role).
This document derives this property from the definitions in The Algebra of Color Design.
2. State Space Decomposition
Section titled “2. State Space Decomposition”Let the system state be defined as the Configuration Space of two subspaces: Context () and Intent ().
2.1. The Subspaces
Section titled “2.1. The Subspaces”-
Context Space (): The environmental variables.
-
Intent Space (): The semantic variables.
Thus, any state is an ordered pair:
3. The Resolution Function ()
Section titled “3. The Resolution Function (Φ\Phi)”The CSS Engine’s resolution function maps the state to a color space (OKLCH).
Observation: The function accepts and as distinct arguments. The evaluation of lightness is the only interaction term, representing the “Late Binding” of Intent to Context.
4. Derivation of Independence (Orthogonality)
Section titled “4. Derivation of Independence (Orthogonality)”We define the system operators as transformations on . To prove independence, we must show that Modifiers () and Intents () operate on disjoint subspaces.
4.1. Operator Definitions
Section titled “4.1. Operator Definitions”Let be a modifier function acting on , and be an intent function acting on .
Where and are the specific transformations (e.g., “Set Hue to Brand”, “Set Token to Subtle”).
4.2. Commutativity Proof (General Case)
Section titled “4.2. Commutativity Proof (General Case)”We examine the composition of these operators in both orders for Neutral Intents.
Case 1: Intent then Modifier ()
Case 2: Modifier then Intent ()
Result:
Conclusion: For Neutral Intents, the operators commute, and the subspaces and are orthogonal.
4.3. The Semantic Exception
Section titled “4.3. The Semantic Exception”For Chromatic Intents (e.g., Error), the Intent function acts on both subspaces to enforce semantic meaning.
In this case, commutativity is broken (), and the Intent dominates the Context.
5. Surface Scoping
Section titled “5. Surface Scoping”The Surface Operator () is a special transformation that acts on both subspaces.
5.1 Glass Surface ()
Section titled “5.1 Glass Surface (SglassS_{glass})”Preserves Context, Resets Intent.
5.2 Solid Surface ()
Section titled “5.2 Solid Surface (SsolidS_{solid})”Resets Context, Resets Intent.
6. Summary
Section titled “6. Summary”By modeling the state as the product , we have derived that:
- Separability: The resolution function is defined over the pair .
- Independence: Operations on and are commutative (except for Semantic Dominance).
- Scoping: Surfaces act as filters that reset , and optionally reset (if Solid).
This confirms that Color = f(Context, Intent) is structurally enforced by the algebra.