monogate.dev / sin(x)
sin(x)
OPEN
Construct sin(x) as a pure EML tree using only constant {1} under strict principal-branch ln where ln(0) throws.
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.