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]

Rational certificate arithmetic is exact, including affine reassociation.

Instances For
    @[instance_reducible]

    The rational arithmetic dictionary satisfies the real enclosure laws.

    Instances For

      Interpret each rational tensor entry as a real number.

      Instances For

        Interpret both endpoints of a rational box over the reals.

        Instances For

          Interpret a dimension-carrying 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