UMR: A Lean-Style Language for Representation and Structural Verification of Organic Reaction Mechanisms
Organizations: AIPher Technology · Department of Chemistry, Zhili College, Tsinghua University · Institute for AI Industry Research (AIR), Tsinghua University · Department of Computer Science and Technology, Tsinghua University ·
Abstract
Explaining an organic reaction requires an account of how electron movements connect the reactants to the product under the stated conditions. A large language model can give a coherent account of how a known product forms even when the proposed electron movements fail to connect the intermediates it lists. Checking the product alone can miss such a spurious mechanism. We introduce Unified Mechanism Representation (UMR), an executable language in which polar, radical, pericyclic and organometallic processes share a state and event representation. The model proposes electron movements on the current Lewis structure, and the executor uses them to reconstruct the next state. The executor can independently verify the program by replaying it from the initial state and checking electron and material balance at each step. If a check fails, the executor identifies where and why, so the model can revise the path from the preceding intermediate. We find that UMR substantially improves GPT-6.2 Astra's ability to infer basic reaction mechanisms. We compared two ways of solving the 319 known-product problems in FukuyamaBench, giving the model the same substrates, products and conditions in both settings. When the model submitted intermediates directly, it matched every reference structural checkpoint in order on 62 problems (19.4%). With UMR and its executor, it did so on 83 (26.0%). Of the net gain of 21 problems, 14 came from the introductory set, five from the graduate-level set and two from the research-laboratory set.
Figures & tables
| Question | Lean | UMR |
|---|---|---|
| Input | A formal proposition, definitions and premises | Starting inventory, Lewis view and conditions, plus the product in explanation tasks |
| Construction | A proof term of the requested type | An atom-mapped event sequence connecting the endpoints |
| Revision | Edit a term or tactic given the current goals and a type error | Edit an event using an electron-source, role or material error and retry from the saved state |
| Acceptance | The term proves the statement under the chosen theory, definitions and axioms | Each event executes under the stated rules and materials, reproducing its successor |
| External judgement | Does the formal statement express the intended problem? | Does the path explain the observations? Could another path also account for them? |
| Base model | Inference method | A (78) | B (131) | C (110) | All (319) |
|---|---|---|---|---|---|
| Dang et al., published Table 3 | |||||
| GPT-5 | Benchmark protocol | 21.8 | 4.6 | 0.0 | — |
| Gemini-3.0-Pro | Benchmark protocol | 44.9 | 20.6 | 4.5 | — |
| Qwen3-235B-A22B | Benchmark protocol | 7.7 | 3.1 | 0.0 | — |
| Qwen3-30B-A3B | Benchmark protocol | 1.3 | 0.0 | 0.0 | — |
| ChemDFM-R-14B | Benchmark protocol | 1.3 | 0.0 | 0.0 | — |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Elements | Checked oxidation states | Coordination and local checks |
|---|---|---|
| H | Coordination number 0 when free and 1 when singly bonded. The shell is full at two electrons. | |
| B | A neutral three-coordinate centre has six shell electrons. A four-coordinate centre with formal charge has eight. | |
| C | to | At a centre with three single bonds, nonbonding occupation distinguishes a cation, radical and anion. |
| Si, Sn | Low-coordinate centres require a compatible lone-pair occupation and spin declaration. Higher coordination also depends on the neighbours and bond orders. | |
| Ge | to | Bonding and nonbonding electrons are checked locally. Coordination numbers 4, 5 and 6 can share an oxidation state. |
| N | and to | Bond orders, formal charge and unpaired electrons determine the local closed-shell or radical configuration. |
| Atom | Rule | Common oxidation states | Registered states or local check | |
|---|---|---|---|---|
| 1 | H | Local | , | local profile |
| 3 | Li | Coord. | , | |
| 4 | Be | Coord. | , , | |
| 5 | B | Local | local profile | |
| 6 | C | Local | , , , , , , , , | local profile |
| 7 | N | Local | , , , , , , , | local profile |
| Set | Cases | Required | D full | D matched | U full | U matched | U | U |
|---|---|---|---|---|---|---|---|---|
| A | 78 | 252 | 23 | 104 | 37 | 133 | 2 | 0 |
| B | 131 | 453 | 30 | 137 | 35 | 173 | 5 | 0 |
| C | 110 | 493 | 9 | 126 | 11 | 128 | 4 | 2 |
| All | 319 | 1198 | 62 | 367 | 83 | 434 | 11 | 2 |
| Case | D | U | Case | D | U | ||||
|---|---|---|---|---|---|---|---|---|---|
| A001 | 1 | 2/2 | 1 | 2/2 | A040 | 0 | 0/1 | 0 | 0/1 |
| A002 | 0 | 0/3 | 1 | 3/3 | A041 | 1 | 1/1 | 1 | 1/1 |
| A003 | 0 | 0/3 | 0 | 0/3 | A042 | 0 | 0/1 | 1 | 1/1 |
| A004 | 0 | 0/3 | 0 | 1/3 | A043 | 0 | 0/4 | 0 | 2/4 |
| A005 | 1 | 3/3 | 0 | 0/3 | A044 | 0 | 1/2 | 0 | 1/2 |
| Case | D | U | Case | D | U | ||||
|---|---|---|---|---|---|---|---|---|---|
| B001 | 0 | 0/7 | 0 | 2/7 | B065 | 0 | 2/5 | 0 | 2/5 |
| B002 | 1 | 2/2 | 0 | 0/2 | B066 | 0 | 1/3 | 0 | 0/3 |
| B003 | 0 | 1/3 | 0 | 1/3 | B067 | 0 | 0/2 | 1 | 2/2 |
| B004 | 0 | 3/4 | 1 | 4/4 | B068 | 0 | 1/3 | 1 | 3/3 |
| B005 | 0 | 0/2 | 1 | 2/2 | B069 | 1 | 3/3 | 0 | 1/3 |
| Case | D | U | Case | D | U | ||||
|---|---|---|---|---|---|---|---|---|---|
| C001 | 0 | 2/3 | 0 | 2/3 | C055 | 0 | 1/2 | 0 | 0/2 |
| C002 | 0 | 1/3 | 0 | 2/3 | C056 | 0 | 0/5 | 0 | 0/5 |
| C003 | 0 | 0/2 | 0 | 0/2 | C057 | 0 | 1/2 | 0 | 0/2 |
| C004 | 0 | 0/4 | 0 | 0/4 | C058 | 0 | 0/2 | 0 | 0/2 |
| C005 | 0 | 3/7 | 0 | 2/7 | C059 | 0 | 0/3 | 0 | 1/3 |