Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Larp-Equation

An idiot admires complexity, a genius admires simplicity - Terry A. Davis, creator of TempleOS

This is a work in progress. For now most of this is made by claude (igotnotime), I did tell it to make an AST instead of using sympy to actually verify the result, since that would be a reverse CAS, which is unnecesary. The idea is really stupid. What if you wanted to larp knowing math when you can only do basic addition? Well here you go, now you can larp to your heart's content! All it does is take something simple like $x = 5$ and turn it into

$$ \left\langle \frac{x}{2} \cdot \chi(S^2) \cdot \mathbf{1},\ \mathbf{1} \right\rangle_{L^2[0,1]} \cdot b_1(S^1) = \sum_{k=1}^{\infty} \left( \frac{{Res}_{z=0}\left(\dfrac{5 \cdot \frac{1}{2\pi i}\oint_{|z|=1} \frac{dz}{z}}{z}\right)}{k} - \frac{{Res}_{z=0}\left(\dfrac{5 \cdot \frac{1}{2\pi i}\oint_{|z|=1} \frac{dz}{z}}{z}\right)}{k+1} \right) $$

It is a bit trivial once you notice most identities are just one, for example $\frac{1}{2\pi i}\oint_{|z|=1} \frac{dz}{z} = 1$, since by Cauchy's integral formula, $f(a) = \frac{1}{2\pi i}\oint_{\gamma} \frac{f(z)}{z-a}dz$. In this case $f(x) \mapsto 1$ for all $x$, $a = 0$, thus $f(a) = f(0) = 1$.

TODO:

  • Verify correctness (important)
  • Add options for subjects
  • Add more levels
  • Make pseudo-randomness less apparent
  • Make trivial identities' rule (like $x$ or $n$ where $n \in \mathbb{R}$) harder to spot

About

"An idiot admires complexity, a genius admires simplicity" - Terry A. Davis, creator of TempleOS

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages