leanprover / leanprover/lean4

RFC: Add CSLib template for lake

Open
#12,592 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

RFC
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

Proposal

Create a cslib project template in lean. Such a template should create a project with CSLib as the toplevel dependency.

Clear and detailed description of the proposal. Consider the following questions:

  • User Experience: How does this feature improve the user experience?
    Allows users to create project using CSLib definitions, and maybe use mathlib's cache and the future lake cache.

  • Beneficiaries: Which Lean users and projects benefit most from this feature/change?
    Computer Scientists who wish to use the foundational material being built in CSLib. Currently, those who want to build Free Monad DSLs, or use the formalizations of Labelled-Transition-Systems or typed Lambda Calculi

  • Maintainability: Will this change streamline code maintenance or simplify its structure?
    Its effect is orthogonal.

Community Feedback

Ideas should be discussed on the Lean Zulip prior to submitting a proposal. Summarize all prior discussions and link them here.

  • The idea came up on Office hours Feb 19th 2026, and was approved by @kim-em

  • Zulip thread here

Impact

Add 👍 to issues you consider important.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing discussion in the linked CSLib Zulip thread and the repository's current project-template mechanism. Determine how a template would make CSLib the toplevel dependency and define the expected generated project and cache behavior. Done means the template is available and creates a usable CSLib-based project.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.