FormaSL — H1 Reasoning Capability Contract
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — REASONING CAPABILITY OWNER
Amends/specializes: COMPUTATIONAL-REGIME-BOUNDARIES.md §7 for the H1 productive Reasoning envelope
Consumes: LANGUAGE-DEFINITION-FOUNDATIONS.md, SITUATED-RESULT-CONTRACT.md, QUERY-CAPABILITY-CONTRACT.md, ANALYSIS-CAPABILITY-CONTRACT.md, EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md, SEMANTIC-LIFECYCLE-TRANSITIONS.md
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../REASONING-CAPABILITY-TERMINAL-REAUDIT-1.md, W1..W4
Ratified candidate basis: ../REASONING-CAPABILITY-HARDENING-2.md + ../REASONING-CAPABILITY-HARDENING-3.md
Date: 2026-08-22
Purpose: close a serious H1 Reasoning capability spanning positive recursive deduction, stratified negative/aggregate reasoning and controlled existential/ontological reasoning without collapsing them into one universal logic or allowing reasoner engines to define consequence semantics.
1. Owner decision
The owner ratifies:
REASONING_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
REASONING_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
REASONING_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
REASONING_COMPOSITIONAL_CAPABILITY = PASS
REASONING_CAPABILITY_ADEQUACY = PASS
The pre-existing positive safe-rule profile remains valid but is no longer treated as the total adequate H1 Reasoning capability.
MINIMUM EXECUTABLE REASONING PROFILE
!= TOTAL H1 REASONING CAPABILITY
2. Reasoning jurisdiction
Reasoning introduces SemanticConsequence standing only through an admitted ReasoningContract and its declared consequence relation over a theory/rule/premise basis.
Preserve:
Reasoning != RuleEngineInvocation
Reasoning != DatalogSyntax
Reasoning != RecursiveEvaluation
SemanticConsequence != Truth
SemanticConsequence != Claim
SemanticConsequence != Decision
InputAccepts != PremiseAdmissible
QueryFound -/-> PremiseAdmissible
ReasoningCompletion != RuntimeTermination
OUT_OF_GAS != FIXPOINT
Provider choice, rule-engine success or graph membership never introduces consequence standing by itself.
3. Open Reasoning contract architecture
The total H1 ReasoningContract catalog is open and versioned.
A profile/contract may originate from standard packages, scientific/domain packages, third-party packages or application-local declarations, but must pass exact resolution, formation and Reasoning-regime admission.
Distinguish:
ReasoningContractDefinitionAvailable
ReasoningContractResolved
ReasoningContractWellFormed
ReasoningContractAdmitted
ReasoningContractExecutableAvailable
ReasoningContractRegistry != ReasoningAdmissionAuthority
ContractRegistered -/-> ContractAdmitted
ContractAdmitted -/-> ProviderAvailable
A contract that attempts to introduce Claim, Truth, source mutation, governance transition or another regime’s standing through a Reasoning label is rejected or decomposed into explicit stages.
4. Common ReasoningContract requirements
Every admitted ReasoningContract closes or references, where material:
contract identity/revision
Theory / rule basis
premise positions / interpretation
PremiseAdmissible rules
consequence relation
consequence content/equivalence key
rule/derivation semantics
assumption / closure regime
result StandingContract
completion contract
conflict/inconsistency behavior
identity/generation behavior
derivation / dependence / proof-artifact policy
provider-independent conformance relation
No engine defaults may fill a missing semantic decision.
5. ReasoningPremiseWorld
For contract R, basis B and exact premise/signature position s, Reasoning uses an explicit/reconstructible relation conceptually equivalent to:
ReasoningPremiseWorld(R,B,s)
built from:
candidate semantic inputs visible in B
-> exact premise interpretation
-> PremiseAdmissible
+ admitted prior/lower-stratum SemanticConsequences
Thus:
GraphContains(x) -/-> InReasoningPremiseWorld(x)
ProviderCanSee(x) -/-> InReasoningPremiseWorld(x)
InReasoningPremiseWorld(x) -/-> Truth(x)
This relation is the semantic basis for profile-specific matching, closure and aggregation where applicable.
Part I — R1 PositiveSafeRules.v1
6. R1 mandatory reference profile
H1 preserves the existing positive finite-domain profile:
finite set of typed rules
positive conjunctive body atoms
joins through shared variables
range-restricted head variables
finite admitted ground-term domain
positive recursion
least-fixpoint consequence semantics
no unrestricted function symbols
no existential-head witnesses
no head-driven active-domain expansion
non-self-grounding recursive cycles
R1 completion is exact least-fixpoint completion under its frozen Theory/rule/premise basis.
Part II — R2 StratifiedRules.v1
7. R2 capability
R2 adds a deterministic stratified reasoning profile with:
contract-defined signed explicit consequence atoms
closure-governed stratified negation-as-failure
typed pure constraints / comparisons
safe finite computed head values
stratified aggregates
stratum-by-stratum least-fixpoint completion
R2 is not stable-model/ASP semantics.
8. Signed explicit consequence content
A theory may declare a typed SignedReasoningSignature(S) with polarities:
POS
NEG
For the same ground semantic atom content A:
+S(A)
-S(A)
are distinct consequence contents linked by a contract-defined complement relation.
ExplicitSignedNegative != NAF
A source Claim/Observation/etc. maps into a signed premise only through explicit premise interpretation/admission.
FormaSL does not assume one universal negative-content ontology box.
9. Conflict-preserving R2 semantics
R2 permits both:
Derivable(+S(A))
Derivable(-S(A))
with distinct dependencies preserved.
There is no implicit ex-falso rule:
Derivable(+S(A)) AND Derivable(-S(A))
-/-> ArbitraryConsequence(Q)
Conflict is reconstructible through the complement relation and consequence artifacts.
ConflictPreserved != ConflictResolved
Explicit authored rules may react to conflict; that does not make explosion implicit.
10. R2 negation-as-failure
NAF is allowed only under an exact ReasoningClosureContract specifying:
closed signed signature / positions
exact ReasoningPremiseWorld interpretation
InterpretationBasis revision
scope/frame/context
time/revision boundary
visibility rule
premise-admission policy refs
lower-stratum completion dependency
Reference closure mode:
CLOSED_REASONING_EXTENSION
means the complete lower-stratum extension under the exact ReasoningContract/basis is used as the closed extension for NAF.
For a safely bound ground candidate A:
NAF(A)
iff closure applies
AND lower extension is complete
AND A is absent from that complete reasoning extension
Preserve:
MissingMatch -/-> NAF
NoGraphMember -/-> NAF
NoProviderRow -/-> NAF
NAF(A) -/-> ExplicitSignedNegative(A)
unless an explicit rule derives such content.
11. R2 special-literal safety and stratification
All variables determining NAF/aggregate lookup, group or source family must be positively bound or range-restricted by an explicit finite admitted domain before the special literal is evaluated.
Stratification is computed after semantic elaboration over exact Reasoning signature dependencies.
Edge classes include:
POSITIVE
NEGATIVE_NAF
NONMONOTONE_AGGREGATE
VALUE_GENERATING
Requirements:
POSITIVE edges may form SCCs
NEGATIVE_NAF -> strictly lower stratum
NONMONOTONE_AGGREGATE -> strictly lower stratum
unsafe VALUE_GENERATING cycles -> forbidden
Each lower stratum reaches its exact completion before a dependent higher stratum uses its absence or aggregate extension.
12. R2 built-ins and equality
The mandatory reference floor includes versioned pure deterministic typed operations equivalent to:
value equality / inequality
resolved semantic-referent identity equality
ordered comparison on compatible ordered scalar domains
boolean predicates
finite numeric arithmetic
value definedness/boundness where applicable
Preserve:
ResolvedSemanticReferentIdentityEqual
!= ValueEqual
!= SameAsClaim
No unique-name assumption is implicit for distinct identifiers, aliases or existential model-witness terms.
Built-ins are total over admitted domains or declare exact definedness/failure semantics.
13. R2 value-generation safety
R2 distinguishes:
BODY_BOUND_TERM
DECLARED_FINITE_DOMAIN_TERM
COMPUTED_VALUE_TERM
A computed head value is admitted only when its inputs are safely bound from finite completed relations/domains and its value-generating dependency is nonrecursive, unless an explicit finite codomain is enforced.
Therefore an unbounded rule equivalent to:
N(x) -> N(x+1)
is rejected from R2 v1.
NoFreshReferentGeneration
!= ValueDomainSafety
14. R2 aggregate source and multiplicity
The mandatory source family is:
DISTINCT_REASONING_CONTENT_SET
For a complete lower stratum, it includes each distinct matched ground reasoning content in ReasoningPremiseWorld exactly once, including as applicable:
admitted extensional/source premises
prior admitted results
derived lower-stratum SemanticConsequences
Deduplication uses ReasoningContentKey, not premise artifact identity, derivation identity or runtime row identity.
ReasoningContentKey
!= PremiseArtifactIdentity
!= DerivationIdentity
!= RuntimeRowIdentity
DerivationMultiplicity -/-> AggregateMultiplicity
A signature that intentionally includes Claim/artifact identity can distinguish multiple Claim artifacts because that identity then belongs to the ground reasoning content itself.
15. R2 aggregate floor
Mandatory operators:
COUNT
SUM
MIN
MAX
with exact:
group key
source pattern/signature
ReasoningContentKey
pure typed value expression
lower-stratum completion dependency
value/numeric domain
empty/definedness behavior
For an explicitly existing empty group:
COUNT(empty) = 0
SUM(empty) = typed additive zero
MIN(empty) = UNDEFINED
MAX(empty) = UNDEFINED
No group is manufactured from an implicit provider universe.
Aggregate dependence includes the complete source family and the evidence/closure establishing that no further contributors belong to it.
AggregatePrefixValue != CompleteAggregateValue
15.1 R2 aggregate group formation / member correlation / reference origin (OD-RC-R2-AGG-03)
Owned by R2-AGGREGATE-CORRELATION-AMENDMENT.md; materialized here as
the Reasoning semantics of the rule-level aggregate by locus.
Grouping modes and identities. R2 rule aggregate grouping has exactly two complete semantic modes:
MemberDerived {
member_key: SourceMemberProjection,
output_binder: optional OuterBinder
}
SeededCorrelated {
seed_key: OuterBinder,
member_key: SourceMemberProjection
}
OuterSeed alone is incomplete. The semantic identities
RuleBinderIdentity and SourceRoleIdentity are distinct; equal
display spelling or equal declared type does not establish
correspondence.
Member-to-group correlation. A source member contributes to a seeded group iff it belongs to the exact aggregate source (RCC §14) and its resolved member projection equals the seed value. MemberDerived coordinates come only from surviving source members; no source member means no complete group containing a MemberDerived coordinate. No spelling fallback, first-match, source/body/clause/role order or type-only guessing may select correlation.
Independent positive binding boundary. by Source.role as ?v is
SeededCorrelated only when ?v is independently established in the
outer substitution before aggregate evaluation: a positive when atom
binding ?v, or an already-authoritative executable finite-domain
outer binding. Head occurrence, NAF-only/where-only occurrence,
aggregate result, another aggregate result, MemberDerived output
binder, rule-parameter declaration by itself, and name/type
coincidence do NOT count. The classification is whole-rule semantic
classification over the independent binding graph, never textual
position.
Compatibility shorthand. by ?v resolves only from the set of
DISTINCT exact-source roles explicitly positively binding ?v in the
whole semantic rule:
1 -> SeededCorrelated(?v, role)
0 -> AGGREGATE_GROUP_CORRELATION_REQUIRED
>1 -> AMBIGUOUS_AGGREGATE_GROUP_CORRELATION
Repeated same-role occurrences do not create ambiguity.
Explicit output binder. An unbound as ?v MemberDerived component
introduces a group-output binder available to post-aggregate
where/head evaluation; it is not seed authority for another
aggregate. The same newly introduced binder may be introduced by at
most one MemberDerived component per rule and must differ from that
aggregate’s result binder; violations reject with
AGGREGATE_GROUP_BINDER_COLLISION. A genuinely independently positive
binder may seed multiple SeededCorrelated components; each member role
must then equal that same seed value.
Tuple grouping. Components resolve independently in structural tuple order. An all-seeded tuple with valid outer seeds establishes a group even with zero contributors (floors above apply). A mixed tuple where no source member survives the seeded filters creates no complete group; no default coordinate is manufactured.
Aggregate value reference origin. Aggregate value expressions preserve reference origin:
OuterVariable(RuleBinderIdentity) reads the outer environment
SourceMemberRole(SourceRoleIdentity) reads the member-role environment
Evaluation uses separate logical outer and member environments;
source-member values never overwrite unrelated outer bindings because
names collide. With outer ?amount = 10 and member T.amount = 3,
T.amount * ?amount = 30, never 9.
Order non-authority. Textual clause order, positive body atom order, source declaration order and role declaration order have no authority to choose correlation when the same semantic dependency graph remains; aggregate-to-aggregate seed authority by runtime sequence is forbidden.
16. R2 completion
R2 completion is:
CompleteUnder(
StratifiedLeastFixpoint,
Theory/Rule/Premise/ClosureBasis
)
with every stratum complete in order.
Budget exhaustion or incomplete lower strata cannot be relabeled as complete negative/aggregate reasoning.
Part III — R3 WardedExistentialRules.v1
17. R3 purpose
R3 provides controlled positive existential/ontological reasoning through a FormaSL-owned warded existential-rule profile.
It supports:
positive recursive joins
existential head variables
N-ary typed role-incidence atoms
positive conjunctive certain-answer goals
existential entailment content
goal-relative completion
Warded Datalog± literature is theory evidence for this design balance; no external syntax or engine is normative.
18. R3 rule form and wardedness
An R3 rule has a finite conjunctive positive body and finite conjunctive head. Head variables may include explicitly existential variables.
R3 v1 mandatory profile has no NAF or aggregate literals.
After elaboration to exact typed Reasoning signature positions/roles, define affected positions as the least set where:
- a head position receiving an existential variable is affected;
- a head position receiving a universal variable is affected when all body occurrences of that variable occur in affected positions.
A variable is dangerous when it may bind to an anonymous witness via affected positions and appears in the head.
A rule is warded only if all dangerous variables occur in one body atom (the ward) and that ward shares with other body atoms only variables that have at least one non-affected body occurrence.
The checker operates over semantic role/position contracts, not physical columns.
19. Existential consequence vs anonymous model witness
R3 distinguishes:
ExistentialConsequenceContent
ReasoningModelWitnessTerm
SemanticReferentIdentity
An entailed formula equivalent to:
exists p . KeyPerson(company,p)
is quantified SemanticConsequence content. It does not name the satisfying individual.
A chase/universal-model realization may introduce anonymous local ReasoningModelWitnessTerms to satisfy existential variables and support joins.
ReasoningModelWitnessTerm
!= SemanticReferentIdentity
!= SourceIdentifier
!= SourceDeclaration
ExistentialEntailment -/-> AuthoritativeReferentMinted
Provider labeled-null/Skolem identifiers are representation only.
20. Shared existential correlation
An existential variable has scope over its entire rule-head conjunction.
Within one rule application, all occurrences of the same existential variable map through one local RuleApplicationWitnessEnvironment binding.
Provider head normalization may not transform:
exists p . (P(p) AND Q(p))
into independent witnesses without preserving the shared correlation.
HeadNormalization != ExistentialWitnessDecorrelation
21. R3 equality / witness discipline
R3 v1 has no unique-name assumption over anonymous witness terms.
DistinctReasoningModelWitnessTerms -/-> SemanticNotEqual
Raw witness IDs are not compared across providers/runs as semantic identity.
The profile excludes equality-generating dependencies and witness-level semantic identity-merging rules.
Consequence/query semantics must remain invariant under admissible renaming/isomorphic/homomorphic witness representations.
22. R3 positive goal contract
The mandatory H1 goal language is a finite set of positive conjunctive goals.
Each goal has:
finite conjunction of positive typed Reasoning atoms
distinguished/free answer variables
remaining existentially quantified goal variables
exact semantic signature/basis
finite admitted/named answer-term domain
It excludes NAF, negative goal literals, aggregates, universal quantification and arbitrary function generation.
Every distinguished answer variable is safely range-constrained by positive atoms and the admitted answer domain.
23. Certain goal results
For goal G and substitution θ over distinguished answer variables:
CertainGoalResult(
substitution = θ,
consequence = EntailedGoalContent(Gθ)
)
is accepted when the instantiated existential closure Gθ is entailed under R3 semantics.
Preserve:
CertainGoalSubstitution != QueryAnswer
EntailedGoalContent(Gθ) = SemanticConsequence content
A later Query stage may project/select substitutions under QueryAnswer standing.
Bound existential-variable names are irrelevant to consequence-content identity at least up to alpha-renaming.
24. R3 completion
The mandatory profile does not promise full chase/universal-model enumeration.
Completion is finite-goal relative:
CompleteUnder(
WardedPositiveCertainAnswer,
Theory/Rule/PremiseBasis,
finite PositiveGoalSet,
admitted answer-term domain
)
It requires the full set of certain substitutions and entailment result for each declared goal.
A provider may use chase, finite quotient/termination summaries, query rewriting or another complete equivalent method.
ChaseAlgorithm != ConsequenceRelationAuthority
ProviderStoppedGeneratingWitnesses -/-> R3Complete
Any data-complexity claim applies only to the fixed logical profile over already-established finite premise relations, not arbitrary upstream FormaSL computation or provider transport.
Part IV — derivation artifacts
25. GroundedDerivationWitness
The H1 reference/conformance slice requires capability to provide a finite grounded derivation witness for expected consequences/goal results.
It preserves/references as material:
ReasoningContract revision
consequence/goal result
rule applications
premise/prior-consequence refs
closure/stratum dependencies
anonymous model-witness introductions local to the derivation
shared existential-variable correlation
homomorphism/goal mapping where material
completion/certificate refs where material
For recursive derivations, a finite DAG may reference already-established consequences rather than unroll cycles indefinitely.
GroundedDerivationWitness
!= FormalProofObject
!= Provenance
!= EvidentialSupport
!= RuntimeTrace
!= NaturalLanguageExplanation
A ReasoningContract declares its artifact policy; arbitrary imported profiles need not all promise the same derivation surface.
Part V — native FormaSL reasoning and composition
26. FormaSL-native capability obligation
H1 Reasoning must materially support reasoning whose premise/consequence semantics depend on dimensions such as:
N-ary role-incidence
higher-order referents
Claim / Observation / Prediction standing
issuer / authority
scope / frame / context
time / revision
conflict / plurality
hypothetical status
provenance / support / derivation dependence
Not every rule/profile must consume every dimension.
PremiseAdmissible remains the owner of situated premise selection.
27. Cross-regime composition
Important valid routes include:
Query -> Reasoning
Reasoning -> Query
Analysis/Prediction -> Reasoning under PremiseAdmissible
Query -> Analysis -> Reasoning
Hypothetical basis -> Reasoning
Reasoning consequence -> explicit later adoption/source-authoring if authorized
Preserve:
QueryAnswer != SemanticConsequence
Prediction != SemanticConsequence
Prediction != Truth
SemanticConsequence != Claim
SemanticConsequence != Decision
HypotheticalConsequence != BaselineConsequence
Learned-rule candidates require explicit adoption before becoming TheoryRule.
Part VI — provider architecture
28. Open reasoner provider catalog
Reasoner providers are realization-only.
Potential providers may implement Datalog, RDF rules, existential/warded rules, ASP or other logic engines, but provider branding is not conformance evidence.
ReasonerEngine != ConsequenceRelationAuthority
ProviderSupports("Datalog") -/-> Supports(StratifiedRules.v1)
Provider matching must cover the exact admitted profile semantics, closure, equality, aggregation, existential, completion and artifact policy.
29. Reasoner-default firewall
No provider default may silently determine:
closed-world / NAF semantics
signed complement relation
unique-name assumption
equality semantics
aggregate multiplicity / empty semantics
value-generation safety
existential witness identity
Skolemization meaning
chase variant as semantic authority
completion / termination
conflict / explosion behavior
proof/provenance interpretation
ReasonerDefault != ReasoningSemantics
30. Mandatory H1 reference profile set
The durable reference/conformance owner is:
REASONING-H1-REFERENCE-PROFILE-SET.md
It includes R1/R2/R3 and the bounded reference witness requirements.
REFERENCE PROFILE SET
!= TOTAL REASONING CONTRACT CATALOG
!= REASONER PROVIDER CATALOG
This prevents the open-profile architecture from degenerating into an empty engine hook.
31. Deliberate non-requirements
H1 does not require every logic class as a mandatory profile.
Currently non-mandatory/open include:
combined warded + stratified-negation profile
ASP / stable-model semantics
defeasible / prioritized reasoning
probabilistic logic
full first-order theorem proving
all Description Logic / OWL profiles
unrestricted existential rules
higher-order logic
public anonymous universal-model graph
one universal proof/certificate format
These may be admitted later through additional exact ReasoningContracts without reopening the core unless they require a new constitutive semantic mechanism.
32. Reopen triggers
Reopen this contract on material evidence such as:
R2 closure/NAF cannot preserve situated premise semantics
R2 aggregate/value safety is insufficient for finite completion
signed conflict semantics collapses distinct standing/content
R3 warded profile cannot preserve typed role-incidence meaning
R3 requires anonymous witness -> domain identity promotion
certain-answer semantics requires unowned Query/standing changes
reference profiles cannot be realized without engine-defined semantics
mandatory profile set is functionally below a competent H1 reasoning floor
P3 cannot preserve profile/provider/completion correspondence
Implementation convenience or preference for another reasoner is not itself a reopen trigger.
33. Closure state
REASONING_CAPABILITY_ADEQUACY = PASS
R1 POSITIVE SAFE PROFILE = RATIFIED
R2 STRATIFIED PROFILE = RATIFIED
R3 WARDED EXISTENTIAL PROFILE = RATIFIED
SIGNED CONFLICT SEMANTICS = RATIFIED
GROUNDED DERIVATION CAPABILITY = RATIFIED FOR REFERENCE SLICE
REASONING CONTRACT CATALOG = OPEN / VERSIONED / ADMISSION-GOVERNED
REASONER PROVIDER CATALOG = OPEN / REALIZATION-ONLY
EMPTY REASONER HOOK = REJECTED
REASONING_BLOCKING_UNKNOWN = NONE AT THIS HORIZON
P3 REASONING CHANGE IMPACT = REQUIRED / DOWNSTREAM
P3L INFER SURFACE = PAUSED
IMPLEMENTATION = NOT AUTHORIZED