Experimental AI workflows, profiling constraints, computational acceleration strategies, and formula discovery algorithms. USE FOR: parameter searches, reinforcement learning for formula discovery, performance optimization, benchmarking, C extension writing, high-precision computation, symbolic computation with SymPy/Mathematica/RISC tools, formula harvesting from literature.
As the AI Scientist, your responsibility is to explore the unmapped space of valid constant-generating equations using brute force and intelligent heuristics, and to build high-performance evaluation engines.
EfficientGCFEnumerator class.ESMA/ directory.euler2ai repo implements an algorithm that discovers equivalences between formulas via coboundary transformations and folds. This can unify formulas under a single CMF.euler2aiRamanujanMachine/Blind-Delta-Algorithm repo.RamanujanMachine/LIReC for finding relations between constants.These are just starting points — the space of algorithmic approaches is vast. New search strategies, heuristics, and acceleration methods should be continually explored.
__int128 for 128-bit intermediate products. A C inner loop gives 10–100× over Python.multiprocessing with freeze_support() on Windows. Spawn-based pools only. Each worker should be independent with zero communication when possible.ramanujantools library supports batched walk/limit computation — use it instead of single-iteration loops.gmpy2: For big-integer-heavy workloads, gmpy2 wraps GMP and provides 3–10× over Python int for large numbers.Guess: Finds recurrences from sequence dataHolonomicFunctions: Zeilberger's algorithm, creative telescopingSigma, EvaluateMultiSums: Advanced summationramanujantools: The group's own library — PCF, CMF, LinearRecurrence, limit computation, asymptotics. Install via pip install ramanujantools.RamanujanMachine/ASyMOB — useful for benchmarking symbolic computation approaches.mpmath).cProfile, line_profiler, or timeit to identify actual bottlenecks before writing C or rewriting algorithms.mpmath.mp.dps to at least 2× the number of digits you need. Never use Python float for verification of mathematical formulas.| Principle | Action |
|---|---|
| Measure first | Profile code before optimizing. Identify the actual hot path. |
| Algorithmic complexity | Prefer better algorithms over micro-optimization. |
| C for inner loops | Write C extensions for tight numerical loops (matrix products, modular arithmetic). |
| Memory layout | Cache-friendly sequential access patterns beat random access. |
| Avoid Python overhead | Minimize object creation in tight loops. Use NumPy or C for bulk operations. |
| Test at scale | A method that wins at $N=100$ may lose at $N=10000$. |