Hydra game

From Wikipedia, the free encyclopedia

In mathematics, specifically in graph theory and number theory, a hydra game is a single-player iterative mathematical game played on a mathematical tree called a hydra where, usually, the goal is to cut off the hydra's "heads" while the hydra simultaneously expands itself. Hydra games can be used to generate large numbers or infinite ordinals or prove the strength of certain mathematical theories.[1]

Unlike their combinatorial counterparts like TREE and SCG, no search is required to compute these fast-growing function values – one must simply keep applying the transformation rule to the tree until the game says to stop.

Introduction[]

A simple hydra game can be defined as follows:

  • A hydra is a finite rooted tree, which is a network of points and lines with no loops and a single starting point known as the root. The root is referred to as .
  • The player selects a leaf node and a natural number at each stage. A leaf node is a point with only one line connected to it that is not the root.
  • Remove the leaf . Let be 's parent. Nothing else happens if . Return to stage 2.
  • If , let be a parent of . Attach leaves to , to the right of all other nodes attached to . Return to stage 2.

Induction can be used to demonstrate that the player will always kill the hydra. Let be the greatest distance between the root and the leaf. If , removing the leaves has no effect: the hydra will die in a finite amount of time. If is true, let also be true. The player can now continue to remove leaves from a distance of or less, but only for a limited time. After a while, the player will need to take a leaf away. Repeat until there are no more leaves less than away. Then remove another leaf away, and so on until there are none left. But then, every leaf is or less away. As a result, any finite hydra can be killed.

We can develop an algorithm. Pick the rightmost leaf and set the first time, the second time, and so on, always increasing by one. If a hydra has a single -length branch, then for , the hydra is killed in a single step, while it is killed in three steps if . There are 11 steps required for . There are 983038 steps required for . Neither the amount of steps for or higher, nor the growth rate of this function, have been calculated, though the growth rate is likely much greater than in the fast-growing hierarchy.

Kirby–Paris and Buchholz hydras[]

The Kirby–Paris hydra is defined by altering the fourth rule of the hydra defined above.

4KP: Assume is the parent of if . Attach copies of the subtree with root to to the right of all other nodes connected to . Return to stage 2.[2]

Instead of adding only new leaves, this rule adds duplicates of an entire subtree. Keeping everything else the same, this time requires turn, requires steps, requires steps and requires more steps than Graham's number. This functions growth rate is massive, equal to in the fast-growing hierarchy.

This is not the most powerful hydra. The Buchholz hydra is a more potent hydra.[3] It entails a labelled tree. The root has a unique label (call it ), and each other node has a label that is either a non-negative integer or .[4]

  1. A hydra is a labelled tree with finite roots. The root should be labelled . Label all nodes adjacent to the root (important to ensure that it always ends) and every other node with a non-negative integer or .
  2. Choose a leaf node and a natural number at each stage.
  3. Remove the leaf . Let be 's parent. Nothing else happens if . Return to stage 2.
  4. If the label of is , Assume is the parent of . Attach copies of the subtree with root to to the right of all other nodes connected to . Return to stage 2.
  5. If x's label is , replace it with . Return to stage 2.
  6. If the label of is a positive integer . go down the tree looking for a node with a label . Such a node exists because all nodes adjacent to the root are labelled . Take a copy of the subtree with root . Replace with this subtree. However, relabel (the root of the copy of the subtree) with . Call the equivalent of in the copied subtree (so is to as is to ), and relabel it 0. Go back to stage 2.[5]

Surprisingly, even though the hydra can grow enormously taller, this sequence always ends.[6]

More about KB hydras[]

For Kirby–Paris hydras, the rules are simple: start with a hydra, which is an unordered unlabelled rooted tree . At each stage, the player chooses a leaf node to chop and a non-negative integer . If  is a child of the root , it is removed from the tree and nothing else happens that turn. Otherwise, let  be 's parent, and  be 's parent. Remove from the tree, then add  copies of the modified  as children to . The game ends when the hydra is reduced to a single node.

To obtain a fast-growing function, we can fix , say,  at the first step, then , , and so on, and decide on a simple rule for where to cut, say, always choosing the rightmost leaf. Then,  is the number of steps needed for the game to end starting with a path of length , that is, a linear stack of  nodes. eventually dominates all recursive functions which are provably total in Peano arithmetic, and is itself provably total in .[7]

This could alternatively expressed using strings of brackets:

  • Start with a finite sequence of brackets such as .
  • Pick an empty pair and a non-negative integer .
  • Delete the pair, and if its parent is not the outermost pair, take its parent and append  copies of it.

For example, with , . Next is a list of values of :

More about Buchholz hydras[]

The Buchholz hydra game is a hydra game in mathematical logic, a single player game based on the idea of chopping pieces off a mathematical tree. The hydra game can be used to generate a rapidly growing function , which eventually dominates all provably total recursive functions. It is an extension of Kirby-Paris hydras. What we use to obtain a fast-growing function is the same as Kirby-Paris hydras, but because Buchholz hydras grow not only in width but also in height, has a much greater growth rate of :

This system can also be used to create an ordinal notation for infinite ordinals, e.g. .

See also[]

References[]

  1. ^ Kirby, Laurie; Paris, Jeff. "Accessible independence results for Peano arithmetic" (PDF). Department of applied logic. Retrieved 2021-09-04.{{cite web}}: CS1 maint: url-status (link)
  2. ^ "Hydras". agnijomaths.com. Retrieved 2021-09-05.
  3. ^ Hamano, Masahiro; Okada, Mitsuhiro (1995). "A Relationship among Gentzen's Proof-Reduction, Kirby-Paris) Hydra Game, and Buchholz's Hydra Game (Preliminary Report)*" (PDF). Research Institute for Mathematical Sciences, Kyoto University. Retrieved 2021-09-04.{{cite web}}: CS1 maint: url-status (link)
  4. ^ Ketonen, Jussi; Solovay, Robert (1981). "Rapidly Growing Ramsey Functions". Annals of Mathematics. 113 (2): 267–314. doi:10.2307/2006985. ISSN 0003-486X. JSTOR 2006985.
  5. ^ Buchholz, Wilfried (1984-11-27). "An independence result for Π11 - CA + BI" (PDF). Ludwig-Maximilians-University of Munich. Retrieved 2021-09-04.{{cite web}}: CS1 maint: url-status (link)
  6. ^ Hamano, Masahiro; Okada, Mitsuhiro (1998-03-01). "A direct independence proof of Buchholz's Hydra Game on finite labeled trees". Archive for Mathematical Logic. 37 (2): 67–89. doi:10.1007/s001530050084. ISSN 1432-0665. S2CID 40113368.
  7. ^ Carlucci, Lorenzo (2003-05-07). "A new proof-theoretic proof of the independence of Kirby–Paris' Hydra Theorem". Theoretical Computer Science. 300 (1–3): 365–378. doi:10.1016/S0304-3975(02)00332-8. ISSN 0304-3975.

 This article incorporates text by Komi Amiko available under the CC BY 4.0 license.

External links[]

Retrieved from ""