External Markup Source Showcase

4. Authored labels with punctuation🔗

Imported papers often carry labels such as Chapter4:Theorem4.2.1 or ImportedPaper:Theorem2.2. The canonical Lean Name is useful internally, but the manifest also preserves the raw authored label for user interfaces.

Theorem4.1
Original source
Source provenance preview
Preview
Original source
  • Documentimported-paper
    imported-paper p. 13
    • page 13; text source/pages/page-13.md:1-8; pdf source/pages/page-13.pdf; image source/pages/images/page-13.png
uses 0used by 0markupMDL∃∀N

Rendered from external Markdown source (statement): source/pages/page-13.md:1:0-8:0; no native Verso body is available.

Theorem 2.2

This second bodyless node uses a punctuation-heavy authored label. The manifest keeps the raw label and the external Markdown source separately from the Lean name used for generated declaration previews.

Lean code for Theorem4.11 definition
  • defdefined in Init/Prelude.lean
    complete
    def Nat.add : Nat  Nat  Nat
    def Nat.add : Nat  Nat  Nat
    Addition of natural numbers, typically used via the `+` operator.
    
    This function is overridden in both the kernel and the compiler to efficiently evaluate using the
    arbitrary-precision arithmetic library. The definition provided here is the logical model.