SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.06547 · NeurIPS · 2023

Neural Lyapunov Control for Discrete-Time Systems

Yevgeniy Vorobeychik, Junlin Wu, Andrew Clark, Yiannis Kantaros

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2305.06547.json · badge: /api/ran/2305.06547.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
jlwu002/nlc_discrete canonical (classifier label)
classifier basis: classifier_2025
6 ran · 0 no recorded run
YaChienChang/Neural-Lyapunov-Control canonical (classifier label)
classifier basis: classifier_2025
1 ran · 2 no recorded run
FunctionStatusWhere it lives
AddCounterexamples Ran
ran; our contract draft was wrong, not the code
YaChienChang/Neural-Lyapunov-Control/Functions.py
pointer only (licence: NONE) · get_code("7a8f63af71c44b82")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YaChienChang/Neural-Lyapunov-Control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

LyapunovNet Ran
ran on a synthesized input · constructed an object; no result was computed
jlwu002/nlc_discrete/cartpole.py
pointer only (licence: NONE) · get_code("8ffc4cbf41fed774")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jlwu002/nlc_discrete when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dynamics Ran
ran; our contract draft was wrong, not the code
jlwu002/nlc_discrete/inverted_pendulum.py
pointer only (licence: NONE) · get_code("85dc7956a39f744d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jlwu002/nlc_discrete when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dynamics Ran
ran; our contract draft was wrong, not the code
jlwu002/nlc_discrete/path_tracking.py
pointer only (licence: NONE) · get_code("df5a56be751f167e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jlwu002/nlc_discrete when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gradient_lyap_diff Ran
ran; our contract draft was wrong, not the code
jlwu002/nlc_discrete/inverted_pendulum.py
pointer only (licence: NONE) · get_code("18bc758ff642c3a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jlwu002/nlc_discrete when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lyap_diff Ran
ran; our contract draft was wrong, not the code
jlwu002/nlc_discrete/inverted_pendulum.py
pointer only (licence: NONE) · get_code("ad7e7d4507340013")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jlwu002/nlc_discrete when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lyap_diff Ran
ran; our contract draft was wrong, not the code
jlwu002/nlc_discrete/path_tracking.py
pointer only (licence: NONE) · get_code("f38aa1e4e1e18e4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jlwu002/nlc_discrete when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CheckLyapunov Not yet run
unverified (harvested, no recorded run)
YaChienChang/Neural-Lyapunov-Control/Functions.py
pointer only (licence: NONE) · get_code("adf1e35d9990d872")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YaChienChang/Neural-Lyapunov-Control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

dtanh Not yet run
unverified (harvested, no recorded run)
YaChienChang/Neural-Lyapunov-Control/Functions.py
pointer only (licence: NONE) · get_code("984efa36de019e21")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, YaChienChang/Neural-Lyapunov-Control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 6 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 4 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
CheckLyapunov 2 other papers
2 dated earlier
2005.00611 (2020-05)
Neural Lyapunov Control
2206.01913 (2022-06)
Neural Lyapunov Control of Unknown Nonlinear Systems with Stability Guarantees
AddCounterexamples 1 other paper
1 dated earlier
2206.01913 (2022-06)
Neural Lyapunov Control of Unknown Nonlinear Systems with Stability Guarantees
dynamics 1 other paper
1 later
2404.07956 (2024-04)
Lyapunov-stable Neural Control for State and Output Feedback: A Novel Formulation
dynamics 1 other paper
1 later
2404.07956 (2024-04)
Lyapunov-stable Neural Control for State and Output Feedback: A Novel Formulation
gradient_lyap_diff 1 other paper
1 later
2404.07956 (2024-04)
Lyapunov-stable Neural Control for State and Output Feedback: A Novel Formulation
lyap_diff 1 other paper
1 later
2404.07956 (2024-04)
Lyapunov-stable Neural Control for State and Output Feedback: A Novel Formulation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

While ensuring stability for linear systems is well understood, it remains a major challenge for nonlinear systems. A general approach in such cases is to compute a combination of a Lyapunov function and an associated control policy. However, finding Lyapunov functions for general nonlinear systems is a challenging task. To address this challenge, several methods have been proposed that represent Lyapunov functions using neural networks. However, such approaches either focus on continuous-time systems, or highly restricted classes of nonlinear dynamics. We propose the first approach for learning neural Lyapunov control in a broad class of discrete-time systems. Three key ingredients enable us to effectively learn provably stable control policies. The first is a novel mixed-integer linear programming approach for verifying the discrete-time Lyapunov stability conditions, leveraging the particular structure of these conditions. The second is a novel approach for computing verified sublevel sets. The third is a heuristic gradient-based method for quickly finding counterexamples to significantly speed up Lyapunov function learning. Our experiments on four standard benchmarks demonstrate that our approach significantly outperforms state-of-the-art baselines. For example, on the path tracking benchmark, we outperform recent neural Lyapunov control baselines by an order of magnitude in both running time and the size of the region of attraction, and on two of the four benchmarks (cartpole and PVTOL), ours is the first automated approach to return a provably stable controller. Our code is

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2305.06547")
get_code_for_paper("2305.06547")
have("2305.06547")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2305.06547.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2305.06547.svg)](https://syntology.ai/paper/2305.06547)

Connect an agent — have() is free.