Module Setup Information #
Data types used by Lean module headers and the --setup
CLI.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.instReprImport = { reprPrec := Lean.instReprImport.repr }
Equations
- Lean.instInhabitedImport = { default := Lean.instInhabitedImport.default }
Equations
- Lean.instToJsonImport = { toJson := Lean.instToJsonImport.toJson }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.instFromJsonImport = { fromJson? := Lean.instFromJsonImport.fromJson }
Equations
- One or more equations did not get rendered due to their size.
- Lean.instBEqImport.beq x✝¹ x✝ = false
Instances For
Equations
- Lean.instBEqImport = { beq := Lean.instBEqImport.beq }
Equations
Equations
- Lean.instToStringImport = { toString := fun (imp : Lean.Import) => toString imp.module }
Equations
- Lean.instReprModuleHeader = { reprPrec := Lean.instReprModuleHeader.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Module data files used for an import
statement.
This structure is designed for efficient JSON serialization.
- ofArray :: (
- toArray : Array System.FilePath
- )
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.instReprImportArtifacts = { reprPrec := Lean.instReprImportArtifacts.repr }
Equations
- Lean.instInhabitedImportArtifacts.default = { toArray := default }
Instances For
Equations
Equations
- Lean.instToJsonImportArtifacts = { toJson := fun (x : Lean.ImportArtifacts) => Lean.toJson x.toArray }
Equations
- Lean.instFromJsonImportArtifacts = { fromJson? := fun (x : Lean.Json) => Lean.ImportArtifacts.ofArray <$> Lean.fromJson? x }
Instances For
Instances For
Instances For
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Files containing data for a single module.
- lean? : Option System.FilePath
- olean? : Option System.FilePath
- oleanServer? : Option System.FilePath
- oleanPrivate? : Option System.FilePath
- ilean? : Option System.FilePath
- ir? : Option System.FilePath
- c? : Option System.FilePath
- bc? : Option System.FilePath
Instances For
Equations
- Lean.instReprModuleArtifacts = { reprPrec := Lean.instReprModuleArtifacts.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
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
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
A module's setup information as described by a JSON file.
- name : Name
Name of the module.
- isModule : Bool
Whether the module, by default, participates in the module system. Even if
false
, a module can still choose to participate by usingmodule
in its header. The module's direct imports. If
none
, uses the imports from the module header.- importArts : NameMap ImportArtifacts
Pre-resolved artifacts of transitively imported modules.
- dynlibs : Array System.FilePath
Dynamic libraries to load with the module.
- plugins : Array System.FilePath
Plugins to initialize with the module.
- options : LeanOptions
Additional options for the module.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.instReprModuleSetup = { reprPrec := Lean.instReprModuleSetup.repr }
Equations
Equations
Instances For
Equations
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
Equations
- Lean.instFromJsonModuleSetup = { fromJson? := Lean.instFromJsonModuleSetup.fromJson }
Load a ModuleSetup
from a JSON file.
Equations
- One or more equations did not get rendered due to their size.