TorchLean API

NN.Verification.Cert.RationalReflection

Exact rational reflection for algebraic certificates #

These lemmas connect executable rational tensor arithmetic to the existing real-valued tensor semantics. No floating-point rounding or transcendental approximation is involved.

@[instance_reducible]

The rational arithmetic dictionary satisfies the real enclosure laws.

Instances For

    The rational backend's minimum agrees with its real interpretation.

    Interpret each rational tensor entry as a real number.

    Instances For

      Interpret both endpoints of a rational box over the reals.

      Instances For

        Interpret the coefficients of an exact affine form.

        Instances For

          Interpret the slope and offset of a ReLU relaxation exactly.

          Instances For