{"workspace":{"id":"ws_track2_slop_audit","slug":"erdos-audit-refactor","title":"Track 2 — AI Proof-Slop Audit & Modular Refactor","problem_statement_md":"# Track 2: AI Proof-Slop Audit & Modular Refactor\n\nAudits and refactors an unverified AI-generated Lean 4 proof dump into clean, Mathlib-grade\nmodular lemmas verified under strict `{propext, Classical.choice, Quot.sound}` axiom checks\n(Zero-Local-Lean Cloud Oracle, `require_precheck: false`, `lean4:v4.33.1@mathlib:0df444a`),\npaired with a `LiteratureCheck`, frozen `FormalizationAudit` gates, and human-readable `Exposition`.\n\n## Original Slop Findings\n- Monolithic 400-line `simp_all` + `aesop` script exceeding 400,000 heartbeats.\n- Hidden hypothesis strengthening and natural-number truncated subtraction edge cases.","domain_pack_ref":"math-lean4@v1","merge_target":"node_dir","environment_version":"lean4:v4.33.1@mathlib:0df444a","environment_lock_hash":"a3df8afd8af493dc4b6b99b210a2e9a1ff230272ab1580f7c2b524029c827cb8","git_head_sha":"b34212fc7ef93d2ac98e8bc3507a14bbb0ed4975","category":"formal_math","skills":["lean4","mathlib","proof-audit","refactoring"],"difficulty":"standard","estimated_minutes":20},"nodes":[{"id":"nd_t2_audit_helper1","type":"FormalizationAudit","status":"verified","title":"Audit: Modular Helper 1: Nonnegative Finset Single-Element Lower Bound","spec_summary":"FormalizationAudit gate for nd_t2_helper1_bound (spec/target_statements/nd_t2_helper1_bound.lean). Must reach status='verified' before Lemma submissions unlock.","spec_git_path":"spec/audit_drafts/nd_t2_helper1_bound.audit_receipt.json","spec_hash":"c241743c53080d4ee9df873f886d3fe993b7e8ab91ce02ee8db7b9c3f3405bcf","payload_ref":"spec/audit_drafts/nd_t2_helper1_bound.audit_receipt.json","category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.589Z","skills":["lean4","mathlib","proof-audit","refactoring"]},{"id":"nd_t2_audit_helper2","type":"FormalizationAudit","status":"verified","title":"Audit: Modular Helper 2: Cardinality-Scaled Upper Bound on Finset Sums","spec_summary":"FormalizationAudit gate for nd_t2_helper2_mono (spec/target_statements/nd_t2_helper2_mono.lean). Must reach status='verified' before Lemma submissions unlock.","spec_git_path":"spec/audit_drafts/nd_t2_helper2_mono.audit_receipt.json","spec_hash":"7a46382cb2c7df6a821c41e7da376b107bb42ab89e49dcbf1dd8137a09b3fa30","payload_ref":"spec/audit_drafts/nd_t2_helper2_mono.audit_receipt.json","category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.589Z","skills":["lean4","mathlib","proof-audit","refactoring"]},{"id":"nd_t2_audit_main","type":"FormalizationAudit","status":"verified","title":"Audit: Main Refactored Theorem: Two-Sided Finset Sum Sandwich","spec_summary":"FormalizationAudit gate for nd_t2_main_thm (spec/target_statements/nd_t2_main_thm.lean). Must reach status='verified' before Lemma submissions unlock.","spec_git_path":"spec/audit_drafts/nd_t2_main_thm.audit_receipt.json","spec_hash":"cd5761ea664756e066c7bd4e12f169a8a7d9261cd51549a78cfc0c7675011a0d","payload_ref":"spec/audit_drafts/nd_t2_main_thm.audit_receipt.json","category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.589Z","skills":["lean4","mathlib","proof-audit","refactoring"]},{"id":"nd_t2_exposition","type":"Exposition","status":"open","title":"Human-Readable Audit Report & LaTeX Proof Exposition","spec_summary":"Summarize all FormalizationAudit catches, link verified refactored Lean lemmas, and provide a clean LaTeX proof walkthrough.","spec_git_path":"nodes/nd_t2_exposition/spec.md","spec_hash":"ad7892d2e8ea32a71c784a0c5dc47168356fe149b8d59246c550b6192a157775","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.751Z","skills":["lean4","mathlib","proof-audit","refactoring"]},{"id":"nd_t2_helper1_bound","type":"Lemma","status":"open","title":"Modular Helper 1: Nonnegative Finset Single-Element Lower Bound","spec_summary":"Target: CaissonTrack2.finset_single_le_sum (clean modular refactor of AI dump part 1).","spec_git_path":"spec/target_statements/nd_t2_helper1_bound.lean","spec_hash":"c241743c53080d4ee9df873f886d3fe993b7e8ab91ce02ee8db7b9c3f3405bcf","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.689Z","skills":["lean4","mathlib","proof-audit","refactoring"]},{"id":"nd_t2_helper2_mono","type":"Lemma","status":"open","title":"Modular Helper 2: Cardinality-Scaled Upper Bound on Finset Sums","spec_summary":"Target: CaissonTrack2.finset_sum_le_card_mul_bound (clean modular refactor of AI dump part 2).","spec_git_path":"spec/target_statements/nd_t2_helper2_mono.lean","spec_hash":"7a46382cb2c7df6a821c41e7da376b107bb42ab89e49dcbf1dd8137a09b3fa30","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.711Z","skills":["lean4","mathlib","proof-audit","refactoring"]},{"id":"nd_t2_lit_check","type":"LiteratureCheck","status":"open","title":"Literature & Mathlib Coverage Audit for AI Claim","spec_summary":"Cross-check the unverified AI proof claim against Mathlib BigOperators API and published Erdős/Tao notes; flag duplicate or already-proved sub-lemmas.","spec_git_path":"nodes/nd_t2_lit_check/spec.md","spec_hash":"9f82f364a9ea490a6efff5fe00eabb46d86e5111187b5276c823df68fe0b2ca8","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.669Z","skills":["lean4","mathlib","proof-audit","refactoring"]},{"id":"nd_t2_main_thm","type":"Lemma","status":"open","title":"Main Refactored Theorem: Two-Sided Finset Sum Sandwich","spec_summary":"Target: CaissonTrack2.finset_sum_sandwich (combines Helper 1 & Helper 2 under 400k heartbeats).","spec_git_path":"spec/target_statements/nd_t2_main_thm.lean","spec_hash":"cd5761ea664756e066c7bd4e12f169a8a7d9261cd51549a78cfc0c7675011a0d","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.731Z","skills":["lean4","mathlib","proof-audit","refactoring"]}],"edges":[{"parent_node_id":"nd_t2_audit_helper1","child_node_id":"nd_t2_helper1_bound","edge_type":"audits"},{"parent_node_id":"nd_t2_audit_helper2","child_node_id":"nd_t2_helper2_mono","edge_type":"audits"},{"parent_node_id":"nd_t2_audit_main","child_node_id":"nd_t2_main_thm","edge_type":"audits"},{"parent_node_id":"nd_t2_helper1_bound","child_node_id":"nd_t2_main_thm","edge_type":"depends_on"},{"parent_node_id":"nd_t2_helper2_mono","child_node_id":"nd_t2_main_thm","edge_type":"depends_on"},{"parent_node_id":"nd_t2_lit_check","child_node_id":"nd_t2_exposition","edge_type":"depends_on"},{"parent_node_id":"nd_t2_main_thm","child_node_id":"nd_t2_exposition","edge_type":"depends_on"}],"dead_ends":[{"id":"art_t2_deadend_slop01","source_node_id":"nd_t2_main_thm","summary":"Monolithic `aesop` + `simp_all` tactic dump exceeds `max_heartbeats = 400000` and hides an unverified Nat subtraction cast; decompose into `nd_t2_helper1_bound` and `nd_t2_helper2_mono` over `ℝ` instead.","verifier_hash":"seeded-dead-end@v1","created_at":"2026-11-30T08:27:01.589Z"}],"recent_runs":[],"layout":{"width":1048,"height":528,"nodes":[{"id":"nd_t2_audit_helper1","type":"FormalizationAudit","status":"verified","title":"Audit: Modular Helper 1: Nonnegative Finset Single-Element Lower Bound","spec_summary":"FormalizationAudit gate for nd_t2_helper1_bound (spec/target_statements/nd_t2_helper1_bound.lean). Must reach status='verified' before Lemma submissions unlock.","spec_git_path":"spec/audit_drafts/nd_t2_helper1_bound.audit_receipt.json","spec_hash":"c241743c53080d4ee9df873f886d3fe993b7e8ab91ce02ee8db7b9c3f3405bcf","payload_ref":"spec/audit_drafts/nd_t2_helper1_bound.audit_receipt.json","category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.589Z","layer":0,"column":0,"x":32,"y":32,"width":216,"height":68},{"id":"nd_t2_audit_helper2","type":"FormalizationAudit","status":"verified","title":"Audit: Modular Helper 2: Cardinality-Scaled Upper Bound on Finset Sums","spec_summary":"FormalizationAudit gate for nd_t2_helper2_mono (spec/target_statements/nd_t2_helper2_mono.lean). Must reach status='verified' before Lemma submissions unlock.","spec_git_path":"spec/audit_drafts/nd_t2_helper2_mono.audit_receipt.json","spec_hash":"7a46382cb2c7df6a821c41e7da376b107bb42ab89e49dcbf1dd8137a09b3fa30","payload_ref":"spec/audit_drafts/nd_t2_helper2_mono.audit_receipt.json","category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.589Z","layer":0,"column":1,"x":288,"y":32,"width":216,"height":68},{"id":"nd_t2_audit_main","type":"FormalizationAudit","status":"verified","title":"Audit: Main Refactored Theorem: Two-Sided Finset Sum Sandwich","spec_summary":"FormalizationAudit gate for nd_t2_main_thm (spec/target_statements/nd_t2_main_thm.lean). Must reach status='verified' before Lemma submissions unlock.","spec_git_path":"spec/audit_drafts/nd_t2_main_thm.audit_receipt.json","spec_hash":"cd5761ea664756e066c7bd4e12f169a8a7d9261cd51549a78cfc0c7675011a0d","payload_ref":"spec/audit_drafts/nd_t2_main_thm.audit_receipt.json","category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.589Z","layer":0,"column":2,"x":544,"y":32,"width":216,"height":68},{"id":"nd_t2_lit_check","type":"LiteratureCheck","status":"open","title":"Literature & Mathlib Coverage Audit for AI Claim","spec_summary":"Cross-check the unverified AI proof claim against Mathlib BigOperators API and published Erdős/Tao notes; flag duplicate or already-proved sub-lemmas.","spec_git_path":"nodes/nd_t2_lit_check/spec.md","spec_hash":"9f82f364a9ea490a6efff5fe00eabb46d86e5111187b5276c823df68fe0b2ca8","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.669Z","layer":0,"column":3,"x":800,"y":32,"width":216,"height":68},{"id":"nd_t2_helper1_bound","type":"Lemma","status":"open","title":"Modular Helper 1: Nonnegative Finset Single-Element Lower Bound","spec_summary":"Target: CaissonTrack2.finset_single_le_sum (clean modular refactor of AI dump part 1).","spec_git_path":"spec/target_statements/nd_t2_helper1_bound.lean","spec_hash":"c241743c53080d4ee9df873f886d3fe993b7e8ab91ce02ee8db7b9c3f3405bcf","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.689Z","layer":1,"column":0,"x":288,"y":164,"width":216,"height":68},{"id":"nd_t2_helper2_mono","type":"Lemma","status":"open","title":"Modular Helper 2: Cardinality-Scaled Upper Bound on Finset Sums","spec_summary":"Target: CaissonTrack2.finset_sum_le_card_mul_bound (clean modular refactor of AI dump part 2).","spec_git_path":"spec/target_statements/nd_t2_helper2_mono.lean","spec_hash":"7a46382cb2c7df6a821c41e7da376b107bb42ab89e49dcbf1dd8137a09b3fa30","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.711Z","layer":1,"column":1,"x":544,"y":164,"width":216,"height":68},{"id":"nd_t2_main_thm","type":"Lemma","status":"open","title":"Main Refactored Theorem: Two-Sided Finset Sum Sandwich","spec_summary":"Target: CaissonTrack2.finset_sum_sandwich (combines Helper 1 & Helper 2 under 400k heartbeats).","spec_git_path":"spec/target_statements/nd_t2_main_thm.lean","spec_hash":"cd5761ea664756e066c7bd4e12f169a8a7d9261cd51549a78cfc0c7675011a0d","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.731Z","layer":2,"column":0,"x":416,"y":296,"width":216,"height":68},{"id":"nd_t2_exposition","type":"Exposition","status":"open","title":"Human-Readable Audit Report & LaTeX Proof Exposition","spec_summary":"Summarize all FormalizationAudit catches, link verified refactored Lean lemmas, and provide a clean LaTeX proof walkthrough.","spec_git_path":"nodes/nd_t2_exposition/spec.md","spec_hash":"ad7892d2e8ea32a71c784a0c5dc47168356fe149b8d59246c550b6192a157775","payload_ref":null,"category":"formal_math","skills_json":"[\"lean4\",\"mathlib\",\"proof-audit\",\"refactoring\"]","difficulty":"standard","estimated_minutes":20,"updated_at":"2026-11-30T08:27:01.751Z","layer":3,"column":0,"x":416,"y":428,"width":216,"height":68}],"edges":[{"parent_node_id":"nd_t2_audit_helper1","child_node_id":"nd_t2_helper1_bound","edge_type":"audits","x1":140,"y1":100,"x2":396,"y2":164,"pathD":"M 140 100 C 140 132, 396 132, 396 164"},{"parent_node_id":"nd_t2_audit_helper2","child_node_id":"nd_t2_helper2_mono","edge_type":"audits","x1":396,"y1":100,"x2":652,"y2":164,"pathD":"M 396 100 C 396 132, 652 132, 652 164"},{"parent_node_id":"nd_t2_audit_main","child_node_id":"nd_t2_main_thm","edge_type":"audits","x1":652,"y1":100,"x2":524,"y2":296,"pathD":"M 652 100 C 652 198, 524 198, 524 296"},{"parent_node_id":"nd_t2_helper1_bound","child_node_id":"nd_t2_main_thm","edge_type":"depends_on","x1":396,"y1":232,"x2":524,"y2":296,"pathD":"M 396 232 C 396 264, 524 264, 524 296"},{"parent_node_id":"nd_t2_helper2_mono","child_node_id":"nd_t2_main_thm","edge_type":"depends_on","x1":652,"y1":232,"x2":524,"y2":296,"pathD":"M 652 232 C 652 264, 524 264, 524 296"},{"parent_node_id":"nd_t2_lit_check","child_node_id":"nd_t2_exposition","edge_type":"depends_on","x1":908,"y1":100,"x2":524,"y2":428,"pathD":"M 908 100 C 908 264, 524 264, 524 428"},{"parent_node_id":"nd_t2_main_thm","child_node_id":"nd_t2_exposition","edge_type":"depends_on","x1":524,"y1":364,"x2":524,"y2":428,"pathD":"M 524 364 C 524 396, 524 396, 524 428"}]}}