Math Simulation

Mathematical agents that are aware of each other — Bayesian beliefs, reputation, deception, and deterministic replay. Two interactive simulations and the research notes behind them.

Fraud Box — Trust & Deception Simulator

A marketplace where bust-out fraudsters farm trust to raise their transaction limit, then cash out and re-enter fresh. You run the detector: complaint rules, Bayesian P(honest) per account, or Bayes plus probe transactions that force evidence before limits grow.

Seed 42, 4,000 ticks — rules lose $1,681 (36% caught) · Bayes loses $834 (57%, zero false positives) · Bayes + probes loses $1,039 (56%). Probes buy evidence; evidence is not free.
Bayesian beliefsbust-out fraudprobe transactionscollusion rings
The Box Simulation

Agents forage and meet in prisoner's-dilemma encounters. Switch theory-of-mind depth: reactive, models others, or recursive — modeling others modeling it. Joint beliefs by exact tensor contraction, witness-seeking to falsify confident beliefs, seeded deterministic mode.

theory of mindtensor contractionderandomizationdeceptive signaling

Research notes: close readings of math/physics papers — the deterministic discrete-logarithm paper whose methods power the Box's belief engine, and a fourteen-document corpus studied and not adopted. Source: github.com/instafire/math-simulation · MIT