Zulip Chat Archive

Stream: new members

Topic: combinatorial optimization theory in lean


Asei Inoue (Sep 22 2023 at 11:41):

Are there any examples of formalizing the theory of combinatorial optimization in Lean? In particular, are there any examples of formalizing results on approximation algorithms? If not, what are the difficulties?

Martin Dvořák (Sep 22 2023 at 12:13):

Are you interested in doing combinatorial optimization with complexity of algorithms being in the picture?

Martin Dvořák (Sep 22 2023 at 12:14):

First I should have probably asked if you want to implement stuff or prove stuff.

Asei Inoue (Sep 22 2023 at 12:26):

I am interested not in the complexity of the algorithm, but in the implementation of concepts such as combinatorial problems, their feasible solutions, optimal solutions, and approximation rates, and whether the approximation rate of a particular algorithm can be proven.

Martin Dvořák (Sep 23 2023 at 07:12):

Unfortunately, I am not aware of any such effort in Lean.
If you find something, let me know!
Do you have a particular project in mind you would like to work on?

Asei Inoue (Sep 24 2023 at 12:21):

If you find something, let me know!

Thanks for checking it out .... I understand.

Do you have a particular project in mind you would like to work on?

I think graph theory algorithms are difficult because of their data structure, and I think problems like the Bin Packing Problem have relatively few non-essential difficulties. I would like to start from such a problem.

Martin Dvořák (Sep 28 2023 at 13:49):

FYI, I have just started with combinatorial optimization theory:
https://github.com/leanprover-community/mathlib4/pull/7404

I define VCSP (general valued constraint satisfaction problems) which is a unifying framework that generalizes both decision problems and optimization problems.

I don't have anything more at the moment, just the first definition.

Martin Dvořák (Sep 28 2023 at 21:18):

I added some more definitions. At this point, I should probably move it to the "PR reviews" stream.


Last updated: Dec 20 2023 at 11:08 UTC