Skip to content

Add Python CI + Theorem N (Lean) formalization scaffold - #42

Merged
wayseer00 merged 1 commit into
mainfrom
claude/laughing-mendel-KbzUT
May 29, 2026
Merged

wayseer00 merged 1 commit into
mainfrom
claude/laughing-mendel-KbzUT

Conversation

@erinepshovel-code

Copy link
Copy Markdown
Contributor

Summary

Two independent additions:

1. Python CI workflow (.github/workflows/ci.yml)

A minimal GitHub Actions workflow: checkout, set up Python 3.11, python -m pip install -e .[dev] (the dev extra exists in pyproject.toml), then python -m unittest discover ucns_recursive/tests/ -v.

It is path-scoped to Python sources via paths: on both push and pull_request (ucns/**, ucns_recursive/**, tests/**, pyproject.toml, and the workflow file itself). It will not run on the examples/visualization front-end/HTML work, so it won't collide with the separate Codex visualizer effort.

2. Theorem N formalization scaffold (formal/)

A Lean 4 scaffold for eventually machine-checking the UCNS completeness results:

  • formal/README.md — status, layout, and the proof-status non-transfer discipline.
  • formal/lean-toolchain — pins leanprover/lean4:v4.7.0.
  • formal/lakefile.lean — minimal Lake package Ucns.
  • formal/Ucns/TheoremN.lean — stub statements (each theorem ... := sorry, with docstrings) for depth-1 restricted completeness, the depth-2 oracle result (Lemma 7), and catalogue-sufficient completeness (Theorem N). Claims are drawn from ucns-theorem-n.md.

The formal scaffold is sorry-backed and proves nothing yet. Per the non-transfer discipline documented in formal/README.md, a sorry-backed statement confers no DEFENDED status to any consumer repository; status is FRONTIER / awaiting external formal review.

Constraints honored

  • README.md untouched.
  • Nothing under examples/ touched.
  • No .gitignore changes were needed.

https://claude.ai/code/session_01Dz9UKMLXExfvk3XCY6mG7W


Generated by Claude Code

…formalization

Add a minimal GitHub Actions workflow that runs the ucns_recursive
unittest suite on Python 3.11, path-scoped to Python sources so it
does not trigger on front-end/HTML work. Add a Lean 4 scaffold under
formal/ with sorry-backed stub statements for the Theorem N family.

https://claude.ai/code/session_01Dz9UKMLXExfvk3XCY6mG7W
@wayseer00
wayseer00 merged commit b52f7b2 into main May 29, 2026
8 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

2 participants