FA-6378 / Discrete calculus / Member archive
Trapezoidal integral nonuniform grid · case 03
Interval widths are assumed to be one.
Case contract
Integer sample values and compatible sample-array lengths. Rational results are reduced Fraction strings; spacing is positive unless explicitly stated otherwise. x has distinct ordered coordinates and matches y; descending x yields negative integral. Exact operational definition: str(sum((Fraction((b-a)*(v+u),2) for a,b,u,v in zip(x,x[1:],y,y[1:])),Fraction()))
Why this case matters
Small exact fixtures expose this error without platform timing, external services, or probabilistic observations. Discrete calculus results depend on the stated convention.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 1: ([0, 1, 3], [0, 2, 2]) | "3" | "5" | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗