PWR-HYBRID-3/journal/journal.tex
Dane Sabo 645f2d8d27 prompt-jump model + app v2 + overnight journal entry (in progress)
Singular-perturbation reduction of the PKE+T/H system: set dn/dt=0,
solve algebraically n = Λ·Σλ_i·C_i / (β-ρ). State drops 10 -> 9 (no
n), removes Λ⁻¹ stiffness. Validated against full state on the heatup
scenario:

  t [s]    |Δn|/n_full   T_c err [K]
  60       3.7e-5        4e-6
  300      3.8e-4        1.9e-4
  1200     1.0e-3        2.2e-3
  3000     5.0e-4        7.2e-3

Maximum relative error 0.1% on n, peak 7 mK on temperatures over
50 minutes.  PJ approximation is excellent for slow heatup transients
(sub-prompt-critical regime).

Files:
  - code/src/pke_th_rhs_pj.jl: reduced 9-state RHS
  - code/scripts/validate_pj.jl: side-by-side sim
  - code/scripts/reach_heatup_pj.jl: TMJets reach with PJ model
    (probing T = 60, 300, 1800, 5400 s)

App v2 (Pluto):
  - §9b: live ingestion of reach_operation_result.mat with per-
    halfspace margins computed from JSON-defined inv2_holds.
  - §9c: 2D projection chooser (n, T_f, T_c, T_cold) with reach
    tube envelope overlay.
  - §9d: PJ heatup reach summary (placeholder until first run lands).

Journal:
  - Added 2026-04-20-overnight-prompt-jump.tex with PJ derivation,
    validation table, soundness ledger update.  apass markers for
    the in-progress reach results.

This commit captures state mid-run; next commit will add the
populated reach results once TMJets returns.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 22:45:24 -04:00

79 lines
2.6 KiB
TeX

% journal.tex — top-level document that aggregates all dated entries.
%
% Build:
% cd journal && latexmk -pdf journal.tex
% or individual entry:
% cd journal && latexmk -pdf entries/2026-04-17-controllers-linear-reach.tex
\input{preamble.tex}
\title{HAHACS Lab Journal\\
\large PWR\_HYBRID\_3 preliminary example, invention log}
\author{Dane Sabo, with Claude (Hacker-Split)}
\date{Started \today}
\begin{document}
\maketitle
\tableofcontents
\newpage
\section*{How to read this journal}
Each section is a dated session. Sessions are written in two styles:
\begin{itemize}
\item \textbf{Deep (A-style)}: full invention-log depth. Derivations
in math, code snippets with commentary, figures with long
captions, dead-ends documented, terminal output included where
it changes the story. A reader in 2030 should be able to
rebuild the work from this alone.
\item \textbf{Narrative (B-style)}: end-of-session notes with
pointers. Marked with \apass{some detail} callouts for
content that should be expanded in a later A-pass.
\end{itemize}
\textbf{File-path archaeology note.} Entries dated on or before
2026-04-20 (afternoon) refer to MATLAB files under \texttt{plant-model/}
and a MATLAB-Julia split where Julia code lived under \texttt{julia-port/}.
The 2026-04-20 evening mega-session ported everything to Julia and
deleted MATLAB; the result is the unified \texttt{code/} directory.
Path references in earlier entries are historically accurate for their
date; recover the corresponding sources via \texttt{git log} or the
parent commit at the time.
Callout boxes signal specific content types:
\begin{derivation}
Mathematical derivations — algebra, integrals, limits. Where they
matter to the safety claim, they live here in full.
\end{derivation}
\begin{decision}
Design decisions made during the session, with the rationale and the
alternatives considered.
\end{decision}
\begin{deadend}
Approaches that didn't work and why. These are as valuable as the
working paths — they keep the next explorer from repeating the mistake.
\end{deadend}
\begin{limitation}
Known-approximate or known-broken behavior. Soundness gaps live here.
Each limitation ties to a plan or an open question.
\end{limitation}
\newpage
% ---- Session entries, in chronological order -------------------------------
\input{entries/2026-04-17-controllers-linear-reach.tex}
\newpage
\input{entries/2026-04-20-predicates-boundaries-julia-nonlinear.tex}
\newpage
\input{entries/2026-04-20-evening-mega-session.tex}
\newpage
\input{entries/2026-04-20-overnight-prompt-jump.tex}
\end{document}