Lucy's Moonlight: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
MrSolis (talk | contribs)
mNo edit summary
Add adjectives back in
Line 1: Line 1:
{{machine|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}{{TM|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}
{{machine|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}{{TM|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}


'''Lucy's Moonlight''' is a [[BB(6)]] [[Cryptid]]. This [[Turing machine]] was first mentioned [https://discord.com/channels/960643023006490684/1239205785913790465/1345551751016878272 on Discord] by Racheline on 1 Mar 2025, who afterward found a set of [https://discord.com/channels/960643023006490684/1345810396136865822/1345820781363597312 high-level rules] describing it. Shawn Ligocki later discovered and [https://discord.com/channels/960643023006490684/1345810396136865822/1346329322851401868 shared] a more refined set of rules, displayed below.
'''Lucy's Moonlight''' is a [[probviously]] halting tetrational [[BB(6)]] [[Cryptid]]. This [[Turing machine]] was first mentioned [https://discord.com/channels/960643023006490684/1239205785913790465/1345551751016878272 on Discord] by Racheline on 1 Mar 2025, who afterward found a set of [https://discord.com/channels/960643023006490684/1345810396136865822/1345820781363597312 high-level rules] describing it. Shawn Ligocki later discovered and [https://discord.com/channels/960643023006490684/1345810396136865822/1346329322851401868 shared] a more refined set of rules, displayed below.
<div style="width: fit-content; text-align: center; margin-left: auto; margin-right: auto;">
<div style="width: fit-content; text-align: center; margin-left: auto; margin-right: auto;">
{|class="wikitable" style="margin-left: auto; margin-right: auto;"
{|class="wikitable" style="margin-left: auto; margin-right: auto;"

Revision as of 20:16, 21 April 2025

1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA (bbch)

Lucy's Moonlight is a probviously halting tetrational BB(6) Cryptid. This Turing machine was first mentioned on Discord by Racheline on 1 Mar 2025, who afterward found a set of high-level rules describing it. Shawn Ligocki later discovered and shared a more refined set of rules, displayed below.

0 1
A 1RB 0RD
B 0RC 1RE
C 1RD 0LA
D 1LE 1LC
E 1RF 0LD
F --- 0RA
The transition table of Lucy's Moonlight.

Analysis

Let C(a,b):=0∞1011a1b10C>0∞. Then, C(a+1,3b)→12b2+53b+28C(a,8b+6),C(a+2,3b+1)→12b2+77b+103C(a,8b+16),C(a+2,3b+2)→12b2+101b+184C(a,8b+22),C(0,3b)→12b2+29b+52C(2b,8),C(0,3b+1)→12b2+53b+30C(0,8b+5),C(1,3b+1)→12b2+53b+580∞10112b+41F>0∞,C(0,3b+2)→12b2+53b+28C(0,8b+5),C(1,3b+2)→12b2+77b+160C(2b+4,8).

Proof

Consider the partial configuration P(m,n):=1m10nC>0∞, which after three steps is 1m10n<D010∞. To advance, this shift rule is required: 10s<D→2s<D01s This means we have 1m<D01n+10∞ after 2n steps, with 1m−30D>01n+20∞ after three further steps. From here, we can use the fact that 0D>01s becomes 100D>01s−1 in four steps if s≥1 to get this rule: 0D>01s→4s10s0D> Using this rule produces 1m−310n+20D>0∞ in 4n+8 steps. With five more steps, we get 1m−310n+4C>0∞, which is also P(m−3,n+4). To summarize: P(m,n)→6n+19P(m−3,n+4) if m≥3. With C(a,b) we have P(b,1) and are able to apply this rule ⌊b3⌋ times, with three possible scenarios:

  1. If b≡0 (mod⁡3), then in ∑i=0b/3−1(6(1+4i)+19)=43b2+133b steps we arrive at P(0,1+4b3). The matching complete configuration is 0∞1011a101+4b/3C>0∞. In 83b+5 steps we have 0∞1011a<D012+4b/30∞, followed by 0∞1011a−111B>013+4b/30∞ after three steps. We note that if s≥2, then B>01s becomes 11B>01s−1 in 8 steps, giving this transition rule:B>01s→8s−412s−10C> if s≥1.In this instance, the result is 0∞1011a−117+8b/30C>0∞, equal to C(a−1,83b+6), after 323b+20 steps. This gives a total of 43b2+533b+28 steps.
  2. We can rewrite C(a,b) as 0∞1011a−1101b+210C>0∞ if a≥1. Given this, we have P(b+2,1), and if b≡1 (mod⁡3), then in 43b2+293b+14 steps we arrive at 0∞1011a−110(4b+14)/3C>0∞, which in 8b+373 steps becomes 0∞1011a−1<D01(4b+17)/30∞, and then 0∞1011a−211B>01(4b+20)/30∞ after three more steps. We end with 32b+1483 steps to get 0∞1011a−21(8b+43)/30C>0∞, equal to C(a−2,8b+403). This gives a total of 43b2+23b+2363 steps.
  3. If b≡2 (mod⁡3) and we reuse the technique of rewriting C(a,b), then in 43b2+7b+173 steps we arrive at 0∞1011a−110110(4b+7)/3C>0∞, which in 8b+233 steps becomes 0∞1011a−1101<D01(4b+10)/30∞, and then in five steps, 0∞1011a−10D>01(4b+13)/30∞. Adding 16b+523 steps gives us 0∞1011a−110(4b+13)/30D>0∞, and another eight gives us 0∞1011a−110(4b+19)/3<D010∞. After 8b+383 steps, the configuration is 0∞1011a−1<D01(4b+22)/30∞ and after three more, 0∞1011a−211B>01(4b+25)/30∞. We conclude with 0∞1011a−21(8b+53)/30C>0∞, equal to C(a−2,8b+503), after 32b+1883 steps, for a total of 43b2+853b+122 steps.

The behaviour of Lucy's Moonlight changes at the boundary conditions: a=0 or a=1. These changes are addressed below:

  1. If a=0 and b≡0 (mod⁡3), then starting from 0∞<D012+4b/30∞, we take three steps to get 0∞10A>012+4b/30∞. It is here that another shift rule must come into use:A>012s→4s1110sA>Upon using this shift rule, we get 0∞1011101+2b/3A>0∞ in 83b+4 steps. This configuration is the same as 0∞10111+2b/310A>0∞. With 40 more steps, we end at 0∞10112b/3190C>0∞, equal to C(23b,8), for a total of 43b2+293b+52 steps.
  2. If a=0 and b≡1 (mod⁡3), then in 43b2+53b−3 steps we arrive at 0∞110(4b−1)/3C>0∞. With 8b+73 more steps we now have 0∞1<D01(4b+2)/30∞. Given five steps, the result is 0∞1B>01(4b+5)/30∞, which turns into 0∞1(8b+10)/30C>0∞, equal to C(0,8b+73) in 32b+283 steps for a total of 43b2+15b+413 steps.
  3. If a=1 and b≡1 (mod⁡3), then starting from 0∞<D01(4b+17)/30∞, we get 0∞10A>01(4b+17)/30∞ in three steps. Since 01(4b+17)/3 and 01(4b+14)/301 are the same, what follows is 0∞1011(2b+7)/310A>010∞ in 8b+283 steps before finally reaching 0∞1011(2b+10)/31F>0∞, and therefore the undefined F0 transition, in three steps. This gives a total of 43b2+15b+1253 steps.
  4. If a=0 and b≡2 (mod⁡3), then in 43b2−b−103 steps we arrive at 0∞1110(4x−5)/3C>0∞. It takes a further 8b−13 steps to reach 0∞11<D01(4b−2)/30∞, and adding three more gives us 0∞1B>01(4b+1)/30∞. With 32b−43 more steps we end up with 0∞1(8b+2)/30C>0∞, equal to C(0,8b−13). This gives a total of 43b2+373b−2 steps.
  5. If a=1 and b≡2 (mod⁡3), then starting from 0∞<D01(4b+22)/30∞, we take three steps to get 0∞10A>01(4b+22)/30∞, and taking 8b+443 more steps produces 0∞1011(2b+11)/310A>0∞. After 40 steps, we reach 0∞1011(2b+8)/3190C>0∞, which is C(2b+83,8), for a total of 43b2+613b+114 steps.

The information above can be summarized as C(a,b)→{C(a−1,83b+6)if a≥1 and b≡0(mod3),C(a−2,8b+403)if a≥2 and b≡1(mod3),C(a−2,8b+503)if a≥2 and b≡2(mod3),C(23b,8)if a=0 and b≡0(mod3),C(0,8b+73)if a=0 and b≡1(mod3),0∞1011(2b+10)/31F>0∞if a=1 and b≡1(mod3),C(0,8b−13)if a=0 and b≡2(mod3),C(2b+83,8)if a=1 and b≡2(mod3). Substituting b=3b+k, where k is the remainder of b modulo 3, yields the final result.

We can define these functions:

  • f(n)=10n+6−18⌊n3⌋−4⌊n+13⌋ (the movement of b according to the first three rules)
  • S(n)=∑i=0n(1+⌊fi(8)+1−3⌊fi(8)/3⌋2⌋) (which imitates a decreasing, with fi(n) representing function iteration)
  • Mf(n)=min⁡{k∈ℕ:(fk(8)≡0 (mod⁡3)∧S(k−1)=n)∨(fk(8)≢0 (mod⁡3)∧S(k−1)≥n−1)} (the number of iterations of f(n) needed to reach a boundary condition)
  • g(n)=8⌊n−13⌋+5 (representing rules 5 and 7)
  • Mg(n)=min⁡{k∈ℕ:gk(n)≡0 (mod⁡3)} (the amount of times g(n) must be applied to reach a multiple of 3)
  • q(n)=fMf(n)(8)

The sequence of values for which as long as Lucy's Moonlight does not halt, we get configurations of the form C(k,8), denoted cn, can be written as: c0=0,cn+1=(cn−S(Mf(cn)−1))×2q(cn)+83+(1−cn+S(Mf(cn)−1))×23gMg(q(cn))(q(cn)). Lucy's Moonlight halts if and only if there exists a c∈cn such that c−S(Mf(c)−1)=1 and q(cn)≡1 (mod⁡3).

Trajectory

Starting with C(0,0) after two steps, Lucy's Moonlight repeatedly applies the Collatz-like rules. The first few steps are shown below: C(0,0)→52C(0,8)→182C(0,21)→843C(14,8)→434C(12,38)→3124C(10,118)→21358C(8,328)→⋯ From C(0,0), it takes 11 rule steps to get C(11292,8) and 6811 more to get C(c3,8), where c3≈8.282×102901. Because cn grows tetrationally, analysis of fi(n) and gi(n) is critical to understanding the nature of any additional terms of this sequence. Despite this, Lucy's Moonlight can be argued to probviously halt if one considers each instance of C(k,8) as the beginning of an independent round of a luck-based game, detailed below:

  1. A random large number n is generated.
  2. At each time unit, n will decrease by 1 with probability 13 or decrease by 2 with probability 23. This step repeats as long as n≥2.
  3. If n=1, then n will decrease to 0, the game is won, or a new round begins, each with probability 13.
  4. If n=0, then a new round begins.

If P(n) is the probability of winning a round with starting value n, then P(n)=13P(n−1)+23P(n−2) if n≥2. This is a recurrence relation whose general solution is P(n)=c0+c1(−23)n. The boundary conditions P(0)=0 and P(1)=13 enable us to obtain c0=15 and c1=−15. Since |−23|<1, P(n)≈15 for large n, so the probability of winning the game in r rounds is approximately 1−(45)r. Because there is an unlimited number of rounds available, the game will almost surely be won eventually, so Lucy's Moonlight will almost surely halt.