TorchLean API

NN.Runtime.Autograd.Compiled.IRExec.Correctness

Correctness #

Correctness for the IR → executable SSA graph bridge.

This file collects per-op forward-correctness lemmas for Runtime.Autograd.Compiled.execGraphOfIR. It is intentionally split out from NN.Runtime.Autograd.Compiled.IRExec so that routine builds of TorchLean's runtime do not have to import proof internals one file at a time.

Reusable helper lemmas live in NN.Runtime.Autograd.Compiled.IRExec.Correctness.Common. Operator-step lemmas live under ...Correctness.Ops, grouped by role:

The recursive end-to-end theorem lives in ...Correctness.SemanticEquivalence and is intentionally not imported here.

Main definitions #

Implementation notes #

References #

Tags #

correctness, ir, runtime, compilation, semantic equivalence