Details

Time bar (total: 14.7s)

analyze243.0ms (1.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
50%50%0%6
50%50%0%7
50%50%0%8
50%50%0%9
50%50%0%10
50%50%0%11
50%50%0%12
Compiler

Compiled 12 to 9 computations (25% saved)

sample10.6s (71.9%)

Results
4.4s1555×body8192exit
3.1s4106×body1024valid
1.1s2054×body512valid
920.0ms1620×body1024invalid
408.0ms1921×body256valid
263.0ms827×body512invalid
193.0ms175×body2048valid
182.0ms842×body256invalid
1.0msbody2048invalid

preprocess99.0ms (0.7%)

Algorithm
egg-herbie
Rules
924×unswap-sqr_binary64
430×associate-/l*_binary64
381×fma-def_binary64
325×fma-neg_binary64
282×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11617
22615
33915
46315
512015
628115
773515
8117615
9313115
10503115
11577015
12710615
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Outputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
Compiler

Compiled 12 to 9 computations (25% saved)

simplify82.0ms (0.6%)

Algorithm
egg-herbie
Rules
924×unswap-sqr_binary64
430×associate-/l*_binary64
381×fma-def_binary64
325×fma-neg_binary64
282×fabs-mul_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0917
11617
22615
33915
46315
512015
628115
773515
8117615
9313115
10503115
11577015
12710615
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Outputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))

eval1.0ms (0%)

Compiler

Compiled 20 to 9 computations (55% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
58.4b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
Compiler

Compiled 10 to 6 computations (40% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (cos.f64 x))
0.7b
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
4.9b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
Compiler

Compiled 24 to 6 computations (75% saved)

series5.0ms (0%)

Counts
3 → 8
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
1.0ms
x
@inf
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
1.0ms
x
@-inf
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
1.0ms
x
@inf
(sqrt.f64 (cos.f64 x))
0.0ms
x
@0
(sqrt.f64 (cos.f64 x))

rewrite61.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
695×pow1_binary64
641×add-log-exp_binary64
641×log1p-expm1-u_binary64
641×expm1-log1p-u_binary64
624×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0730
113930
2174630
Stop Event
node limit
Counts
3 → 67
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(sqrt.f64 (cos.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 2) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (exp.f64 x))) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (exp.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x))) (cbrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2)) (sqrt.f64 (cbrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1/2) (pow.f64 (cbrt.f64 (cos.f64 x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cos.f64 x))))))))

simplify42.0ms (0.3%)

Algorithm
egg-herbie
Rules
642×distribute-rgt-in_binary64
605×fma-neg_binary64
564×distribute-lft-in_binary64
364×associate--r+_binary64
337×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
048225
1129207
2423169
32284147
Stop Event
node limit
Counts
75 → 81
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 1/6 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (pow.f64 x 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
Outputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/2) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x)))
(fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 1/6 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (pow.f64 x 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))))
(fma.f64 -1 (*.f64 (fma.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/2) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/3)) (pow.f64 x 3)) (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/2) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))))
(-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (*.f64 (fma.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/3 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2)) (pow.f64 x 3)))
(fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (fma.f64 (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/6) (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(+.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x)) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 (pow.f64 x 3) 1/6))))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) -1/4))
(fma.f64 (*.f64 x x) -1/4 1)
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/96 (pow.f64 x 4) (*.f64 x (*.f64 x -1/4))))
(fma.f64 x (*.f64 x -1/4) (fma.f64 -1/96 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 (fma.f64 (*.f64 x x) -1/4 1) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 -19/5760 (pow.f64 x 6))))
(+.f64 1 (fma.f64 -1/96 (pow.f64 x 4) (fma.f64 x (*.f64 x -1/4) (*.f64 -19/5760 (pow.f64 x 6)))))

eval18.0ms (0.1%)

Compiler

Compiled 1258 to 413 computations (67.2% saved)

prune19.0ms (0.1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New72981
Fresh000
Picked011
Done000
Total721082
Error
58.4b
Counts
82 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
59.9b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
58.4b
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
58.9b
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
58.8b
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
59.0b
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
58.4b
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 1)
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))
58.6b
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
Compiler

Compiled 230 to 158 computations (31.3% saved)

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(+.f64 1 (sqrt.f64 (cos.f64 x)))
0.2b
(-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)
0.7b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))
4.9b
(fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1))
Compiler

Compiled 45 to 22 computations (51.1% saved)

series3.0ms (0%)

Counts
4 → 40
Calls

12 calls:

TimeVariablePointExpression
0.0ms
x
@0
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))
0.0ms
x
@0
(fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1))
0.0ms
x
@0
(+.f64 1 (sqrt.f64 (cos.f64 x)))
0.0ms
x
@inf
(fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1))
0.0ms
x
@-inf
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))

rewrite73.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
441×log-prod_binary64
439×prod-diff_binary64
319×fma-def_binary64
259×pow-prod-down_binary64
250×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01056
121538
2298838
Stop Event
node limit
Counts
4 → 191
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))
(-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)
(+.f64 1 (sqrt.f64 (cos.f64 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) -2) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (pow.f64 (exp.f64 x) 2))) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (exp.f64 x) 2))) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) -1/2) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (exp.f64 x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (exp.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 x (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) -1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (sqrt.f64 (cos.f64 x)) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (sqrt.f64 (cos.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (sqrt.f64 (cos.f64 x)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 x)) (pow.f64 (cos.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/6) (cbrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 (sqrt.f64 (cos.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) (-.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 (sqrt.f64 (cos.f64 x)) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 (sqrt.f64 (cos.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (-.f64 1 (*.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (+.f64 (sqrt.f64 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 (sqrt.f64 (cos.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) (neg.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (sqrt.f64 (cos.f64 x)) -1) 3)) (+.f64 1 (-.f64 (pow.f64 (+.f64 (sqrt.f64 (cos.f64 x)) -1) 2) (+.f64 (sqrt.f64 (cos.f64 x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (+.f64 (sqrt.f64 (cos.f64 x)) -1) 2)) (-.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 3) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 x)) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 1/6) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 (sqrt.f64 (cos.f64 x)) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (pow.f64 (cos.f64 x) 1/4) (sqrt.f64 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cos.f64 x) 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/4 (log.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3/2 (log.f64 (cos.f64 x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sqrt.f64 (cos.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 x)) (pow.f64 (cos.f64 x) 1/6) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cos.f64 x) 1/6) (cbrt.f64 (cos.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (*.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/4) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) (*.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 (sqrt.f64 (cos.f64 x)) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3/2)) (/.f64 1 (+.f64 1 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (cos.f64 x)) (/.f64 1 (-.f64 1 (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) -1)) 2) (cbrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) -1)) (sqrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) (-.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 (cos.f64 x) 1/4) 1) (-.f64 (pow.f64 (cos.f64 x) 1/4) 1) 1)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (sqrt.f64 (cos.f64 x)))) (/.f64 (cos.f64 x) (-.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (*.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) (*.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3/2)) (/.f64 1 (+.f64 1 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) (/.f64 1 (-.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x)))) (+.f64 1 (pow.f64 (cos.f64 x) 3/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (sqrt.f64 (cos.f64 x))) (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3/2)) (+.f64 1 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3/2)) (+.f64 (cos.f64 x) (-.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 x)) (-.f64 1 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (cos.f64 x) 1) (+.f64 (sqrt.f64 (cos.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3/2))) (neg.f64 (+.f64 1 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (cos.f64 x))) (neg.f64 (-.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3/2)) 1) (+.f64 1 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (cos.f64 x)) 1) (-.f64 1 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x)))) (+.f64 1 (pow.f64 (cos.f64 x) 3/2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (sqrt.f64 (cos.f64 x))) (-.f64 1 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 (sqrt.f64 (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (log1p.f64 (sqrt.f64 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 x)) (pow.f64 (cos.f64 x) 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cos.f64 x) 1/6) (cbrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 (sqrt.f64 (cos.f64 x)) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 2) (cbrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) (sqrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) (-.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) 1)))))

simplify45.0ms (0.3%)

Algorithm
egg-herbie
Rules
642×distribute-rgt-in_binary64
605×fma-neg_binary64
564×distribute-lft-in_binary64
369×fma-def_binary64
364×associate--r+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
052557
1138537
2451497
32370475
Stop Event
node limit
Counts
231 → 213
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 1/6 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (pow.f64 x 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
2
(+.f64 2 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
Outputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/2) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x)))
(fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 (*.f64 x x) -1/2)))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 1/6 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (pow.f64 x 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))))
(fma.f64 -1 (*.f64 (fma.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/2) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/3)) (pow.f64 x 3)) (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/2) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))))
(-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (*.f64 (fma.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/3 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2)) (pow.f64 x 3)))
(fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (fma.f64 (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/6) (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(fma.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 (pow.f64 x 3) 1/6))))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) -1/4))
(fma.f64 (*.f64 x x) -1/4 1)
(fma.f64 x (*.f64 x -1/4) 1)
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/96 (pow.f64 x 4) (*.f64 x (*.f64 x -1/4))))
(fma.f64 x (*.f64 x -1/4) (fma.f64 -1/96 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 (fma.f64 (*.f64 x x) -1/4 1) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 -19/5760 (pow.f64 x 6))))
(+.f64 1 (fma.f64 -1/96 (pow.f64 x 4) (fma.f64 -19/5760 (pow.f64 x 6) (*.f64 (*.f64 x x) -1/4))))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
2
(+.f64 2 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 2 (*.f64 (*.f64 x x) -1/4))
(fma.f64 (*.f64 x x) -1/4 2)
(fma.f64 x (*.f64 x -1/4) 2)
(+.f64 2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 2 (fma.f64 -1/4 (*.f64 x x) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 2 (fma.f64 -1/96 (pow.f64 x 4) (*.f64 x (*.f64 x -1/4))))
(fma.f64 x (*.f64 x -1/4) (fma.f64 -1/96 (pow.f64 x 4) 2))
(+.f64 2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 2 (fma.f64 -1/4 (*.f64 x x) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 2 (fma.f64 (*.f64 x x) -1/4 (fma.f64 -1/96 (pow.f64 x 4) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/96 (pow.f64 x 4) (*.f64 (*.f64 x x) -1/4)) (fma.f64 -19/5760 (pow.f64 x 6) 2))
(+.f64 (fma.f64 x (*.f64 x -1/4) (*.f64 -1/96 (pow.f64 x 4))) (fma.f64 -19/5760 (pow.f64 x 6) 2))

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.5b
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
4.9b
(fmod.f64 (exp.f64 x) 1)
Compiler

Compiled 16 to 8 computations (50% saved)

series3.0ms (0%)

Counts
2 → 4
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
1.0ms
x
@-inf
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
1.0ms
x
@inf
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
0.0ms
x
@0
(fmod.f64 (exp.f64 x) 1)
0.0ms
x
@-inf
(fmod.f64 (exp.f64 x) 1)

rewrite43.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
556×pow1_binary64
512×add-log-exp_binary64
512×log1p-expm1-u_binary64
512×expm1-log1p-u_binary64
500×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0617
111317
2136817
Stop Event
node limit
Counts
2 → 46
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (cbrt.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (sqrt.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fmod.f64 (exp.f64 x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) 1)) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (fmod.f64 (exp.f64 x) 1) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (exp.f64 x))) (/.f64 (fmod.f64 (exp.f64 x) 1) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x))))))

simplify50.0ms (0.3%)

Algorithm
egg-herbie
Rules
677×fma-neg_binary64
581×distribute-rgt-in_binary64
519×distribute-lft-in_binary64
352×associate--r+_binary64
256×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033135
198115
234187
3194574
4796474
Stop Event
node limit
Counts
50 → 53
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) 1)))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) 1)) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) 1)) (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1)))))) (pow.f64 x 3))))))
Outputs
(fmod.f64 (exp.f64 x) 1)
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) 1)))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) -1/2) (*.f64 x x)) (fmod.f64 (exp.f64 x) 1)))
(-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 x x) (fmod.f64 (exp.f64 x) 1)) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 (fmod.f64 (exp.f64 x) 1) (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) 1)) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) 1)) (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1)))))) (pow.f64 x 3))))))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (+.f64 (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) -1/2) (*.f64 x x)) (fmod.f64 (exp.f64 x) 1)) (neg.f64 (*.f64 (fma.f64 1/6 (fmod.f64 (exp.f64 x) 1) (fma.f64 -1/2 (fmod.f64 (exp.f64 x) 1) (neg.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) -1/2)))) (pow.f64 x 3)))))
(-.f64 (-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 x x) (fmod.f64 (exp.f64 x) 1)) (*.f64 (+.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 (fmod.f64 (exp.f64 x) 1) -1/3)) (pow.f64 x 3))) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(-.f64 (fma.f64 (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) 1) -1/6) (fmod.f64 (exp.f64 x) 1)) (*.f64 (fmod.f64 (exp.f64 x) 1) (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(+.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 (*.f64 x (-.f64 -1 (*.f64 x -1/2))) (*.f64 1/6 (pow.f64 x 3)))))

localize13.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
0.0b
(sqrt.f64 (cos.f64 x))
4.9b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
Compiler

Compiled 29 to 11 computations (62.1% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
1.0ms
x
@0
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
0.0ms
x
@-inf
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))

rewrite46.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
852×pow1_binary64
786×add-log-exp_binary64
786×log1p-expm1-u_binary64
786×expm1-log1p-u_binary64
768×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
117716
2212916
Stop Event
node limit
Counts
1 → 19
Calls
Call 1
Inputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 x 3)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 x x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 (*.f64 x x))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (-.f64 1 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (-.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (-.f64 1 x) 3) (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))))))))

simplify81.0ms (0.5%)

Algorithm
egg-herbie
Rules
572×unswap-sqr_binary64
369×times-frac_binary64
323×fma-def_binary64
314×*-commutative_binary64
314×associate-/l*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
010283
116265
233202
349193
467184
5131184
6255184
7362184
8462184
9549184
10573184
11648184
12868184
131776184
144571184
156437184
167899184
Stop Event
node limit
Counts
31 → 24
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
Outputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))
(neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 x (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))
(neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 x (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2)))
0.0b
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
0.0b
(sqrt.f64 (cos.f64 x))
4.9b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
Compiler

Compiled 58 to 28 computations (51.7% saved)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
1.0ms
x
@0
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
1.0ms
x
@-inf
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
0.0ms
x
@0
(-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2)))
0.0ms
x
@inf
(-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2)))

rewrite73.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
645×log-prod_binary64
375×fma-def_binary64
334×pow2_binary64
254×pow-unpow_binary64
233×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01442
129638
2406334
Stop Event
node limit
Counts
2 → 179
Calls
Call 1
Inputs
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 x 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (*.f64 x (*.f64 x -1/2)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (+.f64 1 (*.f64 x (*.f64 x -1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (+.f64 x 1)) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8))) (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 3) (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 3) (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (+.f64 1 (*.f64 x (*.f64 x -1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (+.f64 x 1) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (*.f64 x (*.f64 x -1/2)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 x (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x 1) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (fma.f64 1/2 (*.f64 x x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (fma.f64 x (*.f64 x -1/2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2) (/.f64 1 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2) (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (/.f64 1 (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 x (sqrt.f64 -1/2))) (-.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 x (sqrt.f64 -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2)) (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8))) (neg.f64 (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2)) (neg.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 3)) (fma.f64 x x (-.f64 (pow.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (+.f64 1 (*.f64 x (*.f64 x -1/2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (+.f64 (pow.f64 (+.f64 x 1) 2) (-.f64 (*.f64 (pow.f64 (*.f64 x x) 2) 1/4) (*.f64 (+.f64 x 1) (*.f64 x (*.f64 x -1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 2)) (-.f64 x (+.f64 1 (*.f64 x (*.f64 x -1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2)) (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (+.f64 x 1))) (pow.f64 (exp.f64 x) (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (+.f64 x 1)) (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x -1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (+.f64 x 1))) (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x -1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (exp.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x 1))) (pow.f64 (exp.f64 x) (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 x 1)) (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x -1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x 1))) (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x -1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x -1/2)))) (exp.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (*.f64 x -1/2)) (+.f64 1 (expm1.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x -1/2)))) (+.f64 1 (expm1.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2)))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (+.f64 x 1) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x -1/2) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x -1 (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x -1 (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (neg.f64 (*.f64 x -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x 1) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (*.f64 x -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (fma.f64 1/2 (*.f64 x x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (fma.f64 x (*.f64 x -1/2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (*.f64 x (*.f64 x -1/2))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 1) 1 (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (*.f64 x x) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x -1/2) x (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x -1/2)) 1 (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 1 (fma.f64 1/2 (*.f64 x x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 1 (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 1 (fma.f64 x (*.f64 x -1/2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/2 (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1/2 (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2) (/.f64 1 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (fma.f64 1/2 (*.f64 x x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2) (/.f64 1 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) 2) (/.f64 1 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (fma.f64 x (*.f64 x -1/2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (*.f64 x x) 1/4)) (*.f64 (cbrt.f64 (*.f64 x -1/2)) x) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (neg.f64 (cbrt.f64 x)) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (neg.f64 (cbrt.f64 x)) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (*.f64 x -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (cbrt.f64 (*.f64 x (*.f64 x -1/2))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x 1)) (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) (cbrt.f64 (+.f64 x 1)) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2) (fma.f64 1/2 (*.f64 x x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2) (fma.f64 x (*.f64 x -1/2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2) (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (fma.f64 1/2 (*.f64 x x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2) (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) 2) (cbrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (fma.f64 x (*.f64 x -1/2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x -1/2)) (*.f64 (sqrt.f64 (*.f64 x -1/2)) x) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (neg.f64 (sqrt.f64 x)) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (neg.f64 (sqrt.f64 x)) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (neg.f64 (*.f64 x (sqrt.f64 -1/2))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1)) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (fma.f64 1/2 (*.f64 x x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (sqrt.f64 (fma.f64 x (*.f64 x -1/2) (+.f64 x 1))) (fma.f64 x (*.f64 x -1/2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (/.f64 1 (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2))) (fma.f64 1/2 (*.f64 x x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (/.f64 1 (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (+.f64 x 1) 3) (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (/.f64 1 (fma.f64 (*.f64 x (*.f64 x -1/2)) (fma.f64 x (*.f64 x -1/2) (+.f64 x 1)) (pow.f64 (+.f64 x 1) 2))) (fma.f64 x (*.f64 x -1/2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (+.f64 x 1))) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 x (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 x (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 x (*.f64 x -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x x -1) (/.f64 1 (+.f64 x -1)) (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2)))) 2) (cbrt.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 x -1/2)) x (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 x (sqrt.f64 -1/2))) (*.f64 x (sqrt.f64 -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 x (sqrt.f64 -1/2))) (-.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 x (sqrt.f64 -1/2))) (fma.f64 1/2 (*.f64 x x) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 x (sqrt.f64 -1/2))) (-.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 x (sqrt.f64 -1/2))) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2)))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 x (sqrt.f64 -1/2))) (-.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 x (sqrt.f64 -1/2))) (fma.f64 x (*.f64 x -1/2) (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/2))) 2)) (cbrt.f64 (*.f64 x (*.f64 x -1/2))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (*.f64 (*.f64 x x) 1/4))) (cbrt.f64 (*.f64 x -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (*.f64 x -1/2))) (sqrt.f64 (*.f64 x -1/2)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x -1/2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x -1/2) (sqrt.f64 x)) (sqrt.f64 x) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1 (sqrt.f64 x)) (sqrt.f64 x) (+.f64 1 (*.f64 x (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1 (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (+.f64 1 (*.f64 x (*.f64 x -1/2))) 1))))))

simplify72.0ms (0.5%)

Algorithm
egg-herbie
Rules
732×cancel-sign-sub-inv_binary64
679×fma-neg_binary64
448×distribute-rgt-neg-in_binary64
393×associate-*l*_binary64
392×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
023538
154522
2113417
3262319
4783319
52721319
66598319
Stop Event
node limit
Counts
203 → 197
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2)))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2)))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
1
(+.f64 1 (*.f64 -1 x))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(*.f64 1/2 (pow.f64 x 2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
Outputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (-.f64 1 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))
(-.f64 (fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 x (*.f64 x 1/2)) x)))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (fma.f64 x 1/2 -1) 1))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))
(-.f64 (fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 x (*.f64 x 1/2)) x)))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (fma.f64 x 1/2 -1) 1))
(*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2)))
(*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (*.f64 x (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2)))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (*.f64 x 1/2))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 x (*.f64 x 1/2)) x))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fma.f64 x 1/2 -1)))
(*.f64 x (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x 1/2 -1)))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))
(-.f64 (fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 x (*.f64 x 1/2)) x)))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (fma.f64 x 1/2 -1) 1))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))
(-.f64 (fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 x (*.f64 x 1/2)) x)))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (fma.f64 x 1/2 -1) 1))
(*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2)))
(*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (*.f64 x 1/2)))
(*.f64 x (*.f64 x (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2)))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (*.f64 x 1/2))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 x (*.f64 x 1/2)) x))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fma.f64 x 1/2 -1)))
(*.f64 x (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x 1/2 -1)))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))
(-.f64 (fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 x (*.f64 x 1/2)) x)))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (fma.f64 x 1/2 -1) 1))
(+.f64 (*.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))
(-.f64 (fma.f64 1/2 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 x (*.f64 x 1/2)) x)))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (fma.f64 x (fma.f64 x 1/2 -1) 1))
1
(+.f64 1 (*.f64 -1 x))
(+.f64 1 (neg.f64 x))
(-.f64 1 x)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x)))
(+.f64 1 (-.f64 (*.f64 x (*.f64 x 1/2)) x))
(-.f64 (fma.f64 x (*.f64 x 1/2) 1) x)
(fma.f64 x (fma.f64 x 1/2 -1) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x)))
(+.f64 1 (-.f64 (*.f64 x (*.f64 x 1/2)) x))
(-.f64 (fma.f64 x (*.f64 x 1/2) 1) x)
(fma.f64 x (fma.f64 x 1/2 -1) 1)
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 x 1/2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 x (*.f64 x 1/2)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x)))
(+.f64 1 (-.f64 (*.f64 x (*.f64 x 1/2)) x))
(-.f64 (fma.f64 x (*.f64 x 1/2) 1) x)
(fma.f64 x (fma.f64 x 1/2 -1) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x)))
(+.f64 1 (-.f64 (*.f64 x (*.f64 x 1/2)) x))
(-.f64 (fma.f64 x (*.f64 x 1/2) 1) x)
(fma.f64 x (fma.f64 x 1/2 -1) 1)
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 x 1/2))
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))
(fma.f64 1/2 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 x (*.f64 x 1/2)) x)
(*.f64 x (fma.f64 x 1/2 -1))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x)))
(+.f64 1 (-.f64 (*.f64 x (*.f64 x 1/2)) x))
(-.f64 (fma.f64 x (*.f64 x 1/2) 1) x)
(fma.f64 x (fma.f64 x 1/2 -1) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x)))
(+.f64 1 (-.f64 (*.f64 x (*.f64 x 1/2)) x))
(-.f64 (fma.f64 x (*.f64 x 1/2) 1) x)
(fma.f64 x (fma.f64 x 1/2 -1) 1)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (cos.f64 x) 1/4)
0.1b
(pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)
0.5b
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))
4.9b
(fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))
Compiler

Compiled 39 to 22 computations (43.6% saved)

series47.0ms (0.3%)

Counts
4 → 20
Calls

12 calls:

TimeVariablePointExpression
21.0ms
x
@inf
(pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)
20.0ms
x
@-inf
(pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)
2.0ms
x
@0
(pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)
1.0ms
x
@0
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))
1.0ms
x
@inf
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))

rewrite61.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
908×pow1_binary64
842×add-log-exp_binary64
842×log1p-expm1-u_binary64
842×expm1-log1p-u_binary64
821×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01039
121236
2243436
Stop Event
node limit
Counts
4 → 84
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))
(pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)
(pow.f64 (cos.f64 x) 1/4)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 2) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (exp.f64 (+.f64 x x)))) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (exp.f64 (+.f64 x x)))) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (exp.f64 (+.f64 x x)))) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (exp.f64 x))) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (exp.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x))) (cbrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x))) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 x) 1/4)) (pow.f64 (cos.f64 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/8) (*.f64 (pow.f64 (cos.f64 x) 1/8) (pow.f64 (cos.f64 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/8)) (pow.f64 (cos.f64 x) 1/8))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2)) (sqrt.f64 (cbrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1/2) (pow.f64 (cbrt.f64 (cos.f64 x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 x) 1/4) (cbrt.f64 (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (cos.f64 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sqrt.f64 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cos.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cos.f64 x) 1/4)) (cbrt.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x))) (cbrt.f64 (pow.f64 (cos.f64 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/8) (pow.f64 (cos.f64 x) 1/8))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (cos.f64 x))) (sqrt.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/4) (pow.f64 (cos.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2) 1/4) (pow.f64 (cbrt.f64 (cos.f64 x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cos.f64 x)) 1/4) (pow.f64 (sqrt.f64 (cos.f64 x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (cos.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cos.f64 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 x) 3/4))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cos.f64 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cos.f64 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 1/4 (log.f64 (cos.f64 x))))))))

simplify43.0ms (0.3%)

Algorithm
egg-herbie
Rules
685×fma-neg_binary64
581×distribute-rgt-in_binary64
519×distribute-lft-in_binary64
392×fma-def_binary64
351×associate--r+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
065373
1173306
2536249
32558228
Stop Event
node limit
Counts
104 → 105
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) x)) (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))))))) (pow.f64 x 3))))))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
1
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) 1)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 1 (*.f64 -5/384 (pow.f64 x 4))))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 -151/46080 (pow.f64 x 6)) (+.f64 1 (*.f64 -5/384 (pow.f64 x 4)))))
Outputs
(fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))
(fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) x)) (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))
(-.f64 (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2)) (*.f64 x (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) -1/2) (*.f64 x x)) (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))))
(-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2)) 1/2) (*.f64 x x) (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2))) (*.f64 x (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2))))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))))))) (pow.f64 x 3))))))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (+.f64 (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) -1/2) (*.f64 x x)) (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2))) (neg.f64 (*.f64 (fma.f64 1/6 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (fma.f64 -1/2 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (neg.f64 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) -1/2)))) (pow.f64 x 3)))))
(-.f64 (-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2)) 1/2) (*.f64 x x) (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2))) (*.f64 (+.f64 (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2)) 1/2) (*.f64 (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2)) -1/3)) (pow.f64 x 3))) (*.f64 x (fmod.f64 (exp.f64 x) (pow.f64 (cos.f64 x) 1/2))))
(-.f64 (fma.f64 (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/6) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (*.f64 x (-.f64 -1 (*.f64 -1/2 x))) (*.f64 1/6 (pow.f64 x 3)))))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) -1/4))
(fma.f64 (*.f64 x x) -1/4 1)
(fma.f64 x (*.f64 x -1/4) 1)
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/96 (pow.f64 x 4) (*.f64 x (*.f64 x -1/4))))
(fma.f64 x (*.f64 x -1/4) (fma.f64 -1/96 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 (fma.f64 (*.f64 x x) -1/4 1) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 -19/5760 (pow.f64 x 6))))
(+.f64 (fma.f64 x (*.f64 x -1/4) 1) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 -19/5760 (pow.f64 x 6))))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
1
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) 1)
(fma.f64 -1/8 (*.f64 x x) 1)
(fma.f64 (*.f64 x x) -1/8 1)
(fma.f64 x (*.f64 x -1/8) 1)
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 1 (*.f64 -5/384 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/8 (*.f64 x x) 1) (*.f64 (pow.f64 x 4) -5/384))
(fma.f64 (*.f64 x x) -1/8 (fma.f64 (pow.f64 x 4) -5/384 1))
(fma.f64 (pow.f64 x 4) -5/384 (fma.f64 (*.f64 x x) -1/8 1))
(fma.f64 x (*.f64 x -1/8) (fma.f64 (pow.f64 x 4) -5/384 1))
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 -151/46080 (pow.f64 x 6)) (+.f64 1 (*.f64 -5/384 (pow.f64 x 4)))))
(fma.f64 -1/8 (*.f64 x x) (fma.f64 -151/46080 (pow.f64 x 6) (+.f64 1 (*.f64 (pow.f64 x 4) -5/384))))
(fma.f64 (*.f64 x x) -1/8 (fma.f64 (pow.f64 x 6) -151/46080 (fma.f64 (pow.f64 x 4) -5/384 1)))
(fma.f64 x (*.f64 x -1/8) (fma.f64 (pow.f64 x 4) -5/384 (fma.f64 (pow.f64 x 6) -151/46080 1)))

eval192.0ms (1.3%)

Compiler

Compiled 12648 to 5966 computations (52.8% saved)

prune100.0ms (0.7%)

Pruning

18 alts after pruning (14 fresh and 4 done)

PrunedKeptTotal
New66513678
Fresh314
Picked011
Done235
Total67018688
Error
33.6b
Counts
688 → 18
Alt Table
Click to see full alt table
StatusErrorProgram
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
59.0b
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))) 1)
58.4b
(*.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (exp.f64 (+.f64 x x)))) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
58.9b
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
59.2b
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
34.0b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (exp.f64 x))
58.6b
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
59.0b
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
58.8b
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
58.8b
(*.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
56.9b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (exp.f64 (*.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))) 1/3)) 1)) (exp.f64 x))
58.9b
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
59.9b
(fmod.f64 (exp.f64 x) 1)
58.6b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
58.4b
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))
59.0b
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
Compiler

Compiled 475 to 336 computations (29.3% saved)

localize32.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)
0.7b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (exp.f64 x))
0.9b
(pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2)
4.9b
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))
Compiler

Compiled 66 to 45 computations (31.8% saved)

series8.0ms (0.1%)

Counts
4 → 28
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@0
(pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2)
1.0ms
x
@inf
(pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2)
1.0ms
x
@0
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (exp.f64 x))
1.0ms
x
@-inf
(pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2)
1.0ms
x
@0
(-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)

rewrite71.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
537×log-prod_binary64
315×pow2_binary64
292×pow-prod-down_binary64
218×log1p-udef_binary64
217×expm1-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01372
127756
2323738
Stop Event
node limit
Counts
4 → 169
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))
(pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2)
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (exp.f64 x))
(-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 1 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (*.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1/4) (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 3/2) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 5/6) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3/2)) (+.f64 1 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (cos.f64 x)) (-.f64 1 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 (sqrt.f64 (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x))) (cbrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x)))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cos.f64 x) 1/8) (pow.f64 (cos.f64 x) 3/8) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cos.f64 x) 3/8) (pow.f64 (cos.f64 x) 1/8) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 2) (cbrt.f64 (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4))) (hypot.f64 1 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2)) (sqrt.f64 (cbrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (pow.f64 (cos.f64 x) 1/12) 5) (pow.f64 (cos.f64 x) 1/12) 1)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) -2) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (cbrt.f64 (exp.f64 (+.f64 x x)))) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (exp.f64 (+.f64 x x)))) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) -1/2) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (exp.f64 x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (exp.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 x (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) -1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x))) (cbrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/8) (pow.f64 (cos.f64 x) 3/8))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 3/8) (pow.f64 (cos.f64 x) 1/8))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cos.f64 x)) 2)) (sqrt.f64 (cbrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) (-.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cos.f64 x) 1/12) 5) (pow.f64 (cos.f64 x) 1/12))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))) (expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x)))) (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 3)) (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 3)) (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (-.f64 1 (*.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 3))) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) (neg.f64 (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 3) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 3/4) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 x)) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 1/12) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 1/8) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 4) 1/8)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))) (expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x)))) (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cos.f64 x) 1/4)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cos.f64 x))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cos.f64 x) 3/2)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (sqrt.f64 (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (*.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1/4) (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 3/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 3/2) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1/4) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 5/6) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1/6) -1)))))

simplify85.0ms (0.6%)

Algorithm
egg-herbie
Rules
439×fma-def_binary64
400×associate--r+_binary64
383×associate--l+_binary64
298×associate-+l-_binary64
286×distribute-rgt-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
077731
1224597
2735383
33674343
Stop Event
node limit
Counts
197 → 193
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 2) 2)
(+.f64 (*.f64 -1/4 (pow.f64 x 2)) (pow.f64 (sqrt.f64 2) 2))
(+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4))))
(+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2))) 19/5760))) (pow.f64 x 6)) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4)))))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))
(+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)))) (pow.f64 x 2))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) x))))
(+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)))) (pow.f64 x 2))) (+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) x)) (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))))) (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))) (*.f64 -1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))))) (pow.f64 x 3))))))
(-.f64 (pow.f64 (sqrt.f64 2) 2) 1)
(-.f64 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (pow.f64 (sqrt.f64 2) 2)) 1)
(-.f64 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4)))) 1)
(-.f64 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2))) 19/5760))) (pow.f64 x 6)) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4))))) 1)
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
Outputs
(pow.f64 (sqrt.f64 2) 2)
2
(+.f64 (*.f64 -1/4 (pow.f64 x 2)) (pow.f64 (sqrt.f64 2) 2))
(fma.f64 -1/4 (*.f64 x x) (pow.f64 (sqrt.f64 2) 2))
(fma.f64 -1/4 (*.f64 x x) 2)
(+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4))))
(+.f64 (fma.f64 -1/4 (*.f64 x x) (pow.f64 (sqrt.f64 2) 2)) (*.f64 (+.f64 (/.f64 1/64 (pow.f64 (sqrt.f64 2) 2)) (neg.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4)))
(fma.f64 -1/4 (*.f64 x x) (fma.f64 (+.f64 -1/384 (neg.f64 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2))) (pow.f64 x 4) 2))
(fma.f64 -1/4 (*.f64 x x) (fma.f64 -1/96 (pow.f64 x 4) 2))
(+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2))) 19/5760))) (pow.f64 x 6)) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4)))))
(fma.f64 -1/4 (*.f64 x x) (fma.f64 (fma.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2)) (neg.f64 (fma.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2)) 19/5760))) (pow.f64 x 6) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (/.f64 1/64 (pow.f64 (sqrt.f64 2) 2)) (neg.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4)))))
(fma.f64 -1/4 (*.f64 x x) (fma.f64 (-.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) 2)) (fma.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) 2) 19/5760)) (pow.f64 x 6) (fma.f64 (+.f64 -1/384 (neg.f64 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2))) (pow.f64 x 4) 2)))
(fma.f64 -1/4 (*.f64 x x) (fma.f64 -1/96 (pow.f64 x 4) (fma.f64 -19/5760 (pow.f64 x 6) 2)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(+.f64 1 (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1))
(fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2)))
(+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1)) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1))) x))
(-.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))))
(*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)))) (pow.f64 x 2))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) x))))
(+.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1)) (*.f64 -1 (+.f64 (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1)) -1/2)) (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1))))))
(fma.f64 -1 (fma.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) -1/2) (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))))) (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))))
(-.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (-.f64 1 (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)))) (pow.f64 x 2))) (+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) x)) (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))))) (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))) (*.f64 -1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1))))) (pow.f64 x 3))))))
(+.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1)) (fma.f64 -1 (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1)) -1/2)) (*.f64 -1 (+.f64 (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1))) (*.f64 (fma.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1)) -1/2) (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1)) -1/3)) (pow.f64 x 3))))))
(+.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) 1/2) (*.f64 x x) (neg.f64 (fma.f64 x (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (*.f64 (fma.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) -1/3 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) 1/2)) (pow.f64 x 3))))))
(-.f64 (-.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (+.f64 x (*.f64 x (*.f64 x -1/2))))) (*.f64 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) 1/6) (pow.f64 x 3)))
(+.f64 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) (-.f64 1 (+.f64 x (*.f64 x (*.f64 x -1/2))))) (*.f64 (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) (+.f64 -1 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2))) -1/6)))
(-.f64 (pow.f64 (sqrt.f64 2) 2) 1)
(+.f64 (pow.f64 (sqrt.f64 2) 2) -1)
1
(-.f64 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (pow.f64 (sqrt.f64 2) 2)) 1)
(+.f64 (fma.f64 -1/4 (*.f64 x x) (pow.f64 (sqrt.f64 2) 2)) -1)
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/4 x) 1)
(-.f64 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4)))) 1)
(+.f64 (+.f64 (fma.f64 -1/4 (*.f64 x x) (pow.f64 (sqrt.f64 2) 2)) (*.f64 (+.f64 (/.f64 1/64 (pow.f64 (sqrt.f64 2) 2)) (neg.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4))) -1)
(fma.f64 -1/4 (*.f64 x x) (+.f64 (*.f64 (+.f64 -1/384 (neg.f64 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2))) (pow.f64 x 4)) 1))
(fma.f64 -1/4 (*.f64 x x) (fma.f64 -1/96 (pow.f64 x 4) 1))
(-.f64 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2))) 19/5760))) (pow.f64 x 6)) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (*.f64 1/64 (/.f64 1 (pow.f64 (sqrt.f64 2) 2))) (*.f64 -1 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4))))) 1)
(+.f64 (fma.f64 -1/4 (*.f64 x x) (fma.f64 (fma.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2)) (neg.f64 (fma.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) (pow.f64 (sqrt.f64 2) 2)) 19/5760))) (pow.f64 x 6) (+.f64 (pow.f64 (sqrt.f64 2) 2) (*.f64 (+.f64 (/.f64 1/64 (pow.f64 (sqrt.f64 2) 2)) (neg.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)))) (pow.f64 x 4))))) -1)
(+.f64 -1 (fma.f64 -1/4 (*.f64 x x) (fma.f64 (-.f64 (*.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) 2)) (fma.f64 1/8 (/.f64 (+.f64 1/96 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2)) 2) 19/5760)) (pow.f64 x 6) (fma.f64 (+.f64 -1/384 (neg.f64 (pow.f64 (/.f64 -1/8 (sqrt.f64 2)) 2))) (pow.f64 x 4) 2))))
(fma.f64 -1/4 (*.f64 x x) (fma.f64 -19/5760 (pow.f64 x 6) (fma.f64 -1/96 (pow.f64 x 4) 1)))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))

localize6.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
4.9b
(fmod.f64 (exp.f64 x) 1)
Compiler

Compiled 9 to 5 computations (44.4% saved)

localize18.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.5b
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
1.7b
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
4.9b
(fmod.f64 (exp.f64 x) 1)
Compiler

Compiled 36 to 20 computations (44.4% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
0.0ms
x
@-inf
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
0.0ms
x
@inf
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)

rewrite54.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
910×pow1_binary64
849×add-log-exp_binary64
849×log1p-expm1-u_binary64
849×expm1-log1p-u_binary64
833×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0817
117611
2253611
Stop Event
node limit
Counts
1 → 62
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) 1)) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) (+.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) -1) (/.f64 1 (+.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (fmod.f64 (exp.f64 x) 1) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (exp.f64 x))) (/.f64 (fmod.f64 (exp.f64 x) 1) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)))) 1) (-.f64 (sqrt.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) (+.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2)) (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2) (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (/.f64 (exp.f64 x) (cbrt.f64 (fmod.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (/.f64 (exp.f64 x) (sqrt.f64 (fmod.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fmod.f64 (exp.f64 x) 1)) (neg.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 3) -1) (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) (+.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 3) -1) (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) (-.f64 1 (*.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) -1) (+.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) -1) (-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 (fmod.f64 (exp.f64 x) 1))) (neg.f64 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) (+.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) -1)) (neg.f64 (+.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (sqrt.f64 (exp.f64 x))) (sqrt.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x)) 3)) (+.f64 1 (-.f64 (*.f64 (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x)) (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x))) (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x)) (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x)))) (-.f64 1 (expm1.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) 1) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (cbrt.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)))) 2) (cbrt.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)))) (sqrt.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)))) -1)))))

simplify54.0ms (0.4%)

Algorithm
egg-herbie
Rules
677×fma-neg_binary64
581×distribute-rgt-in_binary64
519×distribute-lft-in_binary64
352×associate--r+_binary64
256×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
034223
199203
2342175
31911162
47946162
Stop Event
node limit
Counts
74 → 69
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) 1)))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) 1)) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) 1)) (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1)))))) (pow.f64 x 3))))))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
Outputs
(fmod.f64 (exp.f64 x) 1)
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) 1)))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) -1/2) (*.f64 x x)) (fmod.f64 (exp.f64 x) 1)))
(-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 x x) (fmod.f64 (exp.f64 x) 1)) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 (fmod.f64 (exp.f64 x) 1) (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(*.f64 (fmod.f64 (exp.f64 x) 1) (+.f64 1 (*.f64 x (-.f64 -1 (*.f64 x -1/2)))))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) 1)) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) 1)) (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) 1)) (*.f64 1/2 (fmod.f64 (exp.f64 x) 1)))))) (pow.f64 x 3))))))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (+.f64 (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) -1/2) (*.f64 x x)) (fmod.f64 (exp.f64 x) 1)) (neg.f64 (*.f64 (fma.f64 1/6 (fmod.f64 (exp.f64 x) 1) (fma.f64 -1/2 (fmod.f64 (exp.f64 x) 1) (neg.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) -1/2)))) (pow.f64 x 3)))))
(-.f64 (-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 x x) (fmod.f64 (exp.f64 x) 1)) (*.f64 (+.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 (fmod.f64 (exp.f64 x) 1) -1/3)) (pow.f64 x 3))) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(-.f64 (fma.f64 (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) 1) -1/6) (fmod.f64 (exp.f64 x) 1)) (*.f64 (fmod.f64 (exp.f64 x) 1) (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(+.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 (*.f64 x (-.f64 -1 (*.f64 x -1/2))) (*.f64 1/6 (pow.f64 x 3)))))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))

localize16.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.5b
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
4.9b
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
Compiler

Compiled 36 to 17 computations (52.8% saved)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
1.0ms
x
@inf
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
1.0ms
x
@-inf
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
0.0ms
x
@0
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
0.0ms
x
@inf
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))

rewrite57.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
806×pow1_binary64
747×add-log-exp_binary64
746×log1p-expm1-u_binary64
746×expm1-log1p-u_binary64
730×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0931
117531
2204331
Stop Event
node limit
Counts
2 → 47
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 2) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (exp.f64 x))) (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) (pow.f64 (exp.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x))))))

simplify62.0ms (0.4%)

Algorithm
egg-herbie
Rules
470×associate--r+_binary64
433×associate--l+_binary64
344×associate-+l-_binary64
339×distribute-rgt-out_binary64
294×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
036522
1113496
2425439
32320412
47886412
Stop Event
node limit
Counts
71 → 57
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)) (*.f64 -1 (*.f64 (pow.f64 x 2) (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))) (*.f64 -1 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))))))))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))) (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))) (*.f64 -1 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))))) (*.f64 -1/2 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))))) (pow.f64 x 3))) (*.f64 -1 (*.f64 (pow.f64 x 2) (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))) (*.f64 -1 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)))))))))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
Outputs
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)) (*.f64 -1 (*.f64 (pow.f64 x 2) (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))) (*.f64 -1 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))))))))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (neg.f64 (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) -1/2)))))
(fma.f64 -1 (fma.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 -1/2 (*.f64 x x)))) (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (*.f64 x (*.f64 x 1/2)) x)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (+.f64 1 (*.f64 x (*.f64 x 1/2))) x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))) (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))) (*.f64 -1 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))))) (*.f64 -1/2 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))))) (pow.f64 x 3))) (*.f64 -1 (*.f64 (pow.f64 x 2) (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))) (*.f64 -1 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)))))))))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (fma.f64 -1 (*.f64 (fma.f64 1/6 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) -1/2) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) -1/2))) (pow.f64 x 3)) (neg.f64 (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) -1/2))))))
(+.f64 (-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))) (-.f64 (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 1/2)) (*.f64 (fma.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 1/6 (*.f64 0 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) -1/2))) (pow.f64 x 3))))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (fma.f64 (fma.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) 1/6 0) (neg.f64 (pow.f64 x 3)) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (*.f64 x (*.f64 x 1/2)) x))))
(+.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x)) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (*.f64 x (*.f64 x 1/2)) (*.f64 1/6 (pow.f64 x 3)))))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))

localize31.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (cos.f64 x))
0.0b
(pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)
0.3b
(pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)
4.9b
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
Compiler

Compiled 82 to 40 computations (51.2% saved)

series7.0ms (0%)

Counts
2 → 12
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@0
(pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)
2.0ms
x
@-inf
(pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)
2.0ms
x
@inf
(pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)
0.0ms
x
@0
(pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)
0.0ms
x
@-inf
(pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)

rewrite53.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
747×pow1_binary64
700×add-log-exp_binary64
700×log1p-expm1-u_binary64
700×expm1-log1p-u_binary64
681×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
121123
2201923
Stop Event
node limit
Counts
2 → 36
Calls
Call 1
Inputs
(pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)
(pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2) 1/3) (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3/2) 1/3) (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3/2) (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) 3) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 3) (pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2) (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2))) (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2) (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))))))

simplify7.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06120
Stop Event
saturated
Counts
48 → 36
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
Outputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))

eval167.0ms (1.1%)

Compiler

Compiled 8972 to 4912 computations (45.3% saved)

prune112.0ms (0.8%)

Pruning

22 alts after pruning (16 fresh and 6 done)

PrunedKeptTotal
New4589467
Fresh279
Picked101
Done268
Total46322485
Error
33.6b
Counts
485 → 22
Alt Table
Click to see full alt table
StatusErrorProgram
56.9b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1)) (exp.f64 x))
59.9b
(fmod.f64 (exp.f64 x) 1)
58.6b
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
59.0b
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
58.8b
(*.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) 1/3) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
59.0b
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))) 1)
58.4b
(*.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (exp.f64 (+.f64 x x)))) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
58.8b
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (+.f64 1 (*.f64 x (*.f64 x 1/2))) x))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))
34.4b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
59.2b
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
58.6b
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
59.0b
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
56.9b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (exp.f64 (*.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))) 1/3)) 1)) (exp.f64 x))
58.9b
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
59.2b
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
58.6b
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 1)
58.6b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
58.6b
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))
59.0b
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
Compiler

Compiled 593 to 426 computations (28.2% saved)

localize22.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.5b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
1.0b
(pow.f64 (sqrt.f64 2) 2)
4.9b
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
Compiler

Compiled 39 to 31 computations (20.5% saved)

series3.0ms (0%)

Counts
3 → 4
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
1.0ms
x
@-inf
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
1.0ms
x
@inf
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
0.0ms
x
@0
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
0.0ms
x
@-inf
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))

rewrite52.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
704×pow1_binary64
655×add-log-exp_binary64
654×log1p-expm1-u_binary64
654×expm1-log1p-u_binary64
640×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
121618
2185218
Stop Event
node limit
Counts
3 → 48
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(pow.f64 (sqrt.f64 2) 2)
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (cbrt.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (sqrt.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fmod.f64 (exp.f64 x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)))))))
((#(struct:change #<rule egg-rr> (2) ((x . 2)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) 1)) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (fmod.f64 (exp.f64 x) 1) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) 1)) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (exp.f64 x))) (/.f64 (fmod.f64 (exp.f64 x) 1) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) 2) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) 1)) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) 1) 3) (pow.f64 (exp.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) 1)) x))))))

simplify41.0ms (0.3%)

Algorithm
egg-herbie
Rules
870×fma-neg_binary64
660×distribute-rgt-in_binary64
616×distribute-lft-in_binary64
453×associate--r+_binary64
322×associate--l+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
036232
1107116
236294
3209779
Stop Event
node limit
Counts
52 → 56
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) x)) (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) x)) (+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)))) (pow.f64 x 2)))))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) x)) (+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))))))) (pow.f64 x 3))) (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)))) (pow.f64 x 2))))))
Outputs
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1))
(fmod.f64 (exp.f64 x) 1)
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) x)) (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1))) (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1)))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) x)) (+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)))) (pow.f64 x 2)))))
(+.f64 (fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1))) (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1))) (*.f64 (neg.f64 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1)) -1/2)) (*.f64 x x)))
(-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 x x) (fmod.f64 (exp.f64 x) 1)) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(fma.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1)))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) x)) (+.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))))))) (pow.f64 x 3))) (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)))) (pow.f64 x 2))))))
(+.f64 (fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1))) (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1))) (fma.f64 -1 (*.f64 (fma.f64 -1/2 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1)) (fma.f64 1/6 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1)) (neg.f64 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1)) -1/2)))) (pow.f64 x 3)) (*.f64 (neg.f64 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1)) -1/2)) (*.f64 x x))))
(-.f64 (fma.f64 -1 (fma.f64 (+.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 (fmod.f64 (exp.f64 x) 1) -1/3)) (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 -1/2 (*.f64 x x)))) (fmod.f64 (exp.f64 x) 1)) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(+.f64 (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1)) (*.f64 (*.f64 x x) (-.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) 1/2) (*.f64 x (*.f64 (fmod.f64 (exp.f64 x) 1) 1/6)))))
(fma.f64 (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) 1) -1/6) (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2)))))

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
4.9b
(fmod.f64 (exp.f64 x) 1)
Compiler

Compiled 20 to 12 computations (40% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
0.0ms
x
@inf
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
0.0ms
x
@-inf
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))

rewrite48.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
685×pow1_binary64
633×add-log-exp_binary64
633×log1p-expm1-u_binary64
633×expm1-log1p-u_binary64
620×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
113812
2168812
Stop Event
node limit
Counts
1 → 19
Calls
Call 1
Inputs
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 (neg.f64 x) (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 (fmod.f64 (exp.f64 x) 1) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 x 3)) (fmod.f64 (exp.f64 x) 1)) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 x x)) (fmod.f64 (exp.f64 x) 1)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (*.f64 x x))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (-.f64 1 x)) (fmod.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fmod.f64 (exp.f64 x) 1) 3) (pow.f64 (-.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (-.f64 1 x) 3) (pow.f64 (fmod.f64 (exp.f64 x) 1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))))))))

simplify78.0ms (0.5%)

Algorithm
egg-herbie
Rules
572×unswap-sqr_binary64
363×times-frac_binary64
323×fma-def_binary64
315×*-commutative_binary64
314×associate-/l*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
09190
118181
233154
348145
465136
5129136
6253136
7360136
8458136
9544136
10568136
11643136
12863136
131770136
144576136
156444136
167925136
Stop Event
node limit
Counts
31 → 24
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
Outputs
(fmod.f64 (exp.f64 x) 1)
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x))
(neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 x (neg.f64 (fmod.f64 (exp.f64 x) 1)))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x))
(neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 x (neg.f64 (fmod.f64 (exp.f64 x) 1)))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) 1) x)) (fmod.f64 (exp.f64 x) 1))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) 1)) (fmod.f64 (exp.f64 x) 1))
(-.f64 (fmod.f64 (exp.f64 x) 1) (*.f64 x (fmod.f64 (exp.f64 x) 1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))

localize18.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
4.9b
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
Compiler

Compiled 40 to 21 computations (47.5% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
0.0ms
x
@-inf
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
0.0ms
x
@inf
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))

rewrite50.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
934×pow1_binary64
867×add-log-exp_binary64
866×log1p-expm1-u_binary64
866×expm1-log1p-u_binary64
849×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
120019
2237219
Stop Event
node limit
Counts
1 → 19
Calls
Call 1
Inputs
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 (neg.f64 x) (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 x 3)) (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 x x)) (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 (*.f64 x x))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) (pow.f64 (-.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (-.f64 1 x) 3) (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))))))))

simplify58.0ms (0.4%)

Algorithm
egg-herbie
Rules
858×fma-def_binary64
709×associate-/l/_binary64
480×times-frac_binary64
383×fma-neg_binary64
242×unswap-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
013346
127328
252238
3104229
4246220
5740220
61602220
72910220
84749220
Stop Event
node limit
Counts
31 → 25
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
Outputs
(fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x))
(neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 x (neg.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 x (neg.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))
(*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x))
(neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 x (neg.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 x (neg.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (pow.f64 x 2) -1/4 1)) x)))
(+.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (*.f64 x (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 1 x))

localize22.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)
0.5b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
4.9b
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1))
Compiler

Compiled 49 to 32 computations (34.7% saved)

series23.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
19.0ms
x
@inf
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
1.0ms
x
@0
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
1.0ms
x
@-inf
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
1.0ms
x
@-inf
(-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)
1.0ms
x
@inf
(-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)

rewrite73.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
483×log-prod_binary64
377×exp-prod_binary64
280×prod-exp_binary64
276×pow2_binary64
259×pow-prod-down_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01148
122945
2279339
Stop Event
node limit
Counts
3 → 140
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
(-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))) (log.f64 (sqrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))) 2)) (cbrt.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))) (sqrt.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 1) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) (cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) -2) (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) -1/2) (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 2) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) (exp.f64 (*.f64 x 3))) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x)) 2)) (cbrt.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x))) (sqrt.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) (exp.f64 (*.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 x (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) x) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 1) x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 1) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (neg.f64 x) (*.f64 (log.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1))) 1)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 (*.f64 x x) -1/4 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -1/4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 x (*.f64 x -1/4) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 (*.f64 x x) -1/4 1))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 (*.f64 x x) -1/4 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 (*.f64 x x) -1/4 1)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 (*.f64 x x) -1/4 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 x x) -1/4 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 x x) -1/4 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/4 1)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/4 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/4 1)) 2) (cbrt.f64 (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -1/4 1)) (sqrt.f64 (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) (fma.f64 (*.f64 x x) -1/4 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) -1) (/.f64 1 (fma.f64 (*.f64 x x) -1/4 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) 1) (-.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) (fma.f64 (*.f64 x x) -1/4 3)) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 x x) -1/4 3) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 3) -1) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) (fma.f64 (*.f64 x x) -1/4 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 3) -1) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) (-.f64 1 (*.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) -1) (fma.f64 (*.f64 x x) -1/4 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) (fma.f64 (*.f64 x x) -1/4 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) -1)) (neg.f64 (fma.f64 (*.f64 x x) -1/4 3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 x x) -1/4 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/4 1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/4 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/4 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -1/4 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) (fma.f64 (*.f64 x x) -1/4 3)) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 3) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 x x) -1/4 3) (+.f64 (pow.f64 (fma.f64 x (*.f64 x -1/4) 2) 2) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 x x) -1/4 1))) 2)) (cbrt.f64 (log.f64 (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 (*.f64 x x) -1/4 1)))) (sqrt.f64 (log.f64 (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/4 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (*.f64 x x) -1/4 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/4 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (fma.f64 (*.f64 x x) -1/4 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (*.f64 x x) -1/4 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (*.f64 x x) -1/4 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/4 1) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -1/4 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -1/4 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 (*.f64 x x) -1/4 1)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x -1/4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x -1/4) x 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x (*.f64 x -1/4) 2) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (*.f64 x -1/4) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (*.f64 x -1/4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/4 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (*.f64 x -1/4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) 2) (cbrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) 2) (*.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x -1/4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) (sqrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) (*.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/4) 2)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/4))) 2) (cbrt.f64 (*.f64 x (*.f64 x -1/4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (*.f64 x -1/4))) (sqrt.f64 (*.f64 x (*.f64 x -1/4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (*.f64 (*.f64 x x) 1/16))) (cbrt.f64 (*.f64 x -1/4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 (*.f64 x -1/4))) (sqrt.f64 (*.f64 x -1/4)) 1)))))

simplify44.0ms (0.3%)

Algorithm
egg-herbie
Rules
739×fma-neg_binary64
697×distribute-rgt-in_binary64
626×distribute-lft-in_binary64
380×associate--r+_binary64
305×associate--l+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
039720
1114554
2372525
31958497
Stop Event
node limit
Counts
176 → 154
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(+.f64 (*.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))
(+.f64 (*.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))))
(+.f64 (*.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))) (+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))))) (*.f64 -1/2 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))))) (pow.f64 x 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(*.f64 -1/4 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(*.f64 -1/4 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
Outputs
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))
(fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))
(fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1))
(+.f64 (*.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))) (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (fma.f64 x -1 1))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))) (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) -1/2) (*.f64 x x)) (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))))
(+.f64 (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))) (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) 1/2)))
(-.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (+.f64 (-.f64 1 x) (*.f64 1/2 (*.f64 x x))))
(+.f64 (*.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/6 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))) (+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))))) (*.f64 -1/2 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))))) (pow.f64 x 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1))) (*.f64 1/2 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))) (pow.f64 x 2))) (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)))))
(fma.f64 -1 (*.f64 x (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1))) (fma.f64 -1 (*.f64 (fma.f64 1/6 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) (fma.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) -1/2) (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) -1/2))) (pow.f64 x 3)) (fma.f64 -1 (*.f64 (*.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) -1/2) (*.f64 x x)) (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)))))
(+.f64 (fma.f64 (neg.f64 (fma.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) 1/6 (*.f64 0 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) -1/2)))) (pow.f64 x 3) (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) 1/2))) (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1))))
(fma.f64 (fma.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) 1/6 0) (neg.f64 (pow.f64 x 3)) (-.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (+.f64 x (*.f64 x (*.f64 x -1/2))))))
(fma.f64 (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) -1/6) (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (+.f64 (-.f64 1 x) (*.f64 1/2 (*.f64 x x)))))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 -1/4 x) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (fma.f64 x (*.f64 x -1/4) 2) -1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 -1/4 (*.f64 x x) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (exp.f64 x))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/4) 1)
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/4) 1)
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/4) 1)
(*.f64 -1/4 (pow.f64 x 2))
(*.f64 -1/4 (*.f64 x x))
(*.f64 x (*.f64 x -1/4))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/4) 1)
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/4) 1)
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/4) 1)
(*.f64 -1/4 (pow.f64 x 2))
(*.f64 -1/4 (*.f64 x x))
(*.f64 x (*.f64 x -1/4))
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/4) 1)
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/4) 1)
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/4) 1)

localize39.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1)
0.7b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1)) (exp.f64 x))
0.8b
(log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))
4.9b
(fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1))
Compiler

Compiled 64 to 35 computations (45.3% saved)

series52.0ms (0.4%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
34.0ms
x
@-inf
(log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))
14.0ms
x
@inf
(log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))
1.0ms
x
@0
(log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))
0.0ms
x
@0
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1)) (exp.f64 x))
0.0ms
x
@0
(fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1))

rewrite77.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
472×log-prod_binary64
435×prod-diff_binary64
275×pow-prod-down_binary64
271×fma-def_binary64
264×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01258
123440
2315140
Stop Event
node limit
Counts
4 → 152
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1))
(log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1)) (exp.f64 x))
(-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))) (log.f64 (sqrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 2)) (log.f64 (cbrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log1p.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 3)) (log.f64 (+.f64 1 (-.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (+.f64 1 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) (log.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 3) 1)) (log.f64 (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (-.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 1 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2))) (log.f64 (-.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))) (pow.f64 (cbrt.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))) 2) (cbrt.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))) (sqrt.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (*.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (/.f64 1 (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) 1) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) -2) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 (sqrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) -1/2) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 2) (sqrt.f64 (exp.f64 x))) (/.f64 (cbrt.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (exp.f64 x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (exp.f64 x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) (pow.f64 (exp.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (sqrt.f64 (cos.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cos.f64 x)) (pow.f64 (cos.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/6) (cbrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) (-.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (+.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (+.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2) (-.f64 1 (*.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (+.f64 (sqrt.f64 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) (neg.f64 (+.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) (neg.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cos.f64 x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 3) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cos.f64 x)) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 1/6) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cos.f64 x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x)))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cos.f64 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cos.f64 x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sqrt.f64 (cos.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (sqrt.f64 (cos.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) 2) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 x)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) 1 -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 x)) (pow.f64 (cos.f64 x) 1/6) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2)) (*.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (cos.f64 x)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cos.f64 x) 1/6) (cbrt.f64 (cos.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) (*.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cos.f64 x) 1/4) (pow.f64 (cos.f64 x) 1/4) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2) (pow.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (cos.f64 x) 3/2)) (/.f64 1 (+.f64 1 (-.f64 (cos.f64 x) (sqrt.f64 (cos.f64 x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 2 (log1p.f64 (sqrt.f64 (cos.f64 x))))) (/.f64 1 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (cos.f64 x)) (/.f64 1 (-.f64 1 (sqrt.f64 (cos.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) 2) (cbrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) (sqrt.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 1 1/2) (sqrt.f64 (cos.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) (-.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 1) 0)))))

simplify48.0ms (0.3%)

Algorithm
egg-herbie
Rules
642×distribute-rgt-in_binary64
605×fma-neg_binary64
564×distribute-lft-in_binary64
397×fma-def_binary64
367×associate--r+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
064639
1166621
2504583
32521561
Stop Event
node limit
Counts
200 → 175
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(log.f64 3)
(+.f64 (*.f64 -1/12 (pow.f64 x 2)) (log.f64 3))
(+.f64 (*.f64 -1/12 (pow.f64 x 2)) (+.f64 (*.f64 -1/144 (pow.f64 x 4)) (log.f64 3)))
(+.f64 (*.f64 -1/12 (pow.f64 x 2)) (+.f64 (*.f64 -1/144 (pow.f64 x 4)) (+.f64 (*.f64 -41/25920 (pow.f64 x 6)) (log.f64 3))))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 1/6 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (pow.f64 x 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
Outputs
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(log.f64 3)
(+.f64 (*.f64 -1/12 (pow.f64 x 2)) (log.f64 3))
(fma.f64 -1/12 (*.f64 x x) (log.f64 3))
(fma.f64 x (*.f64 x -1/12) (log.f64 3))
(+.f64 (*.f64 -1/12 (pow.f64 x 2)) (+.f64 (*.f64 -1/144 (pow.f64 x 4)) (log.f64 3)))
(fma.f64 -1/12 (*.f64 x x) (fma.f64 -1/144 (pow.f64 x 4) (log.f64 3)))
(fma.f64 x (*.f64 x -1/12) (fma.f64 -1/144 (pow.f64 x 4) (log.f64 3)))
(+.f64 (*.f64 -1/12 (pow.f64 x 2)) (+.f64 (*.f64 -1/144 (pow.f64 x 4)) (+.f64 (*.f64 -41/25920 (pow.f64 x 6)) (log.f64 3))))
(fma.f64 -1/12 (*.f64 x x) (fma.f64 -1/144 (pow.f64 x 4) (fma.f64 -41/25920 (pow.f64 x 6) (log.f64 3))))
(fma.f64 x (*.f64 x -1/12) (fma.f64 -1/144 (pow.f64 x 4) (fma.f64 -41/25920 (pow.f64 x 6) (log.f64 3))))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))
(log.f64 (+.f64 2 (sqrt.f64 (cos.f64 x))))
(log.f64 (+.f64 (sqrt.f64 (cos.f64 x)) 2))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))
(+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))
(-.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x))))
(fma.f64 -1 (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/2)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x)))
(-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(fma.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (+.f64 (*.f64 -1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 1/6 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))))) (pow.f64 x 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/2 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 -1 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (pow.f64 x 2))) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) x)))))
(fma.f64 -1 (*.f64 (fma.f64 -1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/2) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/3)) (pow.f64 x 3)) (fma.f64 -1 (*.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/2)) (+.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (*.f64 (neg.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) x))))
(-.f64 (-.f64 (fma.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (*.f64 x x) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))) (*.f64 x (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))) (*.f64 (fma.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/3 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2)) (pow.f64 x 3)))
(fma.f64 (*.f64 x x) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 1/2) (fma.f64 (pow.f64 x 3) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) -1/6) (*.f64 (+.f64 (neg.f64 x) 1) (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))))))
(-.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x)) (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (+.f64 (*.f64 x (*.f64 x -1/2)) (*.f64 (pow.f64 x 3) 1/6))))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
1
(+.f64 1 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) -1/4))
(fma.f64 (*.f64 x x) -1/4 1)
(fma.f64 x (*.f64 x -1/4) 1)
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 -1/96 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/96)))
(+.f64 1 (fma.f64 (pow.f64 x 4) -1/96 (*.f64 (*.f64 x x) -1/4)))
(fma.f64 x (*.f64 x -1/4) (fma.f64 (pow.f64 x 4) -1/96 1))
(+.f64 1 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (+.f64 (*.f64 -1/96 (pow.f64 x 4)) (*.f64 -19/5760 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 -1/4 (*.f64 x x) (fma.f64 -1/96 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -19/5760))))
(+.f64 (fma.f64 (*.f64 x x) -1/4 1) (fma.f64 (pow.f64 x 4) -1/96 (*.f64 (pow.f64 x 6) -19/5760)))
(+.f64 1 (fma.f64 (pow.f64 x 6) -19/5760 (fma.f64 x (*.f64 x -1/4) (*.f64 (pow.f64 x 4) -1/96))))
(+.f64 1 (fma.f64 x (*.f64 x -1/4) (fma.f64 (pow.f64 x 6) -19/5760 (*.f64 (pow.f64 x 4) -1/96))))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))
(sqrt.f64 (cos.f64 x))

eval156.0ms (1.1%)

Compiler

Compiled 8109 to 4358 computations (46.3% saved)

prune81.0ms (0.5%)

Pruning

26 alts after pruning (17 fresh and 9 done)

PrunedKeptTotal
New4608468
Fresh2911
Picked011
Done2810
Total46426490
Error
33.6b
Counts
490 → 26
Alt Table
Click to see full alt table
StatusErrorProgram
35.4b
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
59.0b
(exp.f64 (log.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))))
59.0b
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))) 1)
56.9b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1)) (exp.f64 x))
59.9b
(fmod.f64 (exp.f64 x) 1)
59.2b
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
59.0b
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
58.8b
(*.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) 1/3) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
58.4b
(*.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (exp.f64 (+.f64 x x)))) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
58.8b
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (+.f64 1 (*.f64 x (*.f64 x 1/2))) x))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))
58.6b
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (*.f64 x (*.f64 x -1/4)) 1)) (exp.f64 x))
59.2b
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
62.2b
(/.f64 (fmod.f64 (exp.f64 x) (*.f64 x (*.f64 x -1/4))) (exp.f64 x))
59.0b
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
58.6b
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))
59.0b
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
56.9b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (exp.f64 (*.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))) 1/3)) 1)) (exp.f64 x))
58.9b
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
59.2b
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
58.6b
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 1)
58.6b
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
58.6b
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))
58.6b
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
58.4b
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))
Compiler

Compiled 402 to 286 computations (28.9% saved)

regimes79.0ms (0.5%)

Counts
41 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (*.f64 x (*.f64 x -1/4))) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (*.f64 x (*.f64 x -1/4)) 1)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (+.f64 1 (*.f64 x (*.f64 x 1/2))) x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))
(exp.f64 (log.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))))
(*.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) 1/3) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))
(*.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (exp.f64 (*.f64 (*.f64 3 (log1p.f64 (sqrt.f64 (cos.f64 x)))) 1/3)) 1)) (exp.f64 x))
(*.f64 (/.f64 (cbrt.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 2)) (cbrt.f64 (exp.f64 (+.f64 x x)))) (cbrt.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))))
Outputs
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (exp.f64 x))
Calls

2 calls:

59.0ms
x
4.0ms
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Results
ErrorSegmentsBranch
34.0b1x
34.0b1(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Compiler

Compiled 587 to 305 computations (48% saved)

regimes63.0ms (0.4%)

Counts
37 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (*.f64 x (*.f64 x -1/4))) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (*.f64 x (*.f64 x -1/4)) 1)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (+.f64 1 (*.f64 x (*.f64 x 1/2))) x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) 1)) (exp.f64 x))
(exp.f64 (log.f64 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))))
(*.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) 3) 1/3) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(/.f64 (fmod.f64 (exp.f64 x) (pow.f64 (pow.f64 (cos.f64 x) 1/4) 2)) (exp.f64 x))
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))))
(*.f64 (pow.f64 (pow.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) 3) 1/3) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
(log.f64 (exp.f64 (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))))) 1)) (exp.f64 x))
Outputs
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
Calls

2 calls:

46.0ms
x
5.0ms
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Results
ErrorSegmentsBranch
34.4b1x
34.4b1(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Compiler

Compiled 497 to 259 computations (47.9% saved)

regimes30.0ms (0.2%)

Counts
26 → 2
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (*.f64 x (*.f64 x -1/4))) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (*.f64 x (*.f64 x -1/4)) 1)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (+.f64 1 (*.f64 x (*.f64 x 1/2))) x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Outputs
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x))
Calls

2 calls:

15.0ms
x
6.0ms
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Results
ErrorSegmentsBranch
35.4b1x
34.0b2(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x)))
Compiler

Compiled 336 to 183 computations (45.5% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
2.3602089752007218e-7
Compiler

Compiled 15 to 11 computations (26.7% saved)

regimes23.0ms (0.2%)

Counts
24 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (*.f64 x (*.f64 x -1/4))) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (*.f64 x (*.f64 x -1/4)) 1)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (+.f64 1 (*.f64 x (*.f64 x 1/2))) x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))
(/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 (neg.f64 x)))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 1 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (fma.f64 x (*.f64 x -1/4) 2) 1)) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (exp.f64 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
Outputs
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
Calls

1 calls:

15.0ms
x
Results
ErrorSegmentsBranch
35.4b1x
Compiler

Compiled 306 to 173 computations (43.5% saved)

regimes14.0ms (0.1%)

Counts
15 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (*.f64 x (*.f64 x -1/4))) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (*.f64 x (*.f64 x -1/4)) 1)) (exp.f64 x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 x (*.f64 x -1/4) 1)) (-.f64 (+.f64 1 (*.f64 x (*.f64 x 1/2))) x))
(*.f64 (fmod.f64 (exp.f64 x) (fma.f64 (*.f64 x x) -1/4 1)) (-.f64 (+.f64 (neg.f64 x) 1) (*.f64 x (*.f64 x -1/2))))
(fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x)))
Outputs
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (*.f64 x (*.f64 x -1/4)) 1)) (exp.f64 x))
Calls

1 calls:

8.0ms
x
Results
ErrorSegmentsBranch
58.6b1x
Compiler

Compiled 188 to 116 computations (38.3% saved)

regimes9.0ms (0.1%)

Counts
9 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (*.f64 x (*.f64 x -1/4))) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
Outputs
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
Calls

1 calls:

6.0ms
x
Results
ErrorSegmentsBranch
58.9b1x
Compiler

Compiled 100 to 64 computations (36% saved)

regimes8.0ms (0.1%)

Counts
8 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (*.f64 x (*.f64 x -1/4))) (exp.f64 x))
Outputs
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
Calls

1 calls:

5.0ms
x
Results
ErrorSegmentsBranch
58.9b1x
Compiler

Compiled 89 to 57 computations (36% saved)

regimes7.0ms (0%)

Counts
6 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
Outputs
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
59.0b1x
Compiler

Compiled 71 to 49 computations (31% saved)

regimes6.0ms (0%)

Counts
5 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
Outputs
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
59.0b1x
Compiler

Compiled 53 to 37 computations (30.2% saved)

regimes16.0ms (0.1%)

Counts
4 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
Outputs
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
Calls

1 calls:

14.0ms
x
Results
ErrorSegmentsBranch
59.2b1x
Compiler

Compiled 39 to 28 computations (28.2% saved)

regimes5.0ms (0%)

Counts
3 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
Outputs
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
59.2b1x
Compiler

Compiled 27 to 19 computations (29.6% saved)

regimes4.0ms (0%)

Accuracy

Total -0.7b remaining (-1.1%)

Threshold costs -0.7b (-1.1%)

Counts
2 → 1
Calls
Call 1
Inputs
(fmod.f64 (exp.f64 x) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
Outputs
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
59.2b1x
Compiler

Compiled 15 to 10 computations (33.3% saved)

simplify15.0ms (0.1%)

Algorithm
egg-herbie
Rules
18×+-commutative_binary64
12×sub-neg_binary64
11×*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
053259
180259
295259
3109259
4116259
5119259
6120259
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
(if (<=.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x))) 0) (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (*.f64 x (*.f64 x -1/4)) 1)) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(fmod.f64 (exp.f64 x) 1)
Outputs
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (hypot.f64 1 (pow.f64 (cos.f64 x) 1/4)) 2) -1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1)) (exp.f64 x))
(if (<=.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x))) 0) (fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1)) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))
(if (<=.f64 (*.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 (neg.f64 x))) 0) (fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1)) (/.f64 (fmod.f64 (exp.f64 x) (sqrt.f64 (cos.f64 x))) (exp.f64 x)))
(fmod.f64 (exp.f64 x) (-.f64 (pow.f64 (sqrt.f64 2) 2) 1))
(fmod.f64 (exp.f64 x) (+.f64 (pow.f64 (sqrt.f64 2) 2) -1))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 (*.f64 x (*.f64 x -1/4)) 1)) (exp.f64 x))
(/.f64 (fmod.f64 (exp.f64 x) (+.f64 1 (*.f64 x (*.f64 x -1/4)))) (exp.f64 x))
(-.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) 1)
(+.f64 (+.f64 1 (/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))) -1)
(/.f64 (fmod.f64 (exp.f64 x) 1) (exp.f64 x))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) 1)
(+.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))) -1)
(+.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (+.f64 1 (-.f64 (*.f64 (*.f64 x x) 1/2) x)))) -1)
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 (+.f64 x (*.f64 (*.f64 x x) -1/2))))
(*.f64 (fmod.f64 (exp.f64 x) 1) (+.f64 1 (-.f64 (*.f64 (*.f64 x x) 1/2) x)))
(-.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) 1)
(+.f64 (+.f64 1 (*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))) -1)
(*.f64 (-.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) 1) (-.f64 1 x))
(*.f64 (-.f64 1 x) (+.f64 (+.f64 1 (fmod.f64 (exp.f64 x) 1)) -1))
(*.f64 (fmod.f64 (exp.f64 x) 1) (-.f64 1 x))
(fmod.f64 (exp.f64 x) 1)
Compiler

Compiled 180 to 133 computations (26.1% saved)

soundness299.0ms (2%)

Algorithm
egg-herbie
Rules
924×unswap-sqr_binary64
924×unswap-sqr_binary64
430×associate-/l*_binary64
430×associate-/l*_binary64
381×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0917
11617
22615
33915
46315
512015
628115
773515
8117615
9313115
10503115
11577015
12710615
0917
11617
22615
33915
46315
512015
628115
773515
8117615
9313115
10503115
11577015
12710615
Stop Event
node limit
node limit
Compiler

Compiled 90 to 60 computations (33.3% saved)

end104.0ms (0.7%)

Compiler

Compiled 168 to 107 computations (36.3% saved)

Profiling

Loading profile data...