On the Middle-Term Modeling of Endgame Theories and the Optimal Publication Multiplier
Feel free to use the glossary as needed.
Introduction #
The game features 8 theories each with its distinct characteristics and means of behavior. Although they seem wildly different from each other visually and numerically short-term, the general long-term concept of purchasing variables of exponentially-higher prices to aid the main currency’s near-exponential progress remains constant despite the difference of how they actually affect the growth of the theories they belong to. Therefore, we can use a single model deduced from the Cost and the Effect of all the variables used in a theory to explain the long-term and middle-term behavior of a theory, and make meaningful conclusions from the observed properties of the model about the original theories.
Required Background Knowledge #
- High school level mathematics
- Asymptotic Notations
- The Concept of ODEs
How Variable Upgrades Work in the Long Term? #
Almost every upgrade in the game follows a Cost-Level relation of:
In which \(a>0\) and \(b>1\) are pre-determined constants. On the other hand, upgrades have two ways to determine the value of the variable:
Direct Multiplication: #
This type of upgrade has an identical equation to the equation mentioned above, just with different constants in the places of \(a\) and \(b\). It can be represented as the expression below:
In which \(c>0\) and \(d>1\) are pre-determined constants.
Lemma 1.1 #
If we always buy the \((L\in\mathbb{N})\)-th and latest upgrade of a “Direct Multiplication” variable \(u\), which indicates \(\rho = Cost(u,L)\). Then, the value of \(u\) and the peak value of its currency \(\rho\) at the purchase follows a relation described by \(u = K\rho^{r}\), in which \(K\in\mathbb{R}^+\) and \(r\in\mathbb{R}^+\), in which \(r\) only depends on the exponent part of the Cost and Value equations.
Proof #
From (1-1) we have:
Since \(a \neq 0\),
Since \(b > 0\), logarithm with a base of \(b\) is defined,
Thus,
From (1-2) and (1-3) we have:
We can see that \(r = log_b(d)\) only depends on b and d.
Since \(b>1\) and \(d>1\), \(log_b(d)>0\).
Since \(a>0\) and \(c>0\), \(\frac{c}{a^{log_b(d)}}>0\).
Therefore, there exists a pair of \(K\) and \(r\) that fits the conditions.
Lemma 1.2 #
For a “Direct Multiplication” \(u\), there exists \(r \in \mathbb{R}^+\) so that the value of \(u\) and the peak value of its currency \(\rho\) meet the expression below:
Proof #
Without loss of generality, let’s suppose that we have purchased the \((L>0)\)-th upgrade of \(u\) and we are yet to purchase the\((L+1)\)-th upgrade. Thus, we have:
We can see the upper bound as an expression of a virtual variable \(u’\), in which:
According to Lemma 1.1, \(u\) and \(u’\) share the same exponent \(r\), let’s name the \(K\) for the two variables \(K\) and \(K’\) respectively. Since \(b>1\), \(K’< K\), from Lemma 1.1 we have:
Which is the definition of:
Step-wise: #
This type of variable follows a rather unorthodox path of progression, an explaination of its mechanic is explained here. Let’s suppose there exist a Stepwise variable \(v\) that has the following properties:
- A cycle of \(v\) spans \(m>0\) levels.
- On the first cycle of \(v\), it increases by \(p>0\) per level.
- On each cycle, the amount of increase per level gets multiplied by \(q>1\).
Lemma 1.3 #
For each “Stepwise” variable \(v\), there exist \((c_1, c_2) \in \mathbb{R}^+\) and \(d \in \mathbb{R}^+\) so that for any level \((L \in \mathbb{N} \ge m)\), the inequality below holds:
Proof #
Without loss of generality, let’s consider the \((k+1 \ge 2)\)-th cycle of \(v\), therefore, the value of \(v\) after the \((0 < l \in \mathbb{N}\ \le m\))-th upgrade in the cycle is \(v_{mk+l}\): From the definition of a Stepwise variable we have:
Since \(m\)>0,from (1-4) we have:
Since \(0 \le \frac{l}{m} \le 1\) and \(q>1\),
Therefore,
Since \(k>1\), \(q^{k-1}>1\), from (1-4) we have:
Since \(0 \le \frac{l}{m} \le 1) and (q>-1\), we can apply Bernoulli’s inequality to get:
Therefore,
From (1-6) and (1-8) we have: $$\frac{mp}{q}(q^{\frac{1}{m}})^{mk+l} < v_{mk+l} < mp\frac{q}{q-1}(q^\frac{1}{m})^{mk+l}$$ Since \(mk+l = L\) in this case, $$\frac{mp}{q}(q^{\frac{1}{m}})^L < v_L < mp\frac{q}{q-1}(q^\frac{1}{m})^L$$ Apparently, \((\frac{mp}{q},\frac{mpq}{q-1}) \in \mathbb{R}^+\) and \(q^\frac{1}{m} \in \mathbb{R}^+\)
Therefore, there exist \((c_1,c_2)\) and \(d\) that fit the conditions.
Lemma 1.4 #
For a “Step-wise” variable \(v\), there exists \(r \in \mathbb{R}^+\) so that the value of \(v\) and the peak value of its currency \(\rho\) meet the expression below:
Proof #
From Lemma 1.3 we have:
We can see the upper and lower bound as two virtual variables, let’s call them \(v_1\) and \(v_2\).
Since \(v_1\) and \(v_2\) are both “Direct Multiplication” variables, we can apply Lemma 1.2 on \(v_1\) and \(v_2\) and get:
In which \(r \in \mathbb{R}^+\). From (1-9), (1-10) and the definition mentioned in , we have:
From Lemma 1.2 and Lemma 1.4 we can obtain an important conclusion:
Lemma 1.5 #
For any purchasable variable \(v\), there exists \(r \in \mathbb{R}^+\) so that the value of \(v\) and the peak value of its currency \(\rho\) meet the expression below:
How Variables Propagate towards the Main Variable #
Theories all have one or more currencies, they are used to purchase variables or interact with other currencies. One shared feature of the theories is that the currencies they contain are either derived from a set of other variables and currencies via arithmetic operations, or that there is some key features in a theory that makes a few un-purchasable variables practically constant in the long term. (For example, the x,y and z in T8 due to Solarswap). Therefore, we can get the relation of a certain currency to the main currency in the long term by factoring in the currencies and variables that contribute in the growth of that specific currency. We can generalize the growth of all but a few derived variables or currencies into.
In which \(\rho_i\) are any variable, if the right side of the equation involves the variable itself, the variable is called “self-influenced”.
Normal Cases #
Lemma 2.1 #
For any Derived Variable \(a\) with uniform \(t\) exponents and is neither cyclic defined nor self-influenced, there exists \((x,y) \in \mathbb{R}^+\) so that:
Proof #
Since all the \(t\) exponents of the contributing variables are identical as a prerequisite of this Lemma, we only need to discuss the exponents of the main currency to analyze the derived variable asymptotically. Because \(\frac{∂a}{∂t}\) is the result of a series of Addition and Multiplication of the variables, we can use the arithemic laws of polynomial asymptotic notations.
- Multiplication: \(\Theta(\rho^{r_1}) \cdot \Theta(\rho^{r_2}) → \Theta(\rho^{(r_1+r_2)})\)
- Addition: \(\Theta(\rho^{r_1}) + \Theta(\rho^{r_2}) → \Theta(\rho^{max(r_1,r_2)})\)
From Lemma 1.5 and the closure under addition of \(\mathbb{R}^+\), there will always exist a dominant exponent \(x \in \mathbb{R}^+\) so that:
Integrate both sides with respect to t,
Therefore,
Since \(y \in \mathbb{R}^+\), \((y+1) \in \mathbb{R}^+\).
Cases with Self-Interference #
We can determine the asymptotic notation of a variable of this kind by solving a first order ODE, below is an example with the \(q\) variable in T4:
This is a classic example of a self-influenced variable, fortunately, the ODE is separable:
Integrate both sides,
As \(\rho\) approaches infinity, we can see that \(q\) approaches \(\sqrt{16q_1q_2t}\). We can then do the asymptotic analysis on the entire system normally from here.
More Complicated Cases #
In more complicated cases such as the systems that contain multiple powers of \(t\) in the growth of a single variable, the differential equation that correspounds to the main equation often fails to have a closed form solution for us to analyze. Common methods to analyze such a system are:
- Determine the strongest term by experiment and use the previous two methods (which is how we analyze T6, which has an intricate main equation)
- Use Numerical Methods (which the Theory Simulator incorporates)
- Reverse engineer the exponent of \(\rho\) of a specific variable from the final Decay Factor experimentally.
If we manage to get everything sorted, we will get a powerful conclusion:
Lemma 2.2 #
For any theory system in which Lemma 2.1 can apply fully on or can be analyzed asymptotically by other means, there exists \((x,y) \in \mathbb{R}^+\) so that:
Finally, the Model #
Here, we use the concept from Lemma 2.2, and factor in the mechanic of publication. Since all theories have the publication multiplier in the form of:
In which \(K,r \in \mathbb{R}^+\), \(\rho_{pub}\) is the value of \(\rho\) at the last publication Since the publication multiplier is directly multiplied on the \(\rho\) gain of the theory, we can construct a model using Lemma 2.2 and (3-1):
In which \(K,x,y,z \in \mathbb{R}^+\) are constants.
How to Deduce the Optimal Publication Multiplier in the Endgame of a Theory From the Model #
Theorem 1 #
For any theory system \(T\) that fits the expression below asymptotically
the long-term mean Publication Multiplier of \( T\) when \(\rho → ∞\) is:
Proof #
This is a separable differential equation, after some rearrangement we have:
Integrate both sides,
Since \(Kt^{y}\rho^{z}_{pub}\) is a constant in a publication,
Evaluate both Integrals,
In an Endgame situation, \(t → ∞\), therefore, \(C\) is ignorable.
We solve the equation to get:
The goal of ours is to find the Publication Multiplier that gives the maximum speed measured in a logarithmic scale, which can be expressed with the equation below:
We substitute (3-3) into (3-4) and get:
In the Endgame, \(ln(K’(1-x))\) is ignorable:
We use differentiation to find the maximum of the expression above:
Since \(t>0, x \neq 1\),
Thus,
The publication multiplier of the theory is:
Since \(r>0\), we can take the natural logarithm on both sides:
Substitute (3-7) into (3-8),
From (3-9), we get:
Q.E.D.
The Observations We Can Get from Theorem 1 #
- The more time-sensitive the theory is, which is reflected on a higher \(y\),the higher the publication multiplier will be.
- The lower the intra-publication decay, which is reflected on a higher \(x\), the longer the publication will be. If the intra-publication decay is negative, which means the theory is diverging without any aid from publication and \(x>1\), the publication multiplier will fall below 1, making publication un-economical.
- In a balanced theory that is not sensitive to time (All main theories except T2,4,6), the publication multiplier will be slightly lower than \(e\), the more severe the decay is, the lower it goes.
Examples of an Analysis #
This section will use the first two theories to explain how you compute the optimal publication multiplier of a theory solely from the information about a theory system.
Theory 1 #
The main equation in the Endgame is:
Using Lemma 1.5, we can get:
Using Lemma 2.2, we can see that the dominant term in the parentheses on the right is \(c_4\rho^{0.3}\), and the publication multiplier equation of it is \(K\rho^{0.164}_{pub}\)
Therfore, \(x = 0.525+log2, y = 0, z = 0.164\)
Thus, from Theorem 1 we get:
This is very close to the geometric mean of the results of Theory Simulator from e1000 to e1500.
Theory 2 #
The main equation is:
This theory features four layers of non-main equations, all in the form of:
or
In which \(c_n\) and \(d_n\) are purchasable variables. Using Lemma 1.5, we can get:
Using Lemma 2.2, we can analyze all the layers and factor in the publication multiplier equation of \(K\rho^{0.198}\)and get:
Therefore, \(x \simeq 0.72011 , y = 9.2, z = 0.198\)
Thus, from Theorem 1 we get:
Which is close to the results of Theory Simulator without T2MC from e1000 to e1500. This behavior is expected since Coasting – The main concept of T2MC is not considered at all in this analysis.
Credits #
(The people below are not sorted)
Thanks the following people for their research contribution! #
- Ghost (Playsprout)
- Spiral (a_spiralist)
- Megaminx
Thanks the following people for their feedbacks! #
- Mr. Optimal (NGZ)
- Speedrunner (Jooo)
- scide (scbose)
- Ghost (Playsprout)
- Helper (Axiss)
- nubest
Thanks the entire community for supporting my on the way of researching and creating such a wonderful environment!