\relax \providecommand\hyper@newdestlabel[2]{} \providecommand\HyField@AuxAddToFields[1]{} \providecommand\HyField@AuxAddToCoFields[2]{} \@writefile{toc}{\contentsline {section}{\numberline {1}Preamble: Implementation in Rust}{2}{section.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {1.1}Why Rust?}{2}{subsection.1.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {1.2}Code Architecture}{2}{subsection.1.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {1.3}The \texttt {RandomGenerator} Trait}{2}{subsection.1.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {1.4}Key Rust Syntax for Non-Rustaceans}{3}{subsection.1.4}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {2}Problem 1: Linear Congruential Generator}{3}{section.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Part (a): LCG Implementation}{3}{subsection.2.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{\numberline {1}{\ignorespaces LCG Implementation (src/lcg.rs)}}{3}{lstlisting.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {2.2}Part (b): Good LCG vs RANDU Comparison}{4}{subsection.2.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.2.1}Statistical Results}{4}{subsubsection.2.2.1}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {1}{\ignorespaces Statistical comparison of Good LCG and RANDU over 16,384 samples}}{4}{table.caption.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.2.2}Histograms}{5}{subsubsection.2.2.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Histograms of Good LCG and RANDU. Both appear uniformly distributed.}}{5}{figure.caption.5}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.2.3}3D Scatter Plots}{5}{subsubsection.2.2.3}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces 3D scatter plots of consecutive triplets $(u_n, u_{n+1}, u_{n+2})$}}{5}{figure.caption.6}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.2.4}Analysis}{5}{subsubsection.2.2.4}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Mathematical Verification (Claude Aside):}{5}{section*.7}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3}Problem 2: Linear Feedback Shift Register (Xorshift32)}{6}{section.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Part (a): Xorshift32 Implementation}{6}{subsection.3.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{\numberline {2}{\ignorespaces LFSR/Xorshift Implementation (src/lfsr.rs)}}{6}{lstlisting.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Part (b): Statistical Analysis}{7}{subsection.3.2}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {2}{\ignorespaces Xorshift32 statistics over 100,000 samples}}{7}{table.caption.8}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Xorshift32 analysis showing uniform distribution and no visible correlation structure}}{7}{figure.caption.9}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.1}Comparison to LCG}{7}{subsubsection.3.2.1}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {4}Problem 3: Permuted Congruential Generator (PCG32)}{7}{section.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Part (a): AI-Generated Code with Annotations}{7}{subsection.4.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{\numberline {3}{\ignorespaces PCG32 Implementation with Annotations (src/pcg.rs)}}{7}{lstlisting.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Understanding PCG32}{9}{subsection.4.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.3}Statistical Results}{9}{subsection.4.3}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {3}{\ignorespaces PCG32 statistics over 100,000 samples}}{9}{table.caption.10}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces PCG32 analysis showing excellent statistical properties (<- Claude is proud of itself)}}{10}{figure.caption.11}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {5}Problem 4: Rule 30 Cellular Automaton}{10}{section.5}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.1}Part (a): Rule 30 Implementation}{10}{subsection.5.1}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {4}{\ignorespaces Rule 30 transition table (binary: 00011110 = 30 in decimal)}}{10}{table.caption.12}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{\numberline {4}{\ignorespaces Rule 30 Implementation (src/rule30.rs)}}{10}{lstlisting.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.2}Part (b): Statistical Analysis}{11}{subsection.5.2}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {5}{\ignorespaces Rule 30 statistics over 100,000 samples (32-cell implementation)}}{11}{table.caption.13}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces Rule 30 analysis showing good statistical properties}}{12}{figure.caption.14}\protected@file@percent } \@writefile{toc}{\contentsline {subsubsection}{\numberline {5.2.1}Comparison to LCG and LFSR}{12}{subsubsection.5.2.1}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {6}Summary and Conclusions}{12}{section.6}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {6}{\ignorespaces Summary comparison of all implemented PRNGs}}{12}{table.caption.15}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {A}Complete Code Listings}{13}{appendix.A}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {A.1}lib.rs -- Main Library with Trait Definition}{13}{subsection.A.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{src/lib.rs}{13}{lstlisting.-2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {A.2}lcg.rs -- Linear Congruential Generator}{13}{subsection.A.2}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{src/lcg.rs}{13}{lstlisting.-3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {A.3}lfsr.rs -- Linear Feedback Shift Register}{14}{subsection.A.3}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{src/lfsr.rs}{14}{lstlisting.-4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {A.4}pcg.rs -- Permuted Congruential Generator}{15}{subsection.A.4}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{src/pcg.rs}{15}{lstlisting.-5}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {A.5}rule30.rs -- Rule 30 Cellular Automaton}{17}{subsection.A.5}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{src/rule30.rs}{17}{lstlisting.-6}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {A.6}problem1.rs -- LCG Analysis Program}{18}{subsection.A.6}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{src/bin/problem1.rs}{18}{lstlisting.-7}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {A.7}problem2.rs -- LFSR Analysis Program}{22}{subsection.A.7}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{src/bin/problem2.rs}{22}{lstlisting.-8}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {A.8}problem3.rs -- PCG32 Analysis Program}{24}{subsection.A.8}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{src/bin/problem3.rs}{24}{lstlisting.-9}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {A.9}problem4.rs -- Rule 30 Analysis Program}{27}{subsection.A.9}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{src/bin/problem4.rs}{27}{lstlisting.-10}\protected@file@percent } \gdef \@abspage@last{30}