TorchLean API

FloatLib.Floats.Formats.Codebook.Info

Codebook format inspection #

Codebook formats assign a meaning to every stored word by an explicit finite table. Their inspection output therefore reports the table-defined denotation and only the operations whose refinement theorems are actually available; it does not infer arithmetic from bit width.

Catalog entries additionally report their word denotations and finite-input arithmetic theorems. Custom tables receive the generic representation and nearest-codeword guarantees. The public family entry point is FloatLib.Floats.Formats.Codebook.

The known catalog identity, when the inspected codebook is one supplied by FloatLib.

Instances For

    Recognize public catalog entries without guessing from the storage width.

    Instances For

      Checked theorem surfaces for the selected codebook.

      Instances For

        Operations implemented by the raw catalog code, without implying universal scalar dispatch.

        Instances For

          Operations outside universal configured dispatch.

          Bipolar multiplication is omitted here because the configured family installs it as the ordinary proof-linked ExecFloat.Mul capability. Its exact negation remains a family-specific operation. The ternary operations remain checked Option APIs, so both are specialized.

          Instances For

            Build the proof-aware profile for an exact-width lookup encoding.

            Instances For