Documentation

Cedar.Thm.TPE.WellTyped

This file contains theorems about partial evaluation preserving well-typedness of residuals.

@[irreducible]

Theorem: Partial evaluation preserves well-typedness of residuals.

If a residual is well-typed in some type environment, then partially evaluating it with a partial request and partial entities produces another well-typed residual in the same type environment.

This is a fundamental property ensuring that the partial evaluation process maintains type safety throughout the computation.