Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/erdos625-sharp-deficit-product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ on:
- "625/formalization/Erdos625/Section8ThreeQuarterDeficitArithmetic.lean"
- "625/proofs/SECTION8_SHARP_DEFICIT_PRODUCT_AND_REWRITE.md"
- "625/arxiv/SECTION8_SHARP_DEFICIT_INSERT_V2.tex"
- "625/arxiv/main.tex"
- "625/audits/LINE_BY_LINE_THEOREM_AUDIT_2026-07-27.md"
- "625/audits/THEOREM_STATUS_MANIFEST_2026-07-27.json"
- "625/experiments/section8_sharp_deficit_product.py"
- "625/experiments/extract_line_by_line_audit_map.py"
- "625/experiments/check_line_by_line_audit.py"
- ".github/workflows/erdos625-sharp-deficit-product.yml"
workflow_dispatch:

Expand Down Expand Up @@ -102,3 +107,49 @@ jobs:
name: erdos625-sharp-deficit-product-log
path: /tmp/erdos625-sharp-deficit-product.log
if-no-files-found: ignore

line-by-line-theorem-audit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- name: Compile audit tools
run: |
python -m py_compile 625/experiments/extract_line_by_line_audit_map.py
python -m py_compile 625/experiments/check_line_by_line_audit.py
- name: Run audit consistency checker
id: audit-check
continue-on-error: true
shell: bash
run: |
set +e
python 625/experiments/check_line_by_line_audit.py \
> /tmp/erdos625-line-audit-check.log 2>&1
status=$?
cat /tmp/erdos625-line-audit-check.log
exit $status
- name: Upload audit checker log
if: always()
uses: actions/upload-artifact@v4
with:
name: erdos625-line-audit-check-log
path: /tmp/erdos625-line-audit-check.log
if-no-files-found: error
- name: Run audit checker with optimization
if: steps.audit-check.outcome == 'success'
run: python -O 625/experiments/check_line_by_line_audit.py
- name: Generate exact source-map artifact
if: steps.audit-check.outcome == 'success'
run: |
python 625/experiments/extract_line_by_line_audit_map.py \
625/arxiv/main.tex \
--output /tmp/ERDOS625_GENERATED_SOURCE_MAP.md
- name: Upload generated source map
if: steps.audit-check.outcome == 'success'
uses: actions/upload-artifact@v4
with:
name: erdos625-generated-source-map
path: /tmp/ERDOS625_GENERATED_SOURCE_MAP.md
if-no-files-found: error
- name: Fail if audit checker failed
if: steps.audit-check.outcome == 'failure'
run: exit 1
Loading
Loading