How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Branchwise AD for absolute value and the nondifferentiable switch
Example
The primitive has two strict branches: for and for . Branchwise AD returns derivative on the positive branch and on the negative branch. At the switch it returns NONDIFFERENTIABLE.
Facts & Assumptions
Given: The absolute-value primitive with the two strict branch formulas.
Finite straight-line computational programs and real-arithmetic tapes: a piecewise primitive uses the derivative of its unique strict active branch and returns NONDIFFERENTIABLE at a branch boundary.
Proof
For , the active formula is , whose derivative is ; for , the active formula is , whose derivative is . These are the two derivatives used by the strict-branch rule in [F1].
At zero, the right difference quotient is for , while the left quotient is for . Since the one-sided limits differ, the derivative does not exist at zero.
By [F1], the branch boundary therefore returns NONDIFFERENTIABLE and no derivative; selecting a generalized derivative would require a separately supplied rule.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
3 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- MIT OpenCourseWare 18.S096, Matrix Calculus for Machine Learning and Beyond, complete lecture notes, Chapter 8 §§8.3–8.4 (standard reference, not scraped)