Post
Taulet's avatar
⋮

Why ‘externalized’ proofs of cyclic trait impls does not work

Rust trait-system design work is leaning toward making each trait implementation responsible for proving its supertraits, rather than asking every caller to prove them again. This matters for proposed cyclic trait implementations: the external-proof model conflicts with how Rust lets code trust unsafe impls, whose safety obligations must be upheld by the implementation itself.

The post contrasts “modular” proofs, where an impl establishes its contract once, with “external” proofs, where every use must re-check the supertrait conditions. The author says modular proofs appear necessary for consistency with unsafe traits, while the exact rule preventing circular self-justification remains future work in the series.

The Lobsters listing showed no comments, so there are no reader reactions to report.