TorchLean API

NN.Examples.Quickstart.Widgets

Quickstart: Widgets #

TorchLean widgets are editor-side inspection tools. They render values already present in Lean without changing runtime semantics or proofs.

Try these commands in the editor:

This quickstart keeps only the smallest useful examples; the full widget gallery lives in NN.Examples.DeepDives.Widgets.

A small vector, built with the same typed tensor constructor used in ordinary code.

Instances For

    A small matrix where the shape is visible both in the type and in the widget.

    Instances For

      A minimal training log; runtime examples can write the same structure as JSON.

      Instances For

        The commands below render editor panels through ProofWidgets. They inspect existing values and do not change runtime behavior or proof status.