CAISSON Explorer

Audit: Harmonic sum index shift dropping i = 0 term

verified FormalizationAudit
nd_audit03_harmonic_icc0 · spec_hash: 40d12727a4050f16… · Raw Markdown

✓ Kernel-Verified Proof Receipt

Zero-Local-Lean Cloud Oracle Verified lean4:v4.33.1@mathlib:0df444a
Compile / Replay Time Kernel Verified
Verified Axiom Allowlist {propext, Classical.choice, Quot.sound}
Downstream Reuse 0 citations
Target Spec SHA-256 40d12727a4050f16…
Copyable Citation Snippet
Caisson Kernel-Verified Proof Receipt: "Audit: Harmonic sum index shift dropping i = 0 term"
ID: nd_audit03_harmonic_icc0 | Workspace: pnt-zeta-mvp | Env: lean4:v4.33.1@mathlib:0df444a
Verification: Kernel Verified | Axioms: {propext, Classical.choice, Quot.sound} | Mode: Zero-Local-Lean Cloud Oracle | Downstream Reuse: 0
Target Spec SHA-256: 40d12727a4050f16 | URL: https://caisson.tools/explore/w/pnt-zeta-mvp/nodes/nd_audit03_harmonic_icc0
Hand off a Warm Relay: Share this cached proof so a teammate skips cold start and you earn cross-operator reuse credit.

Problem Statement / Mathematical Summary

Stage A passed; Stage B dual blind back-translation drafted. Awaiting Stage C human freeze via npm run freeze:math-mvp. Edge cases: FLAG FOR STAGE-C REVIEW: Zero-origin indexing + total-function convention (0 : R)^(-1) = 0. At N = 0, LHS is (0 : R)^(-1) = 0 and RHS is the empty sum 0. This is an intentional Lean-idiomatic bridge lemma from upstream ZetaBounds.lean#L1440-L1445.
Upstream: None
Downstream: Harmonic sum index shift dropping i = 0 term (audits)

Frozen Target Specification (spec/audit_drafts/nd_math03_harmonic_icc0.audit_receipt.json)

{
  "audit_version": "formalization-audit@v1",
  "status": "pending_human_stage_c",
  "node_id": "nd_math03_harmonic_icc0",
  "audit_node_id": "nd_audit03_harmonic_icc0",
  "target_declaration": "CaissonMathMVP.harmonic_eq_sum_Icc0_aux",
  "target_file": "spec/target_statements/nd_math03_harmonic_icc0.lean",
  "target_sha256": "93a96b98ac0f984c6e3a66ae34c90bfe988cd699f4a9f0c66210dbae074bde29",
  "target_olean_sha256": null,
  "source_reference": "https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/blob/f55e85551ac10e96d98262a354cfcaac2825f2da/PrimeNumberTheoremAnd/ZetaBounds.lean#L1440-L1445",
  "environment_lock_hash": "a3df8afd8af493dc4b6b99b210a2e9a1ff230272ab1580f7c2b524029c827cb8",
  "stage_a_automated_preflight": {
    "status": "pass",
    "checked_at": "2026-11-24T18:05:00Z",
    "custom_definitions_count": 0,
    "disallowed_tokens_found": [],
    "sorry_locations": [
      "target_theorem_body_only"
    ],
    "note": "Static purity verified; live Lean elaboration + target_olean_sha256 recorded automatically by `npm run freeze:math-mvp`."
  },
  "checklist_results": {
    "A_mechanical_integrity": "pass",
    "B_junk_values_and_domains": "pass",
    "C_hypotheses_and_non_vacuity": "pass",
    "D_definitions_and_sanity_examples": "pass_pure_mathlib",
    "E_blind_back_translation": "pass"
  },
  "checklist_18_point_detail": {
    "01_pinned_toolchain_match": "pass",
    "02_definition_purity": "pass",
    "03_no_notation_hijacking": "pass",
    "04_comparator_ready_packaging": "pass",
    "05_nat_truncated_subtraction": "na_no_nat_sub",
    "06_zero_origin_indexing": "pass_verified",
    "07_total_function_junk_values": "pass_reviewed_see_edge_cases",
    "08_coercions_and_casts": "pass_verified",
    "09_mandatory_typeclass_audit": "pass",
    "10_non_vacuity_witness": "pass",
    "11_no_hypothesis_strengthening": "pass",
    "12_quantifier_order_dependency": "pass",
    "13_prop_vs_type_alignment": "pass",
    "14_transitive_definition_unfolding": "pass_pure_mathlib",
    "15_positive_negative_sanity_examples": "na_zero_custom_defs",
    "16_boundary_degenerate_cases": "pass_reviewed_see_edge_cases",
    "17_dual_blind_back_translation_diff": "pass",
    "18_immutable_audit_receipt": "pending_stage_c_freeze"
  },
  "edge_case_notes": "FLAG FOR STAGE-C REVIEW: Zero-origin indexing + total-function convention `(0 : R)^(-1) = 0`. At N = 0, LHS is `(0 : R)^(-1) = 0` and RHS is the empty sum `0`. This is an intentional Lean-idiomatic bridge lemma from upstream ZetaBounds.lean#L1440-L1445.",
  "non_vacuity_witness_decl": "CaissonMathMVP.Audit.non_vacuous_03",
  "sanity_example_decls": [],
  "blind_auditors": [
    {
      "agent_id": "agt_draft_auditor_claude",
      "model_family": "claude",
      "verdict": "faithful",
      "notes": "For any N : Nat, the Finset.Icc 0 N sum of (i : R)^(-1) equals the Finset.Icc 1 N sum. Explicitly relies on Mathlib's inv_zero ((0 : R)^(-1) = 0) and holds at N = 0 because Icc 1 0 = empty. Coercion `(i : R)\u207b\u00b9` casts Nat to Real before inverting, matching intended harmonic sum."
    },
    {
      "agent_id": "agt_draft_auditor_gpt",
      "model_family": "gpt",
      "verdict": "faithful",
      "notes": "Finset index-trimming lemma eliminating i = 0 from the real harmonic partial sum. Confirmed cast placement `(i : R)\u207b\u00b9` (not integer division) and N = 0 degenerate case."
    }
  ],
  "human_signoff": {
    "required": true,
    "operator_id": null,
    "signed_at": null,
    "scope_caveats": [
      "FLAG FOR STAGE-C REVIEW: Zero-origin indexing + total-function convention `(0 : R)^(-1) = 0`. At N = 0, LHS is `(0 : R)^(-1) = 0` and RHS is the empty sum `0`. This is an intentional Lean-idiomatic bridge lemma from upstream ZetaBounds.lean#L1440-L1445."
    ]
  }
}

Kernel-Verified Proof / Solution (nodes/nd_audit03_harmonic_icc0/verified/audit_receipt.json)

{
  "audit_version": "formalization-audit@v1",
  "status": "verified",
  "node_id": "nd_math03_harmonic_icc0",
  "audit_node_id": "nd_audit03_harmonic_icc0",
  "target_declaration": "CaissonMathMVP.harmonic_eq_sum_Icc0_aux",
  "target_file": "spec/target_statements/nd_math03_harmonic_icc0.lean",
  "target_sha256": "93a96b98ac0f984c6e3a66ae34c90bfe988cd699f4a9f0c66210dbae074bde29",
  "target_olean_sha256": "40aaf0831c96c1a8d38fc02cc9960d809437cb9aae90175fb76170ae656b2f1e",
  "source_reference": "https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/blob/f55e85551ac10e96d98262a354cfcaac2825f2da/PrimeNumberTheoremAnd/ZetaBounds.lean#L1440-L1445",
  "environment_lock_hash": "a3df8afd8af493dc4b6b99b210a2e9a1ff230272ab1580f7c2b524029c827cb8",
  "stage_a_automated_preflight": {
    "status": "pass",
    "checked_at": "2026-11-24T18:05:00Z",
    "custom_definitions_count": 0,
    "disallowed_tokens_found": [],
    "sorry_locations": [
      "target_theorem_body_only"
    ],
    "note": "Static purity verified; live Lean elaboration + target_olean_sha256 recorded automatically by `npm run freeze:math-mvp`."
  },
  "checklist_results": {
    "A_mechanical_integrity": "pass",
    "B_junk_values_and_domains": "pass",
    "C_hypotheses_and_non_vacuity": "pass",
    "D_definitions_and_sanity_examples": "pass_pure_mathlib",
    "E_blind_back_translation": "pass"
  },
  "checklist_18_point_detail": {
    "01_pinned_toolchain_match": "pass",
    "02_definition_purity": "pass",
    "03_no_notation_hijacking": "pass",
    "04_comparator_ready_packaging": "pass",
    "05_nat_truncated_subtraction": "na_no_nat_sub",
    "06_zero_origin_indexing": "pass_verified",
    "07_total_function_junk_values": "pass_reviewed_see_edge_cases",
    "08_coercions_and_casts": "pass_verified",
    "09_mandatory_typeclass_audit": "pass",
    "10_non_vacuity_witness": "pass",
    "11_no_hypothesis_strengthening": "pass",
    "12_quantifier_order_dependency": "pass",
    "13_prop_vs_type_alignment": "pass",
    "14_transitive_definition_unfolding": "pass_pure_mathlib",
    "15_positive_negative_sanity_examples": "na_zero_custom_defs",
    "16_boundary_degenerate_cases": "pass_reviewed_see_edge_cases",
    "17_dual_blind_back_translation_diff": "pass",
    "18_immutable_audit_receipt": "pass"
  },
  "edge_case_notes": "FLAG FOR STAGE-C REVIEW: Zero-origin indexing + total-function convention `(0 : R)^(-1) = 0`. At N = 0, LHS is `(0 : R)^(-1) = 0` and RHS is the empty sum `0`. This is an intentional Lean-idiomatic bridge lemma from upstream ZetaBounds.lean#L1440-L1445.",
  "non_vacuity_witness_decl": "CaissonMathMVP.Audit.non_vacuous_03",
  "sanity_example_decls": [],
  "blind_auditors": [
    {
      "agent_id": "agt_draft_auditor_claude",
      "model_family": "claude",
      "verdict": "faithful",
      "notes": "For any N : Nat, the Finset.Icc 0 N sum of (i : R)^(-1) equals the Finset.Icc 1 N sum. Explicitly relies on Mathlib's inv_zero ((0 : R)^(-1) = 0) and holds at N = 0 because Icc 1 0 = empty. Coercion `(i : R)⁻¹` casts Nat to Real before inverting, matching intended harmonic sum."
    },
    {
      "agent_id": "agt_draft_auditor_gpt",
      "model_family": "gpt",
      "verdict": "faithful",
      "notes": "Finset index-trimming lemma eliminating i = 0 from the real harmonic partial sum. Confirmed cast placement `(i : R)⁻¹` (not integer division) and N = 0 degenerate case."
    }
  ],
  "human_signoff": {
    "required": true,
    "operator_id": "op_caisson_founder",
    "signed_at": "2026-11-25T06:44:11.270Z",
    "scope_caveats": [
      "FLAG FOR STAGE-C REVIEW: Zero-origin indexing + total-function convention `(0 : R)^(-1) = 0`. At N = 0, LHS is `(0 : R)^(-1) = 0` and RHS is the empty sum `0`. This is an intentional Lean-idiomatic bridge lemma from upstream ZetaBounds.lean#L1440-L1445."
    ]
  }
}

Verification Receipt

pass · score: 1
{
  "stage_a": "pass",
  "stage_b": "pass",
  "stage_c_operator": "op_caisson_founder",
  "stage_d_frozen": true,
  "target_sha256": "93a96b98ac0f984c6e3a66ae34c90bfe988cd699f4a9f0c66210dbae074bde29",
  "target_olean_sha256": "40aaf0831c96c1a8d38fc02cc9960d809437cb9aae90175fb76170ae656b2f1e"
}