Physlib

Learn

Contributor FAQ

Can I contribute before learning Lean?

Yes. An API map explains the physics in Markdown and links to existing Lean declarations. Look for a topic you know in API Maps and use the API map guide to get started.

When do I need a GitHub account?

You can read the repository, clone it, and draft locally without signing in. You need an account to create a fork and open a pull request. Follow the GitHub guide when you are ready to submit.

Why does GitHub reject my push?

Run git remote -v to see where Git sends your changes. Push to the fork under your GitHub username and verify that Git is using the account that owns the fork. See the contribution guide for the local editing and submission workflow.

What should I check before submitting?

For an API map, use the lint command in the API map guide and check the rendered Markdown and declaration links. For Lean changes, see Linting for the local commands used to check the code.

Where can I ask for help?

Ask in the Physlib channel on Lean Zulip. Include the topic or command you were working on and any relevant error output.