<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Valeriy Manokhin, PhD, MBA, CQF on Medium]]></title>
        <description><![CDATA[Stories by Valeriy Manokhin, PhD, MBA, CQF on Medium]]></description>
        <link>https://medium.com/@valeman?source=rss-f2b0fed45495------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3iZ3cRDJkCf6Lwb90tsi2Q.jpeg</url>
            <title>Stories by Valeriy Manokhin, PhD, MBA, CQF on Medium</title>
            <link>https://medium.com/@valeman?source=rss-f2b0fed45495------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 01:45:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@valeman/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Laplace “Beats (Almost) Everything”? I Tested It on 228 Datasets]]></title>
            <link>https://valeman.medium.com/laplace-beats-almost-everything-i-tested-it-on-228-datasets-f9a75e551ebe?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9a75e551ebe</guid>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 13:05:55 GMT</pubDate>
            <atom:updated>2026-11-13T13:05:55.745Z</atom:updated>
            <content:encoded><![CDATA[<p>13 November 2026 · Valery Manokhin</p><p>The README of the skaters package opens with one sentence: “Laplace beats (almost) everything.” It adds that Laplace gives ground to my method, Conformal Seasonal Pools (CSP), only “narrowly”, and only because CSP was handed the seasonal period.</p><p>That headline misrepresents what was tested. The evidence behind it is one-step-ahead forecasts of series cherry-picked by Laplace’s author: economic change series from FRED and, in the comparison with CSP, one hourly collection besides. FRED holds thousands of series, but FRED is one dataset: one source, one kind of data. Counted the way every benchmark counts, the evidence is two datasets, one horizon and one family of scores. This study uses 228 datasets.</p><p>FRED is also about as narrow as a dataset can be. It is economic and financial indicators, most of them from one country, published daily at the fastest. It has no hourly or sub-hourly data, no electricity load, no traffic, no retail demand, no web traffic, no sensor or weather series, no cloud workloads. Its series are scored as changes from one observation to the next, which removes level, trend and most of the seasonality before the forecaster sees them. A method tuned on that is tuned for one corner of forecasting, and that corner is where every one of Laplace’s headline wins comes from.</p><p>That is not how a forecasting method is evaluated. Best practice, established by the M competitions and followed by every serious benchmark since, is large-scale testing: hundreds of datasets from many domains and frequencies, several forecast horizons, a set of metrics fixed in advance, and a corpus the method’s author did not choose. A claim to beat almost everything needs that kind of evidence. Its author has not published that test.</p><p>When I ran Laplace on such a benchmark, 228 datasets at multi-step horizons, CSP beat it on 60% of datasets by CRPS and on 64% by interval score, with intervals 30% narrower, and ran about 7,700 times faster.</p><p>It also produces forecasts no practitioner would accept: electricity demand predicted to go negative within a day, and intervals fifteen orders of magnitude wider than the data.</p><p>This article sets out what the claim rests on, what I tested, what came out, and what the forecasts look like. All the data and code are public.</p><h3>What the claim rests on</h3><p>The comparison with CSP in the skaters repository reports Laplace beating CSP on 82 to 99% of series in three collections and losing on the fourth. Read the protocol and the scope is narrow in five ways.</p><ul><li><strong>One step ahead only.</strong> Every forecast is for the next observation. Multi-step forecasting, the usual practical task, is not tested.</li><li><strong>A narrow choice of data.</strong> Three of the four collections are economic change series from one source, FRED. The fourth is M4-Hourly. The series were chosen by Laplace’s author.</li><li><strong>Two metrics.</strong> Only CRPS and log-likelihood are reported. There is no interval score, no interval width, and no coverage for CSP.</li><li><strong>An old CSP.</strong> The repository comparison uses csp-forecaster 0.1.4. The current version is 0.2.0. The author’s website now shows a November re-run with 0.2.0, which is still one step ahead; I come to it below.</li><li><strong>Not period-agnostic.</strong> The README footnote presents Laplace as having to work out the seasonal structure unaided. Its code has built-in seasonal candidates for periods 7, 12 and 24, and M4-Hourly has period 24.</li></ul><p>A result obtained this way can support “Laplace does well one step ahead on FRED economic series”. It cannot support “beats (almost) everything”.</p><h3>What I tested instead</h3><p>I ran Laplace on the benchmark from the CSP paper, which was fixed before Laplace was ever run on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L_R1QMlaERfprkuqi4DIgA.png" /></figure><p>The run covers 2,534 rolling-origin forecast windows with 95% prediction intervals. Both methods see exactly the same history at every forecast origin.</p><h3>What came out</h3><p>CSP is the more accurate method on about six datasets in ten. Scores are averaged within each dataset, and a method wins a dataset when its average is lower.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ypOtXALR8B6LFI75x6fUA.png" /></figure><p>All five differences are statistically significant in a paired test across datasets.</p><p>Quantile loss is the metric of Amazon’s GluonTS library and of the DeepNPTS paper, and the one reported alongside CRPS in the CSP paper: the pinball loss of the forecast quantiles at levels 0.1 to 0.9, scaled by the size of the series. It agrees with CRPS. CSP wins 59% of datasets on it, and on a typical dataset its quantile loss is 36% lower than Laplace’s.</p><p><strong>Interval width.</strong> The skaters comparison does not report it. <strong>Laplace’s 95% intervals are 44% wider than CSP’s (median scaled width 9.40 against 6.54).</strong></p><p><strong>Coverage.</strong> Laplace’s average coverage is 0.956 and CSP’s is 0.898, so Laplace is closer to the 95% target on average. <strong>It gets there by over-covering: on 76 of 228 datasets its intervals contain 99% or more of outcomes. </strong>CSP errs the other way and is below 85% on 39 datasets. The interval score charges for both mistakes, and it favours CSP on 64% of datasets.</p><p><strong>Horizon.</strong> At horizons up to 12 steps the two are level: CSP wins 31 of 60 datasets by CRPS. <strong>CSP’s advantage is at horizons of 13 to 96 steps. A one-step test cannot see this.</strong></p><p><strong>Point forecasts.</strong> Laplace’s point forecast <strong>is biased low and, on these windows, is on average less accurate than a plain seasonal-naive forecast.</strong></p><h3>Speed</h3><p>Laplace took 14,664 seconds for the 2,534 forecasts. CSP took 1.9 seconds. That is about 7,700 times slower, and the gap widens as the horizon grows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OPIolG4jX0_9ChW26Rm1dA.png" /></figure><p>These times are with a warm-up of only 400 to 720 observations. <strong>Laplace’s cost per observation grows roughly with the square of the horizon, and at long horizons it becomes impractical to run</strong>. That is why this test covers 2,534 of the benchmark’s 24,502 windows, why histories were truncated, and why the dataset with a horizon of 336 was left out: by my cost estimate a single forecast there would take about six minutes. CSP runs the whole benchmark in about 40 seconds.</p><h3>Six forecasts to look at</h3><p>Win rates can hide what a forecast actually looks like. In 2021 Laplace’s author wrote a well-known critique of Facebook’s Prophet. Its method was simple: show real forecasts on real series, ask whether a sensible person would have drawn them, and check whether the model beats a naive baseline. The same three tests are applied to Laplace here.</p><p>The figure shows six forecasts from the benchmark. They were picked because they are failures. They are not typical, and the win rates above say how often Laplace does better than this. Each panel shows the history, what then happened, Laplace’s median forecast and 95% interval, and CSP’s 95% interval from the same history.</p><p>Six of Laplace’s worst forecasts on the benchmark: history, outcome, Laplace’s median and 95% interval, and CSP’s 95% interval</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4jAL3Ekvt3HRBnm2BesBbA.png" /></figure><ul><li><strong>Electricity demand forecast to go negative.</strong> On Australian half-hourly demand, the Texas grid (ERCOT West) and the Taylor load series, Laplace’s median forecast leaves the daily cycle, falls in a straight line and crosses zero within a day. On the Taylor series, where load runs between 21,000 and 37,000, the lower end of its 95% interval reaches –109,000.</li><li><strong>An interval ten times wider than the series.</strong> On the M4 hourly series the data move between 294 and 800. Laplace’s 95% interval runs from –4,242 to 1,763. Its median forecast misses by 874 on average; CSP’s misses by 26.</li><li><strong>Numbers with 35 digits.</strong> On the Bitcoin hash rate, which is around 1020, Laplace’s interval reaches 1035 and its median forecast jumps between plus and minus 1030 from one day to the next. On a GDP series around 1010 the interval reaches 1017.</li></ul><p>The pattern in the top four panels is the same. Each history has an obvious daily cycle. At multi-step horizons Laplace does not carry it forward: it extends the last movement of the series and lets the interval widen with the horizon, as a random walk would.</p><p>Two simple counts show these are not isolated accidents.</p><ul><li><strong>Negative forecasts of non-negative series.</strong> In 2,460 of the windows every outcome is zero or above. In 187 of them, about one in thirteen, Laplace’s median forecast goes below zero. CSP’s does so in 12.</li><li><strong>Losing to the naive forecast.</strong> On 112 of 227 datasets, 49%, Laplace’s point forecast is less accurate than simply repeating the last season. For CSP the figure is 75 datasets, 33%.</li></ul><h3>The public claims, one by one</h3><p>The claims are made in the skaters repository, on the author’s websites and in his LinkedIn posts. I saved a copy of each on 12 and 13 November 2026. Here they are in turn, with what the data says. Claims are paraphrased unless in quotation marks.</p><p><strong>1. “Laplace beats (almost) everything.”</strong> <em>Source: </em><em>skaters README.</em> The evidence is one step ahead, on FRED change series and M4-Hourly. <strong>On 228 datasets at multi-step horizons Laplace loses to CSP, a baseline of a few lines of numpy, on 60% of datasets by CRPS and on 64% by interval score.</strong></p><p><strong>2. Laplace gives ground to CSP only narrowly, and only on repeating waveforms.</strong> <em>Source: </em><em>skaters README.</em> In this test the gap is not narrow and is not confined to seasonal data. <strong>On a typical dataset CSP’s CRPS is 35% lower than Laplace’s. On the 45 datasets with no seasonal period CSP still wins 26 by CRPS.</strong></p><p><strong>3. That loss is a head start, because CSP is given the seasonal period and Laplace is not.</strong> <em>Source: README footnote.</em> <strong>Laplace ships with built-in seasonal candidates for periods 7, 12 and 24, which covers the hourly collection in question. And CSP wins most of the non-seasonal datasets, where knowing a period gives it nothing.</strong></p><p><strong>4. Laplace beats CSP on 82 to 99% of FRED series by CRPS.</strong> <em>Source: the repository comparison; the website gives 77 to 99%.</em> <strong>This is one slice of the forecasting problem: one-step forecasts of economic change series from a single source, cherry-picked by Laplace’s author. A result on a slice chosen by a method’s author is not evidence about how the method performs in general. That is settled on a large benchmark covering many domains, frequencies and horizons, fixed in advance. On such a benchmark, 228 datasets across ten domains, the result reverses.</strong></p><p><strong>5. A November re-run against CSP 0.2.0 confirms the pattern.</strong> <em>Source: the author’s review of CSP on conformalprediction.net.</em> The re-run is again one step ahead. Three of its four panels are FRED. More than half of its 13,287 series are daily prices, a class of series for which the author himself says Laplace is not recommended. On the fourth panel, M4 hourly, his own per-series test favours CSP on 144 series and Laplace on 19.</p><p><strong>6. The interval score is the wrong test and datasets are the wrong unit.</strong> <em>Source: the same page.</em> <strong>The interval score is a proper score and was the interval metric of the M4 and M5 competitions. CRPS, which the page prefers, also favours CSP on 60% of datasets. The dataset is the right unit for a benchmark of this kind: series and windows from one dataset are not independent, and counting them one by one lets a few large collections decide the result.</strong></p><p>The page objects to the interval score and offers CRPS in its place. <strong>CRPS has well-documented weaknesses of its own, and it is not safe to rank by it alone. It gives every quantile level the same weight, so errors in the tails, which is where a 95% interval lives, move it very little; this is why Gneiting and Ranjan proposed weighted versions in 2011. It is also measured in the units of the data, so an average is dominated by the largest series unless it is scaled.</strong></p><p>The CSP paper ran into exactly this. DeepNPTS’s 95% intervals contained the outcome only 57% of the time on its own six benchmark datasets, yet on CRPS it ranked fourth of six methods, in the middle of the field. On the interval score it ranked at the bottom. Ranked by CRPS alone, a forecaster whose intervals fail almost half the time looks ordinary. That is why a serious comparison reports CRPS together with the interval score, coverage and width, and why this one does. A comparison that reports CRPS and log-likelihood only cannot show whether the intervals work.</p><p>Claims 5 and 6 were not on the page when it first appeared. The <a href="https://conformalprediction.net/csp.html">review of CSP</a> was published on 12 November 2026 at 16:32 GMT and amended the same evening at 19:52 GMT. The amendment added the section arguing against the interval score and against counting datasets, added the November table, and rewrote the footnote. The site is built from a public repository, so both versions are on record: the <a href="https://github.com/microprediction/conformalprediction/commit/1088425">original</a> and the <a href="https://github.com/microprediction/conformalprediction/commit/7937b4dd0e751b9faa7c9c94fc51539c738fd88d">amendment</a>.</p><p><strong>7. Nobody has won a time-series contest with conformal prediction, “and nobody ever will”.</strong> <em>Source: LinkedIn, November 2026.</em> On this benchmark a conformal sampler with no training has the better CRPS than his own model on 137 of 228 datasets. False: the first ever <a href="https://www.kaggle.com/competitions/probabilistic-forecasting-i-temperature/overview/abstract">probabilistic forecasting competition</a> on Kaggle was won by conformal prediction. The winner Stephane Degeye has written about it in <a href="https://stephane-degeye.medium.com/probabilistic-forecasting-i-temperature-f96ded1e7247">his article </a>on Medium</p><p><strong>8. Laplace is better than every foundation and traditional distributional model he can find, across 18,815 series, at all horizons up to 13.</strong> <em>Source: LinkedIn, August 2026.</em> The evidence stops at 13 steps. At horizons up to 12 my test also finds the two level. From 13 to 96 steps CSP wins 104 of 161 datasets by CRPS.</p><p><strong>9. Laplace averages 12 microseconds per observation and is about 370,000 times faster than a leading foundation model.</strong> <em>Source: LinkedIn, November and August 2026.</em> The posts do not say so, <strong>but the author’s own performance page shows where 12 microseconds comes from: the Rust port</strong>, one step ahead, updating a model that is already warm. The same page gives the Python package 23 times that for one step, and 74 milliseconds to forecast a series it has not seen before. <strong>At the multi-step horizons of this benchmark the Python package took between 7 and 224 milliseconds per observation and 0.75 to 107 seconds per forecast. It was 2,500 to 23,800 times slower than CSP.</strong></p><p><strong>10. On 5,402 FRED series Laplace wins the log-likelihood race against classical forecasters, conformal methods and all zero-shot foundation models.</strong> <em>Source: LinkedIn, August 2026.</em> The metric is log-likelihood, one step ahead. His later posts withdraw the last part: in October he conceded that one foundation model is better on weekly and waveform data, and a footnote in November says two are ahead overall.</p><p><strong>The pattern is the same throughout. The strong statements are general. The evidence is one step ahead, on economic series, scored mainly by log-likelihood. None of these sources reports interval width or an interval score for Laplace against a conformal method.</strong></p><h3>Where Laplace wins, and where it breaks</h3><p>Laplace is not a bad method, and it wins 40% of the datasets. Its clearest wins are Jena weather, where its CRPS is about a tenth of CSP’s, FRED-MD, rideshare and M3 quarterly. Economic and slowly varying series suit it, which is what its own benchmark shows.</p><h3>Laplace’s problems, in full</h3><p>These are the weaknesses I measured, each on skaters 0.16.0 at default settings.</p><p><strong>1. Multi-step forecasting is very slow, and gets slower with the horizon.</strong> The model has to be fed a series one point at a time, and its cost per observation grows roughly with the square of the horizon: about 7 milliseconds per observation at horizons up to 12, and about 224 beyond 96. One forecast takes 0.75 seconds at short horizons and 107 seconds at long ones, after a warm-up of only 400 observations.</p><p><strong>2. It cannot be run at long horizons in reasonable time.</strong> At a horizon of 336 a single forecast would take about six minutes. A benchmark of 24,502 windows would need days of computing for Laplace. CSP needs about 40 seconds.</p><p><strong>3. Its accuracy falls behind as the horizon grows.</strong> Up to 12 steps Laplace and CSP are level (CSP wins 31 of 60 datasets by CRPS). From 13 to 96 steps CSP wins 104 of 161, which is 65%.</p><p><strong>4. It does not carry a seasonal cycle forward.</strong> On an M4-Hourly series at a horizon of 48, Laplace’s median forecast had a mean absolute error of 381, against 57 for the seasonal-naive forecast. Its 95% interval was 138 wide at step 1 and 5,526 wide at step 48, on a series that ranges from 412 to 899. Across the 184 seasonal datasets CSP wins 112 by CRPS and 125 by interval score.</p><p><strong>5. Its forecast distribution blows up on some series.</strong> On Bitcoin the widest 95% interval was about 1035. On a global-economy panel it was about 1017, and on CIF 2016 about 1013. Laplace’s CRPS is more than ten times CSP’s on 9 datasets and more than twice on 37. CSP did not blow up on any window.</p><p><strong>6. Its intervals are wider than they need to be.</strong> They are 44% wider than CSP’s at the median, and on 76 of 228 datasets they contain 99% or more of the outcomes at a nominal 95%. That is why Laplace loses the interval score on 64% of datasets.</p><p><strong>7. Nothing bounds its coverage.</strong> Laplace is an ensemble with a calibration layer and has no coverage guarantee. Its average coverage is good (0.956), but it is below 0.85 on 13 datasets, and as low as 0.75 on M3 yearly and 0.78 on monthly sunspots.</p><p><strong>8. Its point forecast is biased low.</strong> The median bias is –0.24 in units of the naive forecast’s error, against –0.02 for CSP. Its median MASE is 1.21, so on the typical dataset it is less accurate than the seasonal-naive forecast.</p><p><strong>9. One step ahead, it under-covers on hourly data.</strong> In a separate one-step check on M4-Hourly its 90% interval covered 88.0%, with 18% of series below 85%. CSP covered 91.5%, with 1% of series below 85%.</p><p><strong>10. On macroeconomic series its margin over a naive floor is small.</strong> In the same one-step check on FRED-MD, Laplace’s median CRPS was 5.5% lower than that of a last-value forecast with a rolling conformal interval, and it lost to that floor on 15% of series.</p><h3>The seasonal anchor</h3><p>In July 2026 the Laplace of the time lost to CSP’s default configuration on 91% of the M4-Hourly series by CRPS. That figure is from the skaters benchmark notes. Its author then added a seasonal_anchor component to Laplace, and his own page on CSP says Laplace “adopted a seasonal anchor as a result”.</p><p>The anchor is an equal blend of a recency-weighted average of same-phase values and the value one season ago. That is the structure of CSP’s default sampler: a recency-weighted same-phase pool mixed in equal parts with a component centred on the seasonal-naive forecast.</p><p>By the author’s own figures the anchor improved Laplace’s median CRPS on M4-Hourly by 8.3%. <strong>So Laplace lost to CSP, took the structure that beat it, and improved as a result. CSP is not credited for it. The README does not name CSP as the source. The documentation of the component in the code does not mention CSP at all.</strong></p><h3>The NNS attribution</h3><p>Instead, the component’s documentation credits the NNS package, an R package, for forecasting from same-phase series, and gives the date as 2017. The benchmark notes go further and describe CSP’s seasonal pool as a draw from the decomposition found in NNS.</p><p>This attribution is wrong in three ways.</p><ul><li><strong>The idea is far older than NNS.</strong> Forecasting each position in the cycle from its own history is what seasonal indices do in Holt-Winters exponential smoothing (1960), what periodic autoregressive models do (1967), and what the cycle-subseries step of STL does (1990). The seasonal-naive forecast is the simplest case of it. Presenting NNS as the source is out by more than half a century.</li><li><strong>The date is wrong too.</strong> NNS has had same-phase component series since its first CRAN release in April 2016, not 2017.</li><li><strong>NNS does not contain what Laplace adopted.</strong> NNS regresses each same-phase series on time, or takes its plain mean. It does not blend a recency-weighted same-phase value in equal parts with the seasonal-naive value. That blend is CSP’s default, and it is what the seasonal anchor is.</li></ul><p>Nobody owns the same-phase idea, and CSP does not claim it. The specific construction Laplace adopted, after losing to CSP, is CSP’s. Citing a different package for it, and for an idea that package did not originate either, leaves the reader with a false picture of where the component came from.</p><h3>What should change</h3><ol><li>Scope the headline. “Beats (almost) everything” should say what was tested: one step ahead, on FRED change series and M4-Hourly.</li><li>Report interval width, interval scores, coverage, runtime and multi-step results in the CSP comparison.</li><li>Cite CSP for the seasonal anchor.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9a75e551ebe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Russians Were Using the Chinese Remainder Theorem a Century Before Gauss Proved It]]></title>
            <link>https://valeman.medium.com/russians-were-using-the-chinese-remainder-theorem-a-century-before-gauss-proved-it-0079b75d67e9?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/0079b75d67e9</guid>
            <category><![CDATA[history]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Thu, 01 Oct 2026 10:33:20 GMT</pubDate>
            <atom:updated>2026-10-01T10:33:20.377Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A 1,700-year-old puzzle, a student’s messy notebook, and a grid of 105 numbers in a Hermitage manuscript</em></p><p>Imagine a heap of coins. You count them out in threes and two are left over. In fives, three are left. In sevens, two. How many coins are in the heap?</p><p>The answer is 23. The question is far older than the answer key. It first appears in the Chinese mathematician Sun Zi, who lived around the third century AD. Today we call the general method behind it the <strong>Chinese Remainder Theorem</strong>, one of the workhorses of number theory and modern cryptography.</p><p>Gauss gave the theorem its complete proof in 1801. What almost nobody outside Russia knows is that more than a century earlier, Russian arithmeticians were already using the full method. The puzzle circulated in Muscovite manuscripts of the seventeenth century, under a wonderfully practical title: <em>“Of knowing the money in a heap.”</em> And in one of those manuscripts, a Russian compiler did something that, as far as historians have found, no Western European arithmetic book of the period did. He precomputed every answer and put them in a table.</p><h3>A puzzle that crossed a continent</h3><p>The problem’s route to Russia is a small history of the world in itself. A. P. Yushkevich traces it in <em>History of Mathematics in Russia Before 1917</em>:</p><ul><li><strong>China, c. 3rd century AD.</strong> Sun Zi poses the 3–5–7 problem. Chinese mathematicians already possessed a general method.</li><li><strong>Byzantium.</strong> The problem turns up in a Greek manuscript of the late fourteenth or early fifteenth century.</li><li><strong>Italy, 1202.</strong> Leonardo of Pisa (Fibonacci) includes it in <em>Liber Abaci</em>, probably picked up on his travels in the Arab world and Byzantium.</li><li><strong>Germany and France.</strong> German arithmetics of the fifteenth century carry it. Bachet de Méziriac treats it in 1612.</li><li><strong>Euler</strong> works on it. Then, in 1801, <strong>Carl Friedrich Gauss</strong> gives a complete justification of the method for any number of divisors, in the language of congruences he invented.</li></ul><p>Somewhere along the way, by paths no one has traced, it reached Moscow.</p><h3>The Russian recipe: 70, 21, 15 and 105</h3><p>Most Russian manuscripts state the rule as a bare recipe. Count the heap in threes: for every coin left over, write down <strong>70</strong>. Count in fives: for every coin left over, write down <strong>21</strong>. Count in sevens: for every coin left over, write down <strong>15</strong>. Add everything up and keep subtracting <strong>105</strong> until you can’t. What remains is the heap.</p><p>Try it on Sun Zi’s heap, with remainders 2, 3 and 2:</p><p>2 × 70 + 3 × 21 + 2 × 15 = 140 + 63 + 30 = 233</p><p>233 − 105 − 105 = <strong>23</strong>.</p><p>It works because each “magic” number does one job and stays out of the way of the others. 70 leaves remainder 1 when divided by 3, but is divisible by both 5 and 7. 21 leaves remainder 1 when divided by 5, but is divisible by 3 and 7. 15 leaves remainder 1 when divided by 7, but is divisible by 3 and 5. Multiply each by its remainder, add, and every condition is satisfied at once. The 105 is simply 3 × 5 × 7, the point where the pattern repeats.</p><p>In modern notation, that is the Chinese Remainder Theorem: if x ≡ r₁ (mod q₁), x ≡ r₂ (mod q₂) and x ≡ r₃ (mod q₃) for pairwise coprime divisors, then x is the remainder of N₁q₂q₃r₁ + N₂q₁q₃r₂ + N₃q₁q₂r₃ on division by q₁q₂q₃, where each N is chosen so that its term leaves remainder 1 for “its own” divisor.</p><h3>A student’s notebook gives the game away</h3><p>A bare recipe proves nothing about understanding. Anyone can memorise 70, 21, 15. Could seventeenth-century Russian arithmeticians actually derive those numbers for divisors they had never seen?</p><p>Yushkevich argues that they could, and the evidence comes from an unlikely source: a manuscript known as <em>Counting Wisdom</em>, which he identifies as a <strong>student’s</strong> work. The language is close to speech, the computations are unusually detailed, the abbreviations and slips are everywhere. It reads, he says, as if the writer were retelling what the teacher said in class.</p><p>And in it, the method is spelled out. The multipliers are called <strong>“examples.”</strong> The product of the divisors is the <strong>“dividing number.”</strong> To find the “example” for 3, multiply the other two divisors, 5 × 7 = 35, then try 35, 2 × 35, 3 × 35 and so on, dividing by 3 each time, until a remainder of 1 appears. That is exactly the search a modern textbook describes.</p><p>The notebook then runs the method on divisor triples well beyond Sun Zi’s:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*EM-hwg8eUVkTWBkEDMpxig.png" /></figure><p>I re-derived every one of these numbers. All of them are correct.</p><h3>The table</h3><p>The most striking artefact is in a manuscript held in the State Hermitage (shelfmark É/RB–40, folio 24). After the usual recipe comes a separate sheet carrying a three-way table, written in Slavonic numerals. It lists the smallest heap for <strong>every</strong> combination of remainders on division by 3, 5 and 7–105 numbers in all. A short instruction beneath explains how to read it: find the row for the remainder by 3 and by 5, then go along to the column for the remainder by 7.</p><p>Want the heap that leaves 2, 3 and 4? Read off <strong>53</strong>.</p><p>The table has a hidden rhythm. Along each row the entries climb by 15. Down each column they climb by 91, wrapping round past 105. Whoever built it understood the structure, not just the recipe.</p><p>Yushkevich is careful here. Western European arithmetic books gave the same rule for the multipliers. But he found no solution laid out as a table in them, and concludes that the table was apparently the work of a Russian mathematician. In the language of modern engineering, it is a precomputed cache: do the arithmetic once, then answer any query by lookup.</p><h3>Why would anyone need 15, 19 and 28?</h3><p>One of those divisor triples is stranger than the rest. 15, 19 and 28 multiply to 7,980. They are not a natural classroom exercise.</p><p>The book does not explain the choice, so what follows is my reading, not Yushkevich’s. Those three numbers are the classic cycles of Christian calendar reckoning: the 15-year <strong>indiction</strong>, the 19-year <strong>lunar cycle</strong> and the 28-year <strong>solar cycle</strong>. Together they repeat every 7,980 years, the period Joseph Scaliger named the Julian Period in 1583. Given a year’s position in all three cycles, the Chinese Remainder Theorem recovers the year itself. Calendar computation was a living skill in a church culture that had to fix Easter. A scribe who needed it had every reason to copy the multipliers 6916, 4845 and 4200.</p><h3>So — did Russians solve it before Gauss?</h3><p>Honestly: yes and no.</p><p><strong>No</strong>, they did not get there first. Chinese mathematicians had a general method well over a thousand years earlier, Fibonacci published the problem in 1202, and Euler worked on it before Gauss.</p><p><strong>Yes</strong>, in a narrower and still remarkable sense. More than a century before Gauss’s <em>Disquisitiones Arithmeticae</em> (1801), Russian arithmeticians were using the complete algorithm for three divisors, deriving the multipliers for new cases, teaching it in class — and at least one of them turned it into a full lookup table that no Western arithmetic book of the time appears to contain.</p><p>Gauss gave the theorem its proof and its general form. The Russian scribes gave it something else: a working tool, built for people who needed answers.</p><h3>Where this story comes from</h3><p>This episode is one of hundreds in A. P. Yushkevich’s <em>History of Mathematics in Russia Before 1917</em>, the standard Soviet history of the subject, from birch-bark numerals in Novgorod to Chebyshev, Markov, Lyapunov, Kovalevskaya and the birth of the Moscow school. It has never been available in English until now.</p><p>The first faithful English translation from the original Russian edition is available here:<br>https://valeman.gumroad.com/l/history_of_mathematics_in_russia_before_1917</p><p><em>Source: A. P. Yushkevich, History of Mathematics in Russia Before 1917, Chapter 2, §“The problem ‘of knowing the money in a heap’” (pp. 37–40), translated by Valery Manokhin, Northern Star Academic Press. Yushkevich’s own detailed study is “On a problem of number theory in Russian mathematical manuscripts of the seventeenth century,” Trudy Inst. ist. estestv. i tekhn., vol. 17 (1957).</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0079b75d67e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Euler’s Eyes]]></title>
            <link>https://valeman.medium.com/eulers-eyes-14dcad8fe694?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/14dcad8fe694</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 14:56:02 GMT</pubDate>
            <atom:updated>2026-09-22T14:56:02.386Z</atom:updated>
            <content:encoded><![CDATA[<h3>An eighteen-year-old arrived in St Petersburg in 1773 to work for a blind genius. He ended up writing the book that taught Russia algebra — and in two hundred years it has never appeared in English.</h3><p>Leonhard Euler had an operation that was supposed to save his sight.</p><p>It worked. Briefly. Then, in the words of the man who would deliver his eulogy, “he neglected the necessary precautions, by rushing his recovery and lost his sight after terrible pain and suffering.”</p><p>He was the most productive mathematician who has ever lived, and he could no longer read a line of his own work.</p><p>The mathematics did not stop. That is the part people find hard to believe. Euler kept producing at a rate that would embarrass a modern department, working “by the sole intermediary of his memory and imagination.” What he needed was not a nurse. He needed hands, and a mind attached to them — somebody who could take dictation in mathematics, spot the slip before it reached the page, run the tables, build the examples.</p><p>He wrote to Basel, to his old friend Daniel Bernoulli.</p><p>Bernoulli knew exactly who to send.</p><h3>The boy from Basel</h3><p>Nicolas Fuss was born in Basel on 29 January 1755. By his teens his mathematical ability had already come to Bernoulli’s attention — enough that when Euler needed a secretary, Bernoulli put forward a local youth with no reputation, no publications, and no connections in Russia.</p><p>Fuss arrived in St Petersburg in May 1773. He was eighteen.</p><p>He never left. He spent the remaining fifty-three years of his life in Russia.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*KLC_ftgYs6_QCs8W_8U15w.jpeg" /></figure><h3>What an assistant actually did</h3><p>Here is the number that reframes the job: Fuss helped Euler prepare <strong>more than 250 articles</strong> for publication.</p><p>Not copying. He “developed his ideas, calculating tables, and sometimes compiled examples.” When a blind man dictates a proof, somebody has to hold the whole structure in their head at the same time he does, or the errors compound silently and the work is lost.</p><p>Fuss did that, in his late teens and twenties, for the mind that produced the Basel problem, the seven bridges, <em>e</em>, and the identity that carries Euler’s name.</p><p>He also married into the family. His wife was Albertine Benedikte Philippine Luise Euler, Leonhard’s granddaughter.</p><h3>The eulogy</h3><p>On 23 October 1783, three weeks after Euler died, the Imperial Academy of Sciences of Saint Petersburg gathered to hear his eulogy.</p><p>It was delivered by Fuss.</p><p>It is a remarkable document — the definitive contemporary account of Euler’s life, written by the person who had sat closest to him for a decade. Fuss describes how the blind Euler worked, how “his prodigious and astonishing memory, enforced by the concentration of all of its forces disengaged from external distraction,” carried the work that his eyes no longer could.</p><p>And when he lists the people who lent Euler their hands in those final years, he names Euler’s sons, and Krafft, and Lexell.</p><p>He leaves himself out.</p><h3>The assistant becomes the scientist</h3><p>Euler died in 1783. Fuss was made an academician in higher mathematics the same year.</p><p>What followed was a full career, not a footnote to someone else’s. He worked in spherical geometry, trigonometry, series, differential geometry and differential equations. MacTutor rates his best work as the spherical trigonometry he did with Anders Johan Lexell and Friedrich Theodor Schubert. There is a theorem named after him — Fuss’s theorem, on bicentric quadrilaterals — and a sequence of numbers, the Fuss–Catalan numbers, that turns up in modern combinatorics and free probability.</p><p>From 1790 he was professor of mathematics at the Marine Corps in Petersburg. From 1800 until his death in 1826 he was <strong>permanent secretary of the Imperial Academy of Sciences</strong> — the administrative centre of Russian science for a quarter of a century.</p><p>His son Paul Heinrich Fuss joined the Academy in 1823, edited the first attempt at Euler’s collected works, and became the Academy’s secretary in 1826, the year his father died.</p><p>Father to son. Secretary to secretary. Euler’s papers still moving through the same family.</p><h3>The thing almost nobody knows he did</h3><p>Late in life, Fuss wrote schoolbooks.</p><p>Not a curiosity — a trilogy, for the schools of the Russian Empire, published by the state school authority. Part One: algebra, 1820. Part Two: geometry, 1823. Part Three: the application of algebra to geometry, plane trigonometry, conic sections, and the foundations of the differential and integral calculus.</p><p>The first volume says on its own title page what it is: the elementary foundations of algebra, extracted from the foundations of that science laid down by the celebrated Euler.</p><p>Read that again. The man who had been Euler’s eyes for a decade took Euler’s algebra and rebuilt it as a course for children.</p><p>Four divisions. Fifty-nine chapters. Five hundred and seventy numbered sections. It starts with what it means for a letter to stand for a quantity and ends at the irreducible case of the cubic and the approximate solution of equations of any degree — by way of logarithms, imaginary numbers, infinite series, the permutation proof of the binomial, and the full treatment of the fourth degree.</p><h3>Why this book is the root</h3><p>Russian school mathematics has a reputation. The Soviet mathematical school, the olympiad tradition, Kiselev’s textbooks that stayed in classrooms for seventy years — people know the fruit.</p><p>This is the root.</p><p>Fuss’s course is the channel through which Euler’s algebra reached Russian classrooms. Everything downstream — Kiselev above all — is built on the ground it laid. If you have ever wondered why the Russian tradition teaches algebra as a connected argument rather than a bag of procedures, the answer starts in 1820, with a man who learned his algebra by sitting next to Euler and writing it down.</p><h3>Two hundred years</h3><p>In all that time, the book has never been published in English. Not a partial translation. Not an abridgement. Nothing.</p><p>That ends now. <a href="https://www.amazon.com/dp/1809100054">Fuss’s Elementary Foundations of Pure Mathematics, Part I</a><em>: Algebra</em> is available in paperback and hardcover — the complete work, translated in full from the original Russian, 217 pages, typeset to be read rather than reprinted.</p><p>First faithful English translation from the original Russian edition.</p><p>Translated by Valery Manokhin, PhD. Northern Star Academic Press.</p><p><strong>The full series: russianmathbooks.com</strong></p><p><em>Sources: MacTutor History of Mathematics (biography of Nikolai Fuss); the Euler Archive’s translation of Fuss’s 1783 Eulogy of Euler by John S. D. Glaus; Wikipedia on Nicolas Fuss and Paul Heinrich Fuss; the 1820, 1823 and later Russian catalogue records of the three parts.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14dcad8fe694" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Two Wrong Answers, One Exact Solution: The Arithmetic Method Schools Forgot]]></title>
            <link>https://valeman.medium.com/two-wrong-answers-one-exact-solution-the-arithmetic-method-schools-forgot-c5358e1ff205?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5358e1ff205</guid>
            <category><![CDATA[math]]></category>
            <category><![CDATA[arithmetic]]></category>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Sun, 13 Sep 2026 17:52:35 GMT</pubDate>
            <atom:updated>2026-09-13T17:52:35.961Z</atom:updated>
            <content:encoded><![CDATA[<p><em>In 1877, an education journal was already lamenting its disappearance from textbooks. The mathematics still deserves a place in the classroom.</em></p><p>Imagine a mathematics lesson in which the teacher asks you to guess the answer.</p><p>You choose eight. It is wrong.</p><p>You choose seven. That is wrong too.</p><p>But instead of asking you to try again, the teacher tells you that you now have enough information to calculate the exact answer.</p><p>You do not need a third guess. You need to understand the first two mistakes.</p><p>This is the idea behind <strong>double false position</strong>, a method that allowed people to solve linear problems using ordinary arithmetic rather than the symbolic equations we would usually write today. It belonged to a substantial mathematical tradition, not a collection of party tricks.</p><p>And its disappearance from arithmetic teaching was noticed at the time.</p><p>On 6 September 1877, a contributor signing as “T. H.” published a discussion of double position in the <em>New England Journal of Education</em>. The writer described the method as:</p><blockquote><em>“so unwisely discarded from modern arithmetics”</em></blockquote><p>Here, “arithmetics” meant arithmetic textbooks. Almost a century and a half ago, someone was already arguing that this particular act of educational modernisation had thrown away something worth keeping.</p><p>After looking closely at the method, I think there is a good case for listening.</p><h3>The Russian page that caught my attention</h3><p>I recently came across a striking example in a Russian account of old arithmetic manuscripts.</p><p>The passage calls the procedure the <em>“false rule”</em> and explains how the calculator records the errors produced by assumed answers. The name sounds suspicious until you understand it: the rule is not false. The starting assumptions are.</p><p>The problem is simple enough to state without algebra:</p><p><strong>Find a number which, when multiplied by fourteen and divided by four and two-thirds, gives eighteen.</strong></p><p>The first trial number is <strong>8</strong>.</p><p>Following the instructions produces <strong>24</strong>, which is <strong>6 too much</strong>.</p><p>The second trial number is <strong>7</strong>.</p><p>This produces <strong>21</strong>, which is <strong>3 too much</strong>.</p><p>The manuscript’s calculation arranges the trial numbers and their errors around a crossed-line diagram. Each trial number is multiplied by the error belonging to the <em>other</em> trial:</p><p>7×6=42,8×3=24.</p><p>Because both results are too large, the calculator subtracts the cross-products, then divides by the difference between the errors:</p><p>Answer=42−246−3=183=6.</p><p>The two wrong answers have produced the right one.</p><p>Checking is straightforward: six multiplied by fourteen is eighty-four, and eighty-four divided by four and two-thirds is eighteen.</p><p>There is a lovely additional detail in the Russian passage. A cross-like symbol marks an <strong>excess</strong>, while a symbol resembling our modern division sign marks a <strong>deficit</strong>. In this notation, the division-shaped symbol does not instruct the reader to divide. It means “too little.”</p><p>The diagram records not merely that an answer is wrong, but <strong>how it is wrong</strong>.</p><p>That distinction is the whole method.</p><h3>A mistake can contain a measurement</h3><p>At first glance, the cross-multiplication looks like an arbitrary recipe.</p><p>Why should multiplying the wrong numbers by the wrong errors produce anything useful?</p><p>Look again at the two trials.</p><p>Reducing the input from eight to seven reduces the output from twenty-four to twenty-one.</p><p>A decrease of <strong>one</strong> in the input causes a decrease of <strong>three</strong> in the output.</p><p>At seven, the output is still three too large. Therefore, reducing the input by one more unit removes the remaining excess.</p><p>The answer must be six.</p><p>The crossed calculation is a compact way of carrying out that reasoning.</p><p>In modern mathematical language, the two trials reveal the <strong>slope</strong>: how rapidly the result changes when the input changes. The error tells us how far the output must move; the slope tells us how much to change the input.</p><p>For this example:</p><p>Correction=remaining output erroroutput change per unit of input=33=1.</p><p>So we move from seven to six.</p><p>Notice something else: <strong>the two guesses do not have to surround the answer</strong>. Seven and eight are both too large. That does not matter, because the relationship is a straight line and we can extend it beyond the two points.</p><p>This is not blind trial and error. Blind trial and error would keep guessing until something worked.</p><p>Double false position uses the trials to discover a relationship, then uses that relationship to calculate the answer. Historical practitioners could interpolate between two trials or extrapolate beyond them. (<a href="https://www.researchgate.net/publication/242281258_Issues_in_the_Origin_and_Development_of_Hisab_al-Khata%27ayn_Calculation_by_Double_False_Position_Questions_Sur_l%27Origine_et_le_Developpement_de_Hisab_al-Khata%27ayn_Calcul_par_Double_Fausse_Position%29">ResearchGate</a>)</p><h3>Why bother, when algebra makes this so easy?</h3><p>There is an obvious objection.</p><p>The Russian problem, written in modern notation, is simply</p><p>14x423=18.</p><p>Since four and two-thirds is fourteen-thirds, the left-hand side reduces to 3x. The answer is immediately x=6.</p><p>Why make two guesses and perform cross-multiplications when one line of algebra will do?</p><p>For this particular problem, there is no efficiency advantage. Even a proportional correction from the first trial would be enough: eight produces twenty-four, so the number producing eighteen is 8×18/24=6.</p><p>But double false position is not limited to direct proportion. It also works when the calculation includes a fixed amount added or subtracted.</p><p>Consider a modern illustration.</p><p>Suppose a printer charges a fixed setup fee plus a constant price per copy. You have two quotations: <strong>twenty copies cost £90</strong>, while <strong>fifty copies cost £180</strong>.</p><p>How many copies can you order for exactly <strong>£150</strong>?</p><p>The twenty-copy quotation is £60 below your target. The fifty-copy quotation is £30 above it.</p><p>The two errors are now on opposite sides, so the corresponding calculation adds rather than subtracts:</p><p>Number of copies=20×30+50×6030+60=360090=40.</p><p>You have found the answer without first calculating either the setup fee or the price per copy.</p><p>The intuitive explanation is just as clear. An additional thirty copies cost an additional £90, so each extra copy costs £3. Moving from the £90 quotation to the £150 target requires another £60, or twenty more copies.</p><p>Starting with twenty copies, you arrive at forty.</p><p>The fixed setup fee prevents you from simply scaling the original quotation. But it disappears when you compare the two quotations.</p><p><strong>The difference between two trials reveals information that either trial alone does not provide.</strong></p><p>That is a mathematical idea worth understanding, even after you have mastered algebra.</p><h3>This was an international mathematical tradition</h3><p>The Russian example was not an isolated invention.</p><p>Double-false-position techniques appear in ancient Chinese mathematics and medieval Arabic mathematical writing. In the Arabic tradition, the method was known as <em>hisāb al-khaṭāʾayn</em>, referring to reckoning with two errors. Fibonacci discussed it in <em>Liber Abaci</em>, drawing on Arabic sources. The earlier relationships between the Chinese, Indian and Arabic traditions are more complicated than a simple story of one culture handing the method to another.</p><p>A particularly tangible example survives in the manuscript of <strong>Michael of Rhodes</strong>, a fifteenth-century mariner whose mathematics is documented by the Michael of Rhodes Project.</p><p>Michael solves a problem about the value of a cargo of pepper using several methods, including double false position. His manuscript uses a large X-shaped arrangement to organise the trial values, the discrepancies and the cross-multiplications.</p><p>That is recognisably the same kind of calculating aid as the crossed diagram in the Russian passage.</p><p>The notation varies. The language varies. The structure remains familiar: assume a value, calculate the consequence, record the discrepancy, and combine it with another trial.</p><p>These examples also correct a tempting misconception. False position was not merely something people used <strong>before algebra existed</strong>. Michael knew algebra and used both approaches. The methods could coexist as alternative tools.</p><p>Knowing one way to solve a problem did not make every other way worthless.</p><h3>What happened in the nineteenth century?</h3><p>The historical claim needs to be stated carefully.</p><p>There was no single worldwide date on which schools stopped teaching false position. The evidence does not support a neat announcement that, sometime in the nineteenth century, everyone abandoned it.</p><p>What we can document is that <strong>its removal from arithmetic textbooks was already being criticised in 1877</strong>. That contemporary complaint is more useful than a sweeping claim about every country’s curriculum.</p><p>The attraction of replacing it with algebra is easy to understand.</p><p>A problem that might previously require a named rule and an arrangement of numerical trials can be expressed as</p><p>ax+b=T,</p><p>then solved generally:</p><p>x=T−ba.</p><p>That is a powerful improvement. It expresses the structure directly, works with arbitrary coefficients, and fits into a much larger mathematical language.</p><p>On the narrow question of how quickly to solve a straightforward linear equation, algebra usually wins.</p><p>But there are two different educational questions here:</p><p><strong>What is the shortest method for obtaining the answer?</strong></p><p>And <strong>what does each method help the student understand?</strong></p><p>They do not always have the same answer.</p><p>The crossed-line recipe, taught mechanically, could certainly become just another rule to memorise. There is nothing inherently enlightening about multiplying diagonally because a textbook says so.</p><p>But explained properly, the method provides a concrete introduction to rate of change, linearity, interpolation and the use of error as information.</p><p>By 1967, <em>The Mathematics Teacher</em> was presenting double false position in a column titled “Historically Speaking.” The technique was still worth discussing, but now explicitly as a historical subject.</p><p>I would argue that it deserves a little more than historical curiosity.</p><h3>The idea did not disappear from mathematics</h3><p>There is an important twist: the old arithmetic method is closely related to something still taught in numerical mathematics.</p><p>Suppose we define the error in our Russian example as</p><p>e(x)=3x−18.</p><p>The two trials give us two points on the error graph: (8,6) and (7,3).</p><p>Draw the straight line through those points and find where it crosses zero. That crossing occurs at x=6.</p><p>This is the same straight-line zero-finding calculation used in a <strong>secant step</strong>. The secant method uses two function evaluations to estimate a slope, then uses that slope to calculate a new estimate of a solution.</p><p>In the historical linear problem, the line through the two trials is not an approximation to the relationship. It <strong>is</strong> the relationship. That is why the answer is exact.</p><p>For a nonlinear problem, the situation changes. Two points define a line, but the actual relationship may curve away from it. The calculated crossing is then generally only an approximation, and further iterations may be required. The modern <em>regula falsi</em> algorithm uses the same interpolation idea while preserving two endpoints that bracket a root.</p><p>So the method was not rendered mathematically meaningless when symbolic algebra became the preferred way of solving elementary equations.</p><p>Its underlying calculation also belongs to numerical methods for problems where a convenient symbolic solution may not be available.</p><h3>And what about backpropagation?</h3><p>Working in machine learning, it is natural to recognise a resemblance: make a trial, calculate an error, use information about that error to guide an adjustment.</p><p>But it would be misleading to call the old crossed diagram an early form of backpropagation.</p><p><strong>Backpropagation computes derivatives by applying the chain rule backward through a computation.</strong> An optimiser can then use those derivatives to update parameters. Double false position instead infers a slope from two complete trial calculations; it does not propagate derivatives backward through the individual operations.</p><p>The conceptual resemblance is real, but the mechanisms are different.</p><p>The stronger mathematical connection is to the secant method, not to neural-network training.</p><p>The historical method does not need an exaggerated claim about artificial intelligence to be interesting. It already demonstrates something fundamental: a carefully measured error can tell you how to move towards a solution.</p><h3>What I would bring back to the classroom</h3><p>I would not replace algebra with false position.</p><p>Nor would I require students to memorise an antique cross-multiplication procedure merely because it is old.</p><p>I would put the Russian example in front of them before giving them the formula.</p><p>Eight produces twenty-four. Seven produces twenty-one. We need eighteen.</p><p>What do those two trials tell us?</p><p>Then I would ask why the answer can lie outside the two guesses. What changes when one trial is too high and the other too low? Why does adding a fixed charge not break the method? What happens when the calculation involves squaring the input?</p><p>Those questions turn a historical procedure into an investigation.</p><p>They also reveal its limits. The exact rule depends on a nonconstant straight-line relationship and exact arithmetic. Two trials are not enough to identify an arbitrary curve, and real measurements may contain noise.</p><p>Understanding why a method works includes understanding when it does not.</p><p>For me, that is the case for recovering this piece of arithmetic: not nostalgia, and not the belief that older textbooks were automatically better, but the opportunity to approach familiar mathematics from an unfamiliar direction.</p><p>Algebra lets us manipulate a relationship symbolically. False position lets us interrogate it numerically.</p><p>Both perspectives are valuable.</p><p>The nineteenth-century writer who regretted the method’s disappearance had a point. We gained a more efficient symbolic language. That does not mean there was nothing left to learn from the method it displaced.</p><p><strong>Sometimes a wrong answer is not something to erase. Once you know precisely how wrong it is, it becomes part of the solution.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5358e1ff205" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Before Magnitsky: The Forgotten Russian Arithmetic Textbook Printed in Amsterdam]]></title>
            <link>https://valeman.medium.com/before-magnitsky-the-forgotten-russian-arithmetic-textbook-printed-in-amsterdam-00b72ca99f7f?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/00b72ca99f7f</guid>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Thu, 03 Sep 2026 12:23:40 GMT</pubDate>
            <atom:updated>2026-09-03T12:23:40.223Z</atom:updated>
            <content:encoded><![CDATA[<h3>Four years before the famous Arithmetic of 1703, Peter the Great’s Dutch publishing experiment produced a tiny, strange and pioneering mathematical textbook</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*P7kfczzM3CZtHoByDMQRyA.png" /></figure><p>I thought I knew where the modern Russian mathematics textbook began.</p><p>The obvious answer was Leonty Magnitsky’s Arithmetic, published in Moscow in 1703. It was the monumental mathematical course that became one of the foundational books of Russian education.</p><p>Then I discovered a much smaller book that changes the opening chapter of that history.</p><p>On 15 April 1699 — four years before Magnitsky — Ilya Kopievsky published Краткое и полезное руковедение во аритметику: <strong>A Brief and Useful Guide to Arithmetic.</strong></p><p>It contained only 48 pages. The surviving copy held by the Russian State Library measures approximately 15 by 9.5 centimetres. And it was printed not in Moscow, but in Amsterdam, at the press of the Dutch merchant Jan Thessing.</p><p>Its reported print run was 3,350 copies — remarkably, more than the 2,400 copies later printed of Magnitsky’s vastly more substantial Arithmetic. As of 2022, researchers had identified only seven surviving copies of Kopievsky’s little book.</p><p>This does not dethrone Magnitsky.</p><p>It changes the prologue.</p><h3>Which book was really first?</h3><p>The question depends on what we mean by “first.”</p><p>In 1682, the Moscow Print Yard had already published Считание удобное, or Convenient Reckoning. But that work was essentially a printed multiplication table, not a systematic arithmetic course.</p><p>Kopievsky’s 1699 Guide was the first recognisable printed arithmetic teaching manual intended for Russian readers.</p><p>Magnitsky’s 1703 Arithmetic was something on an entirely different scale: a broad, ambitious and comprehensive mathematics curriculum. It was the book that successfully established the model and entered the national canon.</p><p>The accurate story, therefore, is not that Magnitsky falsely received credit for somebody else’s achievement.</p><p>The more interesting story is that Magnitsky’s famous textbook had a nearly forgotten precursor — and that this precursor had to be produced outside Russia.</p><h3>Peter’s information-infrastructure problem</h3><p>Peter the Great’s reforms are normally told through physical things: ships, cannon, shipyards, factories, canals and cities.</p><p>But modernisation also required information.</p><p>A state could order the construction of a navy, but it could not train navigators without books.</p><p>It could establish technical schools, but those schools required textbooks.</p><p>It could invite foreign engineers, but Russian students still needed access to mathematics, astronomy, navigation, architecture, military science and foreign languages.</p><p>Peter’s reforms therefore faced what we would now call an information-infrastructure or knowledge-supply problem.</p><p>During the Great Embassy of 1697–1698, the Dutch Republic offered an obvious solution. Amsterdam was one of Europe’s great centres of publishing, with capital, skilled printers, international trade connections and books appearing in dozens of languages. Peter and his circle already knew Amsterdam publishing, and the tsar’s own library contained numerous Dutch editions.</p><p>Moscow possessed considerable printing capacity. The obstacle was not simply the physical absence of printing presses.</p><p>The Moscow Print Yard produced books almost exclusively on religious subjects, normally with the patriarch’s blessing. Producing an entire series of secular textbooks based on the works of non-Orthodox European scholars would have been institutionally awkward.</p><p>There was an even more fundamental problem: late-seventeenth-century Moscow did not possess the necessary library of foreign scientific literature from which such textbooks could be assembled.</p><p>Amsterdam had both the books and the production system.</p><p>So Peter effectively outsourced the first stage of his secular educational programme.</p><h3>A seventeenth-century publishing start-up</h3><p>The venture began through Jan Thessing, an Amsterdam merchant whose family had long traded with Russia.</p><p>In May 1698, while Peter was travelling from Amsterdam towards Vienna, he approved Thessing’s proposal to manufacture and export Russian-language printed material. The formal charter followed in February 1700, but publication had already begun.</p><p>Thessing received a 15-year privilege to print and sell maps, diagrams, portraits, mathematical and architectural works, and books concerning military subjects. The charter said that the publications should serve the public benefit and the teaching of arts and knowledge.</p><p>One restriction is particularly revealing: religious books were excluded. Those remained the domain of the Moscow Print Yard.</p><p>Rather than immediately transform the old ecclesiastical publishing machinery, Peter created a parallel channel for secular knowledge.</p><p>In modern terms, the arrangement resembled an international publishing start-up.</p><p>Peter supplied political backing, demand and a privileged market.</p><p>Thessing supplied capital, commercial connections, equipment and distribution.</p><p>But they still needed somebody capable of converting European knowledge into books that Russian students could read.</p><p>That person was Ilya Kopievsky.</p><h3>The man between worlds</h3><p>Calling Kopievsky a “Russified Pole” is tempting, but far too simple.</p><p>He appears to have been born around 1651 into a minor Calvinist noble family in the Grand Duchy of Lithuania, probably somewhere in the territory of present-day Belarus. His exact birthplace remains uncertain.</p><p>When he was eight or nine years old, during the Russo-Polish War, he was captured by forces associated with Prince Ivan Khovansky and taken into Muscovy. He remained there for approximately six years before returning home.</p><p>His troubles did not end there. His family estate was confiscated, leaving him without the position or income he might otherwise have inherited.</p><p>Kopievsky studied and later taught at the Protestant school in Slutsk. Eventually, he moved to Amsterdam and became connected with the Dutch Reformed Church. In his writings he sometimes described himself as Polonus — a Pole — but his linguistic, political and cultural identity crossed several modern national categories.</p><p>That complicated background made him almost uniquely suited to Peter’s project.</p><p>He knew the Slavic literary traditions used by Russian readers.</p><p>He spoke several European languages.</p><p>He had experience as a teacher.</p><p>He understood Protestant educational practice.</p><p>And he was living in the greatest multilingual publishing centre in Europe just as Peter’s representatives arrived looking for practical knowledge.</p><p>Kopievsky began teaching Russian students foreign languages, navigation-related subjects and other “arts and sciences.” Crucially, he was teaching them from instructional materials that he was simultaneously writing or compiling himself.</p><p>Thessing may have owned the enterprise, but Kopievsky became its intellectual engine.</p><p>He was simultaneously an author, translator, editor, curriculum designer, terminology builder, typographic organiser and teacher. Recent scholarship suggests that he determined almost the entire publishing programme himself.</p><p>Between March 1699 and the middle of 1700, he prepared a remarkable series of textbooks dealing with world history, arithmetic, astronomy, military science, Latin and other foreign languages, as well as Aesop’s fables.</p><p>The title pages invoked Peter’s authority, but Kopievsky was not merely a clerk mechanically executing a list supplied by the tsar. He was an intellectual entrepreneur constructing the curriculum largely in real time.</p><h3>The strangest 48-page arithmetic textbook</h3><p>Kopievsky’s Brief and Useful Guide to Arithmetic appeared on 15 April 1699.</p><p>Its full title promised instruction in “every kind of reckoning in the counting of all things.”</p><p>But the contents are not what a modern reader would expect.</p><p>Only 16 of its 48 pages are actually devoted to arithmetic.</p><p>The mathematical section covers five principal subjects:</p><p>Numbers.</p><p>Addition, called придача.</p><p>Subtraction, called убавка.</p><p>Multiplication.</p><p>Division.</p><p>Kopievsky introduces Arabic numerals, the older Cyrillic system of representing numbers and Roman numerals. Zero is called ничево — an old spelling of “nothing.”</p><p>The mathematical terminology is particularly revealing. Imported European words appear beside Slavic alternatives:</p><p>Аддиция alongside придача.</p><p>Мультипликация alongside умножение.</p><p>Дивизия alongside разделение.</p><p>The page looks like a competition between possible mathematical languages, with Kopievsky testing imported and native terms side by side.</p><p>As a mathematics textbook, it was extremely rough.</p><p>There are very few worked examples.</p><p>There are no exercises for the reader.</p><p>Multiplication and division are explained inadequately.</p><p>At least one of the handful of printed sums is simply wrong: the book gives 5,324 + 3,063 as 8,386 rather than 8,387.</p><p>Other apparent typographical errors occur in the examples.</p><p>This was not a polished masterpiece.</p><p>It was a prototype produced under extraordinary pressure.</p><h3>Arithmetic, morality and Aesop’s fables</h3><p>The strangest feature of the book is what fills the remaining pages.</p><p>Kopievsky included moral sayings, rhymed instructions and no fewer than 17 fables.</p><p>Why place Aesop inside an arithmetic manual?</p><p>Part of the answer appears to lie in Dutch educational practice, where fables and moral instruction commonly accompanied elementary teaching. Kopievsky was not merely trying to communicate methods of calculation. He was adapting a broader European model of schooling for a new audience.</p><p>The first fable is particularly appropriate.</p><p>A hen, scratching through rubbish, discovers a diamond.</p><p>A merchant or jeweller would have understood its enormous value. The hen does not. It would rather find a grain of wheat or barley.</p><p>Kopievsky explains that the diamond represents wisdom and education. Those who do not understand the liberal arts resemble the hen: they encounter something precious but cannot recognise its value.</p><p>The fable reads almost like a manifesto for Peter’s educational programme.</p><p>Russia did not merely require new books.</p><p>It required readers capable of recognising why the knowledge inside them mattered.</p><p>And three centuries later, the fable has acquired an unintended second meaning. Kopievsky’s own little book became something like the discarded diamond in his story — overshadowed by a greater textbook and almost forgotten.</p><h3>Inventing scientific Russian in real time</h3><p>It would be anachronistic to describe Kopievsky’s language as modern Russian.</p><p>The National Electronic Library catalogues the book as Church Slavonic. Linguistic research describes Kopievsky’s writing more precisely as a mixture of Russian and Church Slavonic, containing Ukrainian, Polish and other European influences.</p><p>The instability of the language is not a defect incidental to the story.</p><p>It is one of the most historically important things about the book.</p><p>Kopievsky had few established models for expressing European scientific and educational terminology in a language suitable for Russian readers. He therefore had to locate, adapt, combine and sometimes invent equivalents.</p><p>A recent biographical study argues that he was effectively helping to invent a Russian language of science.</p><p>This explains why imported and native terms coexist so visibly.</p><p>There was no settled vocabulary to consult.</p><p>There was no comprehensive editorial style guide.</p><p>There was no established secular textbook industry.</p><p>There was one overworked multilingual teacher in Amsterdam attempting to construct all three at once.</p><p>According to Kopievsky’s own account, the work became exhausting. He was writing books, organising the printing operation and teaching inadequately trained workers how to produce Cyrillic editions.</p><p>His complaints may have contained some self-dramatisation, but the physical evidence supports the basic picture: these books were produced rapidly, experimentally and under difficult conditions.</p><h3>Why Magnitsky won</h3><p>Four years later, Magnitsky’s Arithmetic appeared in Moscow.</p><p>It was larger, deeper, more coherent and far better produced. It offered not merely elementary reckoning but a broad mathematical curriculum.</p><p>Contemporary and modern assessments agree that it greatly surpassed Kopievsky’s booklet in volume, content and printing quality. Although Kopievsky’s reported print run was larger, print run alone is not a measure of influence.</p><p>Thin schoolbooks are heavily used and easily destroyed. The Amsterdam volumes were not particularly well printed, and their transportation and distribution inside Russia remain incompletely documented. Magnitsky’s substantial volume was more valuable to owners, more likely to be bound and more likely to survive.</p><p>Magnitsky therefore deserves his canonical position.</p><p>But he did not appear in a vacuum.</p><p>Kopievsky’s book demonstrates that an effort to create a new kind of mathematical education had already begun. The first experiment was smaller, weaker and produced abroad — but it established a precedent.</p><p>The proper conclusion is not that Magnitsky was wrongly celebrated.</p><p>It is that textbook history tends to remember successful monuments and forget the prototypes that made them imaginable.</p><p>Magnitsky built the monument.</p><p>Kopievsky built the prototype.</p><h3>The man who could not afford his own burial</h3><p>The Amsterdam enterprise did not last.</p><p>Kopievsky believed that Thessing underpaid him and failed to recognise the scale of his contribution. Their partnership collapsed. A subsequent venture with another Dutch merchant also ended in conflict and litigation.</p><p>Kopievsky carried his publishing ambitions, manuscripts and typographic equipment through different parts of Europe, searching for patrons and commercial partners.</p><p>Eventually, he entered Russian service as a translator and moved to Moscow.</p><p>There, far from becoming a celebrated founder of Russian secular publishing, he disappeared into relative obscurity. He died in September 1714 in poverty.</p><p>His widow petitioned the authorities for assistance. She reported that he had left numerous debts and that the household did not possess enough money even to bury him.</p><p>It is a brutal conclusion to the life of a man who had helped manufacture some of the earliest secular textbooks for Peter’s Russia.</p><p>And it brings us back to the hen and the diamond.</p><p>Kopievsky’s arithmetic was not a masterpiece. Its mathematical content was thin. Its presentation was hurried. Its examples contained mistakes.</p><p>But it captured something more important than perfection.</p><p>It captured the moment when a new educational culture was being assembled: a new publishing system, a new secular curriculum and even a new scientific vocabulary.</p><p>That culture was not created entirely inside Russia.</p><p>It emerged through an international network: a Russian tsar, a Dutch merchant, Amsterdam printers, European scientific books and a Calvinist intellectual from the borderlands of the Grand Duchy of Lithuania.</p><p>The modern Russian mathematics textbook began not as an exclusively national creation, but as a transnational publishing experiment.</p><p>Before Peter’s Russia could print its new future at home, it printed a prototype of that future in Amsterdam.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00b72ca99f7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hidden Deep Inside a Moscow Museum: A Metal Turtle That Learned]]></title>
            <link>https://valeman.medium.com/hidden-deep-inside-a-moscow-museum-a-metal-turtle-that-learned-e7c9c731f995?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7c9c731f995</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Mon, 03 Aug 2026 12:59:42 GMT</pubDate>
            <atom:updated>2026-08-03T12:59:42.199Z</atom:updated>
            <content:encoded><![CDATA[<h3>Built in 1956 at the institute that would later shelter Vapnik and Chervonenkis. It has a mains plug — and that matters.</h3><p>The Polytechnic Museum in Moscow holds object number 12402.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nW_rt7xjR7hiDo4FEezekg.jpeg" /></figure><p>It is a metal ovoid, 410 millimetres long, hand-beaten from aluminium sheet. You can see the weld seams. The underside is painted in the grey hammertone crackle enamel that every Soviet instrument workshop used, and several of the screw heads are sealed with red lacquer — the tamper-evident paint they put on things that were not meant to be opened.</p><p>The catalogue calls it <strong>Кибернетическая модель «Черепаха»</strong>. The cybernetic model “Turtle”.</p><p>Creation date: 1956–1957. Creation place: <strong>Институт автоматики и телемеханики АН СССР</strong> — the Institute of Automation and Remote Control of the USSR Academy of Sciences.</p><p>The museum says it is the only surviving specimen.</p><h3>What it does</h3><p>There is a photocell behind a chrome bezel in the nose. That is the eye.</p><p>With nothing in front of it, the turtle drives toward a light source. When a shadow falls across the photocell, an obstacle routine fires — it reverses, turns aside, and carries on. There is a microphone under a perforated grille on its back. Sound a tone and it stops.</p><p>So far this is a reflex machine. Percept in, action out. Nothing more.</p><p>Then the museum’s own description says this:</p><blockquote>Если включать сигнал каждый раз, когда «черепаха» наезжает на препятствие, срабатывает её способность обучаться — тогда, «услышав» сигнал, она не просто тормозит, а сразу начинает обходить преграду, ещё не подъехав к препятствию вплотную.</blockquote><p>Sound the tone every time it hits something. After enough repetitions its capacity to learn kicks in — and now, on hearing the tone, it does not merely brake. It begins the avoidance manoeuvre immediately, before it has reached the obstacle at all.</p><p>That is Pavlovian conditioning. In relay-contact logic. In 1956.</p><p>And it is worth being precise about what changed, because it is the whole of the thing. Before conditioning, the machine acts on what it senses. After conditioning, it acts on what it <strong>expects</strong>. The tone carries no information about obstacles — it acquires that information by co-occurrence, and the machine begins behaving on the strength of an association it built itself.</p><p>Percept to prediction. That is what a learned model is. Everything since has been a question of how you represent the association and how you fit it.</p><h3>Now the parts that stop this being a good story</h3><p>Two things, and I would rather say them myself than have them said to me.</p><p><strong>First: Grey Walter got there first.</strong> Elmer and Elsie were built in Bristol in 1948–49 and publicised by 1951, and Walter’s <em>Machina docilis</em> did conditioning with his CORA circuit. The Moscow turtle is seven to eight years later. This is not a priority claim and I am not making one.</p><p><strong>Second: it has a mains plug.</strong></p><p>Look at the photograph. That is a cloth-braided flex with a red tracer, ending in a two-pin Soviet plug. There is no battery compartment. There is no charging arrangement.</p><p>Walter’s tortoises were battery-powered, and their most celebrated behaviour was finding their way back to a hutch to recharge when they ran low. The Moscow machine is tethered. It works within the radius of its cable. On autonomy — the axis that made Walter famous — it is the lesser machine, and the photograph proves it.</p><p>There is one genuine engineering difference in the other direction. Walter built with thermionic valves. This is built with relay contacts, which was the Soviet strength — Tsypkin and Gavrilov territory, an entire school of switching theory. And the face carries <strong>two</strong> fixed apertures where Walter used a single rotating photocell. Two fixed sensors suggests differential sensing: compare left and right, steer toward the brighter. Simpler, no moving scanner. The photographs cannot settle it. The museum’s accession file might.</p><h3>Why 1956 is the interesting number</h3><p>Not because it was first. Because of what it was late to.</p><p>Cybernetics was a banned pseudoscience in the Soviet Union until the mid–1950s. The turning point is usually dated to 1955, when Sobolev, Kitov and Lyapunov published «Основные черты кибернетики» in <em>Вопросы философии</em>. Before that, the word itself was an accusation.</p><p>The turtle was built in the eighteen months after that. Somebody at the Institute of Automation and Remote Control read the paper that said this was allowed now, went into the workshop, and built a machine that learns.</p><p>That is the story. Not who was first. What it looks like when a field is switched back on.</p><h3>Who built it</h3><p>The museum’s author field is empty. No maker’s plate appears in any of the three published photographs.</p><p>But the Institute of Control Sciences — the same institute, renamed in 1969 — says on its own memorial page for <strong>Alexander Mikhailovich Petrovsky</strong> (1925–1993) that he built a «кибернетическая черепаха», one that «передвигалась, обходила препятствия, имитировала некоторые условные рефлексы и обучалась несложным командам». Moved, avoided obstacles, imitated conditioned reflexes, learned simple commands.</p><p>Four for four, at the same institute, in the same period.</p><p>The identification is not documented. It is very likely, and I will say so in exactly those words until someone opens the accession file.</p><p>Petrovsky is worth knowing about regardless. His first published paper, three years before the turtle, describes a white-noise generator built from a rotating drum full of steel ball bearings, with a voltage across the axis and the drum wall. The balls tumble, the contact resistance jitters, the current fluctuates. He models the ball falls as a Poisson process and derives a Lorentzian spectrum with a corner frequency of <em>NF</em> — number of balls times rotation rate.</p><p>You tune the bandwidth of the noise source by counting ball bearings.</p><p>His grandfather was chief sanitary doctor of Moscow. His father was a Formalist literary theorist who ran the theoretical poetics section at GAKhN and whose translation of <em>Manon Lescaut</em> is still considered unsurpassed. His mother steered him into engineering deliberately, on the reasoning that the country needed technical people.</p><p>He was thirty-one when the turtle was built.</p><h3>The part that makes this a machine learning story</h3><p>Petrovsky founded Laboratory №38 at that institute in 1968.</p><p>In 1971 the laboratory of A. Ya. Lerner was struck from the institute’s structure. His people were about to be scattered.</p><p>Petrovsky’s laboratory took them in. Among them: <strong>Vladimir Vapnik and Alexey Chervonenkis.</strong></p><p>The institute’s own history is blunt about how unusual this was. Moving between laboratories was categorically discouraged, and the directorate’s preferred solution to a conflict was to be rid of everyone involved. Lab 38 was the standing exception — it absorbed Feldbaum’s orphaned group in 1968, Vapnik and Chervonenkis in 1971, and Lyubinsky’s neuron-modelling people in 1977 when their laboratory head died and their lab was struck out too.</p><p>Statistical learning theory has a continuous institutional home in Moscow from 1971 onward, and the reason is a man who built a turtle out of aluminium sheet and a noise generator out of ball bearings.</p><p>Laboratory 38 still exists. It is now «Управления по неполным данным» — control under incomplete data. One of its four stated research directions is machine learning and pattern recognition, described as building on Vapnik–Chervonenkis foundations.</p><p>Sixty-nine years after the turtle. Same laboratory. Same building.</p><p><em>The turtle is object 12402 at the Polytechnic Museum, Moscow. Petrovsky’s 1953 paper is «Генератор флюктуационных шумов для инфразвуковых частот», Автоматика и телемеханика XIV:4, 440–444 — free full text at Math-Net.Ru, paper id at13672. It has been downloaded 129 times.</em></p><p><em>I am working through the Soviet machine learning literature paper by paper — what was done, what was rediscovered later in the West, and what is still sitting there unread. If that is your kind of thing, follow along.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7c9c731f995" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vapnik and Chervonenkis: The Founding Fathers of Machine Learning]]></title>
            <link>https://valeman.medium.com/vapnik-and-chervonenkis-the-founding-fathers-of-machine-learning-96f17ce8ff5d?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/96f17ce8ff5d</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Fri, 24 Jul 2026 10:45:56 GMT</pubDate>
            <atom:updated>2026-07-24T10:45:56.758Z</atom:updated>
            <content:encoded><![CDATA[<p>How two Soviet mathematicians laid the theoretical foundation of machine learning long before it became a global phenomenon.</p><p>In today’s AI-driven world, we casually speak of generalization, overfitting, and VC dimensions — as if these ideas were always part of the machine learning landscape. But their origins are remarkably precise, and their creators remarkably overlooked.</p><p>Meet <strong>Vladimir Vapnik</strong> and <strong>Alexey Chervonenkis</strong>, two Soviet mathematicians who built the <strong>mathematical foundation of machine learning</strong> — at a time when “AI” was mostly philosophical and “big data” didn’t exist.</p><h3>🎓 Who Were They?</h3><h3>Vladimir Vapnik</h3><ul><li><strong>Born</strong>: 1936, Soviet Union</li><li><strong>Education</strong>:</li></ul><p><strong>Undergraduate</strong>: Mathematics and Physics, Uzbek State University (Tashkent)</p><p><strong>PhD</strong>: Institute of Control Sciences, USSR Academy of Sciences</p><p><strong>Discipline</strong>: Mathematical statistics, information theory, pattern recognition</p><p><strong>Profession</strong>:</p><ul><li>Worked at the <strong>Institute of Control Sciences</strong> in Moscow (a major Soviet research hub in applied math and engineering)</li><li>Later joined <strong>AT&amp;T Bell Labs</strong> in the U.S. (1990s), where he further developed Support Vector Machines</li></ul><p>Despite his later association with statistical theory, <strong>Vapnik was never trained or employed as a statistician</strong>. His work was grounded in <strong>mathematics, physics, and control theory</strong> — disciplines concerned with information, systems, and optimization.</p><h3>Alexey Chervonenkis</h3><ul><li><strong>Born</strong>: 1938, Soviet Union</li><li><strong>Education</strong>:</li></ul><p><strong>Undergraduate and graduate degrees</strong> in mathematics, Moscow Institute of Physics and Technology (department of Radiotechnics and Cybernetics)</p><p><strong>Discipline</strong>: Probability theory, mathematical modeling, pattern recognition</p><p><strong>Profession</strong>:Researcher at the <strong>Institute of Control Sciences</strong>, where he began his long collaboration with Vapnik. Later taught at Moscow Institute of Physics and Technology (MIPT)</p><p>Chervonenkis was a quiet but profound thinker. He was never part of the Soviet statistics community; his orientation was always in <strong>theoretical computer science and applied mathematics</strong>.</p><h3>🧠 What They Did — and Why It Matters</h3><p>In <strong>1964</strong>, the two researchers published their breakthrough paper introducing <strong>VC theory</strong> (Vapnik–Chervonenkis theory). This work asked — and answered — one of the most fundamental questions in learning:</p><blockquote><em>How can we know if a machine will perform well </em>not just on the training data, but on unseen examples<em>?</em></blockquote><p>They formalized:</p><ul><li><strong>Generalization bounds</strong></li><li><strong>Capacity control</strong> (via VC dimension)</li><li><strong>Uniform convergence</strong></li><li><strong>Empirical risk minimization (ERM)</strong></li></ul><p>This wasn’t just a mathematical curiosity. These tools became the <strong>core principles behind supervised learning</strong> — they explained <em>how</em> and <em>why</em> learning from data could work at all.</p><p>In essence, Vapnik and Chervonenkis gave machine learning its first <strong>rigorous statistical soul</strong> — without coming from statistics themselves.</p><h3>❌ Not Statisticians — And That’s Important</h3><p>It’s a historical misunderstanding to attribute the birth of machine learning to traditional statisticians.</p><ul><li>Vapnik and Chervonenkis did not publish in mainstream statistical journals.</li><li>They weren’t interested in estimation or hypothesis testing in the classical sense.</li><li>They worked on <strong>learning theory</strong>: a new field, with its own rules, concerns, and mathematics.</li></ul><p>In fact, many in the Western statistical community <strong>ignored or misunderstood</strong> their work for decades. It was only when Vapnik moved to the U.S. and helped develop non linear version of <strong>Support Vector Machines</strong> in the 1990s that his contributions began to be widely recognized. The original liner version of Support Vector Machines we already developed by Vapnik long before that in the early 1960s in the USSR, it was known under the name of ‘The Methods of Generalised Portraits.’ Thirty years later, whilst working in Bell Labs in the USA Vapnik and Cortes combined his linear Support Vector Machine method with kernel methods (invented by Aizerman and his colleagues like Rozonoer from the Aizerman’s Lab in late 1950s-early 1960 in the same institute that Vapnik has worked in the USSR)</p><h3>🇺🇸🇷🇺 Two Nations, One Legacy</h3><p>Machine learning, as a field, has <strong>only two true birthplaces</strong>: the <strong>United States</strong> and the <strong>Soviet Union</strong>.</p><ul><li>The U.S. gave us early systems like <strong>Arthur Samuel’s</strong> checkers-playing program (1959) and <strong>Frank Rosenblatt’s</strong>Perceptron (1958).</li><li>The USSR gave us the <strong>mathematical foundations</strong> through Vapnik and Chervonenkis, beginning in the early 1960s.</li></ul><p>Every country since has contributed to scaling, refining, and applying machine learning — but <strong>only the USA and USSR </strong>can claim to have founded it.</p><h3>📘 A Legacy That Shaped the Future</h3><p>When Vapnik published <em>The Nature of Statistical Learning Theory</em> in <strong>1995</strong>, it was more than a summary of his research. It was a global call to see learning as a <strong>mathematical discipline</strong>, not just a computational trick. The book introduced generations of researchers to the principles behind SVMs, generalization, and capacity — ideas that now live inside nearly every ML algorithm.</p><p>Even today, the explosion of large language models, deep networks, and reinforcement learning is still shaped by the core insights Vapnik and Chervonenkis provided:</p><blockquote>You must control complexity to achieve generalization.</blockquote><h3>🏛️ The Founding Fathers of Machine Learning</h3><p>To call them “influential” is an understatement.</p><p><strong>Vladimir Vapnik</strong> and <strong>Alexey Chervonenkis</strong> <strong>founded</strong> the theory that makes machine learning not just possible, but principled.<br>They weren’t statisticians. They weren’t riding a trend.<br>They invented the discipline before most people even knew it existed.</p><p><em>If machine learning is a cathedral, then Vapnik and Chervonenkis laid its mathematical cornerstone — quietly, brilliantly, and decades before the rest of the world showed up to build on it.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96f17ce8ff5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I Recommend Old Russian Mathematics Books]]></title>
            <link>https://valeman.medium.com/why-i-recommend-old-russian-mathematics-books-b9d36405dcf1?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9d36405dcf1</guid>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Fri, 24 Jul 2026 10:38:41 GMT</pubDate>
            <atom:updated>2026-07-24T10:38:41.100Z</atom:updated>
            <content:encoded><![CDATA[<p>People often ask me why I recommend older Russian mathematics books.</p><p>Why Kiselev?<br>Why Rachinsky?<br>Why Malinin and Burenin?<br>Why old arithmetic, algebra, geometry, and problem books from the Russian Empire and early Soviet period?</p><p>The answer is simple: because many of these books were excellent.</p><p>They were clear.<br>They were rigorous.<br>They respected the child’s mind.<br>They did not replace mathematics with entertainment.<br>They did not confuse pedagogy with fashion.<br>They did not treat children as incapable of serious thought.</p><p>And there is a sad historical story behind this.</p><p>The USSR inherited one of the strongest mathematical textbook traditions in the world. Then, under Khrushchev and later Soviet reformers, it began to damage that inheritance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5OeGYCCj78V8SWMVQ6eJ-Q.png" /></figure><p>This was not progress.</p><p>It was demolition dressed up as modernisation.</p><h3>The level before the demolition</h3><p>This is the part people often miss.</p><p>Before Soviet reforms damaged the old textbook tradition, Russian school education was already operating at a level that would be almost unimaginable today.</p><p>In the classical gymnasiums, Russian schoolchildren could encounter calculus around the age of 14. They were not merely doing arithmetic forever. They were being prepared for serious algebra, geometry, analysis, and scientific thinking.</p><p>At roughly the same historical period, many American schoolchildren were still barely finishing arithmetic.</p><p>That contrast matters.</p><p>Russia did not suddenly become strong in mathematics because of some abstract Soviet miracle. The foundations were older. They came from the imperial Russian gymnasium tradition, serious textbooks, demanding teachers, and a culture that treated mathematics as intellectual formation rather than classroom decoration.</p><p>This is why the destruction of the old textbook tradition was so damaging.</p><p>It was not just a change of books.</p><p>It was the dismantling of an educational ladder that had already taken children from arithmetic into serious mathematics at an age when other systems were still teaching the basics.</p><h3>The old Russian textbook tradition</h3><p>Before the reforms, Russia had a remarkable school textbook culture.</p><p>Kiselev is the obvious example.</p><p>His books in arithmetic, algebra, and geometry became legendary because they did exactly what school mathematics books are supposed to do: build the mind step by step.</p><p>They were not flashy.<br>They were not full of bureaucratic “activities.”<br>They were not written to satisfy committees.<br>They were written to teach.</p><p>A good mathematics textbook is not a pile of colourful pages. It is not a psychological experiment conducted on children. It is not a collection of disconnected tricks.</p><p>A good mathematics textbook is a ladder.</p><p>First the child learns arithmetic properly.<br>Then algebra begins to make sense.<br>Then geometry teaches proof.<br>Then higher mathematics is no longer an alien planet.</p><p>The old Russian books understood this.</p><p>They trained calculation, attention, memory, abstraction, proof, and reasoning. They assumed that children could think. They did not apologise for difficulty. They did not water mathematics down into slogans.</p><p>This is why these books survived for generations.</p><p>Kiselev’s books became part of the backbone of Russian mathematical schooling because they worked.</p><h3>Then came Khrushchev</h3><p>The tragic irony is that the Soviet Union inherited this great Russian educational tradition and then began damaging it from within.</p><p>Under Khrushchev, the Soviet system entered a period of aggressive educational reform.</p><p>Khrushchev is often described through his Ukrainian political biography: he rose through the Ukrainian party apparatus, became head of the Ukrainian party in 1938, and was deeply connected with Ukraine throughout his career.</p><p>The safe point is this: Khrushchev was not the guardian of the older Russian gymnasium tradition; he was the Soviet political boss under whom a new reform climate began.</p><p>That distinction matters.</p><p>The Soviet Union was not identical with the older Russian tradition. In some areas it inherited, expanded, and exploited that tradition. In others it damaged it.</p><p>School mathematics is one of those tragic cases.</p><p>The USSR had received a powerful inheritance: imperial Russian gymnasium culture, serious textbooks, demanding teacher training, and a clear ladder from arithmetic to algebra to geometry and beyond.</p><p>Then the reformers arrived.</p><h3>Markushevich before Kolmogorov</h3><p>This is where the story is often told incorrectly.</p><p>People jump straight to Kolmogorov.</p><p>Yes, Kolmogorov later became associated with the Soviet school mathematics reform. Yes, his authority mattered. Yes, his name became attached to the later stage of the reform.</p><p>But he was not where the demolition began.</p><p>The earlier reform current was already moving against the old textbook tradition. In the Russian source I am drawing on, the central early figure is Alexey Ivanovich Markushevich.</p><p>The source is extremely harsh about him:</p><blockquote><em>“The leader of the reformers of school mathematical education, Alexey Ivanovich Markushevich, did not distinguish himself by special achievements in scientific activity, but shone in the para-scientific field: he abolished Kiselev’s brilliant method…”</em></blockquote><p>That is the key point.</p><p>The demolition of Kiselev should not be lazily framed as “Kolmogorov did it.”</p><p>Kolmogorov came later.</p><p>Markushevich was already a major educational bureaucrat and mathematics educator before the later Kolmogorov-branded reform. Standard biographies place him at the centre of Soviet/Russian educational institutions: he was vice-president of the Academy of Pedagogical Sciences of the RSFSR, deputy minister of education of the RSFSR from 1958 to 1964, and later vice-president of the USSR Academy of Pedagogical Sciences.</p><h3>What kind of people wrote the new textbooks?</h3><p>The Russian source is bitter for a reason.</p><p>It does not present the replacement of Kiselev as some innocent pedagogical update. It presents it as an act carried out by people of a very different calibre from the old school textbook builders.</p><p>The same passage continues with an even more poisonous accusation against Markushevich:</p><blockquote><em>“…and he turned out to be the main buyer of medieval European manuscripts stolen from the Central State Archive of Ancient Acts. This is the calibre of people who have been writing textbooks for our children since the seventies…”</em></blockquote><p>This is a savage line, but the manuscript scandal is not merely invented internet abuse. Standard biographical summaries also mention that Markushevich’s final years were overshadowed by a scandal involving the theft of medieval European manuscripts from RGADA, the Russian State Archive of Ancient Documents, and that investigations identified him as the main buyer of the stolen documents.</p><p>That does not by itself prove that every textbook he touched was bad.</p><p>But it does show why the Russian polemical account is so angry.</p><p>The point is not simply “old good, new bad.”</p><p>The point is that the old Russian textbook tradition was built by teachers and textbook writers who understood the classroom. Then a new class of reformers, administrators, and famous names began replacing a proven method with abstract schemes and institutional authority.</p><p>The result was predictable.</p><h3>The attack on Kiselev</h3><p>Kiselev is the symbol of this loss.</p><p>His books had educated enormous numbers of students. They were part of the backbone of Russian mathematical schooling. They had clarity, order, and intellectual seriousness.</p><p>But instead of being treated as a national educational treasure, they were pushed aside.</p><p>The older textbook tradition was attacked precisely because it was old. It belonged to a pre-reform world. It carried the style of classical Russian schooling: disciplined exposition, careful definitions, worked examples, proof, and cumulative training.</p><p>That was exactly what made it valuable.</p><p>Replacing such books is not automatically progress. In mathematics education, “new” often means worse.</p><p>The child does not need a fashionable textbook. The child needs a clear path from counting to calculation, from arithmetic to algebra, from examples to proof.</p><p>Kiselev provided that path.</p><p>The reformers broke it.</p><h3>Kolmogorov’s later role</h3><p>Kolmogorov must be placed correctly in the story.</p><p>He was not some minor figure. He was one of the greatest mathematicians of the twentieth century, and his name became strongly associated with the later Soviet mathematics reform.</p><p>But that is precisely why the story is so important.</p><p>Being a great mathematician does not automatically make someone a great school textbook writer.</p><p>A school textbook is not a research monograph for children.<br>It is not a university course simplified for teenagers.<br>It is not a place for famous academics to impose abstract structures on pupils before they are ready.</p><p>A school textbook must understand the sequence of the child’s mind.</p><p>The later Soviet mathematics reform, often called the Kolmogorov reform, was part of a wider international “New Math” movement. Yury Neretin’s historical account explicitly says the reform involved grades 4–10 and names both Alexey Markushevich and Andrey Kolmogorov as leaders. It also says the program was too optimistic, insufficiently tested, and that from September 1972 Soviet schools were in a depressed state; after the reform was stopped by Lev Pontryagin in 1980, the system still did not return to its pre-reform level.</p><p>That is the real lesson.</p><p>The old books were not destroyed because they failed.</p><p>They were destroyed because reformers wanted to reform.</p><h3>The false worship of modernisation</h3><p>This is the disease of modern education everywhere.</p><p>A serious tradition is built slowly over decades. Teachers refine it. Textbooks improve. Children learn. Standards become clear.</p><p>Then the reformers arrive.</p><p>They announce that everything must be made modern. The old books are declared outdated. The old methods are called too strict. The old proofs are too hard. The old arithmetic is too formal. The old geometry is too demanding.</p><p>Then comes the new language: activity-based learning, discovery, relevance, modernisation, restructuring.</p><p>And after all this noise, what happens?</p><p>Children know less.</p><p>They cannot manipulate fractions.<br>They cannot reason through elementary algebra.<br>They cannot prove simple geometric facts.<br>They cannot calculate without a device.<br>They reach university with holes in the foundations.</p><p>This is not progress.</p><p>This is institutional vandalism.</p><h3>Why I recommend these books</h3><p>This is why I recommend old Russian textbooks.</p><p>Not because they are old.</p><p>Not because of nostalgia.</p><p>Not because everything Russian was automatically good.</p><p>I recommend them because many of them were built according to principles that modern textbook committees have forgotten.</p><p>They are concise.<br>They are cumulative.<br>They are serious.<br>They respect mathematics.<br>They respect the student.<br>They do not apologise for difficulty.<br>They do not pretend that understanding can be achieved without effort.</p><p>Kiselev, Rachinsky, Malinin and Burenin, and many others represent a lost standard of mathematical writing.</p><p>They show what a textbook can be when it is written to educate rather than entertain, to form the mind rather than satisfy a ministry, to teach mathematics rather than perform pedagogy.</p><h3>The lesson</h3><p>The sad story of Khrushchev-era reform, Markushevich’s educational bureaucracy, and the later Kolmogorov-branded mathematics reform is not only a Soviet story.</p><p>It is a warning.</p><p>A country can inherit a great intellectual tradition and still damage it.</p><p>A system can produce world-class scientists while simultaneously undermining the educational foundations that made them possible.</p><p>A bureaucracy can call destruction “modernisation.”</p><p>That is why old textbooks matter.</p><p>They are not museum pieces. They are evidence.</p><p>They show us that children can be taught seriously. They show us that clarity beats gimmicks. They show us that mathematics education once had a higher standard.</p><p>And they remind us of a painful truth:</p><p>Sometimes the best way forward is to recover what the reformers destroyed.</p><p>You can find these books here <a href="https://russianmathbooks.com/">https://russianmathbooks.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9d36405dcf1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The multiplication method Russian peasants used for a thousand years — and why every computer in…]]></title>
            <link>https://valeman.medium.com/the-multiplication-method-russian-peasants-used-for-a-thousand-years-and-why-every-computer-in-79e59cd807dc?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/79e59cd807dc</guid>
            <category><![CDATA[math]]></category>
            <category><![CDATA[arithmetic]]></category>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Thu, 16 Jul 2026 09:39:20 GMT</pubDate>
            <atom:updated>2026-07-16T09:39:20.317Z</atom:updated>
            <content:encoded><![CDATA[<h3>The multiplication method Russian peasants used for a thousand years — and why every computer in the world still uses it today</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p2KCFp0OdWdnXgLlGeuoew.png" /></figure><p>A folk algorithm that turns out to be Egyptian, and turns out to be binary.</p><p>I spent some time translating Yakov Perelman’s <em>Entertaining Arithmetic</em> into English for the first time. Perelman was, in his lifetime, the most-read popular-science writer in the Russian language — forty books, thirteen million copies, translated into dozens of languages. He was the Martin Gardner of the Soviet century. In English, almost none of him exists.</p><p>One of the passages that stopped me during translation is a short section in Chapter 3, “The Russian Method of Multiplication.” Perelman quotes an 18th-century Russian arithmetic textbook — Magnitsky’s — which insists in verse that you cannot multiply without memorising the multiplication table. Then, quietly, Perelman notes that Magnitsky was wrong. There is a method for multiplying two numbers that requires no multiplication table at all. Only halving, doubling, and adding. Russian peasants used it. They inherited it, as Perelman puts it, “from deep antiquity.”</p><p>Here is the method. Suppose you want to multiply 32 × 13. Write the two numbers side by side. Halve the left number; double the right. Repeat until the left number reaches 1.</p><pre>32 × 13<br>16 × 26<br> 8 × 52<br> 4 × 104<br> 2 × 208<br> 1 × 416</pre><p>The answer is the last number on the right: 416. Verify: 32 × 13 = 416. ✓</p><p>The reason this works is disarming. Halving one factor and doubling the other preserves the product. So after six operations, we’ve reduced 32 × 13 to the equivalent 1 × 416 — which requires no multiplication at all.</p><p>What happens when the left number is odd? Halve after dropping the remainder — but on those rows, add the right-hand number back at the end. Example: 19 × 17.</p><pre>19 × 17    (odd — keep 17)<br> 9 × 34    (odd — keep 34)<br> 4 × 68    (even — cross out)<br> 2 × 136   (even — cross out)<br> 1 × 272   (odd — keep 272)</pre><p>Sum the kept rows: 17 + 34 + 272 = 323. And 19 × 17 = 323. ✓</p><p>Two things about this method are worth pausing on.</p><p><strong>One: it isn’t Russian.</strong> Perelman traces it, in the following section, to Ancient Egypt. Scribes on the Rhind Mathematical Papyrus, around 1550 BC, were multiplying by exactly this method — successive doubling, tallying the powers of two that sum to the multiplier. The “Russian peasant” name comes from a British journal called <em>Knowledge</em>, which christened it that way just before the First World War. The method had migrated from the pharaohs’ land, along some unrecorded route, into the Great Russian village.</p><p><strong>Two: it’s binary.</strong> Look at the odd/even column when you multiply 19 × 17. The odd rows are 19, 9, 1. In binary, 19 = 10011. Reading the odd/even pattern from the top: 1 (odd), 0 (even), 0 (even), 1 (odd — wait, that’s the crossed-out row) — no, let me realign. Halving 19 gives 9 remainder 1; halving 9 gives 4 remainder 1; halving 4 gives 2 remainder 0; halving 2 gives 1 remainder 0; halving 1 gives 0 remainder 1. Reading those remainders bottom-to-top: 10011 = 19. The peasant method <em>is</em> binary multiplication. It’s what every arithmetic-logic unit inside every modern computer chip does — shift left (double), shift right (halve), add when the bit is set. The Russian peasant and the Intel Core i9 are executing the same algorithm.</p><p>The reason I want to publish Perelman in English is that this is what he does on every page. Take a piece of folk knowledge that looks trivial. Unpack it, honestly. Show that it connects to something deep. Never sacrifice accuracy for showmanship. He did this for arithmetic, algebra, geometry, mechanics, astronomy — across forty books.</p><p>None of his mathematics books were in English until this month.</p><p><em>Entertaining Arithmetic</em> — Yakov Perelman, translated by Valery Manokhin (Northern Star Academic Press, 2026). 151 pages, 66 problems with full solutions, 54 figures from the source edition.</p><p>Amazon (paperback + Kindle): <a href="https://www.amazon.com/dp/B0H8ZZLLGT">https://www.amazon.com/dp/B0H8ZZLLGT</a><br>Gumroad (PDF): <a href="https://valeman.gumroad.com/l/perelman_arithmetic">https://valeman.gumroad.com/l/perelman_arithmetic</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79e59cd807dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Said a Tree Beats Conformal Prediction “By a Wide Margin.” I Reproduced It. It Doesn’t.]]></title>
            <link>https://valeman.medium.com/amazon-said-a-tree-beats-conformal-prediction-by-a-wide-margin-i-reproduced-it-it-doesnt-614b0a41093a?source=rss-f2b0fed45495------2</link>
            <guid isPermaLink="false">https://medium.com/p/614b0a41093a</guid>
            <category><![CDATA[conformal-prediction]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[timeseries]]></category>
            <dc:creator><![CDATA[Valeriy Manokhin, PhD, MBA, CQF]]></dc:creator>
            <pubDate>Thu, 09 Jul 2026 17:59:10 GMT</pubDate>
            <atom:updated>2026-07-09T17:59:10.689Z</atom:updated>
            <content:encoded><![CDATA[<h4>A 2021 Amazon Science paper claimed its method crushed conformal prediction. It never actually tested conformal prediction on forecasting — and when you do, the tree ships 95% intervals that cover 26%.</h4><p><em>~7 min read</em></p><p><strong>TL;DR</strong> — In 2021 Amazon Science published <em>“Probabilistic Forecasting: A Level-Set Approach,”</em> introducing a tree method (LSF/XLSF, shipped in GluonTS as rotbaum) that reportedly <em>“outperforms conformal predictions by a wide margin.”</em> Two problems. First, its “conformal” baseline was a <strong>tabular regression</strong> method (CQR) on tabular datasets — not a forecasting conformal method at all. Second, when you run rotbaum through a proper, matched forecasting benchmark against a real conformal forecaster (CSP), it <strong>loses</strong> on the paper’s own headline metric, <strong>ties</strong> on CRPS, and produces <strong>95% intervals that cover as little as 26%.</strong></p><p>There’s a familiar template in machine-learning papers: invent a method, choose the comparison that flatters it, and announce a wide margin. The 2021 Amazon Science paper <strong>“Probabilistic Forecasting: A Level-Set Approach”</strong> is a textbook example — and it’s worth walking through, because the failure mode is common and the fix is simple.</p><p>The paper introduces the <strong>Level-Set Forecaster (LSF)</strong>. Apply it to XGBoost and it becomes <strong>XLSF</strong>, and it ships in GluonTS under the module name <strong>rotbaum</strong> — German for <em>“red tree.”</em>The claim, in print: <em>“XLSF outperforms conformal predictions by a wide margin on quantile prediction.”</em></p><p>That’s a strong, testable claim. So I tested it.</p><h3>First: what is conformal prediction actually promising?</h3><p>Quick primer, because it’s the crux. A probabilistic forecast doesn’t just give you a number — it gives you an interval, and that interval makes a promise. A <strong>95% prediction interval</strong>should contain the true value about 95 times out of 100. That property is called <strong>calibration</strong> (or <strong>coverage</strong>), and it is the entire point of a prediction interval. <strong>Conformal prediction</strong> is the family of methods explicitly designed to keep that promise; most other models just hope.</p><p>Hold onto that word — <em>coverage</em>. It’s where this story ends.</p><h3>The first problem: the paper never tested conformal prediction on forecasting</h3><p>Look closely at what the paper actually compares. Its “conformal” baseline is <strong>CQR</strong> — conformalized quantile regression — evaluated on <strong>tabular, i.i.d. regression datasets</strong>: facebook, meps, concrete, bike, community. No <em>forecasting</em> conformal method anywhere in the comparison.</p><blockquote><em>Benchmarking a forecasting tree against a tabular regression procedure and declaring victory over “conformal prediction” is like beating a chess engine at checkers and claiming the world title.</em></blockquote><p>Conformal prediction for time-series forecasting is its own field — its own methods, its own guarantees, its own literature. The paper didn’t beat it. It beat something else and used its name.</p><p>So I ran the comparison the paper skipped: a real forecasting conformal method, on real forecasting data.</p><h3>The fair fight</h3><p>The opponent is <strong>CSP (Conformal Seasonal Pools)</strong> — a training-free conformal forecaster: no learned parameters, no neural network, milliseconds on a laptop (<a href="https://arxiv.org/abs/2605.03789">paper</a> · <a href="https://github.com/valeman/csp-forecaster">code</a>).</p><p>I dropped rotbaum into the <em>exact</em> audited protocol behind the CSP benchmark: the six datasets Amazon’s own <strong>DeepNPTS</strong> forecaster was introduced on — electricity, exchange rate, solar, taxi, traffic, Wikipedia — with the same 10 series each, the same 380 rolling-origin windows, the same 200 samples, the same proper scoring rules. Rotbaum uses GluonTS’s out-of-the-box XLSF settings and the same context length DeepNPTS got. Nothing tilted toward CSP.</p><p>One guardrail against hand-waving: re-running CSP through this harness reproduced its published, audited numbers to within <strong>0.2%</strong> on every metric across all 380 windows. Everyone is measured with the same ruler.</p><h3>The part that matters: the coverage is fake</h3><p>Back to that promise. Rotbaum breaks it — badly.</p><p>Empirical coverage of the nominal–95% interval, per dataset. Rotbaum (red) is below target almost everywhere and collapses to 0.26 on Wikipedia; CSP (green) hugs the 95% line.</p><p>Across the six datasets, rotbaum’s 95% intervals covered <strong>74%</strong> on average, and its 90% intervals covered <strong>64%</strong>. On Wikipedia traffic it announced 95% confidence and delivered <strong>26% coverage</strong> — the truth landed <em>outside</em> its “95%” interval three times in four.</p><blockquote><em>A “95%” interval that actually covers 26% isn’t a sharp forecast. It’s fake certainty — and in a capacity-planning or risk system, it’s worse than no interval at all, because someone will trust it.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4i6UQ2XrlXRszjaqv9g-FQ.png" /></figure><p>CSP sits near the line where it belongs: 89% average coverage, no Wikipedia-style detonation. (Exchange rate is genuinely hard — a near-random-walk where <em>all</em> methods undercover — and CSP’s honest 0.50 there is right in the chart. No cherry-picking.)</p><h3>And the “wide margin”? A coin flip</h3><p>Ignore calibration entirely and just score accuracy, and the promised blowout still doesn’t show up:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aThQFjeLWweD65uW1fzEzw.png" /></figure><p>On weighted quantile loss — the <em>exact</em> metric the paper leads with — conformal prediction wins. On CRPS it’s a statistical dead heat: rotbaum wins 49% of 380 windows, Wilcoxon <em>p</em>= 0.45. There is no wide margin. There is barely a margin.</p><h3>Where the tree does win — because honesty is the point</h3><p>Rotbaum isn’t useless. It genuinely wins two of six datasets — <strong>traffic and taxi</strong> — on both CRPS and quantile loss. These are high-frequency, strongly seasonal, data-rich series with clean hour-of-day and day-of-week structure: exactly where a gradient-boosted tree thrives. If your problem looks like that, XLSF is a fair tool.</p><p>But “good on two of six, badly miscalibrated on the rest, beaten on the headline metric, and needs training” is not “outperforms conformal prediction by a wide margin.” It’s a competitive method oversold with the wrong benchmark.</p><h3>The lesson: report the floor</h3><p>Point forecasters have a discipline called <strong>Forecast Value Added</strong> — before you celebrate a model, show it beats a naive baseline. Probabilistic forecasting skipped that step, and papers like this one fill the vacuum: impressive-sounding gains measured against an opponent chosen not to win.</p><p>The fix is boring and it works:</p><blockquote><em>Whenever you claim to beat conformal prediction, benchmark against a conformal method built for your task — and report calibration next to accuracy.</em></blockquote><p>Had this paper done that, “wide margin” would not have survived the coverage column. The full argument is in <a href="https://arxiv.org/abs/2606.09473"><em>Report the Floor</em></a> and in my book, <a href="https://valeman.gumroad.com/l/probabilistic_forecasting_with_conformal_prediction"><em>Probabilistic Forecasting with Conformal Prediction</em></a>.</p><pre>pip install git+https://github.com/valeman/csp-forecaster.git</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=614b0a41093a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>