Atomic equality and subtyping evidence

The executable contract is EvidenceTransportCardinalitySpec. The frontend recognizes both infix and prefix spellings of Scala's =:= and <:<, subject to its existing name-resolution and environment-completeness checks.

Derivation

In the pure, total model, a Scala equality witness is a proof and its application transports the same value. It is not an arbitrary A => B. In particular, applying A =:= A repeatedly cannot distinguish any new implementations. Witnesses themselves have one observable proof value in this model: effects, reflection, identity tests, unsafe casts, and user-defined counterfeit witnesses are excluded.

An available A =:= B restricts admissible instantiations to ones where those types agree. Only within that environment, the counter canonicalizes their free-atom identities. It rewrites product and arrow shapes using that equality, while retaining each term binding's provenance. Thus x: A, y: B, ev: A =:= B provide two choices for B, not one and not an infinite family. Multiple witnesses do not provide multiple copies of either input.

An available atomic A <:< B adds a directed view of an existing A value as B, retaining the original provenance. The counter closes these views transitively. It does not identify the binders or grant a reverse coercion. Cycles of evidence transport preserve the original value rather than generating a productive opaque-callable cycle.

Reflexive atomic proofs are constructible without an input witness. Proven proofs, including supplied equality, reflexivity and transitive subtype paths, normalize to the terminal shape when counting results or constructor fields. This erases proof choices, not the data fields alongside them.

Supported fragment and limits

The fragment extends the repository's parametricity/provenance contract, not its stored-value estimates. It does not claim to solve the eo relationships S =:= F[A] or Tuple.Union[T] <:< A: resolving those endpoints and supporting their structural transports requires separate proofs and frontend rules.