Papers › Seasons's Greetings by AD
Seasons's Greetings by AD
Uwe Naumann
The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.
We use Algorithmic Differentiation (AD) to implement type-generic tangent and adjoint versions of y=∑ᵢ₌₀ⁿ⁻¹ x_(2 i) ·x_(2 i+1) in C++. We run an instantiation for char-arithmetic and we print the gradient at (101 77 114 114 32 121 109 88 115 97)ᵀ to std::cout, yielding the output ``Merry Xmas''. Similar instantiations of type-generic second-order tangent and second-order adjoint versions of y=1/6 ·∑ᵢ₌₀ⁿ⁻¹ x³ᵢ yield ``Happy 2026'' at (72 97 112 112 121 32 50 48 50 54)ᵀ. Prepend a sufficiently large number of zeros to the input vector to explore the varying run times of the different derivative codes. The entire source code can be found on https://github.com/un110076/SeasonsGreetings.
Code
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
Not run by Syntology. Nothing on this page verifies that the listed code works.
Results from the paper archive 2025-07-28
No leaderboard rows for this paper in the archive.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections