SSG/Core.lean
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
- structure
PageA page to be generated line 8 sourceSource documentation
A page to be generated
no axioms what this means
structure Page where …
- def
Page.staticHelper: create a page from static content line 18 sourceSource documentation
Helper: create a page from static content
no axioms what this means
Statement uses:
String, PageProof uses:
Page.mk,Pure.pure,IO,IO.Error3 instances, coercions and auxiliary constants left out.
def static (path : String) (content : String) : Page := …
Mentions: Page
- def
Page.dynamicHelper: create a page from IO action line 22 sourceSource documentation
Helper: create a page from IO action
no axioms what this means
Statement uses:
String,IO, PageProof uses:
Page.mkdef dynamic (path : String) (gen : IO String) : Page := …
Mentions: Page
- inductive
AssetA static asset to be copied line 28 sourceSource documentation
A static asset to be copied
no axioms what this means
inductive Asset where …
- def
Asset.srcline 35 sourceno axioms what this means
Statement uses: Asset,
StringProof uses:
Asset.src.match_1 - def
Asset.dstline 39 sourceno axioms what this means
Statement uses: Asset,
StringProof uses:
Asset.src.match_1 - structure
SiteConfigSite-wide configuration line 46 sourceSource documentation
Site-wide configuration
no axioms what this means
Statement uses:
ToStringstructure SiteConfig (Custom : Type) [ToString Custom] where …
- instance
SiteConfig.(instance at line 61)line 61 source - def
SiteConfig.resolveRelline 69 sourcestandard axioms: propext what this means
Statement uses:
ToString, SiteConfig,List,StringProof uses:
HAppend.hAppend,SiteConfig.pathPrefix,String.intercalate,List.filter,Decidable.decide,Not,Eq,Bool,String.isEmpty,Bool.true5 instances, coercions and auxiliary constants left out.
- def
SiteConfig.resolveAbsline 73 sourcestandard axioms: propext what this means
Statement uses:
ToString, SiteConfig,List,StringProof uses:
HAppend.hAppend,SiteConfig.baseUrl, SiteConfig.resolveRel2 instances, coercions and auxiliary constants left out.
- def
SiteConfig.resolveAssetline 76 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
ToString, SiteConfig, Asset,StringProof 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,Booland 7 more13 instances, coercions and auxiliary constants left out.
- abbrev
PageGeneratorPage generator: takes data and produces pages line 83 sourceSource documentation
Page generator: takes data and produces pages
no axioms what this means
Proof uses:
IO,List, Pageabbrev PageGenerator α := α → IO (List Page)
Mentions: Page