FormaSL — Analysis Realization Profiles
Status: STABLE / NORMATIVE P3 DESIGN
Authority: DOWNSTREAM P3 REALIZATION-PROFILE OWNER FOR ANALYSIS
Semantic owner: ANALYSIS-CAPABILITY-CONTRACT.md
Extends: EXECUTABLE-LANGUAGE-ARCHITECTURE.md realization architecture
Ratification evidence: ../ANALYSIS-PROVIDER-REALIZATION-WITNESS-1.md, ../ANALYSIS-CAPABILITY-SEMANTIC-CONTINUITY-REAUDIT.md
Date: 2026-08-22
Purpose: close the CPU-only, accelerated and distributed realization consequences of H1 Analysis while preserving device-neutral .fsl semantics.
1. Governing separation
AnalysisContract
!= RealizationProfile
!= RealizationCapability
!= Provider
!= ExecutionDevice
The same admitted .fsl Analysis application may be executable under multiple profiles when each selected path satisfies the same frozen semantic contract and applicable realization requirements.
SAME .fsl SEMANTIC APPLICATION
+ DIFFERENT CONFORMANT .fsp REALIZATIONS
= SAME DECLARED ANALYSIS MEANING
subject to the contract’s exact/approximate/stochastic and reproducibility envelope.
2. Execution capability classes
P3 may use extensible realization classes such as:
GENERAL_PURPOSE_CPU
LOCAL_ACCELERATOR
DISTRIBUTED_CPU
DISTRIBUTED_ACCELERATOR
REMOTE_MANAGED_EXECUTION
These classes are realization vocabulary, not a closed semantic taxonomy.
ExecutionCapabilityClass != SemanticKind
3. ANALYSIS_PORTABLE_H1
A conforming portable H1 distribution SHALL provide a realization path for the mandatory H1 Analysis reference capability slice on general-purpose CPU execution without requiring GPU/accelerator hardware.
ANALYSIS_PORTABLE_H1
requires
MandatoryReferenceCapabilitySlice
-> >= 1 conforming GENERAL_PURPOSE_CPU realization path
This is a P3/P5 product/realization obligation, not P2 meaning.
It guarantees that ordinary development/server deployments can exercise the required productive Analysis floor without CUDA, ROCm or another accelerator stack.
It does not require:
every optional/imported AnalysisContract to have CPU support
every parameter/guarantee mode of every reference contract to be CPU-supported
CPU/GPU performance parity
byte-identical CPU/GPU results
unbounded workload completion
4. Mandatory reference capability slice
MandatoryReferenceCapabilitySlice is a bounded set of admitted invocations from ANALYSIS-H1-REFERENCE-CONTRACT-SET.md sufficient to exercise at least:
ranking / centrality
components / decomposition
structural statistic
community / partition
similarity
native higher-order semantic analysis
embedding / representation
node prediction / regression
link / relation prediction
graph prediction / regression
model fitting / training
learned-model application
model evaluation
Exact fixtures, parameter bounds, resource envelopes and practical workload sizes belong to P5 implementation/conformance acceptance.
MandatoryReferenceCapabilitySlice
!= TotalAnalysisContractDomain
5. ANALYSIS_ACCELERATED
An optional ANALYSIS_ACCELERATED profile may provide realization paths using local accelerators.
Potential mechanism advantages include higher throughput, larger practical workloads, accelerated sparse kernels, accelerated graph sampling/message passing and accelerated training/inference.
None changes Analysis standing or semantic meaning.
A path is eligible only when it satisfies the exact semantic contract, realization requirements and result-conformance relation.
6. ANALYSIS_DISTRIBUTED
An optional ANALYSIS_DISTRIBUTED profile may use:
DISTRIBUTED_CPU
DISTRIBUTED_ACCELERATOR
REMOTE_MANAGED_EXECUTION
under explicit joint-realization, partitioning, currentness, carrier and completion contracts.
Distributed execution may add mechanism history and failure states; it does not create a new Analysis standing.
7. Profile composition
An installation may satisfy multiple profiles.
Examples:
local portable distribution
-> ANALYSIS_PORTABLE_H1
accelerated workstation
-> ANALYSIS_PORTABLE_H1
+ ANALYSIS_ACCELERATED
cluster distribution
-> ANALYSIS_PORTABLE_H1 where packaged
+ ANALYSIS_ACCELERATED where applicable
+ ANALYSIS_DISTRIBUTED
A specialized accelerator-only deployment may omit the portable profile if product policy permits, but it cannot be presented as the portable H1 distribution.
8. .fsp realization selection
Final surface syntax remains P3L-open. .fsp must eventually support realization policies semantically equivalent to:
prefer general-purpose CPU
prefer accelerator
require accelerator
require distributed execution
prefer accelerator with conforming CPU retry/fallback policy
Such selectors elaborate to realization requirements/preferences.
.fsp DevicePreference -/-> .fsl MeaningChange
9. Provider-domain matching
A provider is selectable for an invocation only when its versioned RealizationCapability satisfies:
ConcreteInvocation RealizationRequirement
+ semantic contract revision
+ accepted realization domain
+ carrier/adapter requirements
+ assurance/currentness requirements
+ AnalysisResultConformanceRelation
ProviderSupports("pagerank")
-/-> Supports(Std.Analysis.PageRank.v1 invocation)
Provider self-description is not correctness evidence unless the requirement explicitly accepts that assurance class.
10. Pre-execution substitution
Before an attempt begins, a planner may choose any provider satisfying the same frozen requirements.
same Analysis application
-> CPU provider
or
-> accelerator provider
is ordinary realization freedom when both conform.
11. Retry / fallback
Provider failure does not authorize invisible history rewriting.
A failed attempt may be followed by a new attempt on another conforming provider when retry policy permits.
ExecutionAttempt_1 != ExecutionAttempt_2
For stochastic training, a restarted fit is a distinct TrainingOccurrence and normally yields a distinct learned-model artifact identity even if model specification and training contract are the same.
12. Mid-run state migration
Stateful continuation on another provider/device requires an explicit state-correspondence/checkpoint migration contract.
Material state may include:
model parameters
optimizer state
randomness state
sampling state
training progress
precision / state encoding
algorithm frontier / iterative state
Absent sufficient correspondence:
MID-RUN PROVIDER CHANGE
= restart/new attempt
or failure
!= transparent continuation
13. Numerical/provider conformance
CPU and accelerator providers need not produce byte-identical outputs unless the AnalysisContract promises that property.
Conformance follows:
EXACT
or
APPROXIMATE(tolerance/residual)
or
STOCHASTIC(distribution/reproducibility contract)
plus standing, basis, dependence and completion requirements.
DifferentFloatingPointBits may still conform
DifferentPromisedSemanticResult = NON-CONFORMANT
14. Framework-default firewall
Realization frameworks may not silently define semantic choices such as:
self-loops
normalization
sampling
relation/role aggregation
negative sampling
loss reduction
optimizer semantics
precision behavior
missing/conflict treatment
Each material choice must be already defined/admitted semantically, proven irrelevant to the contracted result, or represented as another explicit semantic stage.
FrameworkDefault != AnalysisSemantics
15. Provider ecosystem openness
No provider technology is selected normatively here.
Admissible provider classes may include:
Rust CPU graph-algorithm providers
sparse-linear-algebra / GraphBLAS-style providers
GPU graph-analytics providers
heterogeneous graph-ML providers
native Rust tensor/ML providers
FormaSL-native typed role-incidence providers
remote managed providers
ThirdPartyLibrary != FormaSLSemanticDependency
Provider replacement does not reopen Analysis semantics when correspondence/conformance remains satisfied.
16. P5 obligations
P5 must later freeze at least:
portable-profile fixtures / bounded invocation domains
provider capability evidence requirements
reference provider(s) if any
CPU-only distribution acceptance
accelerated/distributed profile conformance claims
retry/fallback observable behavior
migration/checkpoint acceptance
numerical tolerance/reproducibility evidence
provider discovery/packaging boundaries
P3 closes the architecture/profile requirement; it does not claim any implementation exists.
17. Closure state
DEVICE_NEUTRAL_ANALYSIS_SEMANTICS = PRESERVED
ANALYSIS_PORTABLE_H1 = STABLE P3 PROFILE
CPU_ONLY_MANDATORY_REFERENCE_SLICE = REQUIRED
ANALYSIS_ACCELERATED = STABLE OPTIONAL PROFILE ROLE
ANALYSIS_DISTRIBUTED = STABLE OPTIONAL PROFILE ROLE
SAME_FSL_ACROSS_PROFILES = REQUIRED
SILENT_GUARANTEE_WEAKENING_ON_FALLBACK = FORBIDDEN
MID_RUN_MIGRATION_WITHOUT_CORRESPONDENCE = FORBIDDEN
IMPLEMENTATION = NOT AUTHORIZED