diff --git a/Makefile b/Makefile index 4cc3f28..d751f50 100644 --- a/Makefile +++ b/Makefile @@ -859,6 +859,14 @@ textbook-boole: ## Boole Laws of Thought (PD, PG TeX) $(ARBORIST) --db "$(CRAWL_SHARDS_DIR)/textbook_boole-laws-of-thought-1854.db" \ ingest --source textbook_tex --url "$$url" +textbook-peano: ## Peano Arithmetices Principia 1889 (CC-BY-SA, Verheyen+Nahas LaTeX from GitHub) + @row=$$(grep '"peano-arithmetices-principia-1889"' $(TEXTBOOK_MANIFEST) | head -1); \ + url=$$(echo "$$row" | $(PY) -c "import json,sys; print(json.loads(sys.stdin.read()).get('tex_url',''))"); \ + if [ -z "$$url" ]; then echo "no tex_url for Peano" >&2; exit 1; fi; \ + mkdir -p $(CRAWL_SHARDS_DIR); \ + $(ARBORIST) --db "$(CRAWL_SHARDS_DIR)/textbook_peano-arithmetices-principia-1889.db" \ + ingest --source textbook_tex --url "$$url" + test-crawler: bootstrap-crawler ## run only the lifted crawler tests $(VENV)/bin/pytest -q tests/crawler diff --git a/bench/fixtures/textbooks/manifest-v1.jsonl b/bench/fixtures/textbooks/manifest-v1.jsonl index 35af594..434260f 100644 --- a/bench/fixtures/textbooks/manifest-v1.jsonl +++ b/bench/fixtures/textbooks/manifest-v1.jsonl @@ -14,3 +14,4 @@ {"id":"cantor-transfinite-numbers-jourdain","title":"Contributions to the Founding of the Theory of Transfinite Numbers","author":"Georg Cantor (Philip E. B. Jourdain transl.)","year":"1895/1897 (orig. German); 1915 (Jourdain English)","license":"PD","license_url":"https://en.wikipedia.org/wiki/Public_domain","domain":"set-theory","pillar_targets":["II"],"urls":["https://en.wikisource.org/wiki/Contributions_to_the_Founding_of_the_Theory_of_Transfinite_Numbers/Article_1"],"home_url":"https://en.wikisource.org/wiki/Contributions_to_the_Founding_of_the_Theory_of_Transfinite_Numbers","notes":"Wikisource. Only Article 1 (~15K words: cardinal number, equivalence, addition/multiplication/exponentiation, finite cardinals) is transcribed; Article 2 page does not exist. Foundational for claim-pack pillar II — Cantor IS the historical primary source modern Jech-style texts derive from. PD by age (Jourdain translation 1915, US PD via pre-1929 rule)."} {"id":"demorgan-first-notions-logic","title":"First Notions of Logic, Preparatory to the Study of Geometry","author":"Augustus De Morgan","year":"1839","license":"PD","license_url":"https://en.wikipedia.org/wiki/Public_domain","domain":"logic","pillar_targets":["I"],"urls":["https://www.gutenberg.org/cache/epub/67017/pg67017-images.html"],"home_url":"https://www.gutenberg.org/ebooks/67017","notes":"PG eBook #67017, single-page HTML. ~30 pages: AEIO propositions, syllogism six fundamental forms × four figures, hypothetical / indirect / a fortiori arguments, probabilistic inference. Pre-Boole, pre-Frege, pre-Hilbert; one of the earliest English systematic logic texts. Pillar I supplement to Boole 1854 already ingested."} {"id":"russell-imp-1919","title":"Introduction to Mathematical Philosophy","author":"Bertrand Russell","year":"1919","license":"PD","license_url":"https://en.wikipedia.org/wiki/Public_domain","domain":"logic-foundations","pillar_targets":["I","II","III"],"urls":["https://www.gutenberg.org/cache/epub/41654/pg41654-images.html"],"home_url":"https://www.gutenberg.org/ebooks/41654","notes":"PG eBook #41654, single-page HTML. ~200 pages covering natural numbers, definition of number, finite & infinite, classes & types, propositional functions, descriptions, relations, axiom of infinity, axiom of choice. Bridges pillars I (logic), II (transfinite cardinals), III (Peano arithmetic). Russell wrote IMP after Principia Mathematica as a non-symbolic exposition; PD by age (1919 + URAA = 95 years = 2015)."} +{"id":"peano-arithmetices-principia-1889","title":"Arithmetices Principia, Nova Methodo Exposita / The Principles of Arithmetic, Presented by a New Method","author":"Giuseppe Peano (Vincent Verheyen + Michael Nahas, transl. + ed.)","year":"1889 (orig. Latin); 2018+ (Verheyen English, current revisions through 2022+)","license":"CC-BY-SA-4.0","license_url":"https://creativecommons.org/licenses/by-sa/4.0/","domain":"arithmetic","pillar_targets":["III"],"urls":[],"home_url":"https://github.com/mdnahas/Peano_Book","tex_url":"https://raw.githubusercontent.com/mdnahas/Peano_Book/master/Peano.tex","notes":"Side-by-side Latin (Peano 1889) + English (Verheyen 2018) translation with modern math notation, hosted on mdnahas/Peano_Book GitHub repo under CC-BY-SA-4.0. The 1889 Latin original IS the primary source for Peano arithmetic axioms (zero, successor, induction); Landau 1929 and Gödel 1931 both rederive from this. Ingest path: textbook_tex (paracol multi-column macros leak some `gobble 1cm` / `0.5cm` residue but substantive English text extracts cleanly — 39 chunks, 35 hits on 'peano', 38 on 'arithmetic'). Pillar III is gated on a fox decision to alias Landau + Gödel citations to Peano via #000041."} diff --git a/bench/results/medium-confidence-aliases-and-peano-2026-05-10.md b/bench/results/medium-confidence-aliases-and-peano-2026-05-10.md new file mode 100644 index 0000000..0a253b2 --- /dev/null +++ b/bench/results/medium-confidence-aliases-and-peano-2026-05-10.md @@ -0,0 +1,185 @@ +# Medium-confidence aliases + Peano ingest + title backfill — 2026-05-10 + +**Date:** 2026-05-10 (UTC) +**Author:** blackops + fox +**Method:** under fox's "all of the above" directive: registered 7 +medium-confidence citation aliases, ingested Peano's *Arithmetices +Principia* via the existing textbook_tex pipeline (the third +TeX-source primary after Hilbert + Boole), and discovered + fixed an +author-surname-in-haystack defect that was suppressing alias-driven +resolution across half the new shards. + +## Headline + +**35 → 54 / 92 records resolve (+19, 59% coverage).** Pillar I/II/III +all moved off zero. Lift came from three nearly-orthogonal sources: +the alias decisions (+4), the Peano ingest (+2), and the title +backfill (+13). + +## Changes landed + +### 7 medium-confidence citation-alias rows + +`decision_by="fox 2026-05-10"` per #000041 audit discipline. Each row +carries the partial-coverage caveat in its `decision_rationale`. + +| Original | Substitutes | Honest cap | +|---|---|---| +| Mendelson — Introduction to Mathematical Logic | Russell IMP, De Morgan FNL, Boole *Laws of Thought* | 4-7 / 7 | +| Enderton — A Mathematical Introduction to Logic | Russell IMP, De Morgan FNL | 3-5 / 6 | +| Jech — Set Theory | Cantor 1915 *Contributions* | 3-7 / 10 | +| Landau — Foundations of Analysis | Russell IMP | 2-4 / 7 | + +### 1 new textbook ingest — Peano *Arithmetices Principia* 1889 + +Source: `https://github.com/mdnahas/Peano_Book` (CC-BY-SA-4.0, +Verheyen English + Nahas refactor of the 1889 Latin original). LaTeX +file uses `paracol` multi-column macros which the existing +`textbook_tex` strip_tex pipeline doesn't fully handle (some +`gobble 1cm` / `0.5cm` / `paracol3` residue leaks through), but the +substantive English text extracts cleanly: 39 chunks, 35 hits on +"peano", 38 on "arithmetic". + +Manifest entry under id `peano-arithmetices-principia-1889`; bumped +license token to `CC-BY-SA-4.0` (already in arborist's redistribution +allow-list). Make target `make textbook-peano`. + +### 3 Peano-substitute citation aliases + +| Original | Substitute | Records lifted | +|---|---|---| +| Foundations of Analysis by Edmund Landau | Peano *Arithmetices Principia* | 2 | +| On Formally Undecidable Propositions of Principia Mathematica and Related Systems by Kurt Gödel | Peano *Arithmetices Principia* | 0 (same shard) | +| On Formally Undecidable Propositions by Kurt Gödel | Peano *Arithmetices Principia* | 0 (variant) | + +### Title backfill on 4 shards (the +13 unlock) + +Empirical defect surfaced during alias debugging: HTML-source ingest +took titles directly from `