Initial commit. Six modules extracted from
cubical-transport-hott-lean4/CubicalTransport/Algebra/ and
re-namespaced as `Infoductor`:
- Foundation/Meta.lean — MetaCType, MetaClassifier,
MetaArtifact, MetaPosition
(with manual mutual decEq for
MetaClassifier's recursive
lattice arms)
- Foundation/Edit.lean — Edit monad + Context comonad +
distributive law +
MetaClassifier.atPosition
with lattice laws as theorems
- Foundation/Restructure.lean — universal `restructure` (5-field
comp-shaped operation), 6 frozen
aliases, headless apply +
brokenRefs / selfConsistent /
Edit.guarded
- Foundation/MacroAlias.lean — @[macroAlias] attribute +
EnvExtension registry
- Foundation/MetaPath.lean — @[metaPath src target]
attribute + registry +
findPathsFromSource/ToTarget
- Foundation/Methodology.lean — @[methodology classifier]
attribute + registry +
deriveByTransport (walks
metaPath registry) +
tryEntryAsClosed primitive +
cubical_search reference
demonstrator
Builds clean on lean4 v4.30.0-rc2, ten oleans. No deps beyond
Lean stdlib. Sub-libs Tactics / Pantograph / Runner are planned
under the same lakefile.toml but not yet implemented.
Pairs with Pantograph as the conductor sits atop the pantograph
on an electric train. "Info-ductor" — conducts information
(structure / classifications / methodology) through a Lean
codebase.
Forgejo: http://maxgit.wg:3000/max/infoductor
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
29 lines
1.2 KiB
TOML
29 lines
1.2 KiB
TOML
name = "infoductor"
|
|
version = "0.1.0"
|
|
defaultTargets = ["Infoductor"]
|
|
|
|
# Generic Lean library + tooling for algebraic organization of code
|
|
# repositories: `restructure` macro layer, `Edit` monad, `Context`
|
|
# comonad, the `@[macroAlias]` / `@[methodology]` / `@[metaPath]`
|
|
# attribute registries, and reference dispatch tactics.
|
|
#
|
|
# Consumers (cubical-transport-hott-lean4, topolei, …) depend on
|
|
# `Infoductor.Foundation` (and, when wanted, the other lean_libs
|
|
# below) to organise their proofs without committing to a specific
|
|
# methodology — the methodology is the consumer's choice.
|
|
#
|
|
# Pairs naturally with the Pantograph project (the conductor of an
|
|
# electric train sits atop the pantograph hardware).
|
|
|
|
[[lean_lib]]
|
|
name = "Infoductor"
|
|
# Default lib root. Subdirectories below carve out cherry-pickable
|
|
# sub-libs; downstream `import Infoductor.Foundation.Meta` only
|
|
# pulls Foundation's subgraph.
|
|
|
|
# Subdirectory `lean_lib`s — declared as we land each in turn.
|
|
# Foundation: pure algebra (Meta types, Edit/Context, restructure,
|
|
# registries). Lands first.
|
|
# Tactics: reference dispatchers built on Foundation.
|
|
# Pantograph: plugin / live integration (when ready).
|
|
# Runner: headless surface (when concrete need arises).
|