monogate.dev / challenges / i (extended grammar)
i (extended grammar)
OPEN
Construct i = sqrt(-1) using extended EML grammar (complex inputs allowed). Open problem: can i be reached as an EML value over C?
Nearest miss (Im)
0.99999524
At depth
6
Gap
4.76e-6
Grammar
Allowed
eml(x, y) = exp(x) − ln(y) — the single operator
Terminal: constant 1
Terminal: variable x (for function challenges)
Compositions: any finite binary tree over the above
Forbidden
ln(0) — undefined, throws RangeError
Math.sin, Math.cos, Math.PI, or any Math.* shortcut
Any function outside the EML grammar
Extended-reals convention (ln(0) = −∞) — not this grammar
Under extended-reals grammar (pveierland/eml-eval), i is solved at K=75. This challenge is the strict grammar variant where ln(0) throws.
Leaderboard — 0 valid constructions
#
Author
Nodes
Depth
Date
No valid constructions yet. Be the first.
Not sure where to start?Try the symbolic regression search tool →
Submit a Construction
Available: eml exp ln neg add sub mul div pow recip · terminals: 1 x · numeric literals ok
Validated server-side against known test cases.