ScalarField
ScalarField equips a real-valued map on 4D spacetime with a structure wrapper for use in relativistic and discrete fluid models. Researchers constructing tensor fields or Navier-Stokes operators cite this type to represent assignments of reals to spacetime points. The declaration is a direct structure definition containing only the field ψ of type (Fin 4 → ℝ) → ℝ.
claimA scalar field is a map $ψ : (ℝ^4 → ℝ)$ that assigns a real number to each point in four-dimensional spacetime.
background
The Relativity.Fields.Scalar module defines ScalarField as a structure whose single field ψ has type (Fin 4 → ℝ) → ℝ. This matches the abbrev ScalarField := (Fin 4 → ℝ) → ℝ declared in Relativity.Geometry.Tensor. The discrete counterpart in NavierStokes.DiscreteNSOperator is the abbrev ScalarField (siteCount : ℕ) := Fin siteCount → ℝ, used for lattice sites. The module doc-comment states that a scalar field assigns a real value to each spacetime point.
proof idea
The declaration is a structure definition that directly introduces the component ψ of type (Fin 4 → ℝ) → ℝ. No lemmas are applied and no tactics are invoked; it is a pure type declaration.
why it matters in Recognition Science
ScalarField supplies the continuous scalar-field type referenced by 29 downstream declarations, chiefly the difference operators and CoreNSOperator structures in NavierStokes.DiscreteNSOperator. It realizes the scalar-field notion required by the Recognition framework in the 4D spacetime setting that follows from T8 (D = 3 spatial dimensions). The definition closes the interface between the Geometry.Tensor abbrev and the discrete lattice operators without introducing additional hypotheses.
scope and limits
- Does not impose continuity, differentiability, or any differential equation on ψ.
- Does not incorporate Recognition Science objects such as J-cost, phi-ladder, or the forcing chain.
- Does not define evaluation, derivatives, or algebraic operations (those reside in sibling declarations).
- Does not specify discrete lattice structure or site-count parameters.
formal statement (Lean)
11structure ScalarField where
12 ψ : (Fin 4 → ℝ) → ℝ
13
14/-- Evaluate scalar field at a point. -/
used by (29)
-
backwardDiff -
conservativeTransportField -
CoreNSOperator -
forwardDiff -
IncompressibleNSOperator -
ScalarField -
scalarLaplacian -
total_conservativeTransportField_zero -
kinetic_action -
kinetic_nonneg -
potential_action -
add -
add_comm -
constant -
deriv_add -
deriv_smul -
directional_deriv -
eval -
field_squared -
field_squared_nonneg -
gradient -
gradient_squared -
gradient_squared_minkowski -
smul -
smul_zero -
zero -
ScalarField -
expand_action_around_FRW -
RefreshField