Skip to content
easyvibecodingPublic

About

Personal mathematics research, proofs, and reproducible experiments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Math

English · 繁體中文

Research checks

A workspace for ongoing mathematics research. Each topic has a directory with a README linking to manuscripts, proofs, experimental results, and reproduction commands.

Research

Topic Results and verification
Incremental multi-keyword search from edit intervals With edit records available, exact overlapping counts for 48 patterns on six SQLite and CPython files are 24.1–42.5× faster than the fastest full scan. Paper · Lean 4 proof
Exact shortest paths under temporary road closures Across three original road networks with 32 road changes per query, the method is 2.92–3.62× faster than bidirectional ALT using the same landmarks. Paper · Lean 4 proof
Faster SQL equijoin counts with shared cutoffs On real Divvy records, shared-cutoff queries are 1.76–6.19× faster than the fastest native baseline, including index construction. DuckDB checks individual results. Paper · Lean 4 proof
Orthogonal embeddability in three dimensions Integrates the projective and repeated-direction hardness proofs for CG-Open16. Distinct directions are $\exists\mathbb R$-complete on connected bipartite graphs without four-cycles. The paper also treats distinct unit vectors, arbitrary lengths, zero vectors, and faithful representations. Paper · Lean 4
Orthogonal realization spaces Any finite-type algebraic singularity occurs up to smooth equivalence on a connected bipartite graph without four-cycles. A 21-vertex graph forces a square root of 2 and refutes the cubic grid conjecture. Paper · Lean 4
Hermitian orthogonality and qutrit measurements Complex Hermitian ray embeddability is $\exists\mathbb C$-complete on connected bipartite graphs without four-cycles. Exact certificates give a coordinate bound of five and a 36-basis optimum in a fixed measurement menu. A promised Fano chain has a quadratic quantum query separation. Paper · Lean 4
Exact affine realizations under sparse interventions Hidden edits obey projection constraints. Grounded stars separate symmetric and nonsymmetric state dimensions by an unbounded ratio. Lean 4
Optimal approximate realizations under sparse edits A deterministic calibrated model uses 257 states for 4,096 branches and guarantees at most 4.26% voltage error on every pair. Lean 4 · IBM results
Complexity of minimum-dimensional sparse realizations Orders one and two are polynomial-time decidable. Order three is NP-complete with an all-visible center pin. Rational rank-two PSD completion has a polynomial certificate. Lean 4
Rank-two PSD completion over rational data An NP certificate for real rank-two completions and NP-completeness even on one cycle. It also gives NP-completeness of exact zero testing for the Laurent–Mascarin–Telen cycle polynomial. Paper · Lean 4
Exact counting on high-girth planar graphs One query still suffices when the planar bipartite query graph must stay connected after deleting any one vertex. A compact variant preserves a linear bound on $N/g$. Biconnected reduction · Earlier follow-up
Selected-output Laplacian solves on long paths Branching patches can be solved exactly with a fixed exterior network. On IBM PG2 with 768 edge changes per scenario, patch refactorization is 6.07× faster than CHOLMOD updates on the same condensed patch. A graph theorem also determines the generic minimum dimension of the response space. Hybrid routing on the generated PG2 mix is 1.82–1.85× faster than the best nominal-reference strategy. The affine-order formula for independent edits specializes earlier results. A shared scale on 512 conductances and four overrides is 2.93–2.99× faster than the fastest of eight selected-output baselines on PG2. Shared-scale study and AMPS · Hybrid routing · Native decision timings · Branching patches · Earlier follow-up On a grounded star with $m$ branches, the minimum affine order jumps from one for singleton queries to $m$ for all pairs. Sparse-edit paper, revision 3 · Lean 4 reduction from bounded real arithmetic
Joint edits in feedforward circuits Visible independent edits admit exact pairwise recovery, and anchored shared edits admit optimal fourth-order recovery. Held-out tests cover two released Transformers. With silent independent edits, binary queries can require exponentially many measurements. Graded queries achieve quadratic acquisition at the sharp support cap. Original paper · Shared-weight study · Silent-edit recovery
Sudoku candidate counts, girth, and second solutions Girth and second solutions · Candidate compression and #SAT · Sharp girth bounds and global support. See the Lean 4 proofs and reproduction guide.

The high-girth counting and selective-solve studies both start from unbranched paths. The counting construction lengthens edges to control girth. The solver compresses paths and then recovers the requested entries.

To continue a study, start with its README and reproduction commands. Research workflow

Verification and builds

The research manuscripts are credited to Chia Chuan Hsu (許嘉銓) and GPT-6.2 Sol. The three Sudoku papers and their original commit history are in research/sudoku-girth. GitHub Actions builds the Lean libraries, audits theorem dependencies, reruns native, Sudoku, and selected-voltage checks, and rebuilds and uploads the manuscripts as PDFs.

Reproduce the project

The same checks run on Ubuntu 24.04 and macOS. Windows users can run the Ubuntu steps inside WSL 2.

Ubuntu 24.04

Install the compiler, Python, TeX, and the Traditional Chinese font.

sudo apt-get update
sudo apt-get install -y --no-install-recommends \
  build-essential ca-certificates curl git python3 python3-venv \
  unzip xz-utils texlive-xetex texlive-pictures texlive-fonts-recommended fonts-noto-cjk

Windows with WSL 2

From an administrator PowerShell, install Ubuntu 24.04. After installation, check that it runs as WSL version 2. Open Ubuntu, clone the repository inside its Linux home directory, and follow the Ubuntu steps. Install WSL · WSL file locations

wsl --install -d Ubuntu-24.04
wsl --list --verbose

macOS

Use the Xcode Command Line Tools for the C++20 compiler. If needed, install them with xcode-select --install. With Homebrew, install Python, XeLaTeX, and the same font used by Ubuntu.

brew install python@3.12
brew install --cask mactex-no-gui font-noto-serif-cjk-tc
export PATH="/Library/TeX/texbin:$PATH"

Verify and build

Install Elan and make lake available in your shell. The repository's lean-toolchain selects the Lean version. From the repository root, run the following to build and audit the Lean proofs, run the native and Sudoku verifiers, and write the manuscript PDFs to the output directory. Lean installation

paper_output="$(mktemp -d)"
bash scripts/reproduce.sh "$paper_output"

For the full experiments, create a Python 3.12 environment from the repository root and activate it before entering a topic directory.

python3.12 -m venv .venv
. .venv/bin/activate
python -m pip install -r requirements.txt

The topic READMEs give dataset downloads and experiment commands. The Laplacian setup also builds the CHOLMOD, MUMPS, and NetworKit bridges. Published timings record the hardware used for those runs.

About

Personal mathematics research, proofs, and reproducible experiments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages