Documentation

Mathlib.Util.Export

A rudimentary export format, adapted from https://github.com/leanprover-community/lean/blob/master/doc/export_format.md with support for lean 4 kernel primitives.

structure Lean.Export.Alloc (α : Type u_1) [BEq α] [Hashable α] :
Type u_1
instance Lean.Export.instInhabitedAlloc {a✝ : Type u_1} {a✝¹ : BEq a✝} {a✝² : Hashable a✝} :
Equations
Equations
class Lean.Export.OfState (α : Type) [BEq α] [Hashable α] :
Instances
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    • One or more equations did not get rendered due to their size.
    @[reducible, inline]
    abbrev Lean.ExportM (α : Type) :
    Equations
    def Lean.Export.alloc {α : Type} [BEq α] [Hashable α] [OfState α] (a : α) :
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    Equations
    Equations
    partial def Lean.Export.exportDef.defn (ty : String) (n : Name) (t e : Expr) (ls : List Name) :
    partial def Lean.Export.exportDef.axdef (ty : String) (n : Name) (t : Expr) (ls : List Name) :