Computation history: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Wikishagnik
Added references and removed unreferenced tag
 
en>Addbot
m Bot: Migrating 1 interwiki links, now provided by Wikidata on d:q5157272
Line 1: Line 1:
Jayson Berryhill is how I'm known as and my wife doesn't like it at all. North Carolina is the location he loves most but now he is considering other choices. My day occupation is an info officer but I've currently applied for an additional 1. My husband doesn't like it the way I do but  [http://fashionlinked.com/index.php?do=/profile-13453/info/ real psychic readings] psychics ([http://brazil.amor-amore.com/irboothe http://brazil.amor-amore.com/irboothe]) what I truly like performing is caving but I don't have the time lately.<br><br>my site [http://hknews.classicmall.com.hk/groups/some-simple-tips-for-personal-development-progress/ real psychic readings]
[[Image:Example Parity Game Solved.png|400px|right|thumb|A parity game. Circular nodes belong to player 0, rectangular nodes belong to player 1. On the left side is the winning region of player 0, on the right side is the winning region of player 1.]]
 
A '''parity game''' is played on a colored [[directed graph]], where each node has been colored by a priority &ndash; one of (usually) finitely many [[natural numbers]]. 
Two players, 0 and 1, move a (single, shared) token along the edges of the graph. The owner of the node that the token falls on, selects the successor node, resulting in a (possibly infinite) [[Path (graph theory)|path]], called the play.
 
The winner of a finite play is the player whose opponent is unable to move. The winner of an infinite play is determined by the priorities appearing in the play. Typically, player 0 wins an infinite play if the largest priority that occurs infinitely often in the play is even. Player 1 wins otherwise. This explains the word "parity" in the title.
 
Parity games lie in the third level of the [[borel hierarchy]], and are consequently [[Determinacy|determined]].<ref>[[Donald A. Martin|D. A. Martin]]: Borel determinacy, The Annals of Mathematics, Vol 102 No. 2 pp. 363&ndash;371 (1975)</ref>
 
Games related to parity games were implicitly used in [[Michael O. Rabin|Rabin]]'s
proof of [[decidability]] of second order theory of n successors, where [[determinacy]] of such games was
proven.<ref>{{cite journal|last = Rabin|first = MO|title= Decidability of second order theories and automata on infinite trees|journal = Trans. AMS|year=1969|pages=1–35|volume=141|doi= 10.2307/1995086|publisher = American Mathematical Society|jstor = 1995086}}</ref> The [[Knaster&ndash;Tarski theorem]] leads to a relatively simple proof of determinacy of parity games.<ref name=EJ>E. A. Emerson and C. S. Jutla: Tree Automata, Mu-Calculus and Determinacy, IEEE Proc. Foundations of Computer Science, pp 368&ndash;377 (1991), ISBN 0-8186-2445-0</ref>
 
Moreover, parity games are history-free determined.<ref name=EJ/><ref>A. Mostowski: Games with forbidden positions, University of Gdansk, Tech. Report 78 (1991)</ref><ref name=ZL>{{cite journal|last=Zielonka|first=W|title=Infinite Games on Finitely Coloured Graphs with Applications to Automata on Infinite Trees|year=1998|journal=Theor. Comput. Sci.|volume=200|issue=1&ndash;2|pages=135&ndash;183|doi=10.1016/S0304-3975(98)00009-7}}</ref> This means that if a player has a winning strategy then she has a winning strategy that depends only on the current board position, and not on the history of the play.
 
==Solving a game==
{{unsolved|computer science|Can parity games be solved in polynomial time?}}
 
''Solving'' a parity game played on a finite graph means deciding, for a given starting position, which of the two players has a winning strategy. It has been shown that this problem is in [[NP (complexity)|NP]] and [[Co-NP]], as well as [[UP (complexity)|UP]] and co-UP.<ref>Grädel 2007, p. 163</ref> It remains an open question whether this decision problem is solvable in [[P (complexity)|PTime]].
 
Given that parity games are history-free determined, solving a given parity game is equivalent to solving the following simple looking graph-theoretic problem. Given a finite colored directed [[bipartite graph]] with ''n'' vertices <math>V = V_0 \cup V_1</math>, and ''V'' colored with colors from ''1'' to ''m'', is there a choice function selecting a single out-going edge from each vertex of <math>V_0</math>, such that the resulting subgraph has the property that in each cycle the largest occurring color is even.
 
==Recursive algorithm for solving parity games==
 
Zielonka outlined a recursive algorithm that solves parity games. Let <math>G=(V, V_0,V_1,E,\Omega)</math> be parity game, where <math>V_0</math> resp. <math>V_1</math> are the sets of nodes belonging to player 0 resp. 1, <math>V = V_0 \cup V_1</math> is the set of all nodes, <math>E \subseteq V \times V</math> is the total set of edges, and <math>\Omega: V \rightarrow \mathbb{N}</math> is the priority assignment function.
 
Zielonka's algorithm is based on the notation of attractors. Let <math>U \subseteq V</math> be a set of nodes and <math>i=0,1</math> be a player. The <math>i</math>-attractor of <math>U</math> is the least set of nodes <math>Attr_i(U)</math> containing <math>U</math> such that <math>i</math> can force a visit to <math>U</math> from every node in <math>Attr_i(U)</math>. It can be defined by a fix-point computation:
 
<math>Attr_i(U)^0 := U</math>
 
<math>Attr_i(U)^{j+1} := Attr_i(U)^j \cup \{v \in V_i \mid \exists (v,w) \in E: w \in Attr_i(U)^j \} \cup \{v \in V_{1-i} \mid \forall (v,w) \in E: w \in Attr_i(U)^j \}</math>
 
<math>Attr_i(U) := \bigcup_{j=0}^\infty Attr_i(U)^j</math>
 
In other words, one starts with the initial set <math>U</math> and adds, in every step, all nodes belonging to player 0 that can reach <math>U</math> with a single edge and all nodes belonging to player 1 that must reach <math>U</math> no matter which edge player 1 takes.
 
Zielonka's algorithm is based on a recursive descent on the number of priorities. If the maximal priority is 0, it is immediate to see that player 0 wins the whole game (with an arbitrary strategy). Otherwise, let <math>p</math> be the largest one and let <math>i = p \mod 2</math> be the player associated with the priority. Let <math>U = \{v \mid \Omega(v) = p\}</math> be the set of nodes with priority <math>p</math> and let <math>A = Attr_i(U)</math> be the corresponding attractor of player <math>i</math>.
Player <math>i</math> can now ensure that every play that visits <math>A</math> infinitely often is won by player <math>i</math>.
 
Consider the game <math>G' = G \setminus A</math> in which all nodes and affected edges of <math>A</math> are removed. We can now solve the smaller game <math>G'</math> by recursion and obtain a pair of winning sets <math>W'_i, W'_{1-i}</math>. If <math>W'_{1-i}</math> is empty, then so is <math>W_{1-i}</math> for the game <math>G</math>, because player <math>1-i</math> can only decide to escape from <math>W_i</math> to <math>A</math> which also results in a win for player <math>i</math>.
 
Otherwise, if <math>W'_{1-i}</math> is not empty, we only know for sure that player <math>1-i</math> can win on <math>W'_{1-i}</math> as there is no player <math>i</math> escape from <math>W'_{1-i}</math> to <math>A</math> (because <math>A</math> is an attractor already). We therefore compute to <math>1-i</math> attractor <math>B = Attr_{1-i}(W'_{1-i})</math> of <math>W'_{1-i}</math> and remove it from <math>G</math> to obtain the smaller game <math>G'' = G \setminus B</math>. We again solve it by recursion and obtain a pair of winning sets <math>W''_i, W''_{1-i}</math>. It follows that <math>W_i = W''_i</math> and <math>W_{1-i} = W''_{1-i} \cup B</math>.
 
In simple [[pseudocode]], the algorithm might be expressed as this:
 
<code>
  function solve(<math>G</math>)
      <math>p</math> = maximal priority in <math>G</math>
      if <math>p = 0</math>
          return <math>W_0 = V, W_1 = \{\}</math>
      else
          <math>U =</math> nodes in <math>G</math> with priority <math>p</math>
          <math>i = p \mod 2</math>
          <math>A = Attr_i(U)</math>
          <math>W_0', W_1' = solve(G \setminus A)</math>
          if <math>W_i' = V</math>
              return <math>W_i = V, W_{1-i} = \{\}</math>
          <math>B = Attr_{1-i}(W_{1-i}')</math>
          <math>W_0'', W_1'' = solve(G \setminus B)</math>
          return <math>W_i = W_i'', W_{1-i} = W_{1-i}'' \cup B</math>
</code>
 
==Related games and their decision problems==
A slight modification of the above game, and the related graph-theoretic problem, makes solving the game [[NP-hard]]. The modified game has the [[Rabin automaton|Rabin acceptance condition]].
Specifically, in the above bipartite graph scenario, the problem now is to determine if there
is a choice function selecting  a single out-going edge from each vertex of ''V''<sub>0</sub>, such that the resulting subgraph has the property that in each cycle (and hence each [[strongly connected component]]) it is the case that there exists an ''i''  and a node with color&nbsp;2''i'', and no node with color&nbsp;2''i''&nbsp;+&nbsp;1...
 
Note that as opposed to parity games, this game is no longer symmetric with respect to players 0 and&nbsp;1.
 
==Relation with logic and automata theory==
[[Image:Applications of Parity Games.png|400px|right|thumb|Most common applications of parity game solving.]]
Despite its interesting complexity theoretic status, parity game solving can be seen as the algorithmic backend to problems in automated verification and controller synthesis. The model-checking problem for the [[modal μ-calculus]] for instance is known to be equivalent to parity game solving. Also, decision problems like validity or satisfiability for modal logics can be reduced to parity game solving.
 
== References ==
<references/>
* {{cite book|author=Erich Grädel, Phokion G. Kolaitis, Leonid Libkin, Maarten Marx, Joel Spencer, Moshe Y. Vardi, Yde Venema, Scott Weinstein|title=Finite model theory and its applications|year=2007|publisher=Springer|isbn=978-3-540-00428-8}}
 
== Further reading ==
* E. Grädel, W. Thomas, T. Wilke (Eds.) : ''Automata, Logics, and Infinite Games'', Springer LNCS 2500 (2003), ISBN 3-540-00388-6
* W. Zielonka : ''Infinite games on finitely coloured graphs with applications to automata on infinite tree'', TCS, 200(1-2):135-183, 1998
 
==External links==
Parity Game Solvers:
* [http://www.tcs.ifi.lmu.de/pgsolver PGSolver Collection]
 
[[Category:Game theory]]
[[Category:Finite model theory]]

Revision as of 09:05, 16 March 2013

A parity game. Circular nodes belong to player 0, rectangular nodes belong to player 1. On the left side is the winning region of player 0, on the right side is the winning region of player 1.

A parity game is played on a colored directed graph, where each node has been colored by a priority – one of (usually) finitely many natural numbers. Two players, 0 and 1, move a (single, shared) token along the edges of the graph. The owner of the node that the token falls on, selects the successor node, resulting in a (possibly infinite) path, called the play.

The winner of a finite play is the player whose opponent is unable to move. The winner of an infinite play is determined by the priorities appearing in the play. Typically, player 0 wins an infinite play if the largest priority that occurs infinitely often in the play is even. Player 1 wins otherwise. This explains the word "parity" in the title.

Parity games lie in the third level of the borel hierarchy, and are consequently determined.[1]

Games related to parity games were implicitly used in Rabin's proof of decidability of second order theory of n successors, where determinacy of such games was proven.[2] The Knaster–Tarski theorem leads to a relatively simple proof of determinacy of parity games.[3]

Moreover, parity games are history-free determined.[3][4][5] This means that if a player has a winning strategy then she has a winning strategy that depends only on the current board position, and not on the history of the play.

Solving a game

Endocrinologist Grippo from Capreol, likes to spend time backgammon, property developers in singapore and creating a house. Has lately finished a trip to China Danxia.

Here is my homepage ... new launch ec

Solving a parity game played on a finite graph means deciding, for a given starting position, which of the two players has a winning strategy. It has been shown that this problem is in NP and Co-NP, as well as UP and co-UP.[6] It remains an open question whether this decision problem is solvable in PTime.

Given that parity games are history-free determined, solving a given parity game is equivalent to solving the following simple looking graph-theoretic problem. Given a finite colored directed bipartite graph with n vertices , and V colored with colors from 1 to m, is there a choice function selecting a single out-going edge from each vertex of , such that the resulting subgraph has the property that in each cycle the largest occurring color is even.

Recursive algorithm for solving parity games

Zielonka outlined a recursive algorithm that solves parity games. Let be parity game, where resp. are the sets of nodes belonging to player 0 resp. 1, is the set of all nodes, is the total set of edges, and is the priority assignment function.

Zielonka's algorithm is based on the notation of attractors. Let be a set of nodes and be a player. The -attractor of is the least set of nodes containing such that can force a visit to from every node in . It can be defined by a fix-point computation:

In other words, one starts with the initial set and adds, in every step, all nodes belonging to player 0 that can reach with a single edge and all nodes belonging to player 1 that must reach no matter which edge player 1 takes.

Zielonka's algorithm is based on a recursive descent on the number of priorities. If the maximal priority is 0, it is immediate to see that player 0 wins the whole game (with an arbitrary strategy). Otherwise, let be the largest one and let be the player associated with the priority. Let be the set of nodes with priority and let be the corresponding attractor of player . Player can now ensure that every play that visits infinitely often is won by player .

Consider the game in which all nodes and affected edges of are removed. We can now solve the smaller game by recursion and obtain a pair of winning sets . If is empty, then so is for the game , because player can only decide to escape from to which also results in a win for player .

Otherwise, if is not empty, we only know for sure that player can win on as there is no player escape from to (because is an attractor already). We therefore compute to attractor of and remove it from to obtain the smaller game . We again solve it by recursion and obtain a pair of winning sets . It follows that and .

In simple pseudocode, the algorithm might be expressed as this:

 function solve()
      = maximal priority in 
     if 
         return 
     else
          nodes in  with priority 
         
         
         
         if 
              return 
         
         
         return 

Related games and their decision problems

A slight modification of the above game, and the related graph-theoretic problem, makes solving the game NP-hard. The modified game has the Rabin acceptance condition. Specifically, in the above bipartite graph scenario, the problem now is to determine if there is a choice function selecting a single out-going edge from each vertex of V0, such that the resulting subgraph has the property that in each cycle (and hence each strongly connected component) it is the case that there exists an i and a node with color 2i, and no node with color 2i + 1...

Note that as opposed to parity games, this game is no longer symmetric with respect to players 0 and 1.

Relation with logic and automata theory

Most common applications of parity game solving.

Despite its interesting complexity theoretic status, parity game solving can be seen as the algorithmic backend to problems in automated verification and controller synthesis. The model-checking problem for the modal μ-calculus for instance is known to be equivalent to parity game solving. Also, decision problems like validity or satisfiability for modal logics can be reduced to parity game solving.

References

  1. D. A. Martin: Borel determinacy, The Annals of Mathematics, Vol 102 No. 2 pp. 363–371 (1975)
  2. One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang
  3. 3.0 3.1 E. A. Emerson and C. S. Jutla: Tree Automata, Mu-Calculus and Determinacy, IEEE Proc. Foundations of Computer Science, pp 368–377 (1991), ISBN 0-8186-2445-0
  4. A. Mostowski: Games with forbidden positions, University of Gdansk, Tech. Report 78 (1991)
  5. One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang
  6. Grädel 2007, p. 163
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534

Further reading

  • E. Grädel, W. Thomas, T. Wilke (Eds.) : Automata, Logics, and Infinite Games, Springer LNCS 2500 (2003), ISBN 3-540-00388-6
  • W. Zielonka : Infinite games on finitely coloured graphs with applications to automata on infinite tree, TCS, 200(1-2):135-183, 1998

External links

Parity Game Solvers: