Research

This work began as a programming project, openclare, an open-source quad remesher, and became research when engineering alone could no longer tell which results could be guaranteed and which computations could be saved.

The method

The author of these papers comes from software engineering, and did not change habits on moving to research: a statement is treated there like code, written, tested and attacked before it is believed. Each of the five steps below takes up a practice of that trade, and continuous integration replays them all at every change. Where each paper stands is shown under it, in the two papers.

Step 1

Lean first

Why Formal code is the only source of truth; the prose only explains it.

How Each statement is written and proved in Lean 4 with Mathlib, with Lean's three standard axioms only and no proof left open.

From software engineering The source is authoritative, the documentation follows it.

Step 2

Known cases and edge cases

Why A statement must hold where the answer is known, and at its limits.

How Examples whose answer is known, such as the cube and the sphere, and degenerate cases, checked by computation in Lean itself.

From software engineering Unit tests.

Step 3

Random tests

Why Chance finds the cases nobody thought of.

How T-meshes drawn at random, built without the engine, checked against the Lean definitions statement by statement.

From software engineering Property-based testing.

Step 4

Screening

Why A test that cannot fail is blind, and a theorem that constrains nothing proves nothing.

How Alter a definition: the theorem that certifies it must break. Remove a hypothesis: the proof must break, or the hypothesis was not needed.

From software engineering Mutation testing.

Step 5

The prose

Why The paper is an interface: it makes the proof readable, it adds nothing.

How Each statement of the paper is written from its Lean source and points to the theorem that carries it.

From software engineering Documentation generated from the code.

At every change

Continuous integration

Why Infrastructure replaces trust: a regression shows at once, without anyone looking for it.

How Every change rebuilds the proofs on a pinned Mathlib and runs the tests again; a step that breaks blocks the merge.

From software engineering Continuous integration.

The two papers

Paper A · applied Draft · not peer reviewed

Closing Edge Loops at Quantization Time: Helix Constraints for T-Mesh Quantization

Progress

30 %3 / 10 tasks

  1. Draft
  2. Lean written2/2
  3. Edge cases1/2
  4. Random tests0/2
  5. Mutation screening0/2
  6. Prose from Lean0/2
  7. Preprint

Counted by evidence.py on 2026-12-01 15:29 UTC, commit 4c6d527.

Automatic quad remeshing often produces edge loops that wind round a part of the shape as helices instead of closing into rings. Bommes et al. remove such q-helices from a finished mesh; we prevent them where the integer structure of the mesh is decided, in the quantization of a T-mesh.

PDF · English · 18 p. PDF · français · 20 p. LaTeX source

The French version is a best-effort translation; the English one is authoritative.

Figure 3 of paper A: the male body at 10,590 quads asked for, by openclare without closing, by openclare with closing, by hand and by QuadriFlow, spiral loops in vermillion
Figure 3 · spiral loops in vermillion, closed loops in dark blue

Paper B · theory Draft · not peer reviewed

Turns of a T-Mesh: Obstructions to Closing Edge Loops

Progress

22 %42 / 190 tasks

  1. Draft
  2. Lean written30/38
  3. Edge cases2/38
  4. Random tests10/38
  5. Mutation screening0/38
  6. Prose from Lean0/38
  7. Preprint

Counted by evidence.py on 2026-12-01 15:29 UTC, commit 4c6d527.

In the quantization of a T-mesh, an edge loop closes into a ring when a turn, a straight walk across the patches that returns to its first side, has zero shift, an integer linear form in the arc lengths; otherwise it winds as a helix. We study why turns cannot all be closed.

PDF · English · 26 p. PDF · français · 29 p. LaTeX source

The French version is a best-effort translation; the English one is authoritative.

Figure 2 of paper B: a dislocation between two parallel turns; the lower turn closes into a ring, the upper one winds as a helix
Figure 2 · a pair of vertices of valence 3 and 5: below it the turn closes into a ring (shift 0), above it the turn winds as a helix (shift 2)

AI assistance

Both papers and the software they describe were made by a human author working with AI systems, which are not authors. Following the practice recommended by ACM and by Nature, each paper states how the work was divided.

The human author made his method a process of doubt. An AI writes fast and with confidence, including what is false. Rather than believe the text, the author required every statement to pass the five steps of the method: written in Lean, tried on known cases and then at random, attacked by screening, and only then told in prose. He also chose the problem and its aims: edge loops that close into rings, the quad sphere with the eight poles of a cube as a target and, as an artist, few singular vertices rather than perfectly square quads. He set the order of the work, decided which results to pursue and which changes to merge into the engine, and judged the results through the measurements, pictures and drafts.

The AI systems, Claude Opus 5.5 and Claude Fable 5.1 (Anthropic), used through Claude Code with several sub-agents in parallel, did the rest: the changes to the engine and the experiment scripts, the experiments and the bench, the exact computations, the search of the literature, the statements and proofs, the Lean formalization and the drafts of the text. References were checked for existence, and each entry of the bibliographies says how much of the work was read.

What was checked, and how. The algebraic cores are machine-checked in Lean, with Lean's standard axioms only. The topological hypotheses Lean takes as given, and the proofs given only on paper, were checked by AI agents rereading them and testing them on the data, not by a human expert. Every measured figure can be reproduced from the scripts and branches the papers name. Neither paper has been peer reviewed; errors remain possible, and the author, who publishes them, is responsible for their content.