SCIENTIFIC MODEL RECIPE 1.0 FROM RESOURCE 267
Teaching edition 2.0 / resource 297; October 31, 2026
The numerical recipe is unchanged; see README.txt for current teaching details.

MODEL RECIPE (normalized to the source plane)
Adopted model values: source distance Ds=1500*3.085677581491367e22m,
c=299792458m/s, solar GM=1.3271244e20m^3/s^2, massunit=1e11solar.
One arcsecond A=pi/648000radian. Dimensionless transverse coordinates use
Ds*A; observed direction theta and source angle are numerical arcsec.
Lens depths d1=.32,d2=.66; physical distances480,990Mpc in this Euclidean model.
Lens centers=(d_i*x_i,d_i*y_i), core a_i=d_i*.085.
K=4*solar_GM*1e11/(c*c*Ds*A*A); k_i=K*mass_input_i.
At each lens, propagate by depth_step*current_ray_direction; then deflect:
  r=ray_position-lens_center; q=rx*rx+ry*ry+a_i*a_i
  ray_direction -= k_i*r/q
Continue to source depth1. Each selected direction must land on the same
configured source. Residual tolerance2e-9arcsec; it is a numerical check,
not observational uncertainty. The original search uses a finite field/grid.

Geometry G=sum(|x_next-x_prev|^2/(2*depth_step))-|x_source|^2/2.
Potential contribution P=-sum(.5*k_i*ln(q_i)).
Score T=(G+P)*Ds*A*A/c/86400 days; the time scale is about42.00075454days.
The logarithmic potential reference and straight-ray subtraction give a
common reference. Only score DIFFERENCES between images matter. A negative
individual score is not a negative physical flight time.

The checker differentiates the source map at each candidate with central
step h=1e-6arcsec along both axes. Signed mu=1/det(d beta/d theta).
Negative mu means mirrored parity, not negative intensity. Comparison against
the model's analytic Jacobian uses relative tolerance3e-6. The points used
here are well separated selected images, not critical-curve limits.

WORKED CASE2 / TWO BRIGHT ROUTES
Source angle(+.16,+.10)arcsec; near lens(-.16,+.12),mass1;
far lens(+.42,-.28),mass.55. Source galaxy mode.
A direction(+.892721228,+.808797642),mu+2.1083534415;
B direction(-1.055862636,-.308953475),mu-3.0960017047.
A score:11.649286689795+29.975050346902=41.624337036696days.
B score:17.462022013560+34.449116606441=51.911138620001days.
Difference10.286801583304days; geometry difference5.812735323765days,
potential difference4.474066259539days.
|muB|/|muA|≈1.468445 for ideal point/local magnification. This is NOT the
integrated flux ratio of the extended galaxy. Its area must be integrated;
star markers are normalized/capped for display, not calibrated photometry.
Lensing maps surface brightness; apparent area can increase.

CASE COMPARISON
1clear:1center/1selected,mu+1; no second ray for a pair-delay comparison.
2twin:5centers/2selected,pair delay≈10.286802days.
3offset:5centers/2selected,pair delay≈25.561099days.
4supernova:7centers/2selected,pair delay≈495.380976days=1.356Julianyears.
The labels denote selection within each setting. Counts are exported results,
not completeness proofs. The reference search uses grid21, or41 for the
massive preset; counts can vary with search settings/seeds. Extended-source pixels are mapped separately.

LIMITS
Static weak-field small-angle Euclidean two-plane geometry and cored profiles,
not a fitted galaxy/cluster mass map. No cosmological distances/redshift
factors, dust, microlensing, detector noise or instrumental resolution.
The replay compresses the common long flight; its clock is relative modeldays.
Ray colors identify paths; gravity is not splitting a spectrum like a prism.
Do not infer H0, an actual stellar detection or an observed event forecast.
Real studies require identified images, measured light curves, defensible
mass modeling and cosmological distances. A red dwarf does not become a
supernova; the supernova preset selects a separate illustrative source.

SOURCES (checked October 25, 2026)
ESA/Webb / Gravitational Lensing:
https://esawebb.org/wordbank/gravitational-lensing/
NASA/Hubble / SN Refsdal (observational example, separate from our presets):
https://science.nasa.gov/missions/hubble/caught-in-the-act-hubble-captures-first-ever-predicted-exploding-star/
Fleury, Larena & Uzan / Gravitational lenses in arbitrary space-times:
https://arxiv.org/abs/2011.04440
Schneider / Generalized multi-plane gravitational lensing:
https://arxiv.org/abs/1409.0015
These supply the broader framework; the lab uses a simplified static recipe.

