Algorithm Search⌘K

Algorithmadvanced

Sum of coherent systems

Also called SOCS, Cobb decomposition.

Cobb's fast lithography simulation that eigendecomposes the TCC and approximates the aerial image by a few coherent kernels convolved with the mask.

Time
O(S N^2 + w N^3) buildO(K n log n) query
Space
O(N^2 + K n) extra
Where
K = the number of kernels kept; N = the number of frequencies in the band of the TCC; S = the number of source points; n = the number of image points; w = the number of Jacobi sweeps
Properties
deterministicnot exactofflineiterative
Origin
Nicolas Bailey Cobb, 1998

The sum of coherent systems, or SOCS, computes the aerial image of a photomask under partially coherent light as a weighted sum of a few coherent images. It starts from the Hopkins imaging model, where the image is a quadratic form in the mask spectrum with a Hermitian positive semidefinite kernel, the transmission cross coefficient (TCC). The eigendecomposition of the TCC turns the quadratic form into a sum of squared moduli of linear filters of the mask, and keeping the KK largest eigenvalues gives an approximation whose error is set by the eigenvalues left out. Cobb named the method and made it the engine of fast model-based optical proximity correction. That page shows where SOCS sits in the correction loop; this page gives the algorithm, proves that it is exact at full rank, and bounds the error of the truncation.

In plain words

Partially coherent light comes from many source points at once. Each point makes its own sharp image of the mask, and the camera sees the sum of their brightnesses. Computing one image per source point works, but it needs many images.

The trick is to change the basis. The light that the source and lens let through can be described by a table that does not depend on the mask. Breaking that table into its eigenvectors gives a new set of "virtual sources". Each one is still a sharp, coherent system: filter the mask, take the squared size of the result. But now the systems are sorted by how much light they carry, and the light falls off fast.

So a handful of filters gives nearly the whole image. The filters are computed once for a scanner setting and reused for every mask.

The problem

Work in one dimension with a mask of period PP; two dimensions only change the index set. The mask has Fourier coefficients M(f)M(f) at the frequencies f=k/Pf = k/P. The source is a set of points ss with weights J(s)≥0J(s) \ge 0, and the pupil is a function H(f)H(f) that vanishes for ∣f∣>NA/λ|f| > \mathrm{NA}/\lambda. Let f1,…,fNf_1, \dots, f_N be the frequencies in the band where the TCC can be nonzero, ∣f∣≤(1+σ)NA/λ|f| \le (1 + \sigma)\mathrm{NA}/\lambda for a source of radius σNA/λ\sigma \mathrm{NA}/\lambda (the band limit of the Hopkins page). The TCC is the N×NN \times N matrix

Tab=∑sJ(s) H(fa+s) H(fb+s)‾,T_{ab} = \sum_s J(s)\, H(f_a + s)\, \overline{H(f_b + s)},

and the Hopkins image is

I(x)=∑a,bTab M(fa) M(fb)‾ e2πi(fa−fb)x.I(x) = \sum_{a, b} T_{ab}\, M(f_a)\, \overline{M(f_b)}\, e^{2\pi i (f_a - f_b) x}.

Input: the source, the pupil, the band, a number K≤NK \le N of kernels, a mask and the image points xx. Output: the image IK(x)I_K(x), an approximation of I(x)I(x) that uses KK coherent systems, together with the eigenvalues of TT, which measure the error.

The algorithm

  1. SUM-OF-COHERENT-SYSTEMS(source J, pupil H, band f_1..f_N, K, mask, points x)
  2. 1T[a][b] ← Σ_s J(s) H(f_a + s) conj(H(f_b + s)) for all a, b
  3. 2(λ, V) ← eigenpairs of the Hermitian matrix T by complex Jacobi rotations
  4. 3sort the pairs so that λ_1 ≥ λ_2 ≥ ... ≥ λ_N
  5. 4keep the kernels (λ_j, v_j) for j = 1..K
  6. 5M(f_a) ← Fourier coefficients of the mask on the band
  7. 6for j = 1..K
  8. 7E_j(x) ← Σ_a v_j(a) M(f_a) e^{2πi f_a x}
  9. 8return I_K(x) = Σ_{j ≤ K} λ_j |E_j(x)|^2

Lines L1 to L4 are the setup, done once for a source, pupil and band. Lines L5 to L8 run for every mask. The vector vjv_j is the spectrum of the jjth kernel ϕj\phi_j, so line L7 is the convolution Ej=ϕj∗mE_j = \phi_j * m, computed as a pointwise product of spectra and one inverse fast Fourier transform on the image grid.

Line L2 uses the Jacobi eigenvalue algorithm in its complex Hermitian form. For a pivot Tpq=reiφT_{pq} = r e^{i\varphi} with r>0r > 0, the rotation acts on rows and columns pp and qq as U=WRU = W R, where W=diag⁡(1,e−iφ)W = \operatorname{diag}(1, e^{-i\varphi}) makes the pivot real and R=(cs−sc)R = \begin{pmatrix} c & s \\ -s & c \end{pmatrix} with c=1/t2+1c = 1/\sqrt{t^2 + 1}, s=tcs = tc and

t=sgn⁡(θ)∣θ∣+θ2+1,θ=Tqq−Tpp2r,t = \frac{\operatorname{sgn}(\theta)}{|\theta| + \sqrt{\theta^2 + 1}}, \qquad \theta = \frac{T_{qq} - T_{pp}}{2r},

zeroes it. The rotations sweep over all pairs until the off-diagonal part is negligible. Any Hermitian eigensolver can take its place, and for large NN one that finds only the top KK pairs is better (see the variants).

Example

Take units with NA/λ=1\mathrm{NA}/\lambda = 1, the ideal pupil H=1H = 1 on [−1,1][-1, 1], period P=2P = 2, and three source points s∈{−12,0,12}s \in \{-\frac12, 0, \frac12\} with weight 13\frac13 each, so σ=12\sigma = \frac12. The band is ∣k/2∣≤32|k/2| \le \frac32, that is k=−3,…,3k = -3, \dots, 3, and N=7N = 7.

Source point ss passes the frequencies k/2k/2 with ∣k/2+s∣≤1|k/2 + s| \le 1: s=12s = \frac12 passes k∈{−3,…,1}k \in \{-3, \dots, 1\}, s=0s = 0 passes {−2,…,2}\{-2, \dots, 2\} and s=−12s = -\frac12 passes {−1,…,3}\{-1, \dots, 3\}. Write h+h_+, h0h_0, h−h_- for the indicator vectors of these sets. Then T=13(h+h+T+h0h0T+h−h−T)T = \frac13 (h_+ h_+^{\mathsf T} + h_0 h_0^{\mathsf T} + h_- h_-^{\mathsf T}), and each entry is 13\frac13 times the number of source points that pass both frequencies:

kk −3-3 −2-2 −1-1 00 11 22 33
−3-3 1 1 1 1 1 0 0
−2-2 1 2 2 2 2 1 0
−1,0,1-1, 0, 1 1 2 3 3 3 2 1
22 0 1 2 2 2 2 1
33 0 0 1 1 1 1 1

(entries times 13\frac13). The rank is 33, since TT is a sum of three rank-one terms, and the trace is 55.

Eigenvalues by hand. The vector d=h+−h−=(1,1,0,0,0,−1,−1)d = h_+ - h_- = (1, 1, 0, 0, 0, -1, -1) has h+⋅d=2h_+ \cdot d = 2, h0⋅d=0h_0 \cdot d = 0 and h−⋅d=−2h_- \cdot d = -2, so Td=13(2h+−2h−)=23dT d = \frac13 (2 h_+ - 2 h_-) = \frac23 d. The even vectors h0h_0 and g=h++h−g = h_+ + h_- span an invariant plane: from the inner products h0⋅h0=h+⋅h+=5h_0 \cdot h_0 = h_+ \cdot h_+ = 5, h0⋅h±=4h_0 \cdot h_\pm = 4 and h+⋅h−=3h_+ \cdot h_- = 3,

Th0=13(5h0+4g),Tg=13(8h0+8g).T h_0 = \tfrac13 (5 h_0 + 4 g), \qquad T g = \tfrac13 (8 h_0 + 8 g).

The matrix 13(5848)\frac13 \begin{pmatrix} 5 & 8 \\ 4 & 8 \end{pmatrix} has trace 133\frac{13}{3} and determinant 89\frac89, so its eigenvalues are 13±1376\frac{13 \pm \sqrt{137}}{6}. In order, λ1=4.11745\lambda_1 = 4.11745, λ2=23\lambda_2 = \frac23, λ3=0.21588\lambda_3 = 0.21588, and λ4=⋯=λ7=0\lambda_4 = \dots = \lambda_7 = 0. They add up to the trace 55. Jacobi gives the same values to 10−1210^{-12}.

Images. Take equal lines and spaces, m=1m = 1 on [−12,12][-\frac12, \frac12] in each period, so M(0)=12M(0) = \frac12, M(±1)=1πM(\pm 1) = \frac1\pi, M(±2)=0M(\pm 2) = 0 and M(±3)=−13πM(\pm 3) = -\frac{1}{3\pi}. At the center of the line, the edge, and the center of the space:

xx 00 0.50.5 11
I1I_1 1.1385621.138562 0.2495940.249594 0.0046030.004603
I2I_2 1.1385621.138562 0.2570990.257099 0.0046030.004603
I3I_3 1.1386111.138611 0.2575050.257505 0.0068420.006842
direct Hopkins II 1.1386111.138611 0.2575050.257505 0.0068420.006842

With three kernels the image is exact, since the rank is three. The second kernel d/2d/2 is odd, and the mask is even about x=0x = 0 and x=1x = 1, so E2E_2 vanishes there and adds only at the edge. One kernel is already within 0.0080.008 of the image, far below the guaranteed bound λ2∑∣M∣2=23⋅0.4752=0.3168\lambda_2 \sum |M|^2 = \frac23 \cdot 0.4752 = 0.3168. The bound is reached only by the worst mask, as the correctness section shows.

Correctness

The full proof is in the correctness proof. Write the image at a point xx as I(x)=u∗TuI(x) = u^* T u with ua=M(fa)‾e−2πifaxu_a = \overline{M(f_a)} e^{-2\pi i f_a x}. Since TT is Hermitian and positive semidefinite (proved on the Hopkins page), the spectral theorem gives T=∑jλjvjvj∗T = \sum_j \lambda_j v_j v_j^* with λj≥0\lambda_j \ge 0. Then u∗vjvj∗u=∣vj∗u∣2=∣Ej(x)∣2u^* v_j v_j^* u = |v_j^* u|^2 = |E_j(x)|^2, so I=∑jλj∣Ej∣2I = \sum_j \lambda_j |E_j|^2 exactly, and the truncation error is

I(x)−IK(x)=u∗(T−TK)u=∑j>Kλj∣Ej(x)∣2,TK=∑j≤Kλjvjvj∗.I(x) - I_K(x) = u^* (T - T_K) u = \sum_{j > K} \lambda_j |E_j(x)|^2 , \qquad T_K = \sum_{j \le K} \lambda_j v_j v_j^*.

This gives three facts. The error is never negative, so IKI_K underestimates the image. It is at most λK+1∑a∣M(fa)∣2\lambda_{K+1} \sum_a |M(f_a)|^2, which is at most λK+1\lambda_{K+1} for any mask with ∣m∣≤1|m| \le 1 by Parseval. The factor λK+1\lambda_{K+1} is the spectral norm ∥T−TK∥2\|T - T_K\|_2, and the bound is attained at x=0x = 0 by a mask whose band spectrum is a multiple of vK+1‾\overline{v_{K+1}}. Summed over the NN single-frequency masks, the error at any point is ∑j>Kλj\sum_{j > K} \lambda_j, the trace norm ∥T−TK∥∗\|T - T_K\|_*; this is also the mean error for random coefficients with E[uu∗]=I\mathbb{E}[u u^*] = I. By the theorem of Eckart and Young and its extension by Mirsky, TKT_K is the best rank-KK approximation of TT in both norms, so no other KK coherent systems give a smaller spectral or trace norm of the kernel error T−XT - X. These norms are the worst and the summed image error only when T−XT - X is positive semidefinite. For another rank-KK kernel the summed error is the trace of T−XT - X, not its trace norm, and it can be smaller: T=I2T = I_2 and the all-ones 2×22 \times 2 matrix as XX give 0, against 1 for T1T_1. Finally, for SS source points, TT is a sum of SS rank-one matrices, so rank⁡T≤S\operatorname{rank} T \le S and K=SK = S kernels are exact.

Proof: The eigendecomposition of the TCC gives the sum of coherent systems, with truncation error set by the tail eigenvaluesfull

Setting. Let f1,…,fNf_1, \dots, f_N be the band frequencies, J(s)≥0J(s) \ge 0 the weights of finitely many source points ss, and HH the pupil. The TCC is Tab=∑sJ(s)H(fa+s)H(fb+s)‾T_{ab} = \sum_s J(s) H(f_a + s) \overline{H(f_b + s)}, and for mask coefficients Ma=M(fa)M_a = M(f_a) the Hopkins image is

I(x)=∑a,bTab MaMb‾ e2πi(fa−fb)x.I(x) = \sum_{a, b} T_{ab}\, M_a \overline{M_b}\, e^{2\pi i (f_a - f_b) x}.

For a point xx define the vector u=u(x)∈CNu = u(x) \in \mathbb{C}^N by ua=Ma‾ e−2πifaxu_a = \overline{M_a}\, e^{-2\pi i f_a x}. Write ∥u∥2=∑a∣ua∣2=∑a∣Ma∣2\|u\|^2 = \sum_a |u_a|^2 = \sum_a |M_a|^2.

Lemma 1 (the image is a quadratic form). I(x)=u∗TuI(x) = u^* T u.

Proof. u∗Tu=∑a,bua‾ Tab ub=∑a,bMae2πifax Tab Mb‾e−2πifbxu^* T u = \sum_{a, b} \overline{u_a}\, T_{ab}\, u_b = \sum_{a, b} M_a e^{2\pi i f_a x}\, T_{ab}\, \overline{M_b} e^{-2\pi i f_b x}, which is the Hopkins sum. □\square

Lemma 2 (structure of TT). Let hs∈CNh_s \in \mathbb{C}^N have entries hs(a)=H(fa+s)h_s(a) = H(f_a + s). Then T=∑sJ(s) hshs∗T = \sum_s J(s)\, h_s h_s^*. Hence TT is Hermitian, positive semidefinite, and of rank at most the number SS of source points.

Proof. The (a,b)(a, b) entry of hshs∗h_s h_s^* is H(fa+s)H(fb+s)‾H(f_a + s)\overline{H(f_b + s)}, which gives the sum. Each hshs∗h_s h_s^* is Hermitian, and c∗hshs∗c=∣hs∗c∣2≥0c^* h_s h_s^* c = |h_s^* c|^2 \ge 0, so a sum with weights J(s)≥0J(s) \ge 0 is Hermitian and positive semidefinite. Each term has rank at most one, and the rank of a sum is at most the sum of the ranks. □\square

By the spectral theorem for Hermitian matrices, T=∑j=1Nλjvjvj∗T = \sum_{j=1}^{N} \lambda_j v_j v_j^* with an orthonormal basis v1,…,vNv_1, \dots, v_N and real λ1≥⋯≥λN\lambda_1 \ge \dots \ge \lambda_N, and λN≥0\lambda_N \ge 0 by Lemma 2. At most SS of the λj\lambda_j are nonzero. For 0≤K≤N0 \le K \le N let TK=∑j≤Kλjvjvj∗T_K = \sum_{j \le K} \lambda_j v_j v_j^*, and define the coherent fields and the truncated image as in lines L7 and L8:

Ej(x)=∑avj(a) Ma e2πifax,IK(x)=∑j≤Kλj∣Ej(x)∣2.E_j(x) = \sum_a v_j(a)\, M_a\, e^{2\pi i f_a x}, \qquad I_K(x) = \sum_{j \le K} \lambda_j |E_j(x)|^2 .

Lemma 3. vj∗u=Ej(x)‾v_j^* u = \overline{E_j(x)}, so u∗vjvj∗u=∣Ej(x)∣2u^* v_j v_j^* u = |E_j(x)|^2.

Proof. vj∗u=∑avj(a)‾ Ma‾ e−2πifax=∑avj(a)Mae2πifax‾v_j^* u = \sum_a \overline{v_j(a)}\, \overline{M_a}\, e^{-2\pi i f_a x} = \overline{\sum_a v_j(a) M_a e^{2\pi i f_a x}}. Then u∗vjvj∗u=(vj∗u)‾ (vj∗u)=∣vj∗u∣2u^* v_j v_j^* u = \overline{(v_j^* u)}\,(v_j^* u) = |v_j^* u|^2. □\square

Theorem 1 (SOCS is exact at full rank). I(x)=∑j=1Nλj∣Ej(x)∣2I(x) = \sum_{j=1}^{N} \lambda_j |E_j(x)|^2 for every mask and every xx. In particular IK=II_K = I whenever K≥rank⁡TK \ge \operatorname{rank} T, and so whenever K≥SK \ge S.

Proof. By Lemma 1 and the eigendecomposition, I=∑jλj u∗vjvj∗uI = \sum_j \lambda_j\, u^* v_j v_j^* u, and Lemma 3 gives each term. The terms with j>rank⁡Tj > \operatorname{rank} T have λj=0\lambda_j = 0. □\square

Theorem 2 (pointwise error). For every mask and every xx,

I(x)−IK(x)=u∗(T−TK) u=∑j>Kλj∣Ej(x)∣2∈[ 0, λK+1∥u∥2 ],I(x) - I_K(x) = u^* (T - T_K)\, u = \sum_{j > K} \lambda_j |E_j(x)|^2 \in \big[\, 0,\ \lambda_{K+1} \|u\|^2 \,\big],

with λN+1=0\lambda_{N+1} = 0. The upper bound is attained: if Ma=vK+1(a)‾M_a = \overline{v_{K+1}(a)} for all aa, then at x=0x = 0 the error equals λK+1∥u∥2\lambda_{K+1} \|u\|^2.

Proof. The identity follows from Theorem 1 minus the definition of IKI_K, with Lemma 3. Every term is at least 00, which gives the lower bound. For the upper bound, λj≤λK+1\lambda_j \le \lambda_{K+1} for j>Kj > K, so the sum is at most λK+1∑j>K∣vj∗u∣2≤λK+1∑j∣vj∗u∣2=λK+1∥u∥2\lambda_{K+1} \sum_{j > K} |v_j^* u|^2 \le \lambda_{K+1} \sum_{j} |v_j^* u|^2 = \lambda_{K+1} \|u\|^2, by Parseval's identity in the orthonormal basis (vj)(v_j). For the attaining mask, u=vK+1u = v_{K+1} at x=0x = 0, so ∣vj∗u∣2|v_j^* u|^2 is 11 for j=K+1j = K + 1 and 00 otherwise, and the error is λK+1=λK+1∥u∥2\lambda_{K+1} = \lambda_{K+1}\|u\|^2. □\square

So the worst error per unit of mask energy is λK+1\lambda_{K+1}, the spectral norm of T−TKT - T_K, whose eigenvalues are λK+1,…,λN\lambda_{K+1}, \dots, \lambda_N and 00.

Corollary 3 (masks of bounded amplitude). Let the mask mm have period PP and ∣m(x)∣≤1|m(x)| \le 1, with Ma=1P∫0Pm(y)e−2πifay dyM_a = \frac{1}{P}\int_0^P m(y) e^{-2\pi i f_a y}\, dy for distinct frequencies fa∈1PZf_a \in \frac{1}{P}\mathbb{Z}. Then 0≤I(x)−IK(x)≤λK+10 \le I(x) - I_K(x) \le \lambda_{K+1} for all xx. The same holds for a sampled mask with ∣m[n]∣≤1|m[n]| \le 1 and the discrete coefficients M(k)=1N′∑nm[n]e−2πikn/N′M(k) = \frac{1}{N'} \sum_n m[n] e^{-2\pi i k n / N'}, as long as the band integers kk are distinct modulo the number of samples N′N'.

Proof. By Parseval's identity for Fourier series, ∑a∣Ma∣2≤∑f∈1PZ∣M(f)∣2=1P∫0P∣m∣2≤1\sum_{a} |M_a|^2 \le \sum_{f \in \frac1P \mathbb{Z}} |M(f)|^2 = \frac{1}{P} \int_0^P |m|^2 \le 1. For the sampled mask, the discrete Parseval identity gives ∑k mod N′∣M(k)∣2=1N′∑n∣m[n]∣2≤1\sum_{k \bmod N'} |M(k)|^2 = \frac{1}{N'} \sum_n |m[n]|^2 \le 1, and the band uses each residue at most once. Apply Theorem 2. □\square

Theorem 4 (the trace norm is the summed error). Let eae_a be the mask with Ma=1M_a = 1 and all other coefficients 00, a single plane wave. For every xx,

∑a=1N(I(x)−IK(x))∣mask ea=∑j>Kλj=tr⁡(T−TK)=∥T−TK∥∗.\sum_{a=1}^{N} \big( I(x) - I_K(x) \big)\Big|_{\text{mask } e_a} = \sum_{j > K} \lambda_j = \operatorname{tr}(T - T_K) = \|T - T_K\|_* .

Also, if uu is a random vector with E[uu∗]=Id\mathbb{E}[u u^*] = \mathrm{Id}, then E[I−IK]=∑j>Kλj\mathbb{E}[I - I_K] = \sum_{j > K} \lambda_j.

Proof. For the mask eae_a, uu is e−2πifaxe^{-2\pi i f_a x} times the aath unit vector, so by Theorem 2 the error is (T−TK)aa(T - T_K)_{aa}; the phase cancels. The sum over aa is the trace of T−TKT - T_K, which is the sum of its eigenvalues λK+1,…,λN\lambda_{K+1}, \dots, \lambda_N. These are at least 00, so the trace equals the trace norm, the sum of the singular values. For the random case, E[u∗Au]=E[tr⁡(Auu∗)]=tr⁡(A E[uu∗])=tr⁡A\mathbb{E}[u^* A u] = \mathbb{E}[\operatorname{tr}(A u u^*)] = \operatorname{tr}(A\, \mathbb{E}[u u^*]) = \operatorname{tr} A with A=T−TKA = T - T_K. □\square

Optimality (cited). For every matrix XX of rank at most KK, ∥T−X∥2≥λK+1\|T - X\|_2 \ge \lambda_{K+1} and ∥T−X∥∗≥∑j>Kλj\|T - X\|_* \ge \sum_{j > K} \lambda_j, with equality for X=TKX = T_K. For the spectral and Frobenius norms this is the theorem of Eckart and Young (1936), and Mirsky (1960) extended it to every unitarily invariant norm, which includes the trace norm. Any KK coherent systems with weights μj\mu_j and kernel spectra wjw_j give the image u∗Xuu^* X u with X=∑j≤Kμjwjwj∗X = \sum_{j \le K} \mu_j w_j w_j^* of rank at most KK. So, measured by these two norms of the kernel error, the SOCS truncation is the best choice of KK coherent systems. This part is cited, not proved here.

The eigensolver (lines L2 and L3). The implementation uses cyclic complex Jacobi rotations. We prove that each rotation zeroes its pivot, preserves the eigenvalues, and lowers the off-diagonal mass; the convergence of the cyclic sweeps is cited from the Jacobi eigenvalue algorithm.

One rotation. Let AA be Hermitian with pivot Apq=reiφA_{pq} = r e^{i\varphi}, r>0r > 0, and write α=App\alpha = A_{pp}, β=Aqq\beta = A_{qq}, both real. Let UU be the identity except on rows and columns p,qp, q, where it is WRW R with W=diag⁡(1,e−iφ)W = \operatorname{diag}(1, e^{-i\varphi}) and R=(cs−sc)R = \begin{pmatrix} c & s \\ -s & c \end{pmatrix}, c2+s2=1c^2 + s^2 = 1. Then UU is unitary, and A′=U∗AUA' = U^* A U is Hermitian with the same eigenvalues. On the 2×22 \times 2 block, W∗(αreiφre−iφβ)W=(αrrβ)W^* \begin{pmatrix} \alpha & r e^{i\varphi} \\ r e^{-i\varphi} & \beta \end{pmatrix} W = \begin{pmatrix} \alpha & r \\ r & \beta \end{pmatrix}, and the off-diagonal entry of RT(αrrβ)RR^{\mathsf T} \begin{pmatrix} \alpha & r \\ r & \beta \end{pmatrix} R is

(c,−s)(αrrβ)(sc)=r(c2−s2)+cs(α−β).(c, -s) \begin{pmatrix} \alpha & r \\ r & \beta \end{pmatrix} \begin{pmatrix} s \\ c \end{pmatrix} = r (c^2 - s^2) + c s (\alpha - \beta).

With t=s/ct = s/c and θ=(β−α)/(2r)\theta = (\beta - \alpha)/(2r), this is zero if and only if t2+2θt−1=0t^2 + 2\theta t - 1 = 0. The roots are −θ±θ2+1-\theta \pm \sqrt{\theta^2 + 1}. The value t=sgn⁡(θ)/(∣θ∣+θ2+1)t = \operatorname{sgn}(\theta)/(|\theta| + \sqrt{\theta^2 + 1}), with sgn⁡(0)=1\operatorname{sgn}(0) = 1, is one of them: multiply the numerator and the denominator by θ2+1−∣θ∣\sqrt{\theta^2 + 1} - |\theta| to get t=sgn⁡(θ)(θ2+1−∣θ∣)=−θ+sgn⁡(θ)θ2+1t = \operatorname{sgn}(\theta)\big(\sqrt{\theta^2 + 1} - |\theta|\big) = -\theta + \operatorname{sgn}(\theta)\sqrt{\theta^2 + 1}. It is the root of smaller size, so ∣t∣≤1|t| \le 1 and the rotation angle is at most π/4\pi/4. Then c=1/1+t2c = 1/\sqrt{1 + t^2} and s=tcs = t c zero the pivot.

Off-diagonal mass. Let off⁡(A)2=∑i≠k∣Aik∣2\operatorname{off}(A)^2 = \sum_{i \ne k} |A_{ik}|^2. The Frobenius norm is invariant under A↦U∗AUA \mapsto U^* A U. Entries outside rows and columns p,qp, q do not change. For k∉{p,q}k \notin \{p, q\}, the pair (Apk,Aqk)(A_{pk}, A_{qk}) is multiplied by the unitary 2×22 \times 2 block, so ∣Apk′∣2+∣Aqk′∣2=∣Apk∣2+∣Aqk∣2|A'_{pk}|^2 + |A'_{qk}|^2 = |A_{pk}|^2 + |A_{qk}|^2, and the same for columns. The 2×22 \times 2 block keeps its Frobenius norm, α2+β2+2r2\alpha^2 + \beta^2 + 2r^2, and now has a zero off-diagonal, so its diagonal gains 2r22r^2. Hence off⁡(A′)2=off⁡(A)2−2r2\operatorname{off}(A')^2 = \operatorname{off}(A)^2 - 2r^2.

Output. After the rotations U1,…,UmU_1, \dots, U_m, the matrix V=U1⋯UmV = U_1 \cdots U_m is unitary and A=V∗TVA = V^* T V. Write A=D+FA = D + F with DD diagonal and FF the off-diagonal part. Then T=VDV∗+VFV∗T = V D V^* + V F V^*, and ∥VFV∗∥2≤∥F∥F=off⁡(A)\|V F V^*\|_2 \le \|F\|_F = \operatorname{off}(A). The loop stops when off⁡(A)≤τ∥T∥F\operatorname{off}(A) \le \tau \|T\|_F for the tolerance τ\tau. By Weyl's inequality, after sorting (line L3) each diagonal value differs from the corresponding eigenvalue of TT by at most off⁡(A)\operatorname{off}(A). So Theorems 1 to 4 hold for the computed pairs up to an additive error of at most off⁡(A)∥u∥2\operatorname{off}(A) \|u\|^2 in the image. The tests check V∗V=IdV^* V = \mathrm{Id} and VDV∗=TV D V^* = T to 10−1210^{-12}, and the full-rank image against the direct Hopkins sum and Abbe's method to 10−1110^{-11}.

Example check. For the three-point source of the page, Lemma 2 gives T=13(h+h+∗+h0h0∗+h−h−∗)T = \frac13 (h_+ h_+^* + h_0 h_0^* + h_- h_-^*) of rank 33, and the eigenvalues 13±1376\frac{13 \pm \sqrt{137}}{6} and 23\frac23 sum to tr⁡T=5\operatorname{tr} T = 5. By Theorem 1, three kernels give the exact image, as the table on the page shows.

Complexity

  • Setup. Line L1 adds SS rank-one terms of size N×NN \times N: O(SN2)O(S N^2). Each Jacobi sweep visits N(N−1)/2N(N-1)/2 pairs at O(N)O(N) each, so ww sweeps cost O(wN3)O(w N^3). Cyclic Jacobi converges quadratically in the end, so ww is small in practice (it is under 1010 in the tests). Storage is O(N2)O(N^2).
  • Per mask. Line L5 is one forward transform. Each kernel needs NN products and one inverse transform onto nn image points, O(nlog⁡n)O(n \log n), so the image costs O(Knlog⁡n)O(K n \log n). The direct Hopkins sum needs N2N^2 products per image instead, and Abbe's method one transform per source point, O(Snlog⁡n)O(S n \log n). In two dimensions NN grows with the square of the period while KK stays near ten for typical settings, which is the source of the speed-up.

Properties

  • Exact at full rank. With K=rank⁡TK = \operatorname{rank} T the output is the Hopkins image. With smaller KK it is a lower approximation, which is why the property exact is false.
  • Monotone in KK. Each added kernel adds λj∣Ej∣2≥0\lambda_j |E_j|^2 \ge 0, so the error falls with KK at every point.
  • Mask independent setup. The kernels depend only on the source, pupil and band.
  • Kernels are defined up to phase. If vjv_j is an eigenvector, so is eiαvje^{i\alpha} v_j, and ∣Ej∣2|E_j|^2 does not change. Equal eigenvalues allow any orthonormal basis of the eigenspace.
  • Deterministic. The eigensolver and the transforms are deterministic.

Variants and improvements

  • Singular value decomposition. Cobb computed the kernels with the singular value decomposition of the TCC matrix. For a Hermitian positive semidefinite matrix it equals the eigendecomposition.
  • Top-KK eigensolvers. Only KK pairs are needed, so power iteration with deflation, subspace iteration or Lanczos replace the full solver when NN is large. Matrix-vector products with TT cost O(SN)O(S N) through its factored form ∑sJ(s)hshs∗\sum_s J(s) h_s h_s^*.
  • Factored form. The same factored form shows that the kernels are the left singular vectors of the N×SN \times S matrix with columns J(s) hs\sqrt{J(s)}\, h_s, and the eigenvalues are the squared singular values. A thin decomposition of that matrix costs O(NSmin⁡(N,S))O(N S \min(N, S)) and avoids forming TT.
  • Optimal coherent approximation. Pati and Kailath (1994) kept one or a few coherent systems of this kind to turn mask design into a phase retrieval problem.
  • Kernels in space. Instead of transforms, each kernel can be convolved once with basic shapes and stored in tables, so that the field of a polygon mask is a sum of table values. This suits sparse evaluation at the sites used by optical proximity correction.
  • Gradients for mask optimization. Since IK=∑jλj∣ϕj∗m∣2I_K = \sum_j \lambda_j |\phi_j * m|^2, the gradient of a weighted image ∫w(x)IK(x) dx\int w(x) I_K(x)\, dx with respect to a real mask is 2∑jλjRe⁡(ϕ~j∗(w⋅(ϕj∗m)))2 \sum_j \lambda_j \operatorname{Re}\big(\tilde\phi_j * (w \cdot (\phi_j * m))\big), with ϕ~j(x)=ϕj(−x)‾\tilde\phi_j(x) = \overline{\phi_j(-x)}. So one gradient costs about two transforms per kernel. Inverse lithography uses this form.
  • Focus and dose. Defocus changes the pupil phase, so each focus setting has its own TCC and kernels.

When to use it

Use it when many masks are imaged with the same optics: proximity correction, inverse lithography and lithography verification over a full chip. Choose KK from the eigenvalues, for example the least KK with ∑j>Kλj\sum_{j > K} \lambda_j below a tolerance times the trace. When the source itself changes at every step, as in source and mask optimization, the setup is repeated each time, and Abbe's method over source points is often simpler.

Pitfalls

  • Band too small. The band must reach (1+σ)NA/λ(1 + \sigma)\mathrm{NA}/\lambda. A smaller band drops terms of TT that are not small, and no choice of KK recovers them.
  • Error in the image, not the edge. The bound is on intensity. Where the image is flat near the resist threshold, a small intensity error moves the printed edge far.
  • Periodic boundaries. The transform treats the mask as periodic. Pad the simulation region by the reach of the kernels, or a feature wraps around.
  • Tiny negative eigenvalues. Rounding can give eigenvalues just below zero. Set them to zero; they do not belong to the kernel set.
  • Comparing kernels. Kernels from two settings may differ by a phase or by a rotation within an eigenspace. Compare images or projectors vjvj∗v_j v_j^*, not raw kernels.
  • Normalization. Divide by the clear-field image T(0,0)T(0, 0), as on the Hopkins page, before applying a resist threshold.

Implementations

Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.

sum_of_coherent_systems.pyI0RawGitHub
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/sum-of-coherent-systems/. The authors are listed in prov/5NQR8Z.jsonl.
"""Sum of coherent systems (SOCS) for a one-dimensional periodic mask.

Units: frequencies are in units of NA / wavelength, lengths in wavelength / NA. The mask
has period P and is given by samples m[0..N-1] at x = n P / N; its spectrum is the
discrete Fourier transform M(k) = (1/N) sum_n m[n] exp(-2 pi i k n / N), at the
frequency k / P. The source is a list of points (s, J) with weights J >= 0. The pupil
is a function of the frequency, zero outside [-1, 1].

The transmission cross coefficient on the band of integers k is
    T[k1][k2] = sum over source points of J * H(k1/P + s) * conj(H(k2/P + s)),
a Hermitian positive semidefinite matrix. Its eigendecomposition
T = sum_j lam_j v_j v_j^* gives I(x) = sum_j lam_j |sum_k v_j[k] M(k) e^{2 pi i k x / P}|^2.
"""

import cmath
import math


def ideal_pupil(defocus=0.0, coma=0.0):
    """Pupil 1 on |f| <= 1 times a phase exp(2 pi i (defocus f^2 + coma f^3))."""
    def H(f):
        if abs(f) > 1 + 1e-12:
            return 0j
        return cmath.exp(2j * math.pi * (defocus * f * f + coma * f ** 3))
    return H


def source_points(sigma, count):
    """count equally weighted points spread evenly over [-sigma, sigma], total weight 1."""
    if count == 1:
        return [(0.0, 1.0)]
    return [(-sigma + 2 * sigma * i / (count - 1), 1.0 / count) for i in range(count)]


def band(P, sigma):
    """The integers k with |k / P| <= 1 + sigma, where T can be nonzero."""
    kmax = int(math.floor((1 + sigma) * P + 1e-9))
    return list(range(-kmax, kmax + 1))


def tcc(ks, P, source, H):
    n = len(ks)
    T = [[0j] * n for _ in range(n)]
    for s, w in source:
        h = [H(k / P + s) for k in ks]
        for a in range(n):
            if h[a] == 0:
                continue
            for b in range(n):
                T[a][b] += w * h[a] * h[b].conjugate()  # @line L1
    return T


def off_norm(A):
    n = len(A)
    return math.sqrt(sum(abs(A[i][j]) ** 2 for i in range(n) for j in range(n) if i != j))


def jacobi_hermitian(T, tol=1e-14, max_sweeps=60):
    """Eigenvalues and eigenvectors of a Hermitian matrix by cyclic complex Jacobi rotations.

    Returns (lams, V) with T = V diag(lams) V^*, V unitary, columns the eigenvectors.
    Each rotation U = W R first turns a[p][q] real with the phase W = diag(1, e^{-i phi})
    and then zeroes it with a real plane rotation R.
    """
    n = len(T)
    A = [row[:] for row in T]
    V = [[1 + 0j if i == j else 0j for j in range(n)] for i in range(n)]
    scale = math.sqrt(sum(abs(A[i][j]) ** 2 for i in range(n) for j in range(n))) or 1.0
    for _ in range(max_sweeps):
        if off_norm(A) <= tol * scale:
            break
        for p in range(n - 1):
            for q in range(p + 1, n):
                g = A[p][q]
                if abs(g) <= 1e-300:
                    continue
                r = abs(g)
                e = g / r  # e^{i phi}
                theta = (A[q][q].real - A[p][p].real) / (2 * r)
                t = (1.0 if theta >= 0 else -1.0) / (abs(theta) + math.sqrt(theta * theta + 1))
                c = 1 / math.sqrt(t * t + 1)
                s = t * c
                # U = [[c, s], [-s e^{-i phi}, c e^{-i phi}]] acting on columns p and q.
                upp, upq = c, s
                uqp, uqq = -s * e.conjugate(), c * e.conjugate()
                for k in range(n):
                    akp, akq = A[k][p], A[k][q]
                    A[k][p] = akp * upp + akq * uqp
                    A[k][q] = akp * upq + akq * uqq
                for k in range(n):
                    apk, aqk = A[p][k], A[q][k]
                    A[p][k] = upp * apk + uqp.conjugate() * aqk
                    A[q][k] = upq * apk + uqq.conjugate() * aqk
                A[p][q] = A[q][p] = 0j
                for k in range(n):
                    vkp, vkq = V[k][p], V[k][q]
                    V[k][p] = vkp * upp + vkq * uqp
                    V[k][q] = vkp * upq + vkq * uqq  # @line L2
    lams = [A[i][i].real for i in range(n)]
    return lams, V


def socs_kernels(T, K):
    """The K largest eigenvalues of T, with their eigenvectors (the kernel spectra)."""
    lams, V = jacobi_hermitian(T)
    order = sorted(range(len(lams)), key=lambda j: -lams[j])  # @line L3
    n = len(T)
    return [(lams[j], [V[i][j] for i in range(n)]) for j in order[:K]]  # @line L4


def mask_spectrum(mask, ks):
    N = len(mask)
    return [sum(mask[n] * cmath.exp(-2j * math.pi * k * n / N) for n in range(N)) / N for k in ks]  # @line L5


def coherent_field(phi, M, ks, x, P):
    return sum(p * m * cmath.exp(2j * math.pi * k * x / P) for p, m, k in zip(phi, M, ks))


def socs_image(kernels, M, ks, xs, P):
    """I_K(x) = sum_j lam_j |E_j(x)|^2 at the points xs."""
    out = []
    for x in xs:
        total = 0.0
        for lam, phi in kernels:  # @line L6
            E = coherent_field(phi, M, ks, x, P)  # @line L7
            total += lam * abs(E) ** 2
        out.append(total)  # @line L8
    return out


def sum_of_coherent_systems(mask, P, source, H, K, xs):
    """Build the TCC, keep K kernels, and return (image at xs, all eigenvalues sorted)."""
    ks = band(P, max(abs(s) for s, _ in source))
    T = tcc(ks, P, source, H)
    kernels = socs_kernels(T, len(ks))
    M = mask_spectrum(mask, ks)
    return socs_image(kernels[:K], M, ks, xs, P), [lam for lam, _ in kernels]


def hopkins_image(T, M, ks, xs, P):
    """The direct Hopkins double sum over pairs of frequencies."""
    n = len(ks)
    out = []
    for x in xs:
        e = [M[a] * cmath.exp(2j * math.pi * ks[a] * x / P) for a in range(n)]
        total = sum(T[a][b] * e[a] * e[b].conjugate() for a in range(n) for b in range(n))
        out.append(total.real)
    return out


def abbe_image(source, H, M, ks, xs, P):
    """The image summed over source points, one coherent image per point."""
    out = []
    for x in xs:
        total = 0.0
        for s, w in source:
            E = sum(H(k / P + s) * m * cmath.exp(2j * math.pi * k * x / P) for k, m in zip(ks, M))
            total += w * abs(E) ** 2
        out.append(total)
    return out
test_sum_of_coherent_systems.py 185 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/sum-of-coherent-systems/. The authors are listed in prov/5NQR8Z.jsonl.

import cmath
import math
import random

from sum_of_coherent_systems import (
    abbe_image,
    band,
    hopkins_image,
    ideal_pupil,
    jacobi_hermitian,
    mask_spectrum,
    socs_image,
    socs_kernels,
    source_points,
    sum_of_coherent_systems,
    tcc,
)

P = 4.0
SIGMA = 0.7
SOURCE = source_points(SIGMA, 9)
H = ideal_pupil(defocus=0.15, coma=0.05)
KS = band(P, SIGMA)
T = tcc(KS, P, SOURCE, H)
N = 48
XS = [P * i / N for i in range(N)]


def random_mask(rng):
    """A binary mask made of a few random openings on the sample grid."""
    m = [0.0] * N
    for _ in range(3):
        a = rng.randrange(N)
        for d in range(rng.randint(2, 10)):
            m[(a + d) % N] = 1.0
    return m


def test_tcc_is_hermitian_and_psd():
    n = len(T)
    for a in range(n):
        for b in range(n):
            assert abs(T[a][b] - T[b][a].conjugate()) < 1e-14
    assert any(abs(T[a][b].imag) > 1e-3 for a in range(n) for b in range(n))
    lams, _ = jacobi_hermitian(T)
    assert min(lams) > -1e-12


def test_jacobi_reconstructs_random_hermitian():
    rng = random.Random(1)
    n = 12
    A = [[0j] * n for _ in range(n)]
    for i in range(n):
        A[i][i] = complex(rng.uniform(-2, 2), 0)
        for j in range(i + 1, n):
            z = complex(rng.uniform(-1, 1), rng.uniform(-1, 1))
            A[i][j], A[j][i] = z, z.conjugate()
    lams, V = jacobi_hermitian(A)
    for i in range(n):
        for j in range(n):
            vv = sum(V[k][i].conjugate() * V[k][j] for k in range(n))
            assert abs(vv - (1 if i == j else 0)) < 1e-12
            rec = sum(V[i][k] * lams[k] * V[j][k].conjugate() for k in range(n))
            assert abs(rec - A[i][j]) < 1e-12
    # The trace and the Frobenius norm are invariants.
    assert abs(sum(lams) - sum(A[i][i].real for i in range(n))) < 1e-12
    frob = sum(abs(A[i][j]) ** 2 for i in range(n) for j in range(n))
    assert abs(sum(l * l for l in lams) - frob) < 1e-10


def test_full_socs_equals_direct_hopkins_and_abbe():
    rng = random.Random(2)
    kernels = socs_kernels(T, len(KS))
    for _ in range(3):
        mask = random_mask(rng)
        M = mask_spectrum(mask, KS)
        direct = hopkins_image(T, M, KS, XS, P)
        socs = socs_image(kernels, M, KS, XS, P)
        abbe = abbe_image(SOURCE, H, M, KS, XS, P)
        for a, b, c in zip(direct, socs, abbe):
            assert abs(a - b) < 1e-11
            assert abs(a - c) < 1e-11


def test_rank_at_most_number_of_source_points():
    kernels = socs_kernels(T, len(KS))
    lams = [lam for lam, _ in kernels]
    assert len(KS) > len(SOURCE)
    assert all(abs(l) < 1e-12 for l in lams[len(SOURCE):])
    assert lams == sorted(lams, reverse=True)


def test_truncation_error_against_tail_eigenvalues():
    rng = random.Random(3)
    kernels = socs_kernels(T, len(KS))
    lams = [lam for lam, _ in kernels]
    for _ in range(3):
        mask = random_mask(rng)
        M = mask_spectrum(mask, KS)
        energy = sum(abs(m) ** 2 for m in M)
        direct = hopkins_image(T, M, KS, XS, P)
        for K in range(0, len(SOURCE) + 1):
            approx = socs_image(kernels[:K], M, KS, XS, P)
            tail_max = lams[K] if K < len(lams) else 0.0
            for a, b in zip(direct, approx):
                err = a - b
                # 0 <= I - I_K <= lam_{K+1} * sum |M|^2 at every point.
                assert -1e-11 <= err <= max(tail_max, 0.0) * energy + 1e-11
    # Summed over the single-frequency masks e^{2 pi i k x / P}, the error at a point
    # is exactly the sum of the tail eigenvalues (the trace norm of T - T_K).
    for K in range(0, len(SOURCE) + 1):
        total = 0.0
        for idx, k in enumerate(KS):
            M = [1.0 if j == idx else 0.0 for j in range(len(KS))]
            x = 0.37
            total += hopkins_image(T, M, KS, [x], P)[0] - socs_image(kernels[:K], M, KS, [x], P)[0]
        assert abs(total - sum(lams[K:])) < 1e-11


def test_error_decreases_with_k():
    rng = random.Random(4)
    kernels = socs_kernels(T, len(KS))
    mask = random_mask(rng)
    M = mask_spectrum(mask, KS)
    direct = hopkins_image(T, M, KS, XS, P)
    prev = None
    for K in range(0, len(SOURCE) + 1):
        approx = socs_image(kernels[:K], M, KS, XS, P)
        worst = max(a - b for a, b in zip(direct, approx))
        if prev is not None:
            assert worst <= prev + 1e-12
        prev = worst
    assert prev < 1e-11


def test_page_example():
    source = [(-0.5, 1 / 3), (0.0, 1 / 3), (0.5, 1 / 3)]
    Hi = ideal_pupil()
    ks = band(2.0, 0.5)
    assert ks == [-3, -2, -1, 0, 1, 2, 3]
    T2 = tcc(ks, 2.0, source, Hi)
    # The TCC entries are multiples of 1/3, as in the table on the page.
    third = [
        [1, 1, 1, 1, 1, 0, 0],
        [1, 2, 2, 2, 2, 1, 0],
        [1, 2, 3, 3, 3, 2, 1],
        [1, 2, 3, 3, 3, 2, 1],
        [1, 2, 3, 3, 3, 2, 1],
        [0, 1, 2, 2, 2, 2, 1],
        [0, 0, 1, 1, 1, 1, 1],
    ]
    for a in range(7):
        for b in range(7):
            assert abs(T2[a][b] - third[a][b] / 3) < 1e-12
    kernels = socs_kernels(T2, 7)
    lams = [lam for lam, _ in kernels]
    r = math.sqrt(137)
    for got, want in zip(lams, [(13 + r) / 6, 2 / 3, (13 - r) / 6, 0, 0, 0, 0]):
        assert abs(got - want) < 1e-12
    # The second kernel is (1, 1, 0, 0, 0, -1, -1) / 2 up to a phase.
    v2 = kernels[1][1]
    assert abs(abs(sum(x * y for x, y in zip(v2, [0.5, 0.5, 0, 0, 0, -0.5, -0.5]))) - 1) < 1e-12
    # Lines and spaces: m = 1 on [-1/2, 1/2] in each period 2, so M(k) = sin(pi k / 2) / (pi k).
    M = [0.5 if k == 0 else math.sin(math.pi * k / 2) / (math.pi * k) for k in ks]
    xs = [0.0, 0.5, 1.0]
    direct = hopkins_image(T2, M, ks, xs, 2.0)
    for got, want in zip(direct, [1.138611, 0.257505, 0.006842]):
        assert abs(got - want) < 1e-6
    i1 = socs_image(kernels[:1], M, ks, xs, 2.0)
    i2 = socs_image(kernels[:2], M, ks, xs, 2.0)
    i3 = socs_image(kernels[:3], M, ks, xs, 2.0)
    for got, want in zip(i1, [1.138562, 0.249594, 0.004603]):
        assert abs(got - want) < 1e-6
    for got, want in zip(i2, [1.138562, 0.257099, 0.004603]):
        assert abs(got - want) < 1e-6
    assert all(abs(a - b) < 1e-12 for a, b in zip(i3, direct))
    # The sampled mask through the whole pipeline agrees with the direct sum.
    mask = [1.0 if i < 4 or i >= 12 else 0.0 for i in range(16)]
    image, all_lams = sum_of_coherent_systems(mask, 2.0, source, Hi, 3, xs)
    sampled = hopkins_image(T2, mask_spectrum(mask, ks), ks, xs, 2.0)
    assert all(abs(a - b) < 1e-12 for a, b in zip(image, sampled))
    assert all(abs(l) < 1e-12 for l in all_lams[3:])

History

Hopkins (1953) wrote partially coherent imaging with a kernel that does not depend on the object. Gamo (1964) treated the mutual intensity of partially coherent light as a Hermitian matrix and expanded it in eigenvectors. Pati and Kailath (1994) applied optimal coherent approximations of the Hopkins model to the design of phase-shifting masks. Cobb, in a 1995 Berkeley report and his 1998 thesis, called the decomposition the sum of coherent systems, computed it with the singular value decomposition of the TCC matrix, and built fast proximity correction on it. It became the standard aerial image engine of full-chip OPC tools.

References

  1. Nicolas Bailey Cobb, Fast Optical and Process Proximity Correction Algorithms for Integrated Circuit Manufacturing, PhD thesis, Department of Electrical Engineering and Computer Sciences, University of California at Berkeley, 1998, the decomposition of the Hopkins imaging equation into a sum of coherent systems (SOCS), computed from the matrix of transmission cross coefficients by the singular value decomposition, and its use for fast aerial image computation in proximity correction
  2. Hideya Gamo, Matrix treatment of partial coherence, Progress in Optics 3, 187 to 332, 1964, the mutual intensity of partially coherent light treated as a Hermitian matrix and expanded in its eigenvectors, the decomposition that SOCS starts from
  3. Y. C. Pati and T. Kailath, Phase-shifting masks for microlithography, automated design and mask requirements, Journal of the Optical Society of America A 11(9), 2438 to 2452, 1994, optimal coherent approximations of partially coherent imaging systems in the Hopkins model, used to reduce mask design to phase retrieval
  4. Carl Eckart and Gale Young, The approximation of one matrix by another of lower rank, Psychometrika 1(3), 211 to 218, 1936, the best approximation of a matrix by one of lower rank is the truncation of its singular value decomposition

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH1 sketch
  • a full proof of time.build
  • a full proof of time.query
  • a full proof of space.extra
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
Code (python)I0 not checked yet
  • the tests did not run in this build
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a scene preset for the example