Procedure is not subject
Tactic unigrams and bigrams model proof style; explicit premises and namespaces model mathematical domain.
A sequence of experiments asks how much structure survives the map \(\text{theorem} \longleftrightarrow \text{proof}\), then tests that structure in kernel-verified Lean generation.
Each experiment tightens the question: first distinguish structures, then measure their local relationship, then test whether the relationship is useful.
Tactic unigrams and bigrams model proof style; explicit premises and namespaces model mathematical domain.
Statement and proof clusters differ, yet nearby statements have measurably more-similar recorded proofs.
Four retrieval conditions share the same held-out targets; every candidate is checked in its pinned Lean context.
Explore 1,940 tactic proofs in a dependency-free 3-D viewer. Switch between style and domain coloring, compare PCA with t-SNE, search theorem names and files, and inspect proof scripts.
Frozen settings, machine-readable artifacts, exact prompts, verifier output, analysis code, and full interpretations live together.
| Experiment | Scale | Question | Status |
|---|---|---|---|
| Original topic study | 1,940 proofs | Which tactic styles and premise domains recur? | Complete |
| Large-sample replication | 10,000 proofs | Does weak style/domain alignment survive scale? | Complete |
| Semantic embeddings | 10,000 pairs | How do statement, proof, and joint spaces align? | Complete |
| Neighborhood transfer | 10,000 pairs | Do nearby statements have nearby recorded proofs? | Complete |
| Generation pilot | 100 targets | Does relevant retrieval improve verified generation? | Complete |
Five standalone PDFs present the experiment sequence and connect it to proof theory, formal-library networks, representation learning, retrieval-guided theorem proving, and the infrastructure–isolation pattern.