Using SAT Solvers
in Combinatorics and Geometry
Manfred Scheucher
1
Using SAT Solvers in Combinatorics and Geometry Manfred Scheucher - - PowerPoint PPT Presentation
Using SAT Solvers in Combinatorics and Geometry Manfred Scheucher 1 Boolean satisfiability problem Given Boolean formula, is there an assignment such that the formula is true? 2 Boolean satisfiability problem Given Boolean formula, is
1
2
2
usually faster
3
3
4
5
6
T : tree on n vertices
7
T : tree on n vertices
7
8
9
10
10
10
p q r
10
p q r
10
10
10
11
11
12
13
can be partitioned into
⌊n/2⌋
14
∅ {4} {3} {3,4} {2} {2,4} {2,3} {2,3,4} {1} {1,4} {1,3} {1,3,4} {1,2} {1,2,4} {1,2,3} {1,2,3,4}
14
can be partitioned into
⌊n/2⌋
14
15
15
15
n 1 2 3 4 5 6 7 8 9 10 11 almost-orth. 1 2 2 2 3 3* 4* 3* 3* 3 4* ⌊n/2⌋ + 1 1 2 2 3 3 4 4 5 5 6 6 found via SAT solvers!
15
n 1 2 3 4 5 6 7 8 9 10 11 almost-orth. 1 2 2 2 3 3* 4* 3* 3* 3 4* ⌊n/2⌋ + 1 1 2 2 3 3 4 4 5 5 6 6
15
16
16
∅ { 5 } { 4 } { 4,5 } { 3 } { 3,5 } { 3,4 } { 3,4,5 } { 2 } { 2,5 } { 2,4 } { 2,4,5 } { 2,3 } { 2,3,5 } { 2,3,4 } { 2,3,4,5 } { 1 } { 1,5 } { 1,4 } { 1,4,5 } { 1,3 } { 1,3,5 } { 1,3,4 } { 1,3,4,5 } { 1,2 } { 1,2,5 } { 1,2,4 } { 1,2,4,5 } { 1,2,3 } { 1,2,3,5 } { 1,2,3,4 } { 1,2,3,4,5 }
16
{1,2,3,4,5} {1,2,3,4} {1} ∅ {1,2,3} {1,2} {1,3} {1,3,4} ∅ { 5 } { 4 } { 4,5 } { 3 } { 3,5 } { 3,4 } { 3,4,5 } { 2 } { 2,5 } { 2,4 } { 2,4,5 } { 2,3 } { 2,3,5 } { 2,3,4 } { 2,3,4,5 } { 1 } { 1,5 } { 1,4 } { 1,4,5 } { 1,3 } { 1,3,5 } { 1,3,4 } { 1,3,4,5 } { 1,2 } { 1,2,5 } { 1,2,4 } { 1,2,4,5 } { 1,2,3 } { 1,2,3,5 } { 1,2,3,4 } { 1,2,3,4,5 }
16
16
17
18
18
2k−4
k−2
equality conjectured by Szekeres, Erd˝
18
2k−4
k−2
. . .
18
2k−4
k−2
Known: g(4) = 5, g(5) = 9, g(6) = 17 computer assisted proof, 1500 CPU hours [Szekeres–Peters ’06] . . .
18
2k−4
k−2
Known: g(4) = 5, g(5) = 9, g(6) = 17 computer assisted proof, 1500 CPU hours [Szekeres–Peters ’06] 1 hour using SAT solvers! . . .
18
19
Θ(n6) many
19
19
(every 4-tuple in k-gon is in convex positon)
19
20
Harborth ’78 Overmars ’02 Gerken ’08, Nicolas ’07, Koshelev ’09 Horton’83
20
number of 3- and 4-holes, resp.
20
20
n 9 10 11 12 13 14 15 16 17 18 19 h5(n) 1 2 3 3 6 9 11 ≤ 16 ≤ 21 ≤ 26
via SAT S.’13 Harborth ’78 & Dehnhardt ’87
20
21
22
23
Definition: n-universal point set S: ∀ planar n-vertex graph G can be drawn straight-line on S.
24
Definition: n-universal point set S: ∀ planar n-vertex graph G can be drawn straight-line on S.
4 − O(n) [Bannister–Cheng–Devanny–Eppstein ’14]
24
Definition: n-universal point set S: ∀ planar n-vertex graph G can be drawn straight-line on S.
4 − O(n) [Bannister–Cheng–Devanny–Eppstein ’14]
24
Definition: n-universal point set S: ∀ planar n-vertex graph G can be drawn straight-line on S.
4 − O(n) [Bannister–Cheng–Devanny–Eppstein ’14]
24
Definition: n-universal point set S: ∀ planar n-vertex graph G can be drawn straight-line on S.
4 − O(n) [Bannister–Cheng–Devanny–Eppstein ’14]
∄ 11-universal set on 11 points |S| ≥ 1.293n(1 + o(1))
24
SAT model for a fixed set S and fixed graph G ∈ G:
(similar idea as in L-shaped model)
25
SAT model for a fixed set S and fixed graph G ∈ G:
(similar idea as in L-shaped model)
. . . but solvers do not terminate . . . All in one SAT instance:
25
(1,249)
26
via chirotope axioms, 20 CPU hours, 100 GB storage (2,343,203,071) (1,249)
26
priority queue (”hard” triangulations first)
(2,343,203,071) (1,249)
26
triangulations which need to be added (2,343,203,071) (1,249)
26
conflict collection of 23 stacked triangulations !
triangulations which need to be added previously: 7393 (2,343,203,071) (1,249)
26
27