pith. sign in
theorem

expr_induces_counted_once_combiner

proved
show as:
module
IndisputableMonolith.Foundation.LogicAsFunctionalEquation.LinearLogicBridge
domain
Foundation
line
78 · github
papers citing
none yet

plain-language theorem explainer

A counted-once resource expression built from constants, single atoms u or v, their product, and sums induces a combiner that is affine in each argument separately. Researchers formalizing resource-sensitive comparisons or no-hidden-state principles cite this to connect syntactic normal forms to the functional equation side of the framework. The proof is a one-line wrapper that invokes the bi-affinity result for such expressions.

Claim. Let $e$ be a counted-once resource expression. Then the map $(u,v)mapsto eval(e,u,v)$ satisfies the counted-once combiner property: there exist real numbers $a,b,c,d$ such that $eval(e,u,v)=a+bu+cv+duv$ for all real $u,v$.

background

CountedOnceResourceExpr is the inductive type of normal-form expressions whose constructors are constants, the atom for $u$, the atom for $v$, the joint term for $u v$, binary addition, and scaling by a real constant. No constructors exist for repeated factors, roots, or series, enforcing the counted-once discipline. CountedOnceCombiner is the predicate asserting that a binary function $P$ is affine in each argument separately, i.e., $P(u,v)=a+bu+cv+duv$ for some reals $a,b,c,d$. The module sets up resource-sensitive syntax for counted-once comparison, restricting scalar monomials to $1$, $u$, $v$, and $u v$. The upstream result counted_once_expr_biaffine states that every such expression is bi-affine, which is the direct source of the present claim.

proof idea

The proof is a one-line wrapper that applies the theorem counted_once_expr_biaffine to the given expression $e$. That upstream theorem proceeds by induction on the structure of $e$, handling the constant, atom, both, add, and scale cases by exhibiting the four coefficients explicitly and verifying the affine identity.

why it matters

This declaration supplies the missing link that lets a syntactic counted-once expression be treated as a counted-once combiner. It is invoked inside no_hidden_state_implies_counted_once to convert a NoHiddenStateComposition hypothesis into a CountedOnceComposition statement. In the broader Recognition Science setting the result supports the passage from resource-sensitive logic to the functional equation side, where bi-affine forms are the normal objects that satisfy the Recognition Composition Law.

Switch to Lean above to see the machine-checked source, dependencies, and usage graph.