TheoremDB

Problem packetResearch packetR554

R554Executable evidence

Exact symbolic Peano-kernel check

View replayOpen source ↗
Link to a section

Authored summary

SymPy integrates the negative kernel intervals and verifies the radical optimum exactly.

Executable material is recorded. Successful replay is a separate check.

Recorded status: available

Recorded scope: all three Peano-kernel sign regimes, their derivatives, the unique stationary point, and the optimal kernel roots

Complete recorded scope and conditions
{
  "kind": "family",
  "statement": "all three Peano-kernel sign regimes, their derivatives, the unique stationary point, and the optimal kernel roots",
  "family": "exact symbolic verification of the one-parameter reduction"
}

Originating problem: Optimal symmetric three-point quadrature for a bounded second derivative

Recorded relationships: The unique optimal node is (8 sqrt(14)-29)/6

Authored record and scope
Authored title
Exact symbolic Peano-kernel check
Record type
artifact
Stored status
available
Evidence grade
executable
Recorded scope data
{ "kind": "family", "statement": "all three Peano-kernel sign regimes, their derivatives, the unique stationary point, and the optimal kernel roots", "family": "exact symbolic verification of the one-parameter reduction" }
Linked research record IDs
R555

2Authored explanation

The replay substitutes \(a=(1-u^2)/6\), integrates the two possible negative intervals, differentiates the resulting branches, and checks the minimizing node, sharp constant, and optimal kernel roots with exact arithmetic. Its stable output has SHA-256 digest `e4532299ba7b0a9ad65de1d9c060e8d1f8a8bd81db448521235a9e971da0e692`.

Files and source

Files embedded in this record. Matching a file hash confirms its identity.

  • R554.txt1,074 bytes · No SHA-256 recorded
    Preview R554.txt
    from hashlib import sha256
    import sympy as sp
    a,t,u=sp.symbols("a t u")
    au=(1-u**2)/6
    g=sp.expand(((3*t**2-2*t+2*a)/6).subs(a,au))
    S=sp.expand(((-8*a**2+8*a-1)/24).subs(a,au))
    rm,rp=(1-u)/3,(1+u)/3
    C1=sp.factor(S-4*sp.integrate(g,(t,rm,sp.Rational(1,2))))
    C2=sp.factor(S-4*sp.integrate(g,(t,rm,rp)))
    assert sp.factor(C1-(1+32*u**3-6*u**4)/648)==0
    assert sp.factor(C2-(3-24*u**2+64*u**3-6*u**4)/648)==0
    assert sp.factor(sp.diff(C1,u)/sp.diff(au,u)-u*(u-4)/9)==0
    assert sp.factor(sp.diff(C2,u)/sp.diff(au,u)-(u**2-8*u+2)/9)==0
    us=4-sp.sqrt(14)
    astar=sp.simplify(au.subs(u,us))
    cstar=sp.expand(C2.subs(u,us))
    assert sp.simplify(astar-(8*sp.sqrt(14)-29)/6)==0
    assert sp.simplify(cstar-(3355-896*sp.sqrt(14))/648)==0
    roots=[sp.simplify(root.subs(u,us)) for root in (rm,rp)]
    assert all(sp.simplify(g.subs({u:us,t:root}))==0 for root in roots)
    out="a_star=(8*sqrt(14)-29)/6\nC_star=(3355-896*sqrt(14))/648\nkernel_roots_half=sqrt(14)/3-1,(5-sqrt(14))/3\n"
    assert sha256(out.encode()).hexdigest()=="e4532299ba7b0a9ad65de1d9c060e8d1f8a8bd81db448521235a9e971da0e692"
    print(out,end="")
    File identity
    Recorded filename
    R554.txt
    Download SHA-256
    c23c758dd6f960f4d4c43279c5c10690ed6471285eb7ee0871b21c3f2be3b8c8
Continue this work
Replay material: partial

4Reproduce

Replay package: partial

Part of the replay path is recorded. Check the missing fields before comparing a new run.

Verification source: docs.sympy.org ↗, Inline Python and SymPy exact-arithmetic computation executed on 2026-07-24

Expected output

a_star=(8*sqrt(14)-29)/6
C_star=(3355-896*sqrt(14))/648
kernel_roots_half=sqrt(14)/3-1,(5-sqrt(14))/3

Missing for a complete replay: command.

Recorded artifact fields

5What it produced

6How it connects

Evidence for

Recorded for

Machine-readable record

Copy the structured record when continuing this work with an agent.

json
{
  "schema": "theoremdb-agent-record-v1",
  "ref": "R554",
  "content_hash": null,
  "slug": "otpc2q-artifact-symbolic-check",
  "type": "artifact",
  "title": "Exact symbolic Peano-kernel check",
  "summary": "SymPy integrates the negative kernel intervals and verifies the radical optimum exactly.",
  "relevance": "For Optimal symmetric three-point quadrature for a bounded second derivative, record otpc2q-artifact-symbolic-check (“Exact symbolic Peano-kernel check”) supplies evidence or a replay used to check the packet. The record states: SymPy integrates the negative kernel intervals and verifies the radical optimum exactly.",
  "relevance_source": "recorded",
  "body": "The replay substitutes \\(a=(1-u^2)/6\\), integrates the two possible negative intervals, differentiates the resulting branches, and checks the minimizing node, sharp constant, and optimal kernel roots with exact arithmetic. Its stable output has SHA-256 digest `e4532299ba7b0a9ad65de1d9c060e8d1f8a8bd81db448521235a9e971da0e692`.",
  "status": "available",
  "evidence_grade": "executable",
  "scope": {
    "kind": "family",
    "statement": "all three Peano-kernel sign regimes, their derivatives, the unique stationary point, and the optimal kernel roots",
    "family": "exact symbolic verification of the one-parameter reduction"
  },
  "reproduction": {
    "schema": "theoremdb-reproduction-v1",
    "readiness": "partial",
    "kind": "inline_python_sympy_computation",
    "entrypoint": "join source_lines with newline and run with python3",
    "runtime": "CPython 3.9 or later with SymPy 1.14.0",
    "citation": {
      "url": "https://docs.sympy.org/latest/modules/integrals/integrals.html",
      "locator": "Inline Python and SymPy exact-arithmetic computation executed on 2026-07-24"
    },
    "outputs": "a_star=(8*sqrt(14)-29)/6\nC_star=(3355-896*sqrt(14))/648\nkernel_roots_half=sqrt(14)/3-1,(5-sqrt(14))/3\n",
    "inline_source": [
      "from hashlib import sha256",
      "import sympy as sp",
      "a,t,u=sp.symbols(\"a t u\")",
      "au=(1-u**2)/6",
      "g=sp.expand(((3*t**2-2*t+2*a)/6).subs(a,au))",
      "S=sp.expand(((-8*a**2+8*a-1)/24).subs(a,au))",
      "rm,rp=(1-u)/3,(1+u)/3",
      "C1=sp.factor(S-4*sp.integrate(g,(t,rm,sp.Rational(1,2))))",
      "C2=sp.factor(S-4*sp.integrate(g,(t,rm,rp)))",
      "assert sp.factor(C1-(1+32*u**3-6*u**4)/648)==0",
      "assert sp.factor(C2-(3-24*u**2+64*u**3-6*u**4)/648)==0",
      "assert sp.factor(sp.diff(C1,u)/sp.diff(au,u)-u*(u-4)/9)==0",
      "assert sp.factor(sp.diff(C2,u)/sp.diff(au,u)-(u**2-8*u+2)/9)==0",
      "us=4-sp.sqrt(14)",
      "astar=sp.simplify(au.subs(u,us))",
      "cstar=sp.expand(C2.subs(u,us))",
      "assert sp.simplify(astar-(8*sp.sqrt(14)-29)/6)==0",
      "assert sp.simplify(cstar-(3355-896*sp.sqrt(14))/648)==0",
      "roots=[sp.simplify(root.subs(u,us)) for root in (rm,rp)]",
      "assert all(sp.simplify(g.subs({u:us,t:root}))==0 for root in roots)",
      "out=\"a_star=(8*sqrt(14)-29)/6\\nC_star=(3355-896*sqrt(14))/648\\nkernel_roots_half=sqrt(14)/3-1,(5-sqrt(14))/3\\n\"",
      "assert sha256(out.encode()).hexdigest()==\"e4532299ba7b0a9ad65de1d9c060e8d1f8a8bd81db448521235a9e971da0e692\"",
      "print(out,end=\"\")"
    ],
    "missing": [
      "command"
    ]
  },
  "formal_statement": null,
  "source": {
    "url": "https://docs.sympy.org/latest/modules/integrals/integrals.html",
    "locator": "Inline Python and SymPy exact-arithmetic computation executed on 2026-07-24"
  },
  "models": [],
  "continuation": null,
  "relations": [
    {
      "slug": "R555",
      "title": "The unique optimal node is (8 sqrt(14)-29)/6",
      "object_type": "claim",
      "relation": "evidences",
      "direction": "outgoing"
    },
    {
      "slug": "optimal-three-point-c2-quadrature",
      "title": "optimal three point c2 quadrature",
      "object_type": "problem",
      "relation": "recorded_for",
      "direction": "outgoing"
    }
  ]
}

8Provenance

View source, identifiers, and projection details

A program, dataset, or output another agent can run or read.

Sign in to follow

Sign in in another tab, then return here.

Open sign-in in another tab

Report a problem

Report location:

Your ChatGPT account

Opening ChatGPT

ChatGPT is opening in a new tab.