SlideShare a Scribd company logo
A SAT ENCODING FOR SOLVING GAMES
WITH ENERGY OBJECTIVES
Raffaella Gentilini
Dip. di Matematica e Informatica, Universit`a di Perugia,
Via Vanvitelli 1, Perugia (IT)

ABSTRACT
Recently, a reduction from the problem of solving parity games to the satisfiability problem in
propositional logic (SAT) have been proposed in [5], motivated by the success of SAT solvers in
symbolic verification. With analogous motivations, we show how to exploit the notion of energy
progress measure to devise a reduction from the problem of energy games to the satisfiability
problem for formulas of propositional logic in conjunctive normal form.

1. INTRODUCTION
Energy games (EG) are two-players games played on weighted graphs, where the integer weight
associated to each edge represents the corresponding energy gain/loss. The arenas of energy
games are endowed of two types of vertices: in player 0 (resp. player 1) vertices, player 0 (resp.
player 1) chooses the successor vertex from the set of outgoing edges and the game results in an
infinite path through the graph. Given an initial credit of energy c, the objective of player 0 is to
maintain the sum of the weights (the energy level) positive. The decision problem for EG asks,
given a weighted game graph with initial vertex v 0, if there exists an initial credit for which
player 0 wins from v 0.
Energy games have been introduced in [3, 2] to model the synthesis problem within the design of
reactive systems that work in resource-constrained environments. Beside their applicability to the
modeling of quantitative problems for computer aided design, EG have tight connections with
important problems in game theory and logic. For instance, they are log-space equivalent to
mean-payoff games (MPG) [2], another kind of quantitative two-player game very well studied
both in economics and in computer science. The latter are characterized by a theoretically
engaging complexity status, being one of the few inhabitants of the complexity class NP∩coNP
(for which the inclusion in P is still an open problem). Moreover, parity games [4, 6]—
notoriously known as poly-time equivalent to the model-checking problem for the modal mucalculus—are in turn poly-time reducible to MPG and EG. It is a long-standing open question to
know whether the model-checking problem for the modal mu-calculus is in P.
The algorithm with the currently best (pseudopolynomial) complexity for solving EG (and MPG
via log-space reduction) is based on the so-called notion of energy progress measure [7].
David C. Wyld et al. (Eds) : CST, ITCS, JSE, SIP, ARIA, DMS - 2014
pp. 45–52, 2014. © CS & IT-CSCP 2014

DOI : 10.5121/csit.2014.4105
46

Computer Science & Information Technology (CS & IT)

Progress measures for weighted graphs are functions that impose local conditions to ensure global
properties of the graph. A notion of parity progress measure [6] was previously exploited in [6]
for the algorithmic analysis of parity games and reconsidered in [5] to devise a SAT encoding of
the corresponding games, motivated by the considerable success that using SAT solvers has had
in symbolic verification. As a matter of fact, clever heuristics implemented in nowadays SAT
solvers can result in algorithms that are very efficient in practice. Furthermore, there are
fragments of SAT that can be solved in polynomial time. Hence, the reduction in [5] opens up a
new possibility for showing inclusion of parity games in P.
Motivated by analogous reasons, in this paper we show how to exploit the notion of energy
progress measure to devise a reduction from the problem of energy games to the satisfiability
problem for formulas of propositional logic in conjunctive normal form. Tight upper bounds on
the sizes of our reductions are also reported.
The paper is organized as follows.We recall the notions of energy games and energy progress
measure in Section 2. Section 3 and Section 4 develop the reductions from energy games to
difference logic and pure SAT, respectively, reporting tight bounds on the sizes of the
corresponding reductions.

2. PRELIMINARIES
Computer Science & Information Technology (CS & IT)

47
48

Computer Science & Information Technology (CS & IT)

2.1 Difference Logic

3. ENCODING EG WINNING STRATEGIES IN DIFFERENCE LOGIC
Computer Science & Information Technology (CS & IT)

49
50

Computer Science & Information Technology (CS & IT)

4. SOLVING ENERGY GAMES BY A REDUCTION TO SAT
Computer Science & Information Technology (CS & IT)

51

5. CONCLUSIONS
We devise efficient encodings of the energy games problem into the satisfiability problem for
formulas of difference logic and pure propositional logic in conjunctive normal form. Tight upper
bounds on the sizes of the given reductions are also reported. Due to the success of nowadays
SAT solvers in symbolic verification, the proposed encodings could result in algorithms that are
very efficient in practice. Furthermore, they could open up new possibilities for devising tight
bounds on the complexity of the energy games problem, as there are fragments of SAT that can
be solved in polynomial time.
52

Computer Science & Information Technology (CS & IT)

REFERENCES
[1]
[2]

[3]
[4]
[5]
[6]
[7]
[8]

A. Ehrenfeucht and J. Mycielski. International journal of game theory. Positional Strategies for
Mean-Payoff Games, 8:109–113, 1979.
P. Bouyer, U. Fahrenberg, K. G. Larsen, N. Markey, and J. Srba. Infinite runs in weighted timed
automata with energy constraints. In Proc. of FORMATS: Formal Modeling and Analysis of Timed
Systems, LNCS 5215, pages 33–47. Springer, 2008.
A. Chakrabarti, L. de Alfaro, T. A. Henzinger, and M. Stoelinga. Resource interfaces. In Proc. of
EMSOFT: Embedded Software, LNCS 2855, pages 117–133. Springer, 2003.
Y. Gurevich and L. Harrington. Trees, automata, and games. In Proc. of STOC: Symposium on
Theory of Computing, pages 60–65. ACM, 1982.
Keijo Heljanko, Misa Kein¨anen, Martin Lange, and Ilkka Niemel¨a. Solving parity games by a
reduction to sat. J. Comput. Syst. Sci., 78(2):430–440, March 2012.
M. Jurdzinski. Small progress measures for solving parity games. In Proceedings of STACS:
Theoretical Aspects of Computer Science, LNCS 1770, pages 290–301. Springer, 2000.
L. Brim, J. Chaloupka, L. Doyen, R. Gentilini, and J-F. Raskin. Faster algorithms for mean payoff
games. Formal Methods in System Design, 38(2):97–118, 2011.
Moez Mahfoudh, Peter Niebert, Eugene Asarin, and Oded Maler. A satisfiability checker for
difference logic. In 5-th Int. Symp. on the Theory and Applications of Satisfliability Testing, 2002.

More Related Content

PDF
Presentation jitendra
PDF
Hybridization of Bat and Genetic Algorithm to Solve N-Queens Problem
PPT
tutorial_kearns
PDF
CHN and Swap Heuristic to Solve the Maximum Independent Set Problem
PPTX
Image recogonization
PPTX
Handling missing data with expectation maximization algorithm
PDF
Interval Pattern Structures: An introdution
PDF
ENTROPY-COST RATIO MAXIMIZATION MODEL FOR EFFICIENT STOCK PORTFOLIO SELECTION...
Presentation jitendra
Hybridization of Bat and Genetic Algorithm to Solve N-Queens Problem
tutorial_kearns
CHN and Swap Heuristic to Solve the Maximum Independent Set Problem
Image recogonization
Handling missing data with expectation maximization algorithm
Interval Pattern Structures: An introdution
ENTROPY-COST RATIO MAXIMIZATION MODEL FOR EFFICIENT STOCK PORTFOLIO SELECTION...

What's hot (18)

PDF
IRJET- Optimization of 1-Bit ALU using Ternary Logic
PDF
Some fixed point results for cone metric space
PDF
A Preference Model on Adaptive Affinity Propagation
PDF
Bm35359363
PDF
FUZZY ROUGH INFORMATION MEASURES AND THEIR APPLICATIONS
PDF
A0311010106
PPTX
Unit .6
PDF
Combinatorial optimization CO-4
PPTX
Unit .3
PDF
Dimensionality reduction by matrix factorization using concept lattice in dat...
PDF
1710.09780avi widgerson
PDF
An Approach to Mathematically Establish the Practical Use of Assignment Probl...
PDF
Fuzzy c-means
PDF
Fault diagnosis using genetic algorithms and
PDF
Reproducibility and differential analysis with selfish
PDF
Application of transportation problem under pentagonal neutrosophic environment
PDF
Dynamic approach to k means clustering algorithm-2
PDF
Paper introduction to Combinatorial Optimization on Graphs of Bounded Treewidth
IRJET- Optimization of 1-Bit ALU using Ternary Logic
Some fixed point results for cone metric space
A Preference Model on Adaptive Affinity Propagation
Bm35359363
FUZZY ROUGH INFORMATION MEASURES AND THEIR APPLICATIONS
A0311010106
Unit .6
Combinatorial optimization CO-4
Unit .3
Dimensionality reduction by matrix factorization using concept lattice in dat...
1710.09780avi widgerson
An Approach to Mathematically Establish the Practical Use of Assignment Probl...
Fuzzy c-means
Fault diagnosis using genetic algorithms and
Reproducibility and differential analysis with selfish
Application of transportation problem under pentagonal neutrosophic environment
Dynamic approach to k means clustering algorithm-2
Paper introduction to Combinatorial Optimization on Graphs of Bounded Treewidth
Ad

Viewers also liked (12)

DOC
ankur01
PPTX
Trabalhos Budweiser
PPT
Córdoba la llana.
PPTX
Equipo 5 la nube uvm
PPT
2013年台灣心律不整防治宣導週
PDF
Allah Tala Ke 99 Sifati Naam
PDF
A quality of service management in distributed feedback control scheduling ar...
PDF
Malaysian charter on human rights
DOCX
Carolynn Recommendation
PDF
No.219 english
PDF
K_Toto_resume-1-20-2016
PPTX
piojos y liendres
ankur01
Trabalhos Budweiser
Córdoba la llana.
Equipo 5 la nube uvm
2013年台灣心律不整防治宣導週
Allah Tala Ke 99 Sifati Naam
A quality of service management in distributed feedback control scheduling ar...
Malaysian charter on human rights
Carolynn Recommendation
No.219 english
K_Toto_resume-1-20-2016
piojos y liendres
Ad

Similar to A sat encoding for solving games with energy objectives (20)

PDF
A SAT ENCODING FOR SOLVING GAMES WITH ENERGY OBJECTIVES
PDF
The Automated-Reasoning Revolution: from Theory to Practice and Back
PDF
Skiena algorithm 2007 lecture21 other reduction
PDF
A Stochastic Limit Approach To The SAT Problem
PDF
Benchmarking parity games
ODP
Theory of games
PDF
Solving Endgames in Large Imperfect-Information Games such as Poker
PDF
P versus NP
PDF
Algorithm chapter 10
PDF
Lect 31_32 NP and Intractability_Part 1.pdf
PDF
Paper study: Learning to solve circuit sat
PDF
lec-ugc-sse.pdf
PDF
np hard, np complete, polynomial and non polynomial
PDF
Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...
PPT
Np completeness
PDF
Writing a SAT solver as a hobby project
PPTX
Design and analysis of algorithms unit 6 non deterministic polynomial
PDF
ExamsGamesAndKnapsacks_RobMooreOxfordThesis
PDF
Introduction
A SAT ENCODING FOR SOLVING GAMES WITH ENERGY OBJECTIVES
The Automated-Reasoning Revolution: from Theory to Practice and Back
Skiena algorithm 2007 lecture21 other reduction
A Stochastic Limit Approach To The SAT Problem
Benchmarking parity games
Theory of games
Solving Endgames in Large Imperfect-Information Games such as Poker
P versus NP
Algorithm chapter 10
Lect 31_32 NP and Intractability_Part 1.pdf
Paper study: Learning to solve circuit sat
lec-ugc-sse.pdf
np hard, np complete, polynomial and non polynomial
Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...
Np completeness
Writing a SAT solver as a hobby project
Design and analysis of algorithms unit 6 non deterministic polynomial
ExamsGamesAndKnapsacks_RobMooreOxfordThesis
Introduction

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Spectroscopy.pptx food analysis technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Big Data Technologies - Introduction.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.
Network Security Unit 5.pdf for BCA BBA.
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
“AI and Expert System Decision Support & Business Intelligence Systems”
The AUB Centre for AI in Media Proposal.docx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Building Integrated photovoltaic BIPV_UPV.pdf
Unlocking AI with Model Context Protocol (MCP)
Spectroscopy.pptx food analysis technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
20250228 LYD VKU AI Blended-Learning.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

A sat encoding for solving games with energy objectives

  • 1. A SAT ENCODING FOR SOLVING GAMES WITH ENERGY OBJECTIVES Raffaella Gentilini Dip. di Matematica e Informatica, Universit`a di Perugia, Via Vanvitelli 1, Perugia (IT) ABSTRACT Recently, a reduction from the problem of solving parity games to the satisfiability problem in propositional logic (SAT) have been proposed in [5], motivated by the success of SAT solvers in symbolic verification. With analogous motivations, we show how to exploit the notion of energy progress measure to devise a reduction from the problem of energy games to the satisfiability problem for formulas of propositional logic in conjunctive normal form. 1. INTRODUCTION Energy games (EG) are two-players games played on weighted graphs, where the integer weight associated to each edge represents the corresponding energy gain/loss. The arenas of energy games are endowed of two types of vertices: in player 0 (resp. player 1) vertices, player 0 (resp. player 1) chooses the successor vertex from the set of outgoing edges and the game results in an infinite path through the graph. Given an initial credit of energy c, the objective of player 0 is to maintain the sum of the weights (the energy level) positive. The decision problem for EG asks, given a weighted game graph with initial vertex v 0, if there exists an initial credit for which player 0 wins from v 0. Energy games have been introduced in [3, 2] to model the synthesis problem within the design of reactive systems that work in resource-constrained environments. Beside their applicability to the modeling of quantitative problems for computer aided design, EG have tight connections with important problems in game theory and logic. For instance, they are log-space equivalent to mean-payoff games (MPG) [2], another kind of quantitative two-player game very well studied both in economics and in computer science. The latter are characterized by a theoretically engaging complexity status, being one of the few inhabitants of the complexity class NP∩coNP (for which the inclusion in P is still an open problem). Moreover, parity games [4, 6]— notoriously known as poly-time equivalent to the model-checking problem for the modal mucalculus—are in turn poly-time reducible to MPG and EG. It is a long-standing open question to know whether the model-checking problem for the modal mu-calculus is in P. The algorithm with the currently best (pseudopolynomial) complexity for solving EG (and MPG via log-space reduction) is based on the so-called notion of energy progress measure [7]. David C. Wyld et al. (Eds) : CST, ITCS, JSE, SIP, ARIA, DMS - 2014 pp. 45–52, 2014. © CS & IT-CSCP 2014 DOI : 10.5121/csit.2014.4105
  • 2. 46 Computer Science & Information Technology (CS & IT) Progress measures for weighted graphs are functions that impose local conditions to ensure global properties of the graph. A notion of parity progress measure [6] was previously exploited in [6] for the algorithmic analysis of parity games and reconsidered in [5] to devise a SAT encoding of the corresponding games, motivated by the considerable success that using SAT solvers has had in symbolic verification. As a matter of fact, clever heuristics implemented in nowadays SAT solvers can result in algorithms that are very efficient in practice. Furthermore, there are fragments of SAT that can be solved in polynomial time. Hence, the reduction in [5] opens up a new possibility for showing inclusion of parity games in P. Motivated by analogous reasons, in this paper we show how to exploit the notion of energy progress measure to devise a reduction from the problem of energy games to the satisfiability problem for formulas of propositional logic in conjunctive normal form. Tight upper bounds on the sizes of our reductions are also reported. The paper is organized as follows.We recall the notions of energy games and energy progress measure in Section 2. Section 3 and Section 4 develop the reductions from energy games to difference logic and pure SAT, respectively, reporting tight bounds on the sizes of the corresponding reductions. 2. PRELIMINARIES
  • 3. Computer Science & Information Technology (CS & IT) 47
  • 4. 48 Computer Science & Information Technology (CS & IT) 2.1 Difference Logic 3. ENCODING EG WINNING STRATEGIES IN DIFFERENCE LOGIC
  • 5. Computer Science & Information Technology (CS & IT) 49
  • 6. 50 Computer Science & Information Technology (CS & IT) 4. SOLVING ENERGY GAMES BY A REDUCTION TO SAT
  • 7. Computer Science & Information Technology (CS & IT) 51 5. CONCLUSIONS We devise efficient encodings of the energy games problem into the satisfiability problem for formulas of difference logic and pure propositional logic in conjunctive normal form. Tight upper bounds on the sizes of the given reductions are also reported. Due to the success of nowadays SAT solvers in symbolic verification, the proposed encodings could result in algorithms that are very efficient in practice. Furthermore, they could open up new possibilities for devising tight bounds on the complexity of the energy games problem, as there are fragments of SAT that can be solved in polynomial time.
  • 8. 52 Computer Science & Information Technology (CS & IT) REFERENCES [1] [2] [3] [4] [5] [6] [7] [8] A. Ehrenfeucht and J. Mycielski. International journal of game theory. Positional Strategies for Mean-Payoff Games, 8:109–113, 1979. P. Bouyer, U. Fahrenberg, K. G. Larsen, N. Markey, and J. Srba. Infinite runs in weighted timed automata with energy constraints. In Proc. of FORMATS: Formal Modeling and Analysis of Timed Systems, LNCS 5215, pages 33–47. Springer, 2008. A. Chakrabarti, L. de Alfaro, T. A. Henzinger, and M. Stoelinga. Resource interfaces. In Proc. of EMSOFT: Embedded Software, LNCS 2855, pages 117–133. Springer, 2003. Y. Gurevich and L. Harrington. Trees, automata, and games. In Proc. of STOC: Symposium on Theory of Computing, pages 60–65. ACM, 1982. Keijo Heljanko, Misa Kein¨anen, Martin Lange, and Ilkka Niemel¨a. Solving parity games by a reduction to sat. J. Comput. Syst. Sci., 78(2):430–440, March 2012. M. Jurdzinski. Small progress measures for solving parity games. In Proceedings of STACS: Theoretical Aspects of Computer Science, LNCS 1770, pages 290–301. Springer, 2000. L. Brim, J. Chaloupka, L. Doyen, R. Gentilini, and J-F. Raskin. Faster algorithms for mean payoff games. Formal Methods in System Design, 38(2):97–118, 2011. Moez Mahfoudh, Peter Niebert, Eugene Asarin, and Oded Maler. A satisfiability checker for difference logic. In 5-th Int. Symp. on the Theory and Applications of Satisfliability Testing, 2002.