Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate derivation step using Lean #32

Open
bhpayne opened this issue Jan 12, 2025 · 1 comment
Open

validate derivation step using Lean #32

bhpayne opened this issue Jan 12, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bhpayne
Copy link
Member

bhpayne commented Jan 12, 2025

Lean is now in the webserver Docker image so steps can be validated.

The repo https://github.com/allofphysicsgraph/lean-in-docker/tree/main/lean_v4 is for exploring how to validate a step.

A simple example would be applying the inference rule "add X to both sides" of a+b to get a+2 = b+2.

In Lean, a=b is a proposition. We have to specify that a is Real and b is Real. Then we can prove that
(a=b) -> (a+2=b+2).

The relation between PDG and Lean is described here: https://physicsderivationgraph.blogspot.com/2023/06/translating-between-physics-derivation.html

@bhpayne bhpayne added enhancement New feature or request help wanted Extra attention is needed labels Jan 12, 2025
@bhpayne bhpayne self-assigned this Jan 12, 2025
@bhpayne
Copy link
Member Author

bhpayne commented Jan 12, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: No status
Development

No branches or pull requests

1 participant