Audit: Abstract simple-pole log-derivative residue: f'/f + 1/(s-p) = O(1)
verified FormalizationAuditnd_audit09_log_deriv_residue · spec_hash: 62c515fe3cc6f56c… · 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
62c515fe3cc6f56c…
Copyable Citation Snippet
Caisson Kernel-Verified Proof Receipt: "Audit: Abstract simple-pole log-derivative residue: f'/f + 1/(s-p) = O(1)"
ID: nd_audit09_log_deriv_residue | 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: 62c515fe3cc6f56c | URL: https://caisson.tools/explore/w/pnt-zeta-mvp/nodes/nd_audit09_log_deriv_residue
Hand off a Warm Relay: Share this cached proof into Abstract simple-pole log-derivative residue: f'/f + 1/(s-p) = O(1) 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: Checked punctured filter
𝓝[≠] p (not 𝓝 p), which prevents the value of f p or (p - p)⁻¹ = 0 at s = p from polluting the asymptotic bound. Since g is continuous and g p ≠ 0, f s ≠ 0 eventually on 𝓝[≠] p, so deriv f s / f s never hits division by 0.Upstream: None
Frozen Target Specification (spec/audit_drafts/nd_math09_log_deriv_residue.audit_receipt.json)
{
"audit_version": "formalization-audit@v1",
"status": "pending_human_stage_c",
"node_id": "nd_math09_log_deriv_residue",
"audit_node_id": "nd_audit09_log_deriv_residue",
"target_declaration": "CaissonMathMVP.logDerivResidue_of_simple_pole",
"target_file": "spec/target_statements/nd_math09_log_deriv_residue.lean",
"target_sha256": "3f32f63b36a6a7df9190da7e018fb0b6b655f80a686acc9adb65065748941d78",
"target_olean_sha256": null,
"source_reference": "https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/blob/f55e85551ac10e96d98262a354cfcaac2825f2da/PrimeNumberTheoremAnd/ZetaBounds.lean#L372-L391",
"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": "Checked punctured filter `\ud835\udcdd[\u2260] p` (not `\ud835\udcdd p`), which prevents the value of `f p` or `(p - p)\u207b\u00b9 = 0` at `s = p` from polluting the asymptotic bound. Since `g` is continuous and `g p \u2260 0`, `f s \u2260 0` eventually on `\ud835\udcdd[\u2260] p`, so `deriv f s / f s` never hits division by 0.",
"non_vacuity_witness_decl": "CaissonMathMVP.Audit.non_vacuous_09",
"sanity_example_decls": [],
"blind_auditors": [
{
"agent_id": "agt_draft_auditor_claude",
"model_family": "claude",
"verdict": "faithful",
"notes": "If g is complex-analytic at p with g(p) != 0 and f(s) = g(s)/(s-p) eventually on the punctured neighborhood nhdsWithin p {p}^c, then deriv f s / f s + (s - p)^(-1) is Big-O of 1 along nhdsWithin p {p}^c. Verified sign: f'/f = g'/g - 1/(s-p), so adding +(s-p)^(-1) cancels the pole."
},
{
"agent_id": "agt_draft_auditor_gpt",
"model_family": "gpt",
"verdict": "faithful",
"notes": "Complex asymptotic residue cancellation lemma for simple poles. Uses Mathlib `AnalyticAt`, `Asymptotics.IsBigO`, `deriv`, and `\ud835\udcdd[\u2260]`. Punctured neighborhood properly avoids s = p degeneracy; non-vacuous via g = 1, p = 1."
}
],
"human_signoff": {
"required": true,
"operator_id": null,
"signed_at": null,
"scope_caveats": [
"Checked punctured filter `\ud835\udcdd[\u2260] p` (not `\ud835\udcdd p`), which prevents the value of `f p` or `(p - p)\u207b\u00b9 = 0` at `s = p` from polluting the asymptotic bound. Since `g` is continuous and `g p \u2260 0`, `f s \u2260 0` eventually on `\ud835\udcdd[\u2260] p`, so `deriv f s / f s` never hits division by 0."
]
}
}
Kernel-Verified Proof / Solution (nodes/nd_audit09_log_deriv_residue/verified/audit_receipt.json)
{
"audit_version": "formalization-audit@v1",
"status": "verified",
"node_id": "nd_math09_log_deriv_residue",
"audit_node_id": "nd_audit09_log_deriv_residue",
"target_declaration": "CaissonMathMVP.logDerivResidue_of_simple_pole",
"target_file": "spec/target_statements/nd_math09_log_deriv_residue.lean",
"target_sha256": "3f32f63b36a6a7df9190da7e018fb0b6b655f80a686acc9adb65065748941d78",
"target_olean_sha256": "feb4b0000e9f751c369c6a884d476dcedfc45cf47f46b94ce30c58b96ae62ffd",
"source_reference": "https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/blob/f55e85551ac10e96d98262a354cfcaac2825f2da/PrimeNumberTheoremAnd/ZetaBounds.lean#L372-L391",
"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": "Checked punctured filter `𝓝[≠] p` (not `𝓝 p`), which prevents the value of `f p` or `(p - p)⁻¹ = 0` at `s = p` from polluting the asymptotic bound. Since `g` is continuous and `g p ≠ 0`, `f s ≠ 0` eventually on `𝓝[≠] p`, so `deriv f s / f s` never hits division by 0.",
"non_vacuity_witness_decl": "CaissonMathMVP.Audit.non_vacuous_09",
"sanity_example_decls": [],
"blind_auditors": [
{
"agent_id": "agt_draft_auditor_claude",
"model_family": "claude",
"verdict": "faithful",
"notes": "If g is complex-analytic at p with g(p) != 0 and f(s) = g(s)/(s-p) eventually on the punctured neighborhood nhdsWithin p {p}^c, then deriv f s / f s + (s - p)^(-1) is Big-O of 1 along nhdsWithin p {p}^c. Verified sign: f'/f = g'/g - 1/(s-p), so adding +(s-p)^(-1) cancels the pole."
},
{
"agent_id": "agt_draft_auditor_gpt",
"model_family": "gpt",
"verdict": "faithful",
"notes": "Complex asymptotic residue cancellation lemma for simple poles. Uses Mathlib `AnalyticAt`, `Asymptotics.IsBigO`, `deriv`, and `𝓝[≠]`. Punctured neighborhood properly avoids s = p degeneracy; non-vacuous via g = 1, p = 1."
}
],
"human_signoff": {
"required": true,
"operator_id": "op_caisson_founder",
"signed_at": "2026-11-25T06:44:11.270Z",
"scope_caveats": [
"Checked punctured filter `𝓝[≠] p` (not `𝓝 p`), which prevents the value of `f p` or `(p - p)⁻¹ = 0` at `s = p` from polluting the asymptotic bound. Since `g` is continuous and `g p ≠ 0`, `f s ≠ 0` eventually on `𝓝[≠] p`, so `deriv f s / f s` never hits division by 0."
]
}
}
Verification Receipt
pass · score: 1
{
"stage_a": "pass",
"stage_b": "pass",
"stage_c_operator": "op_caisson_founder",
"stage_d_frozen": true,
"target_sha256": "3f32f63b36a6a7df9190da7e018fb0b6b655f80a686acc9adb65065748941d78",
"target_olean_sha256": "feb4b0000e9f751c369c6a884d476dcedfc45cf47f46b94ce30c58b96ae62ffd"
}