Skip to content

gen_degree: write Degree files under Sendov/FiniteRange - #7

Open
Chessing234 wants to merge 1 commit into
teorth:masterfrom
Chessing234:codex/clean-pr-5
Open

Chessing234 wants to merge 1 commit into
teorth:masterfrom
Chessing234:codex/clean-pr-5

Conversation

@Chessing234

Copy link
Copy Markdown

Running gen_degree.py outside the repository root writes Degree{n}.lean into the caller's working directory. Resolve the output directory from the script path and create Sendov/FiniteRange when needed, so the generated proof lands in the source tree.

Validation: the numerical --check suite passes. Generation from a different working directory passes with both an absent and an existing output directory; the file is written under Sendov/FiniteRange and no file appears in the caller's directory. git diff --check passes. No Lean source changes are included.

Replaces #5 with a clean commit history. The separate import-guard proposal in #2 addresses a different behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant