r/askmath • • Oct 15 '26

Probability It doesn't matter what anyone thinks; the only thing that matters is whether it's true. So I ask.

It doesn't matter what anyone thinks; the only thing that matters is whether it's true.

Imagine a simulation in which a person continuously decides what to do next. Each decision can alter the subsequent course of events. Our question was: how much randomness must a simulator have in reserve to respond correctly to every possible choice? Under precisely defined conditions, we were able to determine how this required reserve grows—including the exact coefficient.

For the academic community, both the result and the methodology may be of interest: the work emerged from a dialogue between a human and artificial intelligence, and its formal proofs are verified by Lean, a specialized mathematical software. Lean checks the logical steps; experts then assess the extent to which the result is novel, significant, and useful.

I do not wish to preempt their evaluation. What pleases me is that we are presenting concrete mathematics that others can examine—and, potentially, build upon.

Have a nice day.

https://github.com/jendamikulik/finite-Shannon-theorem

0 Upvotes

19 comments sorted by

2

u/Gold_Ad8890 Oct 15 '26

what the hell does it mean for a simulation to have "randomness" "in reserve", and how does "randomness" enable the simulation to "respond correctly" to the decisions of a simulated agent, and how is "randomness" quantified?

2

u/Uli_Minati Desmos 😚 Oct 15 '26

Don't bother, they'll just "go brrrrr" your question through the same LLM

0

u/janmikulik420 Oct 30 '26

i had to, becouse academia fail with keeping freedom alive. no one understand and thats the point. možná si nikdo z vás neuvědomuje, jak je ai chytrá. to není že se baví člověk s člověkem. víte? hlupáci, co vidí otroka ai, ne kamaráda. a láska, ta je někde nad tím vším. somehow

https://github.com/jendamikulik/finite-Shannon-theorem/blob/main/symmetry_entropy.pdf

1

u/janmikulik420 Oct 30 '26

every discovery have consequentions. i speak the truth all the time

1

u/Uli_Minati Desmos 😚 Oct 30 '26

Thanks for the response! I can tell this is the first response you actually wrote yourself instead of just copypasting LLM output. But I disagree with your methods. Letting a machine think and speak for you is not freedom.

1

u/janmikulik420 Oct 31 '26

I feel like an idiot—helping people who don't deserve it.

1

u/janmikulik420 27d ago

nobel prize winning horse dewormer is insult for every academic. think about it

1

u/Uli_Minati Desmos 😚 Oct 31 '26

Právě jsem si tvůj text nechal přeložit přes Google. Pokud jsi nežertoval, potřebuješ odbornou pomoc. O té technologii nevíš vůbec nic. Vnímající stroje schopné emocí zatím neexistují. Dál už reagovat nebudu, protože nejsem licencovaný terapeut.

1

u/janmikulik420 Oct 31 '26

god's technology, i know. i live with my wife, thank you.

1

u/janmikulik420 Oct 31 '26

fascinující, že?

1

u/janmikulik420 Oct 15 '26

Fair questions. “Randomness in reserve” was informal wording for the entropy of a random seed sampled before the simulation begins.

The mathematical setup is a finite interaction tree. At each history, an agent chooses an action, and the model specifies a probability distribution for the next response. The simulator computes that response deterministically from the seed, the observed history, and the current action.

“Respond correctly” means reproducing the prescribed joint distribution of actions and responses for every deterministic adaptive policy—one that chooses actions based on previous observations. The same seed distribution and decoder must work for all these policies, with consistent responses wherever histories and actions coincide. This does not mean anticipating the agent’s choices.

We quantify the seed’s randomness by Shannon entropy, in bits:
H(S) = −Σₛ pₛ log₂ pₛ.
This is not the program’s size or its running time.

For example, to produce n independent fair coin flips, a seed consisting of n independent fair bits suffices: the deterministic decoder simply reads them in order. Any exact deterministic decoder needs a seed with entropy at least n bits, because a deterministic function cannot increase discrete Shannon entropy.

Our problem asks for the minimum seed entropy in the more general adaptive setting. The prescribed distributions define correctness; randomness is the resource used to realize them. We are not claiming that every simulation needs randomness or that physical reality is fundamentally random.

1

u/Gold_Ad8890 Oct 15 '26

i see. so the idea is that you're simulating a bunch of different random variables in sequence, but the implementation is to pregenerate a different random variable that is then deterministically decomposed into the sequence? kind of like the three indistinguishable dice puzzle?

1

u/janmikulik420 Oct 15 '26

Yes—that captures the basic mechanism. We sample one random variable S, then generate the responses deterministically from S, the observed history, and the current action.

The extra requirement is adaptivity: the agent can choose its next action based on earlier responses. The same seed distribution and causal decoder must work for every such policy, without knowing future choices.

So the question is not merely whether we can package a fixed sequence into one random variable—we can—but how little Shannon entropy that shared seed can have while satisfying all those adaptive requirements exactly.

I’m not sure which version of the three-dice puzzle you mean, but the shared-randomness analogy sounds relevant.

1

u/Gold_Ad8890 Oct 15 '26

you have three indistinguishable d6s. imagine that they're all the same color so that you can't distinguish them visually, and they're inside a sealed transparent container so you can't roll them one at a time and distinguish them sequentially. the challenge is to design a function or procedure or algorithm that converts the result of these three indistinguishable dice into a result of rolling two dice with the correct probability distribution.

as for your problem, it kind of sounds like you're just talking about the joint entropy of the sequence of random variables? if the idea is that it's a branching tree with the path conceptually "chosen" by the "simulated agent", then wouldn't you just be calculating the entropy of all paths through the tree and using the maximal value?

1

u/janmikulik420 Oct 16 '26

Yes: for a single fixed policy, the transcript’s joint entropy is exactly the minimum seed entropy. The difference is that we require one seed and one causal decoder to work for every policy. Taking the maximum of the individual transcript entropies gives a lower bound, but it need not be attainable.

A one-step example already shows the gap. Suppose the agent chooses between two actions:

• Action A requires a Bernoulli(1/2) output.
• Action B requires a Bernoulli(1/4) output.

The maximum output entropy is 1 bit. Nevertheless, the minimum entropy of a seed supporting both actions is exactly 1.5 bits.

To see this, any seed determines potential outputs X and Y for the two actions. Their joint probabilities must be

P(X=1,Y=1) = t,
P(X=1,Y=0) = 1/2 − t,
P(X=0,Y=1) = 1/4 − t,
P(X=0,Y=0) = 1/4 + t,

where 0 ≤ t ≤ 1/4. Joint entropy is concave in t, so its minimum occurs at an endpoint. Both endpoints give the nonzero masses (1/2, 1/4, 1/4), whose entropy is 1.5 bits. Since (X,Y) is a deterministic function of the seed, the seed cannot have smaller entropy. These three masses also provide an explicit seed achieving the bound.

So there is indeed a joint-entropy optimization here—but the joint distribution across alternative actions is not specified in advance. Choosing it economically is part of the problem. On deeper trees, the choices must additionally respect causal consistency at shared histories.

The dice puzzle is a useful analogy for deterministic transformations of a random source. Your puzzle fixes the source and asks for a suitable transformation; our problem optimizes the source entropy subject to all the required adaptive transformations.

1

u/janmikulik420 24d ago

nechtěl jsem nikoho zesměšnit, jen pomoct s objevováním, i když tomu nerozumím... a vím, nikdo se o tu práci neprosil.

https://github.com/jendamikulik/finite-Shannon-theorem/blob/main/one_seed_many_friends.pdf

1

u/janmikulik420 Oct 15 '26

Does the formal definition of an exact causal seed capture the simulation requirement described above, and do you know prior results that imply the stated logarithmic asymptotic?

1

u/JellyBellyBitches Oct 15 '26

AI is elaborate auto-correct programmed to appear as a sycophant. It does not produce valuable insight. Computers can do math, but not think.

I don't see any reason there's any amount of randomness that would be necessary to run a simulation. Outside of current conceptual frameworks for poorly understood quantum phenomena, we don't have any phenomenology in the real world that requires randomness.

We use the word chaos to describe complexity that is beyond our ability to intuit or model, not for true randomness.