SSG/Core.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned compfiles documentation, Pinned compfiles corpus index

12 declarations, 0 contain sorry, 0 declared as axioms

Core types and abstractions for the SSG

Imported by 7 files
  1. structure Page A page to be generated line 8 source

    Source documentation

    A page to be generated

    no axioms what this means

    structure Page where
    …
  2. def Page.static Helper: create a page from static content line 18 source

    Source documentation

    Helper: create a page from static content

    no axioms what this means

    Statement uses: String, Page

    Proof uses: Page.mk, Pure.pure, IO, IO.Error

    3 instances, coercions and auxiliary constants left out.

    def static (path : String) (content : String) : Page :=
    …

    Mentions: Page

  3. def Page.dynamic Helper: create a page from IO action line 22 source

    Source documentation

    Helper: create a page from IO action

    no axioms what this means

    Statement uses: String, IO, Page

    Proof uses: Page.mk

    def dynamic (path : String) (gen : IO String) : Page :=
    …

    Mentions: Page

  4. inductive Asset A static asset to be copied line 28 source

    Source documentation

    A static asset to be copied

    no axioms what this means

    inductive Asset where
    …
  5. def Asset.src line 35 source

    no axioms what this means

    Statement uses: Asset, String

    Proof uses: Asset.src.match_1

  6. def Asset.dst line 39 source

    no axioms what this means

    Statement uses: Asset, String

    Proof uses: Asset.src.match_1

  7. structure SiteConfig Site-wide configuration line 46 source

    Source documentation

    Site-wide configuration

    no axioms what this means

    Statement uses: ToString

    structure SiteConfig (Custom : Type) [ToString Custom] where
    …
  8. instance SiteConfig.(instance at line 61) line 61 source
  9. def SiteConfig.resolveRel line 69 source

    standard axioms: propext what this means

    Statement uses: ToString, SiteConfig, List, String

    Proof uses: HAppend.hAppend, SiteConfig.pathPrefix, String.intercalate, List.filter, Decidable.decide, Not, Eq, Bool, String.isEmpty, Bool.true

    5 instances, coercions and auxiliary constants left out.

  10. def SiteConfig.resolveAbs line 73 source

    standard axioms: propext what this means

    Statement uses: ToString, SiteConfig, List, String

    Proof uses: HAppend.hAppend, SiteConfig.baseUrl, SiteConfig.resolveRel

    2 instances, coercions and auxiliary constants left out.

  11. def SiteConfig.resolveAsset line 76 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: ToString, SiteConfig, Asset, String

    Proof uses: SiteConfig.resolveAbs, Std.Iter.toList, Std.Iterators.Types.FilterMap, Std.Iterators.Types.Map, String.Slice.SplitIterator, String.Slice.Pattern.ForwardSliceSearcher, String.toSlice, Asset.dst, String.Slice.Subslice, String.Slice, Id, MonadLiftT.monadLift, Pure.pure, Std.Iterators.PostconditionT, String.Slice.Subslice.toSlice, Option, ite, Not, Eq, Bool and 7 more

    13 instances, coercions and auxiliary constants left out.

  12. abbrev PageGenerator Page generator: takes data and produces pages line 83 source

    Source documentation

    Page generator: takes data and produces pages

    no axioms what this means

    Proof uses: IO, List, Page

    abbrev PageGenerator α := α → IO (List Page)

    Mentions: Page