Skip to content

Instantly share code, notes, and snippets.

View alreadydone's full-sized avatar

Junyan Xu alreadydone

View GitHub Profile
@matthen
matthen / README.md
Last active August 24, 2026 17:44
Genus-291 toroidal polyhedron by Squilliams - V=1770, E=6600, F=4250 (chi = -580)

Genus-291 toroidal polyhedron

Model by Squilliams.

V=1770, E=6600, F=4250 (chi = -580, genus 291).

@littledivy
littledivy / SEARCH_FINDING.md
Created July 20, 2026 07:08
Search finding: the -2 constant-Jacobian non-injective map is Vitushkin's classic 'fake counterexample' to the Jacobian Conjecture

The "-2 Jacobian" non-injective map — what a search turns up

Search query: Jacobian conjecture fake counterexample constant Jacobian -2 non-injective

The hit: Vitushkin's classic example

A map with Jacobian determinant exactly −2 that is not injective is a well-known "trick" example, usually attributed to Vitushkin:

@Spacerat
Spacerat / 11varcubicjacobiancounter.py
Created July 20, 2026 06:58
11 variable cubic jacobian conjecture counterexample
#!/usr/bin/env python3
r"""
AN EXPLICIT DEGREE-3 JACOBIAN COUNTEREXAMPLE IN 11 VARIABLES
============================================================
Result
------
This file gives an explicit polynomial map
@Andrewp2
Andrewp2 / FUTURE_OF_MATHEMATICS.md
Created May 12, 2026 07:46
The future of mathematics

Question:

There are many here who both believe that soon AI will be superhuman at maths, solving all Millenium problems and beyond, and yet also reject any claims that maths is 'dead', and believe that mathematics will thrive.

I'm curious, for those people, what is maths in that future?

Answer:

First of all, let me state that I'm not sure that I am one of those people who believe that mathematics will thrive in the near or far future, but this has been on my mind for some time and I figured I would get out my own thoughts on the issue.

@jsmorph
jsmorph / armstrong-kempe-instructions.md
Last active April 9, 2026 19:01
Some math formalization guidelines based on Armstrong and Kempe
@kim-em
kim-em / zen-lana-gist.md
Last active April 17, 2026 21:56
ZEN Mathematics Center LANA Project announcement (2026-03-31) — Lean formalization of anabelian geometry & IUT theory verification

ZEN Mathematics Center: New Project "LANA" Announcement

ZEN大学「ZMC(ZEN Mathematics Center; ZEN数学センター)」新プロジェクト「LANA」の発表

  • Date: March 31, 2026
  • Video: https://www.youtube.com/live/b9ZV-4T3iUo
  • Duration: 1h 24m (first ~11 minutes are pre-stream holding screen)
  • Language: Japanese (with some English from online participants, consecutively translated)

English Summary

#!/usr/bin/env python3
"""
Reconstruct the true PutnamBench SOTA timeline by combining:
1. Git commit history of results.json (for models added in real time)
2. Manual corrections for models whose paper/announcement dates differ
from when they were added to the leaderboard.
Saves CSV and generates a plot.
"""
@karpathy
karpathy / microgpt.py
Last active September 8, 2026 16:24
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@FaffyWaffles
FaffyWaffles / RobinsStirlingBound.lean
Created October 30, 2025 14:11
This file proves the sharp Robbins bound for successive differences in the logarithm of the Stirling sequence: |log(stirlingSeq(k+1)) - log(stirlingSeq(k))| ≤ 1/(12*k*(k+1))
import Mathlib
open scoped BigOperators
open Filter
open scoped Nat
namespace Real
/-
============================================================
@llllvvuu
llllvvuu / nesterov.lean
Last active October 28, 2025 12:31
Cleaned up to target Mathlib v4.24.0. @Aristotle-Harmonic proof following https://x.com/ErnestRyu/status/1980759528984686715
import Mathlib
set_option linter.style.longLine false
open Set Filter Topology RealInnerProductSpace Gradient
variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] (f : V → ℝ) (X : ℝ → V) (r : ℝ)
def minimizers : Set V := {x | IsMinOn f Set.univ x}