{"id":18495934,"url":"https://github.com/leanprover/reference-manual","last_synced_at":"2025-09-10T05:39:48.996Z","repository":{"id":259069019,"uuid":"822450976","full_name":"leanprover/reference-manual","owner":"leanprover","description":"The Lean reference manual","archived":false,"fork":false,"pushed_at":"2025-09-04T09:38:53.000Z","size":78728,"stargazers_count":79,"open_issues_count":93,"forks_count":36,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-09-04T11:34:56.409Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lean-lang.org/doc/reference/latest/","language":"Lean","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leanprover.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-01T07:18:26.000Z","updated_at":"2025-09-04T07:31:27.000Z","dependencies_parsed_at":"2024-11-06T13:37:40.221Z","dependency_job_id":"bee27328-89f2-49c0-b7ec-f664d72ef963","html_url":"https://github.com/leanprover/reference-manual","commit_stats":null,"previous_names":["leanprover/reference-manual"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/leanprover/reference-manual","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Freference-manual","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Freference-manual/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Freference-manual/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Freference-manual/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leanprover","download_url":"https://codeload.github.com/leanprover/reference-manual/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Freference-manual/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274417455,"owners_count":25281114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T13:26:52.814Z","updated_at":"2025-09-10T05:39:48.987Z","avatar_url":"https://github.com/leanprover.png","language":"Lean","funding_links":[],"categories":["Lean"],"sub_categories":[],"readme":"# Lean Language Reference\n\nThe Lean Language Reference is intended as a comprehensive, precise description of Lean. It is first and foremost a reference work in which Lean users can look up detailed information, rather than a tutorial for new users.\n\nThis new reference has been rebuilt from the ground up in Verso. This means that all example code is type checked, the source code contains tests to ensure that it stays up-to-date with respect to changes in Lean, and we can add any features that we need to improve the documentation. Verso also makes it easy to integrate tightly with Lean, so we can show function docstrings directly, mechanically check descriptions of syntax against the actual parser, and insert cross-references automatically.\n\n\n## Reading the Manual\n\nThe latest release of this reference manual can be read [here](https://lean-lang.org/doc/reference/latest/).\n\nFor developers:\n * The output of building the current state of the `nightly-testing` branch can be read [here](https://lean-reference-manual-review.netlify.app/).\n * Each pull request in this repository causes two separate previews to be generated, one with extra information that's only useful to those actively working on the text, such as TODO notes and symbol coverage progress bars. These are posted by a bot to the PR after the first successful build.\n\n## Branches and Development\n\nThe two most important branches are:\n * `main` tracks the latest Lean release or release candidate\n * `nightly-testing` tracks the latest Lean nightlies\n\nNew content that addresses in-development features of Lean will be\nwritten on `nightly-testing`, while updates to existing content may be\nwritten either on `main` or `nightly-testing`, as appropriate. From\ntime to time, `main` will be merged into `nightly-testing`; when Lean\nis released, the commits in `nightly-testing` are rebased onto `main`\nto achieve a clean history.\n\n## Building the Reference Manual Locally\n\nThis reference manual contains figures that are built from LaTeX sources. To build them, you'll need the following:\n * A LaTeX installation, including LuaLaTeX and the following packages from TeXLive:\n   + `scheme-minimal`\n   + `latex-bin`\n   + `fontspec`\n   + `standalone`\n   + `pgf`\n   + `pdftexcmds`\n   + `luatex85`\n   + `lualatex-math`\n   + `infwarerr`\n   + `ltxcmds`\n   + `xcolor`\n   + `fontawesome`\n   + `spath3`\n   + `inter`\n   + `epstopdf-pkg`\n   + `tex-gyre`\n   + `tex-gyre-math`\n   + `unicode-math`\n   + `amsmath`\n   + `sourcecodepro`\n * `pdftocairo`, which can be found in the `poppler-utils` package on Debian-derived systems and the `poppler` package in Homebrew\n \nAdditionally, to run the style checker locally, you'll need [Vale](https://vale.sh/). It runs in CI, so this is not a necessary step to contribute.\n\nTo build the manual, run the following command:\n\n```\nlake exe generate-manual --depth 2\n```\n\nThen run a local web server on its output:\n```\npython3 ./server.py 8880 \u0026\n```\n\nThen open \u003chttp://localhost:8880\u003e in your browser.\n\n## Contributing\n\nPlease see [CONTRIBUTING.md](CONTRIBUTING.md) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanprover%2Freference-manual","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleanprover%2Freference-manual","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanprover%2Freference-manual/lists"}