=== Calibration ===
g_A              = 0.0133
K(0) = K/Y       = 2.8571
R = 0.1167, w = 0.6667, r = R - delta = 0.0667
phi = R/(rho*w)  = 1.7500
A(0)             = 0.3094,  phi*A(0) = 0.5415
capital-cheaper condition: L/(phi K) = 0.200 < (1-a)/a = 2.000
phi fast-forwards explosion by (1-a)*ln(phi)/gA = 28.0 years

=== Section 3: full automation (alpha = 1) ===
frozen A: asymptotic growth g = s*phi*A0 - delta = 0.0583
level effect at K(0): Y = A0*(phi*K0+L) = 1.8566  (+85.7%)
frozen A growth at t=50: 0.0587
growing A: growth reaches 5% at t = 0.0 years
growing A: growth reaches 10% at t = 16.1 years
growing A: growth reaches 20% at t = 58.6 years
growing A growth rates: {0: '0.080', 25: '0.116', 50: '0.174', 75: '0.258', 100: '0.374'}

=== Section 4: transition ===
regime switch (cost parity) at t = 15.8, alpha = 0.924, K = 6.93
t=  5: alpha=0.438  g_Y=10.39%  Y=     1.40  Y/Y_cf=    1.27
t= 10: alpha=0.667  g_Y=12.54%  Y=     2.54  Y/Y_cf=    2.08
t= 15: alpha=0.896  g_Y=10.73%  Y=     4.62  Y/Y_cf=    3.42
t= 20: alpha=1.000  g_Y=10.73%  Y=     7.77  Y/Y_cf=    5.21
t= 40: alpha=1.000  g_Y=14.82%  Y=    97.46  Y/Y_cf=   43.79
t= 60: alpha=1.000  g_Y=20.43%  Y=  3225.25  Y/Y_cf=  971.43
t=100: alpha=1.000  g_Y=37.41%  Y=252407767.27  Y/Y_cf=34159676.67

=== Extension: s(t) = 1 - (1-s0)*(R(t)/R0)^(-sigma) ===
sigma=0.00: g2038= 11.9%  g2045= 10.7%  g2065= 14.8%  g2085= 20.4%  s2038=0.20  s2085=0.20
sigma=0.10: g2038= 18.6%  g2045= 19.9%  g2065= 28.6%  g2085= 40.5%  s2038=0.31  s2085=0.37
baseline reaches 15% growth in 2066;  R at switch = 0.67, R(2045) = 0.71
wage peak: w = 0.859 at t = 8.7 (vs w(0) = 0.667)
wage trough after peak: w = 0.382

labor share at t=40: 0.5%, t=60: 0.0%, t=100: 0.00%
wage at switch: 0.382; wage growth after switch = g_A = 0.0133
wage at t=0: 0.667, at switch t=15.8: 0.382 (factor 0.57)

Figures saved to ../figures/
