Documentation

LeanMirror.Latex

← Mathematical handbook

LaTeX presentation and definition closure #

This renderer is a presentation component, not a kernel-verified TeX engine. All mathematical operators are rendered from the interpreted syntax tree. Application-specific symbol notations form an explicit, reviewable vocabulary.

structure LeanMirror.Vocabulary (Symbol : Ty → Type) :
Instances For
    def LeanMirror.Expr.latex {Symbol : Ty → Type} (V : Vocabulary Symbol) {Γ : List Ty} {a : Ty} (expr : Expr Symbol Γ a) (vars : List String := []) :
    Equations
    Instances For
      def LeanMirror.Expr.theoremLatex {Symbol : Ty → Type} (v : Vocabulary Symbol) (expr : Expr Symbol [] Ty.prop) :

      The controlled phrases have exactly the implication semantics of allIn.

      Equations
      Instances For
        Instances For

          Dependency order; reject missing definitions and cycles instead of silently omitting them.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For