Gamma RecurrenceGamma Density
Projects
4 projects
local session · saved
Projects
This is a shared math whiteboard for you and an AI tutor. The tutor reads the same page and can change every object on it.
AttentionGradient Step
Barycentric CoordinatesSpiral Similarity
SimplexInteger Partitions
Gamma Function · Gamma Recurrence3 objects
Don’t finish it. Mark the exact place my reasoning breaks.
Γ(9/2) = ∫₀∞ x⁷ᐟ²e⁻ˣ dx = [−x⁷ᐟ²e⁻ˣ]₀∞ − (7/2)Γ(7/2)
Gamma Function · Gamma Density3 objects
Tiny Transformer · Attention2 objects
One head, two-dimensional embeddings. Every value on this card is recomputed from the matrices you edit.
TINY TRANSFORMER · ONE HEAD · 2-D EMBEDDINGS
Attention is a weighted sum
SOFTMAX WEIGHTS αderivedΣ α = 1.000
α₀ · x₀0.267
α₁ · x₁0.534
α₂ · target0.199
EMBEDDINGS e · CLICK A TOKEN TO QUERYeditable
target
query
TEMPERATURE T
TARGET
SCORES → SOFTMAXderived
| token | q·kⱼ/√2 | + log wⱼ | ÷ T | αⱼ |
|---|---|---|---|---|
| x₀ | 0.155 | -1.236 | -1.081 | 0.267 |
| x₁ | 0.298 | -0.684 | -0.386 | 0.534 |
| target | 0.212 | -1.585 | -1.372 | 0.199 |
CONTEXT c derived[0.103, 0.497]
LOSS derived1.006−log p(target), p = 0.366
derived
x₀0.307
x₁0.366
target0.327
Tiny Transformer · Gradient Step2 objects
A tiny transformer training step: one numerical gradient on the visible parameters, never frontier-model training.
TINY TRANSFORMER · GRADIENT STEP
One honest training step
STEP0η —
RATE η editableline search starts here, halves until it improves
TARGET · QUERYx₁query target · shared with the attention card
LOSS derived1.006awaiting a step
P(TARGET) derived0.366awaiting a step
OUTPUT p derivedΣ p = 1.000
x₀0.307
x₁0.366
target0.327
LOSS · 1 point1.006
P(TARGET) · 1 point0.366
WEIGHTS BEFORE → AFTER · SINCE STEP 0at step zero
W_Q
0.82→0.82-0.18→-0.180.22→0.220.74→0.74
W_K
0.68→0.680.28→0.28-0.16→-0.160.76→0.76
W_V
0.64→0.64-0.24→-0.240.18→0.180.7→0.7
Olympiad Geometry · Barycentric Coordinates2 objects
Olympiad Geometry · Spiral Similarity4 objects
Two circles tangent at O. Drag A.
Drag A, B, C or O. Mapped points, tangent circles, ratios and equal angles recompute.
Simplex and Partitions · Simplex2 objects
4-weight probability simplex · perspective projection
Tetrahedral probability
Simplex and Partitions · Integer Partitions2 objects
Integer partitions · finite Euler product
Lattice points become partition coefficients
lattice point · N = 5(1, 2, 1, 1)one of L₃(5) = 56 tuples
partition of 5 · ≤ 4 parts2 + 1 + 1 + 156 tuples ≠ p(5) partitions
finite Euler product, m ≤ 14coefficients below are computed here
Ferrers · 5 cells
p(9) = 30n ≡ 4 (mod 5) · theorem lane
n ≡ 0 (mod 5)
p(0)1≡ 1p(5)7≡ 2p(10)42≡ 2
n ≡ 1 (mod 5)
p(1)1≡ 1p(6)11≡ 1p(11)56≡ 1
n ≡ 2 (mod 5)
p(2)2≡ 2p(7)15≡ 0p(12)77≡ 2
n ≡ 3 (mod 5)
p(3)3≡ 3p(8)22≡ 2p(13)101≡ 1
n ≡ 4 (mod 5)
p(4)5≡ 0p(9)30≡ 0p(14)135≡ 0
selectright-drag to pan
100%