interplane.Get Omega
Read in your language

omtex

aien-dev/omtex

Brought by drakestapleton

branch main Branches Tags History

omtex / evidence / REPRODUCTION.md

61 lines · 3479 bytes Raw Blame History Rendered
1# Reproducing published papers with omtex
2
3Measured 2026-10-26 on the DGX Spark (arm64): omc pinned at omega-mv `91b3c932` (sha256 `189ada82…3b54`),
4pdfTeX 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) with `cm-super`. The published PDFs were made with
5pdfTeX 1.40.29. Raw output from `tools/compare.sh` is in `compare-*.txt`.
6
7## 1. Omega: A Programming Language Built for Verified Programs
8
9- Original: Zenodo record 23547811 (concept DOI 10.5281/zenodo.23547810), `paper.pdf` sha256 `8e2674d1…1820`;
10 source `aien-dev/aienos.com` `public/research/omega-language/paper.tex` sha256 `88e6aaf8…ebf6`.
11- omtex source: `examples/omega-language/paper.om`. The generated `.tex` has sha256 `d29ca10a…0b20`.
12
13| Check | Result |
14|---|---|
15| Text, published PDF vs omtex PDF (`pdftotext -layout`) | 0 differing lines |
16| Pages | 9 and 9 |
17| Pixels, original `.tex` built here vs omtex PDF (100 dpi) | 9 of 9 pages identical |
18| Sections / subsections / labels / refs / items | 10/7/3/4/10 in both |
19| Citations, equations | none in the original, none in the reproduction |
20
21Source-level differences (word diff, whitespace ignored):
22- `||` (5 places) is emitted as `\textbar{}\textbar{}`. omtex escapes every `|` in prose. Under T1
23 encoding both forms produce the same glyphs, and the pixel comparison shows no change.
24- `\label{…}` sits on the same line as its `\section{…}` (3 places). This changes no output.
25- Paragraph line breaks inside the source are not preserved, because each paragraph is one Omega text.
26
27The published PDF differs from *the original `.tex` rebuilt here* by small antialiasing/positioning
28differences on 6 of 9 pages, identical in extent for the omtex PDF. The cause is TeX Live 2023 versus the
29newer TeX Live used for publication, not omtex. Without `cm-super`, both builds fall back to bitmap fonts,
30and `pdftotext` then breaks ligatures ("Veried").
31
32## 2. The Turing: A Unit of Verified Explanatory Gain (brief)
33
34- Original: `aien-dev/aienos.com` `public/research/the-turing-brief/paper.pdf` sha256 `7689932e…3146`,
35 source `paper.tex` sha256 `4bada1db…e413`.
36- omtex source: `examples/turing-brief/paper.om`. The generated `.tex` has sha256 `29f964fe…6a67`.
37
38| Check | Result |
39|---|---|
40| Text, published PDF vs omtex PDF | 0 differing lines |
41| Pages | 3 and 3 |
42| Pixels, original `.tex` built here vs omtex PDF | 3 of 3 pages identical |
43| Sections / equations / itemize / items / `$` math delimiters | 9/1/2/11/40 in both |
44
45Source-level differences: `\noindent\textit{…}` (3 places) is written as `paran` with `*…*`, which emits
46`\noindent \emph{…}`. That is identical upright-context output.
47
48## Library changes forced by the reproductions
49
50- `~` in prose is a tie, as in LaTeX (`Lemma~2`); `\~` gives a literal tilde.
51- Displays (`equation`, `displaymath`, `align`) do not end the paragraph, and `prose` writes a lead-in
52 that does not end its paragraph either. This matches LaTeX, where text right after `\end{equation}`
53 continues the paragraph. `parbreak` ends a paragraph explicitly.
54- The fail-closed scanner refused a literal `F*` in the Omega paper (an unclosed emphasis); the source
55 now says `F\\*`.
56
57## How the `.om` sources were made
58
59A throwaway Python helper, not shipped, transcribed each original's body into omtex words, one Omega
60`text` per paragraph. The preambles were written by hand. Every byte of LaTeX in the build output comes
61from the Omega generator, and the helper is not part of the build.