diff 23227b3..6fbd3ac weakly_reversible_mass_action_v2.txt
diff --git a/weakly_reversible_mass_action_v2.txt b/weakly_reversible_mass_action_v2.txt
index 9024e04..a0a9c93 100644
--- a/weakly_reversible_mass_action_v2.txt
+++ b/weakly_reversible_mass_action_v2.txt
@@ -24,13 +24,13 @@ Earlier work covers only restricted subclasses. Anderson (2011) proved boundedne
 
 pdf: pdfrefs/gms-2013.pdf, pdfrefs/gms-2014.pdf, pdfrefs/cnp-2013.pdf, pdfrefs/pantea-2012.pdf, pdfrefs/craciun-2019.pdf, pdfrefs/craciun-2026.pdf, pdfrefs/boros-2019.pdf, pdfrefs/anderson-2011.pdf
 
-The obstruction. A single reaction need not point inward across any proposed face of the orthant. A single linear functional r . x - c therefore gives a derivative r . f(x) whose sign can fail; individual summands of r . f(x) can be negative. Weak reversibility supplies return paths whose summands cancel the negative ones once monomials are ordered correctly. The whole strategy is to convert "return paths exist" into a geometric inequality r_lambda . f(x) >= 0 valid at every active label lambda and every x in a compact box.
+The obstruction. A single reaction need not point inward across any proposed face of the orthant. A single linear functional r . x - c therefore gives a derivative r . f(x) whose sign can fail; individual summands of r . f(x) can be negative. Weak reversibility supplies return paths whose summands cancel the negative ones once monomials are ordered correctly. The whole strategy is to convert "return paths exist" into a geometric ineuality r_lambda . f(x) >= 0 valid at every active label lambda and every x in a compact box.
 
 Why a naive monomial argument fails. August and Barahona (2010) proposed to infer monomial dominance from a maximal sum of exponents together with a "sufficiently large product of concentrations". In 2A <-> B with both rates one and a = [A], b = [B], the state (a, b) = (T, T^3) for T > 1 has ab = T^4 -> infinity but a^2 = T^2 < T^3 = b, and
 
     d/dt (a + b) = b - a^2 = T^3 - T^2 > 0.
 
-So the sum grows at (T, T^3) even though the smaller monomial a^2 is at the level of b. The remedy is not to compare arbitrary monomials, but to compare them with a definite slack determined by an ACTIVE slope: for the correct active slope r_lambda, a strict ordering r_lambda . y < r_lambda . z forces the sharp inequality x^z <= h^H x^y with a fixed H > 0, indexed on a small parameter h in (0, 1).
+So the sum grows at (T, T^3) even though the smaller monomial a^2 is at the level of b. The remedy is not to compare arbitrary monomials, but to compare them with a definite slack determined by an ACTIVE slope: for the correct active slope r_lambda, a strict ordering r_lambda . y < r_lambda . z forces the sharp ineuality x^z <= h^H x^y with a fixed H > 0, indexed on a small parameter h in (0, 1).
 
 Strategy. Fix h in (0, 1) small. Points in the positive box B_h = [h, h^{-1}]^d are parametrized by
 
@@ -42,11 +42,11 @@ so that x^y = h^{p . y}. The construction defines
 
 where Lambda is a finite family of labels, each with a fixed slope r_lambda in [-1, 1]^d and an offset c_lambda(h) that depends on h, chosen by the affine approximation lemma (Lemma 1). Active slopes of F at X_h(p) are forced to be E-close to p, where the tolerance E can be prescribed independently at each slope and may be discontinuous. This freedom is what allows the active slope to see monomial comparisons with the correct sign: for finitely many test vectors v in a set D containing {e_1, ..., e_d} and every difference z - y with y, z in C distinct, one has sgn(r_lambda . v) = sgn(p . v) and |p . v| >= H.
 
-Nondecrease of F along the trajectory uses a finite cut-flux argument (Lemma 2): the sum over reactions of kappa_{y->z} x^y (r_lambda . z - r_lambda . y) is nonnegative whenever the monomials satisfy the sharp inequality above and a rate-separation condition (h^H sum kappa < min kappa). Then a right-derivative formula for finite affine minima (Lemma 3) turns the active-label inequality into nondecrease of F o x(t) inside B_h, via the classical active-branch directional-derivative principle (Bertsekas 2009).
+Nondecrease of F along the trajectory uses a finite cut-flux argument (Lemma 2): the sum over reactions of kappa_{y->z} x^y (r_lambda . z - r_lambda . y) is nonnegative whenever the monomials satisfy the sharp ineuality above and a rate-separation condition (h^H sum kappa < min kappa). Then a right-derivative formula for finite affine minima (Lemma 3) turns the active-label ineuality into nondecrease of F o x(t) inside B_h, via the classical active-branch directional-derivative principle (Bertsekas 2009).
 
-pdf: https://web.mit.edu/dimitrib/www/Convex_Theory_Entire_Book.pdf
+pdf: ./pdf/unknown-nd-pdf.pdf
 
-The maximum set K = { x : F(x) = M } with M = F(x(0)) is a closed convex polyhedron. Once every label active at x(0) has slope zero (arranged by choosing h small enough so that log(x_i(0)) / log(h) is small compared to H), the value M = c_{lambda_0}(h) is attained on a constant branch, K avoids the boundary of B_h, and convexity places K in the interior of B_h. Positivity, boundedness, and forward invariance of K follow. The last step, and the reason the invariance is nontrivial at ties, is that at an active label switching between branches, the right derivative of F o x is the minimum over all active branches and is therefore controlled by the cut-flux inequality for every active branch.
+The maximum set K = { x : F(x) = M } with M = F(x(0)) is a closed convex polyhedron. Once every label active at x(0) has slope zero (arranged by choosing h small enough so that log(x_i(0)) / log(h) is small compared to H), the value M = c_{lambda_0}(h) is attained on a constant branch, K avoids the boundary of B_h, and convexity places K in the interior of B_h. Positivity, boundedness, and forward invariance of K follow. The last step, and the reason the invariance is nontrivial at ties, is that at an active label switching between branches, the right derivative of F o x is the minimum over all active branches and is therefore controlled by the cut-flux ineuality for every active branch.
 
 The affine approximation lemma. For p in R^m and 0 < h < 1, write X_h(p) = (h^{p_1}, ..., h^{p_m}) in R^m_{>0}. A label is a pair (r, c) where r in R^m is a fixed slope and c = c(h) is a real-valued offset defined for all sufficiently small h > 0. For a finite family Lambda of labels, a label lambda = (r_lambda, c_lambda) is active at x in R^m for a given h if
 
@@ -185,7 +185,7 @@ Corollary. Uniform form. With E : [a, b]^m -> (0, infinity) any positive functio
 
     || p - r_lambda ||_infinity < E(r_lambda).   (17)
 
-Proof. If not, there are h_nu -> 0+ (with h_nu < any candidate h_0), points p^nu in [a, b]^m, and labels lambda_nu in Lambda active at X_{h_nu}(p^nu), with || p^nu - r_{lambda_nu} ||_infinity >= E(r_{lambda_nu}). By compactness of [a, b]^m and finiteness of Lambda, a subsequence has lambda_nu = lambda fixed and p^nu -> p in [a, b]^m. The limit contradicts the strict inequality of Lemma 1 at the fixed positive value E(r_lambda). The value E(r_lambda) is fixed on this subsequence, so no regularity of E is used.
+Proof. If not, there are h_nu -> 0+ (with h_nu < any candidate h_0), points p^nu in [a, b]^m, and labels lambda_nu in Lambda active at X_{h_nu}(p^nu), with || p^nu - r_{lambda_nu} ||_infinity >= E(r_{lambda_nu}). By compactness of [a, b]^m and finiteness of Lambda, a subsequence has lambda_nu = lambda fixed and p^nu -> p in [a, b]^m. The limit contradicts the strict ineuality of Lemma 1 at the fixed positive value E(r_lambda). The value E(r_lambda) is fixed on this subsequence, so no regularity of E is used.
 
 pdf: pdfrefs/anderson-2011.pdf
 
@@ -242,7 +242,7 @@ Lemma 3 (derivative). Let gamma : [u, v] -> R^d be continuously differentiable.
 
 If b_i . gamma'(tau) >= 0 for every tau in [u, v) and every i in A(gamma(tau)), then Phi o gamma is nondecreasing on [u, v].
 
-pdf: https://web.mit.edu/dimitrib/www/Convex_Theory_Entire_Book.pdf
+pdf: ./pdf/unknown-nd-pdf.pdf
 
 Proof. Fix tau in [u, v) and put A = A(gamma(tau)). Every inactive i has b_i . gamma(tau) + d_i > Phi(gamma(tau)) + c_i for some c_i > 0. Continuity of gamma then gives, for tau' > tau sufficiently close to tau, b_i . gamma(tau') + d_i >= Phi(gamma(tau')) + c_i / 2. So only active indices can determine Phi(gamma(tau')) for tau' near tau.