mirror of
https://github.com/hanzoai/papers.git
synced 2026-10-22 17:20:17 +00:00
Restructure the 12-page monolith into one paper per concept, each self- contained and teachable (concrete failure -> concept -> repo code -> eval for that concept only), with hanzo-kernel-dsl.tex slimmed to a ~5-page umbrella that cites the six rather than inlining their depth. Each fact lives in exactly one paper (DRY). Shared preamble in shared/kernel-preamble.tex. 07 hanzo-kernel-dsl umbrella: thesis + guided tour 07.1 hanzo-fusion-is-composition functor law, fences, fused_interp, DAG 07.2 hanzo-comptime-autotune schedule-as-value, byte-identical variants 07.3 hanzo-intrinsic-islands oracle-anchored escape hatch vs forks 07.4 hanzo-bitexact-oracle CPU oracle law + nightly 3-backend CI 07.5 hanzo-int8-mmq-negative-result opaque WMMA fragment, sync-bound proof 07.6 hanzo-collapse-methodology ledger + verify-then-delete + migrations All 7 build via the Makefile (auto-discovered) with zero undefined refs.
42 lines
1.3 KiB
TeX
42 lines
1.3 KiB
TeX
% Shared preamble for the hanzo-kernel Paper 07 series.
|
|
% One style, one vocabulary, inputted by every paper so the series reads as one voice.
|
|
\usepackage[margin=1in]{geometry}
|
|
\usepackage{booktabs}
|
|
\usepackage{amsmath}
|
|
\usepackage{amssymb}
|
|
\usepackage{graphicx}
|
|
\usepackage{xcolor}
|
|
\usepackage{hyperref}
|
|
\hypersetup{colorlinks=true, linkcolor=blue, urlcolor=blue, citecolor=blue}
|
|
\usepackage{enumitem}
|
|
\usepackage{listings}
|
|
\usepackage{array}
|
|
|
|
\definecolor{kw}{rgb}{0.13,0.29,0.53}
|
|
\definecolor{cmt}{rgb}{0.40,0.40,0.40}
|
|
\definecolor{str}{rgb}{0.16,0.50,0.16}
|
|
\lstset{
|
|
basicstyle=\ttfamily\footnotesize,
|
|
keywordstyle=\color{kw}\bfseries,
|
|
commentstyle=\color{cmt}\itshape,
|
|
stringstyle=\color{str},
|
|
showstringspaces=false,
|
|
breaklines=true,
|
|
columns=fullflexible,
|
|
frame=single,
|
|
framesep=4pt,
|
|
}
|
|
\lstdefinelanguage{Rust}{
|
|
morekeywords={fn,let,mut,pub,struct,impl,trait,enum,match,if,else,for,while,loop,return,use,mod,crate,self,super,async,await,where,type,const,static,unsafe,ref,move,dyn,as,true,false},
|
|
morecomment=[l]{//}, morecomment=[s]{/*}{*/}, morestring=[b]", sensitive=true,
|
|
}
|
|
|
|
\newcommand{\x}{\ensuremath{\times}}
|
|
\newcommand{\dpa}{\texttt{dp4a}}
|
|
\newcommand{\hk}{\texttt{hanzo-kernel}}
|
|
\newcommand{\code}[1]{\texttt{#1}}
|
|
|
|
% Absorb minor prose overfulls without rivers; keep line-breaking sane.
|
|
\tolerance=800
|
|
\emergencystretch=3em
|