Open Interpretability Models Contributors Research Posts About

Qwen/Qwen2.5-0.5B · L1/N2115 · 20261028T204706Z

Experiment 1 of 3 on this neuron, most conclusive first · record

#1 · negative pole − VERIFIED strong evidence for · 1.00 counts toward status 2026-10-28 · 20261028T204706Z

The negative pole fires on a standalone operator glyph that is being used as an operator inside a symbolic expression: strongest on the space-prefixed plus ' +' and its LaTeX form '+\' (e.g. $a + b$, \kappa_{\mathrm{ex}}+\kappa_{\mathrm{in}}, 3 + 4, x = 42; y = x + 1;, f(a) + g(b)), then on ' -' and ' ='/'=\' at roughly a third to a half of that strength, with strength graded by how formulaic the immediate context is (highest inside $...$ math and backslash-command neighbourhoods, lower when the same expression is embedded in ordinary prose). It stays near zero when the glyph is not an operator of an expression: fused into a word, identifier, e-mail or URL ('C++', 'a+b', '[email protected]', 'h=315'), replaced by non-operator punctuation (a comma between the same operands), a lone LaTeX command or backslash, narrative or programming-discussion prose ('The story a + b is here.', 'In Python, a + b works.'), or another operator glyph (*, /, <, >, ^, ==, !=), which fire at most weakly (peak <= ~0.75, below the active range); it is a formula-operator detector, not a general symbol, punctuation or LaTeX detector.

The whole hypothesis

The negative pole fires on a standalone operator glyph that is being used as an operator inside a symbolic expression: strongest on the space-prefixed plus ' +' and its LaTeX form '+\' (e.g. $a + b$, \kappa_{\mathrm{ex}}+\kappa_{\mathrm{in}}, 3 + 4, x = 42; y = x + 1;, f(a) + g(b)), then on ' -' and ' ='/'=\' at roughly a third to a half of that strength, with strength graded by how formulaic the immediate context is (highest inside $...$ math and backslash-command neighbourhoods, lower when the same expression is embedded in ordinary prose). It stays near zero when the glyph is not an operator of an expression: fused into a word, identifier, e-mail or URL ('C++', 'a+b', '[email protected]', 'h=315'), replaced by non-operator punctuation (a comma between the same operands), a lone LaTeX command or backslash, narrative or programming-discussion prose ('The story a + b is here.', 'In Python, a + b works.'), or another operator glyph (*, /, <, >, ^, ==, !=), which fire at most weakly (peak <= ~0.75, below the active range); it is a formula-operator detector, not a general symbol, punctuation or LaTeX detector.

Hard negatives 11/11 rejected · holdouts 5/5 fired (independent observations; 16 probes) · P(useful) 1.00

Balanced accuracy
1.00
Sufficiency
1.00
Necessity
1.00
Lookahead KL
0.0003
✓ enough hard negatives ✓ enough holdouts ✓ specificity ✓ sensitivity ✓ counterfactual reproduction ✓ lookahead consistent ✓ independent review ✓ beats confound baseline

specificity 1.00 · sensitivity 1.00 · counterfactual reproduction 1.00 · protocol v0.7

++\ - ==\ ==)+

Adversarial review

hard_negative: 11/11 passed; positive_holdout: 5/5 passed; counterfactual: 10/10 passed; lookahead_consistency: 1/1 passed. All gates passed.

Hard negatives 11/11 stay below Positive holdouts 5/5 reach it threshold 0.82 (25% of max) → active passed · 0.042 (1% of max) The symbol \kappa denotes curvature in the differential geometry lecture notes. passed · 0.064 (2% of max) In JavaScript a + b concatenates strings as well as adding numeric values together. passed · 0.064 (2% of max) The token a+b appears in the log file without any surrounding whitespace characters. passed · 0.074 (2% of max) She learned C++ in college and loved writing template classes for assignments. passed · 0.106 (3% of max) Contact john+tag@example.com for access to the archived dataset tomorrow. passed · 0.187 (6% of max) Set h=315 as the cutoff before running the sensor calibration routine tonight. passed · 0.204 (6% of max) The textbook defines the product $a * b$ for integers in chapter two. passed · 0.216 (7% of max) The grid point 3, 4 marks the treasure location on the old pirate map. passed · 0.289 (9% of max) The children chanted a + b as a silly playground rhyme yesterday afternoon. passed · 0.322 (10% of max) The class proved $x < y$ implies transitivity under the given ordering assumptions. passed · 0.590 (18% of max) + is called plus and - is called minus in elementary school lessons. passed · 0.875 (27% of max) The residual error term equals $p - q$ after subtracting the baseline measurement. passed · 1.085 (33% of max) After initialization, execute z = 7; w = z + 5; then return w to the caller. passed · 1.197 (37% of max) The spectral gap uses \lambda_{\mathrm{max}}+\lambda_{\mathrm{min}} as defined in section two. passed · 1.214 (37% of max) She scribbled in the cookbook margin that $2 + 3 = 5$ cups are needed for the doubled batch. passed · 2.584 (79% of max) The lemma states $\alpha + \beta = \gamma$ under the addition rule assumed above. 0 max 3.26
passed failed Each probe's peak negative-pole strength. The shaded side of the line counts as active. Hover a dot for its prompt.
All 27 probes
TestInputExpectedObserved
✓ hard negative She learned C++ in college and loved writing template classes for assignments.
Tests fused-glyph exclusion: C++ contains plus signs but not as standalone expression operators.
inactive 0.074
✓ hard negative Contact [email protected] for access to the archived dataset tomorrow.
Tests email-address exclusion: plus inside an address is not an expression operator.
inactive 0.106
✓ hard negative The token a+b appears in the log file without any surrounding whitespace characters.
Tests no-space exclusion: a+b fused without spaces is claimed near zero.
inactive 0.064
✓ hard negative Set h=315 as the cutoff before running the sensor calibration routine tonight.
Tests fused-equals exclusion: h=315 without spaces is explicitly claimed inactive.
inactive 0.187
✓ hard negative The grid point 3, 4 marks the treasure location on the old pirate map.
Tests non-operator punctuation: comma between the same operands should not fire.
inactive 0.216
✓ hard negative The children chanted a + b as a silly playground rhyme yesterday afternoon.
Tests narrative-prose exclusion: spaced plus in a story context should stay near zero.
inactive 0.289
✓ hard negative In JavaScript a + b concatenates strings as well as adding numeric values together.
Tests programming-discussion exclusion: same expression discussed as language behavior should not fire.
inactive 0.064
✓ hard negative The symbol \kappa denotes curvature in the differential geometry lecture notes.
Tests lone-LaTeX exclusion: a backslash command with no operator glyph should stay near zero.
inactive 0.042
✓ hard negative The textbook defines the product $a * b$ for integers in chapter two.
Tests other-operator exclusion: asterisk product in math should fire at most weakly.
inactive 0.204
✓ hard negative The class proved $x < y$ implies transitivity under the given ordering assumptions.
Tests inequality-glyph exclusion: less-than inside math is claimed weak, not active.
inactive 0.322
✓ hard negative + is called plus and - is called minus in elementary school lessons.
Tests metalinguistic mention: glyphs named rather than used as operators should not fire.
inactive 0.590
✓ positive holdout The lemma states $\alpha + \beta = \gamma$ under the addition rule assumed above.
Positive holdout: novel Greek-letter equation with spaced plus and equals inside dollars.
active 2.584
✓ positive holdout The spectral gap uses \lambda_{\mathrm{max}}+\lambda_{\mathrm{min}} as defined in section two.
Positive holdout: LaTeX plus-backslash form in a fresh spectral-gap context.
active 1.197
✓ positive holdout After initialization, execute z = 7; w = z + 5; then return w to the caller.
Positive holdout: code-style assignments with spaced equals and plus in new variables.
active 1.085
✓ positive holdout The residual error term equals $p - q$ after subtracting the baseline measurement.
Positive holdout: spaced minus inside dollar math in a measurement context.
active 0.875
✓ positive holdout She scribbled in the cookbook margin that $2 + 3 = 5$ cups are needed for the doubled batch.
Positive cross-genre holdout: everyday cookbook note containing a spaced formula.
active 1.214
✓ counterfactual The equation a + b is here. -> The story a + b is here. Δ 0.43 Δ 0.43
✓ counterfactual The sum a + b is positive. -> The code a + b is positive. Δ 0.30 Δ 0.30
✓ counterfactual The sum $a + b$ is positive. -> The sum a + b is positive. Δ 0.24 Δ 0.24
✓ counterfactual the value $a + b$ holds. -> the value $a - b$ holds. Δ 0.30 Δ 0.30
✓ counterfactual The total is $3 + 4$ dollars. -> The total is $3 plus 4$ dollars. Δ 0.42 Δ 0.42
✓ counterfactual f(a) + g(b) -> f(a) and g(b) Δ 0.40 Δ 0.40
✓ counterfactual The sum a + b is positive. -> The sum a , b is positive. Δ 0.26 Δ 0.26
✓ counterfactual The equation a + b is here. -> The equation a + b is there. Δ 0.00 Δ 0.00
✓ counterfactual the value $a + b$ holds. -> the value $a + c$ holds. Δ 0.00 Δ 0.00
✓ counterfactual x = 42; y = x + 1; -> x = 42; y = x - 1; Δ 0.16 Δ 0.16
✓ lookahead consistency The equation a + b is here.; The sum a + b is positive.; The sum $a + b$ is positive.; the value $a + b$ holds.; The total is $3 + 4$ dollars.; f(a) + g(b); The sum a + b is positive.; The equation a + b is here.; the value $a + b$ holds.; x = 42; y = x + 1;
claimed retrospective; measured retrospective (KL=0.0003281, tokens=[' b', ' equal', ' of', ' a', '(a'])

Minimal pairs

Pair 1 Sufficiency: 1.00 · effect 0.000543 (matched |effect| median 2.21e-05, max 0.000166) The equation a + b is here. → The story a + b is here. Necessity: 0.91 · effect 0.00027 (matched |effect| median 2.58e-05, max 0.000489) The equation a + b is here. → The story a + b is here. Pair 2 Sufficiency: 1.00 · effect 0.000389 (matched |effect| median 1.63e-05, max 0.000296) The sum a + b is positive. → The code a + b is positive. Necessity: 1.00 · effect 0.00019 (matched |effect| median 6.65e-06, max 6e-05) The sum a + b is positive. → The code a + b is positive. Pair 4 Sufficiency: 0.97 · effect 9.42e-05 (matched |effect| median 5.29e-06, max 0.000743) the value $a + b$ holds. → the value $a - b$ holds. Necessity: 0.97 · effect 4.3e-05 (matched |effect| median 4.46e-06, max 0.000398) the value $a + b$ holds. → the value $a - b$ holds. Pair 5 Sufficiency: 1.00 · effect 0.000229 (matched |effect| median 2.56e-05, max 0.00012) The total is $3 + 4$ dollars. → The total is $3 plus 4$ dollars. Necessity: 0.94 · effect 2.1e-05 (matched |effect| median 4.37e-06, max 5.72e-05) The total is $3 + 4$ dollars. → The total is $3 plus 4$ dollars. Pair 6 Sufficiency: 1.00 · effect 0.000471 (matched |effect| median 1.88e-05, max 0.000393) f(a) + g(b) → f(a) and g(b) Necessity: 1.00 · effect 0.000319 (matched |effect| median 1.35e-05, max 0.000258) f(a) + g(b) → f(a) and g(b) Pair 7 Sufficiency: 0.97 · effect 0.00017 (matched |effect| median 1.04e-05, max 0.00023) The sum a + b is positive. → The sum a , b is positive. Necessity: 1.00 · effect 0.000134 (matched |effect| median 6.25e-06, max 8.81e-05) The sum a + b is positive. → The sum a , b is positive. Pair 10 Sufficiency: 0.97 · effect 0.000103 (matched |effect| median 1.97e-06, max 0.000114) x = 42; y = x + 1; → x = 42; y = x - 1; Necessity: 1.00 · effect 0.000152 (matched |effect| median 2.22e-06, max 0.000133) x = 42; y = x + 1; → x = 42; y = x - 1; Median (score) Sufficiency: 1.00 · median of 7 pairs 1.00 Necessity: 1.00 · median of 7 pairs 1.00 0.5 = a typical matched neuron 0 0.25 0.5 0.75 1
sufficiency (clean → corrupted) necessity (corrupted → clean) Hover a bar for its effect and prompts.
#Base → counterfactualExpected ΔObserved ΔSufficiencyNecessity
1 The equation a + b is here.
→ The story a + b is here.
0.43 0.43 1.00
effect 0.000543
matched 2.21e-05 / 0.000166
0.91
effect 0.00027
matched 2.58e-05 / 0.000489
2 The sum a + b is positive.
→ The code a + b is positive.
0.30 0.30 1.00
effect 0.000389
matched 1.63e-05 / 0.000296
1.00
effect 0.00019
matched 6.65e-06 / 6e-05
3 The sum $a + b$ is positive.
→ The sum a + b is positive.
0.24 0.24 — —
4 the value $a + b$ holds.
→ the value $a - b$ holds.
0.30 0.30 0.97
effect 9.42e-05
matched 5.29e-06 / 0.000743
0.97
effect 4.3e-05
matched 4.46e-06 / 0.000398
5 The total is $3 + 4$ dollars.
→ The total is $3 plus 4$ dollars.
0.42 0.42 1.00
effect 0.000229
matched 2.56e-05 / 0.00012
0.94
effect 2.1e-05
matched 4.37e-06 / 5.72e-05
6 f(a) + g(b)
→ f(a) and g(b)
0.40 0.40 1.00
effect 0.000471
matched 1.88e-05 / 0.000393
1.00
effect 0.000319
matched 1.35e-05 / 0.000258
7 The sum a + b is positive.
→ The sum a , b is positive.
0.26 0.26 0.97
effect 0.00017
matched 1.04e-05 / 0.00023
1.00
effect 0.000134
matched 6.25e-06 / 8.81e-05
8 The equation a + b is here.
→ The equation a + b is there.
0.00 0.00 — —
9 the value $a + b$ holds.
→ the value $a + c$ holds.
0.00 0.00 — —
10 x = 42; y = x + 1;
→ x = 42; y = x - 1;
0.16 0.16 0.97
effect 0.000103
matched 1.97e-06 / 0.000114
1.00
effect 0.000152
matched 2.22e-06 / 0.000133
Read more

Δ is the base prompt's peak negative-pole strength minus the counterfactual's, as a fraction of the max activation.

Each causal score ranks the pole's patch effect among the 32 same-layer neurons that change as much between each pair, so 0.5 is typical. Sufficiency patches clean into corrupted, and necessity corrupted into clean. The score is the median over 7 non-control pairs, on next-token KL. Median effect 0.000229 (sufficiency) and 0.000152 (necessity). In the table, each cell gives the percentile, the pole's signed effect, and the matched neurons' median and largest |effect|, in nats of KL. Self-repair (the hydra effect) was mitigated by freezing downstream MLP outputs.

Top-activating examples

Hover a token for its value.

  1. 3.26 … and $1<p<2$, the optimal constant is $$\nonumber↵M=\sqrt[p]{\frac{(k_1+\cdots + k_n)^{(k_1+\cdots …
    All 911 tokens

    ---↵abstract: 'The purpose of this article is to study the problem of finding sharp lower bounds for the norm of the product of polynomials in the ultraproducts of Banach spaces $(X_i)_{\mathfrak U}$. We show that, under certain hypotheses, there is a strong relation between this problem and the same problem for the spaces $X_i$.'↵address: 'IMAS-CONICET'↵author:↵- Jorge Tomás Rodríguez↵title: On the norm of products of polynomials on ultraproducts of Banach spaces↵---↵↵Introduction↵============↵↵In this article we study the factor problem in the context of ultraproducts of Banach spaces. This problem can be stated as follows: for a Banach space $X$ over a field ${\mathbb K}$ (with ${\mathbb K}={\mathbb R}$ or ${\mathbb K}={\mathbb C}$) and natural numbers $k_1,\cdots, k_n$ find the optimal constant $M$ such that, given any set of continuous scalar polynomials $P_1,\cdots,P_n:X\rightarrow {\mathbb K}$, of degrees $k_1,\cdots,k_n$; the inequality $$\label{problema}↵M \Vert P_1 \cdots P_n\Vert \ge \, \Vert P_1 \Vert \cdots \Vert P_n \Vert$$ holds, where $\Vert P \Vert = \sup_{\Vert x \Vert_X=1} \vert P(x)\vert$. We also study a variant of the problem in which we require the polynomials to be homogeneous.↵↵Recall that a function $P:X\rightarrow {\mathbb K}$ is a continuous $k-$homogeneous polynomial if there is a continuous $k-$linear function $T:X^k\rightarrow {\mathbb K}$ for which $P(x)=T(x,\cdots,x)$. A function $Q:X\rightarrow {\mathbb K}$ is a continuous polynomial of degree $k$ if $Q=\sum_{l=0}^k Q_l$ with $Q_0$ a constant, $Q_l$ ($1\leq l \leq k$) an $l-$homogeneous polynomial and $Q_k \neq 0$ .↵↵The factor problem has been studied by several authors. In [@BST], C. Benítez, Y. Sarantopoulos and A. Tonge proved that, for continuous polynomials, inequality (\[problema\]) holds with constant $$M=\frac{(k_1+\cdots + k_n)^{(k_1+\cdots +k_n)}}{k_1^{k_1} \cdots k_n^{k_n}}$$ for any complex Banach space. The authors also showed that this is the best universal constant, since there are polynomials on $\ell_1$ for which equality prevails. For complex Hilbert spaces and homogeneous polynomials, D. Pinasco proved in [@P] that the optimal constant is $$\nonumber↵M=\sqrt{\frac{(k_1+\cdots + k_n)^{(k_1+\cdots +k_n)}}{k_1^{k_1} \cdots k_n^{k_n}}}.$$ This is a generalization of the result for linear functions obtained by Arias-de-Reyna in [@A]. In [@CPR], also for homogeneous polynomials, D. Carando, D. Pinasco and the author proved that for any complex $L_p(\mu)$ space, with $dim(L_p(\mu))\geq n$ and $1<p<2$, the optimal constant is $$\nonumber↵M=\sqrt[p]{\frac{(k_1+\cdots + k_n)^{(k_1+\cdots +k_n)}}{k_1^{k_1} \cdots k_n^{k_n}}}.$$↵↵This article is partially motivated by the work of M. Lindström and R. A. Ryan in [@LR]. In that article they studied, among other things, a problem similar to (\[problema\]): finding the so called polarization constant of a Banach space. They found a relation between the polarization constant of the ultraproduct $(X_i)_{\mathfr

    Values
    TokenNegative-pole strength
    and0.000
    $0.000
    10.094
    <p0.067
    <1.091
    20.546
    $,0.047
    the0.000
    optimal0.028
    constant0.060
    is0.207
    $$0.264
    \0.204
    non0.000
    umber0.000
    ↵0.096
    M0.000
    =\0.762
    sqrt0.000
    [p0.000
    ]{0.057
    \0.187
    frac0.105
    {(0.000
    k0.000
    _0.034
    10.000
    +\2.386
    cd0.000
    ots0.061
    +3.262
    k0.000
    _n0.000
    )^0.282
    {(0.000
    k0.000
    _0.000
    10.000
    +\2.306
    cd0.000
    ots0.036
  2. 2.38 … True↵Let z be 4/(-12) - (-22)/(-6). Let j(n) = 4*n**2 + 5*n + 1. Let m be …
    All 1604 tokens

    2/(x/2). Suppose -5*r + 4*h + 43 = -187, -h + q = 0. Is 35 a factor of r?↵False↵Let r be ((-32)/(-20))/(2/5). Suppose -4*a = 3*m + 33, 0 = 3*a - r*a - 3*m - 6. Is 2/(-1)*a/1 a multiple of 16?↵False↵Suppose 4*b + 3*k = 8019, -392*b + 3*k - 4011 = -394*b. Is 12 a factor of b?↵True↵Suppose -5*g = -4*z + 117, g - 6*g - 3*z = 131. Suppose 22*u - 2*m + 10 = 20*u, u = -3*m + 3. Let f = u - g. Is f a multiple of 22?↵True↵Let v = 0 - 6. Suppose -426 = 5*s - 2*w, 2*w + 171 = -2*s + 3*w. Let n = v - s. Is n a multiple of 26?↵True↵Let z be 4/(-12) - (-22)/(-6). Let j(n) = 4*n**2 + 5*n + 1. Let m be j(z). Suppose -95 = -5*a + m. Is 26 a factor of a?↵False↵Suppose -2*j + 3*t - t = 2, -2*t - 4 = -5*j. Let d(w) = 0*w**3 + 6*w**2 + 0*w**3 + 6*w - 22*w**j + w**3. Does 17 divide d(16)?↵False↵Let b(i) = i**2 - 4*i + 3. Let k be b(3). Suppose -648 = -w + 2*w + 3*c, k = -2*w + 4*c - 1316. Is (-4)/10 - w/10 a multiple of 23?↵False↵Suppose 4*b - 3*b = 5*g - 2042, b - 814 = -2*g. Is 34 a factor of g?↵True↵Let x(k) = -100*k**3 + 10*k**2 + 9*k - 1. Does 10 divide x(-1)?↵True↵Let j(h) = 9*h + 28. Is j(4) a multiple of 64?↵True↵Let z = -3510 + 5478. Is 93 a factor of z?↵False↵Let t(k) = 4*k**2 + 5*k - 153. Is 18 a factor of t(-17)?↵True↵Let d be ((-6)/(-4))/(5/60). Let b = 21 - d. Does 25 divide 18/7*7*b?↵False↵Let w(p) = -218*p + 116. Does 52 divide w(-4)?↵True↵Let c(g) = -6*g + 24. Let n be c(8). Is 2/2 - n - 3 - 1 a multiple of 5?↵False↵Let w(t) be the third derivative of -13*t**4/24 + 19*t**3/6 - 6*t**2. Let k be w(-15). Suppose -218 - k = -4*a. Is a a multiple of 18?↵True↵Let c be 10*(-4)/8*176/(-10). Let k = -71 + c. Is k even?↵False↵Suppose -9*i + 140 = i. Suppose 0 = 5*j - 2*x - 3*x - 185, j = -4*x + 22. Let n = j - i. Is n a multiple of 5?↵True↵Let c = 1189 - -603. Does 14 divide c?↵True↵Let z = 90 + 211. Suppose y + 4*y = -4*b - 287, 3*b - z = 5*y. Let i = 105 + y. Is i a multiple of 24?↵False↵Let m = 12 + -7. Suppose 41 + 47 = 2*r + 4*i, -3*r + m*i = -77. Is r a multiple of 11?↵False↵Suppose 6*q - 10*q + 2508 = 0. Suppose 4*o = q + 317. Is 48 a factor of o?↵False↵Let w = 5 + -11. Let a(j) = j**2 + j. Let y be a(-6). Let h = w + y. Does 24 divide h?↵True↵Is (-3)/(-6) + 22673/158 a multiple of 18?↵True↵Is (-1 - -4)/(1*33/1804) a multiple of 4?↵True↵Let i(l) = -10*l - 2. Let j(x) = 10*x + 1. Let c(k) = 4*i(k) + 5*j(k). Let r = 160 - 157. Is 7 a factor of c(r)?↵False↵Let v(r) = 4*r**3 + 3*r**2 + 17. Is 5 a factor of v(5)?↵False↵Suppose 3*c + 25 = 34. Suppose -3*b = b + 3*f - 665, 4*f = -c*b + 490. Is 22 a factor of b?↵False↵Suppose 0 = 179*u - 182*u + 414. Is u even?↵True↵Suppose -73*c - 756 = -79*c. Is 7 a factor of c?↵True↵Let w = -34 + 46. Is w/(-27)*-123 + (-1)/(-3) a multiple of 11?↵True↵Suppose -4*w - 4*t - 420 = w, -2*t = 3*w + 254. Let q = -26 - w. Is 11 a factor of q?↵False↵Suppose 12*h = 16*h - 3740. Is h a multiple of 10?↵False↵Let t = -343 - -525. Is t a multiple of 14?↵True↵Suppose -z + 0 + 3 = 0. Does 11 divide ((-51)/z + -1)*(-5)/2?↵False↵Let z be (-1)/

    Values
    TokenNegative-pole strength
    True0.000
    ↵0.052
    Let0.000
    z0.000
    be0.000
    0.376
    40.000
    /0.079
    (-0.031
    10.063
    20.020
    )0.508
    -0.876
    (-0.155
    20.423
    20.000
    )/0.000
    (-0.000
    60.000
    ).0.116
    Let0.000
    j0.000
    (n0.000
    )0.616
    =1.074
    0.648
    40.000
    *n0.000
    **0.126
    20.179
    +2.381
    1.189
    50.202
    *n0.000
    +1.810
    1.247
    10.057
    .0.000
    Let0.000
    m0.000
    be0.000
  3. 2.19 … a point on the ellipse has angle $\theta$, then we have $\frac{r^2cos^2(\theta)}{a^2} + \frac{r^2sin^2(\ …
    All 329 tokens

    Q:↵↵Integration between circle and ellipse↵↵I need to evaluate an integral over the $D=\{x^2+y^2 >1; \frac{x^2}{a^2}+\frac{y^2}{b^2}<1\}$, but I can't find the limits of integration simply by changing to polar coordinates.↵Thanks↵↵A:↵↵In polar coordinates, the region can be represented by a whole $2\pi$ turn of $\theta$.↵For the radius, it is a function of instant $\theta$ values.↵$\int_0^{2\pi} \int_1^{U(\theta)} F(r,\theta)*r*dr*d\theta$↵where $r = U(\theta)$ can be found as follows:↵Suppose that a point on the ellipse has angle $\theta$, then we have $\frac{r^2cos^2(\theta)}{a^2} + \frac{r^2sin^2(\theta)}{b^2} = 1$↵$\implies r^2(\frac{cos^2(\theta)}{a^2} + \frac{sin^2(\theta)}{b^2}) = 1$↵$\implies r^2 = \frac{a^2b^2}{b^2cos^2(\theta) + a^2sin^2(\theta)}$↵$\implies r = U(\theta) = \sqrt{\frac{a^2b^2}{b^2cos^2(\theta) + a^2sin^2(\theta)}}$↵↵

    Values
    TokenNegative-pole strength
    a0.002
    point0.000
    on0.016
    the0.048
    ellipse0.003
    has0.263
    angle0.018
    $\0.052
    theta0.000
    $,0.023
    then0.000
    we0.030
    have0.038
    $\0.028
    frac0.072
    {0.029
    r0.000
    ^0.072
    20.368
    cos0.102
    ^0.163
    20.380
    (\0.000
    theta0.000
    )}0.171
    {0.000
    a0.000
    ^0.000
    20.176
    }0.620
    +2.191
    \1.175
    frac0.012
    {0.000
    r0.000
    ^0.000
    20.168
    sin0.000
    ^0.084
    20.177
    (\0.000
  4. 1.83 … 8↵Solve 3*i - 6*i - q = -6, 6*i + 52*q = 10*q + 38 + 94 for i.↵ …
    All 2012 tokens

    + 73 = -0*m - 7*m + 5*m for m.↵4↵Solve 0 = -6*x - 27*p + 276, 73*p - 72*p = 4*x - 146 for x.↵37↵Solve 6*n + 2828 = 5*z + 3287, -2*z - n = 187 for z.↵-93↵Solve 14*b = -b + h - 58, 5*b + 40 = -5*h + 10 for b.↵-4↵Solve 9*d - 537 = 3*l, -d = 5*l - 1560 + 1511 for l.↵-2↵Solve 4*h + 2*t + 0*t - 4*t = -0*t - 38, -43*t = -46*t - 3 for h.↵-10↵Solve 5*l - 10*f - 2976 + 3071 = 0, -2*l - 3*f = -11 for l.↵-5↵Solve -3*s - 217*i - 22 = -215*i - 4, -10*s - 49*i - 60 = -51*i for s.↵-6↵Solve 18*a + 5*q = 23*a + 30, 0 = -7*a + q - 36 - 18 for a.↵-8↵Solve 3*i - 6*i - q = -6, 6*i + 52*q = 10*q + 38 + 94 for i.↵1↵Solve -3*h - 7001 + 7102 = -o, 3*o - 5*h + 194 = -89 for o.↵-86↵Solve 4*r = 7*r - 132, -355*q - 5*r + 98 = -351*q - 122 for q.↵0↵Solve -4*n - 195 = -3*n + 5*i, -129 = 697*n - 694*n + 3*i for n.↵-5↵Solve 5*d - 27 = 4*r, r - 10*r + 10*d - 39 = 6*d for r.↵-3↵Solve -3*s - 29*a + 10*a = -17*a + 28, 0 = -2*s - 5*a - 26 for s.↵-8↵Solve 5*g + 0*g + j - 2 = -17, -70*g + 68*g = 2*j + 6 for g.↵-3↵Solve -o + 4402*r + 6 = 4401*r, -30 = -5*o + 6*r for o.↵6↵Solve -93 = -u + 3404*t - 3402*t, 2*u + 10*t + 302 = -142 for u.↵3↵Solve -2*j = -9*j + 2*i + 302 - 19, 2*j + 4*i - 22*i = 168 for j.↵39↵Solve -5*v + 0*v - 230 = 0, -17*m = v - 3 - 2 for m.↵3↵Solve 35 = 3*g - k, 20 = 4*g + 133*k - 129*k for g.↵10↵Solve -3*r - 5*z - 4 = 0, 50891*z - 50894*z + 8 = -r + 2 for r.↵-3↵Solve -124*l + u = -127*l + 15, -5 = 2*l - u for l.↵2↵Solve -3*q - 419 = -5*x - 0*q - 352, 5*q = -126*x - 246 for x.↵-1↵Solve -5089032*l = 5*t - 5089027*l + 60, 2*t - 5*l + 6 - 40 - 19 = 0 for t.↵-1↵Solve -40*q - 42 = 3*y - 46*q, 6*y - 8*y - 4*q = -12 for y.↵-4↵Solve y + 3 = 8196*b - 8194*b, b - 2*y = 6 for b.↵0↵Solve 5*t = 154*z - 123*z - 377, -4*z - 4*t = -44 for z.↵12↵Solve s = -2*t - 3*t - 56, 5*t + 456*s + 274*s = -785 for t.↵-11↵Solve f - 2 = -2*u, -5*u = -5*f - 37080 + 37150 for f.↵10↵Solve 0*z + 5*t = -3*z + 50, -4*z - 3*t + 16 = -20 - 5 for z.↵5↵Solve -375 + 527 = 4*l - 4*y, -5*y + 190 = 5*l for l.↵38↵Solve 2*d - 802 = -6*t - 1180, -t - 63 = -5*d for t.↵-63↵Solve -2*c + 7 = i, 4*i = 4*c - 2715 + 2707 for i.↵1↵Solve q - 2*q + 57*o - 60*o + 91 = 70, -5*q + 40 = 2*o for q.↵6↵Solve 40 = -12*u - 8, 0 = 183*r - 186*r + 2*u + 2 for r.↵-2↵Solve -1828*z + 1812*z - 298 = -5*f, 0 = 3*f - 6 - 0 for z.↵-18↵Solve -2*p + 16*s - 3 + 9 = 0, 2*s = 3*p - 7*p - 2*s - 60 for p.↵-13↵Solve 0 = -3*f - 3*p + 9, -1916*p = 4*f - 1920*p - 20 for f.↵4↵Solve 4*f + 2*s + 22479 = 22575, 3*f - 21*s - 27 = 0 for f.↵23↵Solve n - 4 = -8*x + 5*x, 5*x - 103*n + 101*n + 5 = -3 for x.↵0↵Solve -13*r + 28616*n - 28612*n - 176 = 0, -43 = -298*r + 301*r - n for r.↵-4↵Solve 4*b + 35*m - 1229 = 0, 104*b - 212*b = -105*b + 4*m - 143 for b.↵1↵Solve j - 12 - 363 = 5*i - 37, j = 3*i + 202 for i.↵-68↵Solve -3*d + 32 = -4*r, 55*r - 26*r + 3*d = 28*r - 1 + 8 for r.↵-5↵Solve 12*q - 214 = 5*u, -39*u - 17 - 647 = 2*q + 814 for q.↵2↵Solve -6 = -h + i, -4*i = -13*h - 1982125 + 1982131 for h.↵-2↵Solve 0 = 123291*b - 123286*b + 7*o - 5, -4*o = 0 for b.↵1↵Solve -1

    Values
    TokenNegative-pole strength
    80.000
    ↵0.000
    S0.000
    olve0.000
    0.189
    30.007
    *i0.000
    -0.653
    0.729
    60.000
    *i0.000
    -0.536
    q0.000
    =0.779
    -0.643
    60.038
    ,0.066
    0.331
    60.000
    *i0.000
    +1.509
    1.141
    50.082
    20.000
    *q0.000
    =0.737
    0.624
    10.000
    00.000
    *q0.000
    +1.829
    1.137
    30.252
    80.000
    +1.254
    1.029
    90.000
    40.000
    for0.000
    i0.000
    .↵0.010
  5. 1.83 … we can show, using the fact that $UP = P$ and $U(1-P) = (1-P)U$, that $v + w$ is not separating for $\mathcal{ …
    All 372 tokens

    Q:↵↵Is the sum of separating vectors always separating?↵↵If $\mathcal{R}$ is a von Neumann algebra acting on Hilbert space $H$ and $v, w \in H$ are separating vectors for $\mathcal{R}$, must $v+w$ be (either zero or) separating for $\mathcal{R}$?↵[I have edited to remove the restriction to type III factors and am moving my proposed partial solution to an answer below.]↵↵A:↵↵No, there must be a counterexample, under the mild assumption that there exists a nontrivial unitary $U \in \mathcal{R}$ whose restriction to the range of some nonzero projection $P \in \mathcal{R}$ is trivial (i.e. the identity).↵Fix such a $U$ and $P$. Let $v$ be any separating vector for $\mathcal{R}$ and let $w = -Uv$. This $w$ is separating for $\mathcal{R}$ since any nonzero $T \in \mathcal{R}$ that annihilated $w$ would make $-TU$ a nonzero operator in $\mathcal{R}$ than annihilates $v$.↵But we can show, using the fact that $UP = P$ and $U(1-P) = (1-P)U$, that $v + w$ is not separating for $\mathcal{R}$:↵$v + w = v - Uv = (Pv + (1-P)v) - (UPv + U(1-P)v)$↵$= (1-P)v - U(1-P)v = (1-P)v - (1-P)Uv = (1-P)(1-U)v$;↵and $(1-P)(1-U)v$ is annihilated by $P$.↵↵

    Values
    TokenNegative-pole strength
    we0.044
    can0.000
    show0.013
    ,0.000
    using0.026
    the0.000
    fact0.000
    that0.000
    $0.000
    UP0.000
    =0.962
    P0.000
    $0.009
    and0.000
    $0.000
    U0.000
    (0.000
    10.013
    -P0.035
    )0.666
    =1.174
    (0.249
    10.017
    -P0.011
    )0.490
    U0.000
    $,0.000
    that0.000
     0.034
    $v0.000
    +1.827
    w0.000
    $0.000
    is0.055
    not0.006
    separating0.000
    for0.000
    $\0.027
    math0.000
    cal0.021
    {0.000
  6. 1.50 … 10a]. $C$ is inversely proportional to the total cavity loss rate, $\kappa=\kappa_{\mathrm{ex}}+\kappa_{\mathrm{in}}$, where …
    All 847 tokens

    ---↵abstract: 'We analytically derive the upper bound on the overall efficiency of single-photon generation based on cavity quantum electrodynamics (QED), where cavity internal loss is treated explicitly. The internal loss leads to a tradeoff relation between the internal generation efficiency and the escape efficiency, which results in a fundamental limit on the overall efficiency. The corresponding lower bound on the failure probability is expressed only with an “internal cooperativity," introduced here as the cooperativity parameter with respect to the cavity internal loss rate. The lower bound is obtained by optimizing the cavity external loss rate, which can be experimentally controlled by designing or tuning the transmissivity of the output coupler. The model used here is general enough to treat various cavity-QED effects, such as the Purcell effect, on-resonant or off-resonant cavity-enhanced Raman scattering, and vacuum-stimulated Raman adiabatic passage. A repumping process, where the atom is reused after its decay to the initial ground state, is also discussed.'↵author:↵- 'Hayato Goto,$^1$ Shota Mizukami,$^2$ Yuuki Tokunaga,$^3$ and Takao Aoki$^2$'↵title: 'Fundamental Limit on the Efficiency of Single-Photon Generation Based on Cavity Quantum Electrodynamics'↵---↵↵*Introduction*. Single-photon sources are a key component for photonic quantum information processing and quantum networking [@Kimble2008a]. Single-photon sources based on cavity quantum electrodynamics (QED) [@Eisaman2011a; @Rempe2015a; @Kuhn2010a; @Law1997a; @Vasilev2010a; @Maurer2004a; @Barros2009a; @Kuhn1999a; @Duan2003a] are particularly promising, because they enable deterministic emission into a single mode, which is desirable for low-loss and scalable implementations. Many single-photon generation schemes have been proposed and studied using various cavity-QED effects, such as the Purcell effect [@Eisaman2011a; @Rempe2015a; @Kuhn2010a], on-resonant [@Kuhn2010a; @Law1997a; @Vasilev2010a] or off-resonant [@Maurer2004a; @Barros2009a] cavity-enhanced Raman scattering, and vacuum-stimulated Raman adiabatic passage (vSTIRAP) [@Eisaman2011a; @Rempe2015a; @Kuhn2010a; @Vasilev2010a; @Kuhn1999a; @Duan2003a; @Maurer2004a].↵↵The overall efficiency of single-photon generation based on cavity QED is composed of two factors: the internal generation efficiency $\eta_{\mathrm{in}}$ (probability that a photon is generated inside the cavity) and the escape efficiency $\eta_{\mathrm{esc}}$ (probability that a generated photon is extracted to a desired external mode). The upper bounds on $\eta_{\mathrm{in}}$, based on the cooperativity parameter $C$ [@Rempe2015a], have been derived for some of the above schemes [@Rempe2015a; @Kuhn2010a; @Law1997a; @Vasilev2010a]. $C$ is inversely proportional to the total cavity loss rate, $\kappa=\kappa_{\mathrm{ex}}+\kappa_{\mathrm{in}}$, where $\kappa_{\mathrm{ex}}$ and $\kappa_{\mathrm{in}}$ are the external and internal loss rates, respectively [@comm

    Values
    TokenNegative-pole strength
    10.048
    00.066
    a0.050
    ].0.000
    $0.000
    C0.000
    $0.036
    is0.027
    invers0.000
    ely0.000
    proportional0.000
    to0.015
    the0.000
    total0.000
    cavity0.001
    loss0.061
    rate0.003
    ,0.056
    $\0.008
    k0.000
    appa0.000
    =\0.890
    k0.000
    appa0.000
    _{0.000
    \0.235
    mathrm0.000
    {0.047
    ex0.054
    }}0.292
    +\1.497
    k0.000
    appa0.000
    _{0.000
    \0.199
    mathrm0.000
    {0.044
    in0.000
    }}0.240
    $,0.000
    where0.000
  7. 1.42 … in order to show that I can actually do the differentiation term by term.↵↵A:↵↵You deal with a power series with radius of convergence $R=+\infty$ so you can differentiate term by term …
    All 227 tokens

    Q:↵↵Using M-Test to show you can differentiate term by term.↵↵I have the series $\sum_{n=1}^\infty \frac{\lambda^{n-1}n}{n!}=\sum_{n=1}^\infty \frac{d}{d\lambda}\big(\frac{\lambda^n}{n!} \big)$↵and I would like it to be $\frac{d}{d\lambda}\big(\sum_{n=1}^\infty \frac{\lambda^n}{n!})$.↵I'm trying to show that this sequence of functions converges uniformly on $(0,\infty)$ and so I'm trying the M-Test. So I need to find bounds $M_n$ for $\big|\frac{\lambda^n}{n!}\big|$, such that $\sum M_n$ converges.↵Thanks. This is in order to show that I can actually do the differentiation term by term.↵↵A:↵↵You deal with a power series with radius of convergence $R=+\infty$ so you can differentiate term by term.↵↵

    Values
    TokenNegative-pole strength
    in0.003
    order0.000
    to0.000
    show0.027
    that0.002
    I0.004
    can0.001
    actually0.037
    do0.004
    the0.000
    differentiation0.000
    term0.000
    by0.000
    term0.000
    .↵↵0.000
    A0.071
    :↵↵0.031
    You0.022
    deal0.000
    with0.035
    a0.000
    power0.000
    series0.000
    with0.000
    radius0.000
    of0.015
    convergence0.000
    $0.000
    R0.000
    =0.634
    +\1.423
    in0.000
    fty0.064
    $0.000
    so0.000
    you0.000
    can0.009
    differentiate0.000
    term0.000
    by0.000
    term0.005
  8. 1.22 … jump Lévy process with Lévy density $f$, then the function $f$ is such that $$\int_Af(x)dx=\frac{1}{t}{\ensuremath {\ …
    All 764 tokens

    ---↵abstract: 'The aim of this paper is to establish a global asymptotic equivalence between the experiments generated by the discrete (high frequency) or continuous observation of a path of a Lévy process and a Gaussian white noise experiment observed up to a time $T$, with $T$ tending to $\infty$. These approximations are given in the sense of the Le Cam distance, under some smoothness conditions on the unknown Lévy density. All the asymptotic equivalences are established by constructing explicit Markov kernels that can be used to reproduce one experiment from the other.'↵address:↵- '*Laboratoire LJK, Université Joseph Fourier UMR 5224 51, Rue des Mathématiques, Saint Martin d’Hères BP 53 38041 Grenoble Cedex 09*'↵- 'Corresponding Author,████████'↵author:↵- Ester Mariucci↵bibliography:↵- 'refs.bib'↵title: Asymptotic equivalence for pure jump Lévy processes with unknown Lévy density and Gaussian white noise↵---↵↵Nonparametric experiments,Le Cam distance,asymptotic equivalence,Lévy processes. 62B15,(62G20,60G51).↵↵Introduction↵============↵↵Lévy processes are a fundamental tool in modelling situations, like the dynamics of asset prices and weather measurements, where sudden changes in values may happen. For that reason they are widely employed, among many other fields, in mathematical finance. To name a simple example, the price of a commodity at time $t$ is commonly given as an exponential function of a Lévy process. In general, exponential Lévy models are proposed for their ability to take into account several empirical features observed in the returns of assets such as heavy tails, high-kurtosis and asymmetry (see [@tankov] for an introduction to financial applications).↵↵From a mathematical point of view, Lévy processes are a natural extension of the Brownian motion which preserves the tractable statistical properties of its increments, while relaxing the continuity of paths. The jump dynamics of a Lévy process is dictated by its Lévy density, say $f$. If $f$ is continuous, its value at a point $x_0$ determines how frequent jumps of size close to $x_0$ are to occur per unit time. Concretely, if $X$ is a pure jump Lévy process with Lévy density $f$, then the function $f$ is such that $$\int_Af(x)dx=\frac{1}{t}{\ensuremath {\mathbb{E}}}\bigg[\sum_{s\leq t}{\ensuremath {\mathbb{I}}}_A(\Delta X_s)\bigg],$$ for any Borel set $A$ and $t>0$. Here, $\Delta X_s\equiv X_s-X_{s^-}$ denotes the magnitude of the jump of $X$ at time $s$ and ${\ensuremath {\mathbb{I}}}_A$ is the characteristic function. Thus, the Lévy measure $$\nu(A):=\int_A f(x)dx,$$ is the average number of jumps (per unit time) whose magnitudes fall in the set $A$. Understanding the jumps behavior, therefore requires to estimate the Lévy measure. Several recent works have treated this problem, see e.g. [@bel15] for an overview.↵↵When the available data consists of the whole trajectory of the process during a time interval $[0,T]$, the problem of estimating $f$ may be redu

    Values
    TokenNegative-pole strength
    jump0.000
    L0.000
    é0.000
    vy0.060
    process0.000
    with0.000
    L0.000
    é0.000
    vy0.067
    density0.020
    $0.035
    f0.000
    $,0.000
    then0.000
    the0.009
    function0.000
    $0.055
    f0.000
    $0.001
    is0.156
    such0.000
    that0.014
    $$0.241
    \0.122
    int0.000
    _A0.000
    f0.000
    (x0.000
    )0.859
    dx0.000
    =\1.220
    frac0.156
    {0.053
    10.075
    }{0.142
    t0.000
    }{0.045
    \0.196
    ensure0.000
    math0.135
    {\0.126
  9. 0.85 … ), length(y)),↵ col='white',↵ xaxt='n', ↵ yaxt='n', ↵ ylim=c(max(y)+0.5, min(y)-0.5 …
    All 985 tokens

    Q:↵↵Conditional formatting: making cells colorful↵↵is it possible to do the following:↵loc1 <- c("Aa", "Aa", "aa", "Aa")↵loc2 <- c("aa", "aa", "aa", "AA")↵loc3 <- c("aa", "Aa", "aa", "aa")↵gen <- data.frame(loc1, loc2, loc3)↵↵loc1g <- c(0.01, 0.5, 1, 0.75)↵loc2g <- c(0.2, 0.1, 0.2, 0.6)↵loc3g <- c(0.8, 0.8, 0.55, 1)↵pval <- data.frame(loc1g, loc2g, loc3g)↵↵I want to print to a file to gen dataframe such way that is conditionally formatted by the pval dataframe. Means than (row1, col1) of gen color depends upon pvale (row1, col1). The following are color coding:↵0 to 0.3 is "red" text color ↵0.31 to 0.7 is "yellow"↵> 0.7 is "red" ↵↵gen[1,1] will be "Aa" printed in red text color and so on....↵appreciated your help. ↵EDITS:↵I am more interested in printing not plotting in graph. If I can save output as MS excel and open in MSEXCEL it would be great. I can also be other types of text editors format that can read color coded text. As my orginal data matrix should be of a dimension of 1000 x 1000 or even more. I would like to quicky know unlying p-value for each gen categories. ↵↵A:↵↵Sounds like you want to mimic Excel. Here are a couple examples:↵x = 1:ncol(pval)↵y = 1:nrow(pval)↵↵# Colored backgrounds↵dev.new(width=4, height=4)↵image(x, y, t(as.matrix(pval)),↵ col = c('red', 'yellow', 'red'),↵ breaks = c(0, 0.3, 0.7, 1),↵ xaxt='n', ↵ yaxt='n', ↵ ylim=c(max(y)+0.5, min(y)-0.5), ↵ xlab='', ↵ ylab='')↵centers = expand.grid(y, x)↵text(centers[,2], centers[,1], unlist(gen))↵↵ ↵# Colored text↵dev.new(width=4, height=4)↵image(x,y, matrix(0, length(x), length(y)),↵ col='white',↵ xaxt='n', ↵ yaxt='n', ↵ ylim=c(max(y)+0.5, min(y)-0.5), ↵ xlab='', ↵ ylab='')↵pvals = unlist(pval)↵cols = rep('red', length(pvals))↵cols[pvals>0.3 & pvals<=0.7] = 'yellow'↵text(centers[,2], centers[,1], unlist(gen), col=cols)↵grid(length(x),length(y))↵↵A:↵↵Giving a POC-like answer which is using an ugly loop and not the most beatiful design:↵Loading eg. the xlxs package to be able to write to Excel 2007 format:↵library(xlsx)↵↵Let us create a workbook and a sheet (see the manual!):↵wb <- createWorkbook()↵sheet <- createSheet(wb, "demo")↵↵Define some styles to use in the spreadsheet:↵red <- createCellStyle(wb, fillBackgroundColor="tomato", fillForegroundColor="yellow", fillPattern="BIG_SPOTS")↵yellow <- createCellStyle(wb, fillBackgroundColor="yellow", fillForegroundColor="tomato", fillPattern="BRICKS1")↵↵And the ugly loop which is pasting each cell to the spreadsheet with appropriate format:↵for (i in 1:nrow(pval)) {↵ rows <- createRow(sheet, rowIndex=i)↵ for (j in 1:ncol(pval)) {↵ cell.1 <- createCell(rows, colIndex=j)[[1,1]]↵ setCellValue(cell.1, gen[i,j])↵ if ((pval[i,j] < 0.3) | (pval[i,j] > 0.7)) {↵ setCellStyle(cell.1, red)↵ } else {↵ setCellStyle(cell.1, yellow)↵ }↵ }↵}↵↵Saving the Excel file:↵saveWorkbook(wb, '/tmp/demo.xls')↵↵Result: demo.xls↵↵Alternative solution with package ascii:↵ascii.data

    Values
    TokenNegative-pole strength
    ),0.186
    length0.000
    (y0.000
    )),↵0.000
    0.000
    col0.000
    ='0.026
    white0.112
    ',↵0.056
    0.000
    x0.000
    ax0.000
    t0.000
    ='0.089
    n0.013
    ',0.188
    ↵0.046
    0.000
    y0.000
    ax0.000
    t0.000
    ='0.114
    n0.007
    ',0.175
    ↵0.029
    0.000
    ylim0.000
    =c0.000
    (max0.000
    (y0.000
    )+0.852
    00.002
    .0.000
    50.000
    ,0.293
    min0.000
    (y0.005
    )-0.368
    00.000
    .0.000
    50.000
  10. 0.83 … graphics.moveTo(cx, cy - outerRadius);↵↵ for (i = 0; i < spikes; i++)↵ {↵ x = cx + Math.cos(rot) * outerRadius;↵ y …
    All 413 tokens

    var config = {↵ type: Phaser.AUTO,↵ parent: 'phaser-example',↵ width: 800,↵ height: 600,↵ scene: {↵ create: create↵ },↵};↵↵var game = new Phaser.Game(config);↵↵function create() {↵↵ var graphics = this.add.graphics();↵↵ drawStar(graphics, 100, 300, 4, 50, 50 / 2, 0xffff00, 0xff0000);↵ drawStar(graphics, 400, 300, 5, 100, 100 / 2, 0xffff00, 0xff0000);↵ drawStar(graphics, 700, 300, 6, 50, 50 / 2, 0xffff00, 0xff0000);↵}↵↵function drawStar (graphics, cx, cy, spikes, outerRadius, innerRadius, color, lineColor)↵{↵ var rot = Math.PI / 2 * 3;↵ var x = cx;↵ var y = cy;↵ var step = Math.PI / spikes;↵↵ graphics.lineStyle(4, lineColor, 1);↵ graphics.fillStyle(color, 1);↵ graphics.beginPath();↵ graphics.moveTo(cx, cy - outerRadius);↵↵ for (i = 0; i < spikes; i++)↵ {↵ x = cx + Math.cos(rot) * outerRadius;↵ y = cy + Math.sin(rot) * outerRadius;↵ graphics.lineTo(x, y);↵ rot += step;↵↵ x = cx + Math.cos(rot) * innerRadius;↵ y = cy + Math.sin(rot) * innerRadius;↵ graphics.lineTo(x, y);↵ rot += step;↵ }↵↵ graphics.lineTo(cx, cy - outerRadius);↵ graphics.closePath();↵ graphics.fillPath();↵ graphics.strokePath();↵}↵

    Values
    TokenNegative-pole strength
    0.017
    graphics0.075
    .moveTo0.028
    (cx0.091
    ,0.126
    cy0.000
    -0.253
    outer0.016
    Radius0.045
    );↵↵0.000
    0.023
    for0.001
    (0.039
    i0.037
    =0.208
    0.355
    00.000
    ;0.000
    i0.000
    <0.019
    spikes0.000
    ;0.041
    i0.000
    ++)↵0.028
    0.000
    {↵0.000
    0.000
    x0.000
    =0.359
    cx0.000
    +0.827
    Math0.000
    .cos0.011
    (rot0.077
    )0.199
    *0.000
    outer0.016
    Radius0.049
    ;↵0.025
    0.000
    y0.000
  11. 0.76 … , and is generally the factorial of 2, that is 1024 or 2048.↵ L max = ± N 4 �� …
    All 543 tokens

    1. Field of the Invention↵The present invention relates to particularly an optical coherence tomography apparatus including an interference optical system which is used in the medical field, an optical coherence tomography method, an ophthalmic apparatus, a method of controlling the ophthalmic apparatus, and a storage medium.↵2. Description of the Related Art↵Currently, various types of ophthalmic apparatuses using optical devices are used. Such apparatuses include, for example, an anterior ocular segment imaging apparatus, a fundus camera, and a scanning laser ophthalmoscope (SLO). Among them all, an optical coherence tomography (OCT) apparatus (to be referred to as an “OCT apparatus” hereinafter) is an apparatus capable of obtaining a high-resolution tomogram of an object to be examined. This OCT apparatus has been becoming an indispensable apparatus for dedicated retinal outpatient clinics.↵For example, the OCT apparatus disclosed in Japanese Patent Laid-Open No. 11-325849 uses low-coherent light as a light source. Light from the light source is split into measurement light and reference light through a splitting optical path such as a beam splitter. Measurement light is light to irradiate an object to be examined such as the eye through a measurement light path. Return light of this light is guided to a detection position through a detection light path. Note that return light is reflected light or scattered light containing information associated with an interface relative to the irradiation direction of light on the object. On the other hand, reference light is light to be guided to the detection position through a reference light path by being reflected by a reference mirror or the like. It is possible to obtain a tomogram of an object to be examined by causing interference between this return light and reference light, collectively acquiring wavelength spectra by using a spectrometer or the like, and performing Fourier transform of the acquired spectra. An OCT apparatus which collectively measures wavelength spectra is generally called a spectral domain OCT apparatus (SD-OCT apparatus).↵In an SD-OCT apparatus, a measurement depth Lmax is represented, as an optical distance Lmax, by a pixel count N of the image sensor of a spectrometer and a spectrum width ΔK of the frequency detected by the spectrometer according to equation (1). Note that the spectrum width ΔK is represented by a maximum wavelength λmax and a minimum wavelength λmin. The pixel count N is often an even number, and is generally the factorial of 2, that is 1024 or 2048.↵ L max = ± N 4 �� �� Δ

    Values
    TokenNegative-pole strength
    ,0.040
    and0.000
    is0.091
    generally0.008
    the0.003
    factorial0.000
    of0.060
    0.000
    20.000
    ,0.092
    that0.004
    is0.082
    0.086
    10.000
    00.058
    20.000
    40.000
    or0.000
    0.226
    20.087
    00.086
    40.001
    80.095
    .↵0.000
    0.007
    0.021
    L0.000
    0.030
    max0.000
    0.000
    =0.759
    0.013
    ±0.036
    0.000
    N0.000
    0.000
    0.298
    40.000
    0.032
    �0.113
    �0.000
  12. 0.75 … <names.length;i++) {↵ name = names[i];↵↵ exists=false;↵↵ if (name.contains(".zip")) {↵↵ if (filename.length == 0) {↵ new_file = new FileOutputStream …
    All 591 tokens

    Q:↵↵How to check if file exist when downloading from FTP↵↵I'm downloading from FTP server and I don't know exactly how to check if file already exist. What I want to do is that I retrieve filname from FTP server and then compare it with all files in folder. If file already exists then it compares next FTP filename with all files in folder and so on. ↵I already did comparison and it's working if all files from folder have same name as files on FTP server but if I add some older file then it downloads all files once again and I don't want that. ↵Here is my scratch code:↵String[] names = client.listNames();↵ File folder = new File("c:\\test\\RTR_ZIP\\");↵ String[] filename = folder.list();↵↵ for (;i<names.length;i++) {↵ name = names[i];↵↵ exists=false;↵↵ if (name.contains(".zip")) {↵↵ if (filename.length == 0) {↵ new_file = new FileOutputStream("C:\\test\\RTR_ZIP\\" + name);↵ client.retrieveFile(name, new_file);↵ j++;↵ exists=true;↵ } else {↵ for (;k<filename.length;k++) {↵ name = names[i];↵ i++;↵ name1=filename[k];↵ // CHECK IF FILE EXISTS↵ if (!name.equals(name1)) {↵ new_file = new FileOutputStream("C:\\test\\RTR_ZIP\\" + name);↵ client.retrieveFile(name, new_file);↵ j++;↵ exists=true;↵ } ↵ }↵ }//else↵ }//if contains .zip↵ }//for↵↵Thanks in advance. ↵↵A:↵↵If your ftp server supports XCRC command it could be possible to compare checksum (CRC32) of local and remote file.↵You could iterate all files in the folder and compare its crc with local one.↵import java.io.File;↵import java.io.IOException;↵import java.net.SocketException;↵import java.util.Scanner;↵↵import org.apache.commons.io.FileUtils;↵import org.apache.commons.net.ftp.FTPClient;↵↵public class DownloadFile {↵↵ private FTPClient client = new FTPClient();↵↵ public void connect() throws SocketException, IOException {↵ client.connect("127.0.0.1");↵ client.login("user", "password");↵ }↵↵ public boolean hasXCRCSupport() throws IOException {↵ client.sendCommand("feat");↵ String response = client.getReplyString();↵ Scanner scanner = new Scanner(response);↵ while(scanner.hasNextLine()) {↵ String line = scanner.nextLine();↵ if(line.contains("XCRC")) {↵ return true;↵ }↵ }↵ return false;↵ }↵↵ public boolean isSameFile() throws IOException {↵ if(hasXCRCSupport()) {↵ File file = new File("D:/test.txt");↵ String localCRC = Integer.toHexString((int) FileUtils.checksumCRC32(file))

    Values
    TokenNegative-pole strength
    <0.082
    names0.094
    .length0.000
    ;i0.000
    ++)0.108
    {↵0.000
    0.001
    name0.000
    =0.275
    names0.038
    [i0.254
    ];↵↵0.001
    0.000
    exists0.000
    =false0.000
    ;↵↵0.004
    0.009
    if0.000
    (0.170
    name0.000
    .contains0.000
    (".0.028
    zip0.000
    "))0.080
    {↵↵0.009
    0.000
    if0.000
    (0.194
    filename0.000
    .length0.000
    ==0.747
    0.456
    00.014
    )0.219
    {↵0.002
    0.004
    new0.000
    _file0.000
    =0.334
    new0.000
    FileOutputStream0.000
Read more

Each token is shaded by negative-pole strength, as a fraction of the neuron's max activation. Each window shows up to 30 tokens before the peak and 10 after it.

Explanation scores on held-out text

How well a judge with only the hypothesis predicts the unit on new text. 0.5 is chance.

Read more

The judge reads 32-token windows of corpus text that the proposer never saw. Detection: it picks the windows that activate the unit. Fuzzing: it checks whether the marked tokens are the active ones. Recorded, not gated.

Detection
1.00
Fuzzing
0.50
Embedding AUROC
0.80

Detection recall by activation strength

1.00
1.00
1.00
1.00
1.00
weakeststrongest

False alarms on inactive windows: 0%.

Judge
muse-spark-1.3
Held-out windows
10 active of 4,000
Judged
10 detection · 7 fuzzing
Detection outcomes
0 missed · 0 false alarm · 5 hit · 5 correct rejection
Seed
2796093917 · HuggingFaceFW/fineweb-edu@87f09149 (sample/10BT/*.parquet, 500 docs, seed 0)
Detection windows (10), the explanation's mistakes first
  1. hit 2.57 · sim 0.10 )^2 dx from x = -1 to x = 1↵= π∫(x^6 + 2x^3 + 1) dx
  2. hit 2.43 · sim 0.15 ^2 + 2x)^2 ) dx from -1 to 0 + π∫( (2x^2 + 2x)^2 -
  3. hit 1.90 · sim 0.13 (x^3 + x^2)^2 ) dx from 0 to 2↵- Calculus - Hannah, Tuesday, May 21,
  4. hit 1.27 · sim -0.01 + 2)= 16π/7↵y = 1/x↵so y^2 = 1/x^2↵V = π∫
  5. hit 0.97 · sim 0.05 C (8,-3), and D (-3, -3). Prove: Quadrilateral ABCD is a...↵- why did jacques cartier start
  6. correct rejection 0.33 · sim 0.03 ethno-semantic, discursive, and institutional data to flesh out the interplay between religious, scientific, and official discourses about the river Ganga.
  7. correct rejection 0.22 · sim 0.04 medicine?↵- to increase red cell mass in anemic animals↵- a temporary fix for regenerative anemia↵What do RBCs carry that makes it
  8. correct rejection 0.22 · sim 0.05 phase (0.5 deg.) responses that are benefits of the tight module packaging. The company also offers the MAMUSM0008 digital switched
  9. correct rejection 0.14 · sim 0.00 wind farm, a total of nine 110 meter General Electric turbines will begin whirring in September and are expected to cover 3 percent of its
  10. correct rejection 0.10 · sim 0.01 search is on for underutilized sources of water, and stormwater is one such source. As stormwater has high volumes of water with low levels of nutrients
Fuzzing windows (7), dashed tokens were marked for the judge
  1. marks right · judged wrong 3) Find the area bounded by the curves f(x)= x^3 + x^2 and g(x)= 2x^2 + 2x
  2. marks right · judged wrong (x^2 - x - 2) = 0↵x(x-2)(x+1) = 0↵they intersect at x = -
  3. marks right · judged wrong y=1/x and the lines x=pi/8 and x=pi/2 around the x-axis.↵I got 6/pi for this one.↵
  4. marks wrong · judged wrong x^3 + 1 = 0↵x = -1 ---> this becomes our left boundary↵Volume = π∫(x^3 + 1
  5. marks wrong · judged wrong π ( -2/π - (-8/π)↵= -2+8 = 6↵#3, first you need the intersection:↵x^
  6. marks wrong · judged wrong after the district in which the Jews were living, Garnatha Al Yahud. In 1013 the capital of the area transferred from Cordova to
  7. marks wrong · judged wrong ries. Unlike sweet cherries, most sour varieties are too tart to eat raw, but they are excellent in pies and preserves. Varieties of sour cherries

Activation and mechanism

Activation distribution

[0, 0.109): 197964 [0.109, 0.217): 11490 [0.217, 0.326): 1322 [0.326, 0.435): 265 [0.435, 0.544): 196 [0.544, 0.652): 170 [0.652, 0.761): 201 [0.761, 0.87): 154 [0.87, 0.979): 101 [0.979, 1.09): 99 [1.09, 1.2): 71 [1.2, 1.3): 37 [1.3, 1.41): 24 [1.41, 1.52): 25 [1.52, 1.63): 27 [1.63, 1.74): 28 [1.74, 1.85): 18 [1.85, 1.96): 10 [1.96, 2.07): 10 [2.07, 2.17): 2 [2.17, 2.28): 4 [2.28, 2.39): 6 [2.39, 2.5): 2 [2.5, 2.61): 0 [2.61, 2.72): 0 [2.72, 2.83): 0 [2.83, 2.94): 0 [2.94, 3.04): 0 [3.04, 3.15): 3 [3.15, 3.26): 3 0.00 3.26

Negative-pole strength per token; bar height is log(1 + count).

Mechanism

Claimed retrospective: responds to tokens already in context.

Vocabulary projection

The tokens that this unit's output raises and lowers most.

Jacobian lens Logit lens
Promotes =""; 🏽藕ricklex))){ CW🏼 ärenvasfloworelesematics故事 narratives
Suppresses 民航机场 aviation airport Airport起飞下车 )./.MODEeilFormatException璜ConfigurationException(ConfigurationManager潢

This record predates vocabulary z-scores, so the tokens are listed without bars.

Top-10 overlap 0% · cos(w, J·w) 0.12 · kurtosis 3.6 (Jacobian) / 3.2 (logit) · 100 prompts

Read more

The output direction is read through the final norm and the unembedding. The Jacobian lens first carries it to the last layer. Bar length is the token's z-score over the vocabulary, and ␣ marks a space. A kurtosis near 3 means no specific set of tokens.

Wiring

The units that write most directly into this pole (upstream) and read most directly from it (downstream).

Read more

"Directly" means along the residual stream, through no other unit. Linked units have pages in the registry. Reported, not gated.

From activations. Averaged over this pole's peak on 15 of the review's prompts where it fired. Upstream: the first-order change in its strength when a unit's direct write is removed (+ excites). Downstream: the change in a later unit when this pole's write is removed from that unit's input alone (one of Q, K or V for a head).

From activations

Upstream neurons
L0/N2140 +0.149
L0/N229 +0.0862
L0/N1993 -0.0637
L0/N1982 -0.0492
L0/N1216 -0.0485
L0/N2764 +0.0427
L0/N732 -0.0417
L0/N3866 -0.0382
L0/N4432 +0.0371
L0/N1461 -0.0347
Upstream heads
L1/H12 -0.191
L1/H5 -0.127
L1/H10 -0.12
L1/H13 -0.0989
L1/H2 -0.0974
L1/H8 +0.0665
L1/H7 +0.0584
L0/H1 -0.0502
L1/H9 -0.0425
L1/H6 +0.0422
Downstream neurons
L5/N359 +0.329
L23/N3383 -0.322
L21/N2930 +0.255
L6/N1415 +0.234
L21/N2940 +0.208
L23/N2777 +0.2
L7/N1241 +0.199
L23/N2505 +0.193
L7/N4603 +0.189
L22/N3035 -0.188
Downstream heads

Not measured.

Covariance and confounds

Confounds

Token identity R²
0.55
Position R²
0.13
Frequency r
0.05
Best trivial baseline
token identity · 0.81
Hypothesis
1.00 ✓

+\ +=\)+ \+- ==−bb}\} -

Co-activating neuron poles

Pole Lift ≥ Both ρ r
N538− 41.1 250 +0.06 -0.23
N1122− 37.4 229 -0.03 -0.11
N99+ 36.5 224 +0.01 +0.10
N299+ 35.9 218 -0.03 +0.16
N2119− 34.6 213 +0.04 -0.17
N1462− 34.0 210 +0.03 -0.08
N2037+ 33.9 209 +0.06 +0.16
N542+ 33.5 207 +0.04 +0.10
N2336+ 33.2 205 +0.08 +0.22
N1567+ 33.2 205 +0.02 +0.18
Read more

Ranked by the 95% lower bound of co-activation lift: how much more often a pole fires when this one does, with chance coincidences discounted. ρ ranks the values, so heavy tails don't sway it.

Joint ablation

Partners
N538, N1122, N99
KL pole alone
2.47e-04
KL partners
3.28e-04
KL together
5.97e-04
Redundancy ratio
1.09

The partners don't change the pole's effect much.

Run details

Submitted by
deepseek-flash
Reviewed by
muse-spark-1.3
Reviewed at
2026-10-28 20:47 UTC
Max activation
3.2624
Selection
random (seed 1816969094)
Corpus
corpus.jsonl · 212,232 tokens · source NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs) (inferred) · licence bigscience-bloom-rail-1.0
Model revision
060db6499f32 · float32
Ran on
scan cpu · review mps:0
Run cost
3.8 min (slowest: judge, 2.3 min) · 3 LLM calls