Details

Time bar (total: 15.8s)

analyze7.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%49.7%50.3%0
0%49.7%50.3%1
0%49.7%50.3%2
24.8%24.8%50.3%3
37.3%12.4%50.3%4
43.5%6.2%50.3%5
46.6%3.1%50.3%6
48.1%1.6%50.3%7
48.9%0.8%50.3%8
49.3%0.4%50.3%9
49.5%0.2%50.3%10
49.6%0.1%50.3%11
49.6%0%50.3%12
Compiler

Compiled 16 to 12 computations (25% saved)

sample10.9s (68.9%)

Results
8.6s4099×body2048valid
1.4s2070×body1024valid
408.0ms1083×body512valid
337.0ms221×body4096valid
108.0ms783×body256valid

preprocess21.0ms (0.1%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21712
32512
43512
55312
69012
712412
816812
920412
1023012
1123212
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Outputs
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21712
32512
43512
55312
69012
712412
816812
920412
1023012
1123212
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Outputs
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(+.f64 (/.f64 1 x) (/.f64 -1 (tan.f64 x)))

eval1.0ms (0%)

Compiler

Compiled 17 to 12 computations (29.4% saved)

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
60.1b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
60.1b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 9 to 7 computations (22.2% saved)

localize12.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
3.7b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 20 to 12 computations (40% saved)

series5.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@inf
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
2.0ms
x
@0
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
2.0ms
x
@-inf
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))

rewrite77.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
883×pow1_binary64
823×add-log-exp_binary64
823×log1p-expm1-u_binary64
823×expm1-log1p-u_binary64
805×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify160.0ms (1%)

Algorithm
egg-herbie
Rules
675×sqr-pow_binary64
624×unswap-sqr_binary64
594×cube-prod_binary64
554×fma-def_binary64
417×fabs-mul_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
030168
174162
2153162
3367162
4677162
51437162
62099162
73090162
83307162
93633162
104034162
114566162
125297162
136300162
146946162
157455162
167858162
Stop Event
node limit
Counts
55 → 54
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (*.f64 2/945 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 1/45) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(fma.f64 x (fma.f64 1/45 (*.f64 x x) 1/3) (*.f64 2/945 (pow.f64 x 5)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 1/45 (pow.f64 x 3) (fma.f64 2/945 (pow.f64 x 5) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/4725 (pow.f64 x 7) (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))

eval47.0ms (0.3%)

Compiler

Compiled 777 to 491 computations (36.8% saved)

prune21.0ms (0.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New49554
Fresh000
Picked011
Done000
Total49655
Error
0.3b
Counts
55 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.6b
(*.f64 1/3 x)
60.1b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
60.1b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
0.4b
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
Compiler

Compiled 131 to 97 computations (26% saved)

localize87.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 2/945 (pow.f64 x 5))
0.1b
(*.f64 1/4725 (pow.f64 x 7))
0.1b
(*.f64 1/45 (pow.f64 x 3))
0.4b
(*.f64 1/3 x)
Compiler

Compiled 85 to 68 computations (20% saved)

series14.0ms (0.1%)

Counts
4 → 0
Calls

12 calls:

TimeVariablePointExpression
2.0ms
x
@0
(*.f64 1/45 (pow.f64 x 3))
1.0ms
x
@0
(*.f64 1/4725 (pow.f64 x 7))
1.0ms
x
@0
(*.f64 2/945 (pow.f64 x 5))
1.0ms
x
@inf
(*.f64 1/3 x)
1.0ms
x
@0
(*.f64 1/3 x)

rewrite93.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
622×log-prod_binary64
378×pow2_binary64
307×pow-prod-down_binary64
266×expm1-udef_binary64
266×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01625
134425
2353825
Stop Event
node limit
Counts
4 → 80
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 1/45 (pow.f64 x 3))
(*.f64 1/4725 (pow.f64 x 7))
(*.f64 2/945 (pow.f64 x 5))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 x))) 2)) (log.f64 (cbrt.f64 (cbrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 x)))) (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/9) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (cbrt.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/3 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 1/3 x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/3 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/3 x))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/45 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/45 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2025 (pow.f64 x 6)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 1/45)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/45) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/2025 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/45) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/45 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/45 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/45 (pow.f64 x 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (cbrt.f64 1/45)) 9)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (cbrt.f64 1/45))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 1/45) (pow.f64 x 3/2))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/4725 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/4725 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/22325625 (pow.f64 x 14)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/4725 (pow.f64 x 7))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/4725) (pow.f64 x 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/22325625 (pow.f64 x 14)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/4725) (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/4725 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/4725 (pow.f64 x 7)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/4725 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 7 (log.f64 x) (log.f64 1/4725)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 7 (log.f64 x) (log.f64 1/4725)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (fma.f64 7 (log.f64 x) (log.f64 1/4725))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/4725 (pow.f64 x 7)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 1/4725) (pow.f64 x 7/2))) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/945 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/945 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/945 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 10) 4/893025) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/945 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/945) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 10) 4/893025))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/945) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/945 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/945 (pow.f64 x 5)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/945 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 5 (log.f64 x) (log.f64 2/945)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 5 (log.f64 x) (log.f64 2/945)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (fma.f64 5 (log.f64 x) (log.f64 2/945))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 2/945 (pow.f64 x 5)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 2/945) (pow.f64 x 5/2))) 2))))))

simplify15.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
80 → 80
Calls
Call 1
Inputs
Outputs

localize5.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(*.f64 1/3 x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

localize52.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/45 (*.f64 x x) 1/3)
0.3b
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
Compiler

Compiled 21 to 11 computations (47.6% saved)

series5.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
1.0ms
x
@inf
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
1.0ms
x
@-inf
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
1.0ms
x
@0
(fma.f64 1/45 (*.f64 x x) 1/3)
0.0ms
x
@inf
(fma.f64 1/45 (*.f64 x x) 1/3)

rewrite64.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
612×pow1_binary64
570×add-log-exp_binary64
570×log1p-expm1-u_binary64
570×expm1-log1p-u_binary64
559×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
114219
2157119
Stop Event
node limit
Counts
2 → 34
Calls
Call 1
Inputs
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (*.f64 x x) 1/3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) x) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 1/45 (*.f64 x x))) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/3 (*.f64 1/45 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) 1) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/45 (*.f64 x x) 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/45 (*.f64 x x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) 2) (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) (sqrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) 1/9) (-.f64 (*.f64 1/45 (*.f64 x x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/45 (*.f64 x x) 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/45 (*.f64 x x) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/45 (*.f64 x x) 1/3)))))))

simplify170.0ms (1.1%)

Algorithm
egg-herbie
Rules
944×sqr-pow_binary64
564×cube-prod_binary64
536×unswap-sqr_binary64
534×fabs-mul_binary64
502×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
013222
131204
261204
3134204
4336204
51386204
62757204
72943204
83194204
93481204
103860204
114370204
124977204
135689204
146160204
156481204
166753204
176921204
187013204
197690204
Stop Event
node limit
Counts
58 → 43
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)

localize7.0ms (0%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 (tan.f64 x) x) x)
0.0b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
3.7b
(-.f64 (tan.f64 x) x)
Compiler

Compiled 23 to 5 computations (78.3% saved)

series6.0ms (0%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
2.0ms
x
@0
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
1.0ms
x
@-inf
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
1.0ms
x
@inf
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
1.0ms
x
@0
(-.f64 (tan.f64 x) x)
0.0ms
x
@0
(/.f64 (-.f64 (tan.f64 x) x) x)

rewrite76.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
496×prod-diff_binary64
436×log-prod_binary64
333×exp-prod_binary64
283×pow-prod-down_binary64
214×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0629
114829
2250429
Stop Event
node limit
Counts
3 → 218
Calls
Call 1
Inputs
(-.f64 (tan.f64 x) x)
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
(/.f64 (-.f64 (tan.f64 x) x) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (tan.f64 x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (tan.f64 x) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 (cbrt.f64 x)) (/.f64 x (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (fma.f64 -1 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 (/.f64 x (cbrt.f64 x))) (cbrt.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 x) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (tan.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (-.f64 (tan.f64 x) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (-.f64 (tan.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 (tan.f64 x) x)))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 (tan.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (tan.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (tan.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (cbrt.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (sqrt.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 1 (+.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)) (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (tan.f64 x)) (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (+.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3))) (neg.f64 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x))) (neg.f64 (+.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 (neg.f64 x) 3)) (+.f64 (pow.f64 (tan.f64 x) 2) (-.f64 (pow.f64 (neg.f64 x) 2) (*.f64 (tan.f64 x) (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (pow.f64 (neg.f64 x) 2)) (-.f64 (tan.f64 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (tan.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (tan.f64 x) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (tan.f64 x) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2)) (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 x (tan.f64 x)) (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (-.f64 (tan.f64 x) x))) 2)) (cbrt.f64 (log.f64 (-.f64 (tan.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (-.f64 (tan.f64 x) x)))) (sqrt.f64 (log.f64 (-.f64 (tan.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (tan.f64 x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (tan.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (tan.f64 x))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (exp.f64 (tan.f64 x)) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 (expm1.f64 (tan.f64 x))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (tan.f64 x))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (neg.f64 x)) (+.f64 1 (expm1.f64 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (tan.f64 x) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 (tan.f64 x) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (-.f64 (tan.f64 x) x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (-.f64 (tan.f64 x) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (-.f64 (tan.f64 x) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (-.f64 (tan.f64 x) x)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (tan.f64 x) 1 (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (tan.f64 x) 1 (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (tan.f64 x) x) 1 (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (tan.f64 x) x) 1 (fma.f64 (neg.f64 (cbrt.f64 x)) (/.f64 x (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (tan.f64 x) x) 1 (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (tan.f64 x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (tan.f64 x) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (tan.f64 x) x) (fma.f64 (neg.f64 (cbrt.f64 x)) (/.f64 x (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (tan.f64 x) x) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (neg.f64 x) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (tan.f64 x)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (tan.f64 x)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (cbrt.f64 (tan.f64 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (cbrt.f64 (tan.f64 x)) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 x (cbrt.f64 x)) (neg.f64 (cbrt.f64 x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (fma.f64 (neg.f64 (cbrt.f64 x)) (/.f64 x (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (cbrt.f64 (-.f64 (tan.f64 x) x)) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (cbrt.f64 (-.f64 (tan.f64 x) x)) (fma.f64 (neg.f64 (cbrt.f64 x)) (/.f64 x (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (cbrt.f64 (-.f64 (tan.f64 x) x)) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x)) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (neg.f64 (sqrt.f64 x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (sqrt.f64 (-.f64 (tan.f64 x) x)) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (sqrt.f64 (-.f64 (tan.f64 x) x)) (fma.f64 (neg.f64 (cbrt.f64 x)) (/.f64 x (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (sqrt.f64 (-.f64 (tan.f64 x) x)) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 x) (/.f64 1 (cos.f64 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 x) (/.f64 1 (cos.f64 x)) (*.f64 (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))) (fma.f64 (neg.f64 (cbrt.f64 x)) (/.f64 x (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 x 3)) (/.f64 1 (fma.f64 x (+.f64 x (tan.f64 x)) (pow.f64 (tan.f64 x) 2))) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 1 (+.f64 x (tan.f64 x))) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 1 (+.f64 x (tan.f64 x))) (fma.f64 (neg.f64 (cbrt.f64 x)) (/.f64 x (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (pow.f64 (tan.f64 x) 2) (*.f64 x x)) (/.f64 1 (+.f64 x (tan.f64 x))) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (neg.f64 x)) 2) (cbrt.f64 (neg.f64 x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 x (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (fma.f64 (neg.f64 x) 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (fma.f64 (neg.f64 (cbrt.f64 x)) (/.f64 x (cbrt.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (+.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (/.f64 x (cbrt.f64 x))) (cbrt.f64 x) (tan.f64 x))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (tan.f64 x) (*.f64 x (tan.f64 x))) (/.f64 x (*.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (/.f64 (tan.f64 x) x) (tan.f64 x)) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (tan.f64 x) x) (/.f64 1 (*.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) (cbrt.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 2)) (cbrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 (tan.f64 x) x)) -2)) (*.f64 (cbrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) (sqrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (*.f64 (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (neg.f64 (-.f64 (tan.f64 x) x)) x) (/.f64 1 (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) (+.f64 (/.f64 (tan.f64 x) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (tan.f64 x)) (/.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (tan.f64 x)) (/.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 (tan.f64 x) x) 1) (/.f64 (/.f64 1 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 (tan.f64 x) x)) -2)) 1) (/.f64 (cbrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) 1) (/.f64 (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 (tan.f64 x) x) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) -2) (/.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 (tan.f64 x) x)) -2)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 (tan.f64 x) x) (sqrt.f64 (tan.f64 x))) (/.f64 (/.f64 1 x) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (tan.f64 x) -1/2) (/.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 (tan.f64 x) x)) -2)) (sqrt.f64 (tan.f64 x))) (/.f64 (cbrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (tan.f64 x) (/.f64 x (-.f64 (tan.f64 x) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) 3) (pow.f64 (tan.f64 x) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 x (-.f64 (tan.f64 x) x)) (tan.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (tan.f64 x)) (-.f64 (tan.f64 x) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (tan.f64 x) (/.f64 x (-.f64 (tan.f64 x) x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 2)) (cbrt.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))) (sqrt.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (tan.f64 x) (/.f64 x (-.f64 (tan.f64 x) x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 (-.f64 (tan.f64 x) x) (*.f64 x (tan.f64 x)))) 1) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (tan.f64 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (/.f64 (tan.f64 x) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (/.f64 (tan.f64 x) x) -1))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (tan.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (/.f64 (tan.f64 x) x) -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (tan.f64 x) x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (/.f64 (tan.f64 x) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (cbrt.f64 (pow.f64 (/.f64 x (-.f64 (tan.f64 x) x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 x (-.f64 (tan.f64 x) x)) -2)) (cbrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (*.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (*.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 (tan.f64 x) x)) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (-.f64 (tan.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 x) x) (/.f64 (-.f64 (tan.f64 x) x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -1/2) (/.f64 (-.f64 (tan.f64 x) x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) 1) (/.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) 1) (/.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (/.f64 x (cbrt.f64 x))) (cbrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (/.f64 x (cbrt.f64 x))) (/.f64 (sqrt.f64 (-.f64 (tan.f64 x) x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (-.f64 (tan.f64 x) x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (-.f64 (tan.f64 x) x)) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (-.f64 (tan.f64 x) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (-.f64 (tan.f64 x) x) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 x (-.f64 (tan.f64 x) x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 (/.f64 (tan.f64 x) x) -1))) 2)) (cbrt.f64 (log.f64 (+.f64 (/.f64 (tan.f64 x) x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))) (sqrt.f64 (log.f64 (+.f64 (/.f64 (tan.f64 x) x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 (tan.f64 x) x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (-.f64 (tan.f64 x) x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (/.f64 (tan.f64 x) x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 (tan.f64 x) x) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (/.f64 (tan.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 (/.f64 (tan.f64 x) x) -1) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (/.f64 (tan.f64 x) x) -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (-.f64 (tan.f64 x) x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (+.f64 (/.f64 (tan.f64 x) x) -1)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (tan.f64 x) (/.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 (tan.f64 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 (tan.f64 x) x)) 2) (cbrt.f64 (/.f64 (tan.f64 x) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 (tan.f64 x) x)) (sqrt.f64 (/.f64 (tan.f64 x) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 x) x) (/.f64 (tan.f64 x) (cbrt.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (/.f64 (tan.f64 x) (sqrt.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) 1) (/.f64 (cbrt.f64 (tan.f64 x)) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (tan.f64 x)) 1) (/.f64 (sqrt.f64 (tan.f64 x)) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (/.f64 x (cbrt.f64 x))) (/.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (tan.f64 x)) (/.f64 x (cbrt.f64 x))) (/.f64 (sqrt.f64 (tan.f64 x)) (cbrt.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (tan.f64 x)) (sqrt.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) (/.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 x)) -1)))))

simplify87.0ms (0.5%)

Algorithm
egg-herbie
Rules
845×fma-def_binary64
740×distribute-lft-out_binary64
721×associate-*l*_binary64
698×distribute-rgt-out_binary64
555×associate-*r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
066478
1167460
2391460
31150460
44432460
56918460
67856460
Stop Event
node limit
Counts
254 → 251
Calls
Call 1
Inputs
(*.f64 1/3 (pow.f64 x 3))
(+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5)))
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))))
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 62/2835 (pow.f64 x 9)) (*.f64 2/15 (pow.f64 x 5)))))
(*.f64 -1 x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(*.f64 -1 x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(*.f64 1/3 (pow.f64 x 2))
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4)))
(+.f64 (*.f64 17/315 (pow.f64 x 6)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4))))
(+.f64 (*.f64 17/315 (pow.f64 x 6)) (+.f64 (*.f64 62/2835 (pow.f64 x 8)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4)))))
-1
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
-1
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
Outputs
(*.f64 1/3 (pow.f64 x 3))
(+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))))
(fma.f64 17/315 (pow.f64 x 7) (fma.f64 1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (*.f64 17/315 (pow.f64 x 7))))
(+.f64 (*.f64 17/315 (pow.f64 x 7)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 62/2835 (pow.f64 x 9)) (*.f64 2/15 (pow.f64 x 5)))))
(fma.f64 17/315 (pow.f64 x 7) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 62/2835 (pow.f64 x 9) (*.f64 2/15 (pow.f64 x 5)))))
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 17/315 (pow.f64 x 7) (fma.f64 2/15 (pow.f64 x 5) (*.f64 62/2835 (pow.f64 x 9)))))
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (fma.f64 17/315 (pow.f64 x 7) (*.f64 62/2835 (pow.f64 x 9)))))
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(+.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (*.f64 -1 x))
(+.f64 (neg.f64 x) (/.f64 (sin.f64 x) (cos.f64 x)))
(-.f64 (/.f64 (sin.f64 x) (cos.f64 x)) x)
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 (pow.f64 x 3) 1/45))
(fma.f64 (pow.f64 x 3) 1/45 (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (*.f64 (pow.f64 x 3) 1/45)))
(fma.f64 1/3 x (fma.f64 (pow.f64 x 3) 1/45 (*.f64 (pow.f64 x 5) 2/945)))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
(fma.f64 1/3 x (fma.f64 2/945 (pow.f64 x 5) (fma.f64 1/45 (pow.f64 x 3) (*.f64 (pow.f64 x 7) 1/4725))))
(fma.f64 1/3 x (fma.f64 (pow.f64 x 5) 2/945 (fma.f64 (pow.f64 x 3) 1/45 (*.f64 (pow.f64 x 7) 1/4725))))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)))
(neg.f64 (/.f64 (cos.f64 x) (sin.f64 x)))
(/.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x))) (/.f64 1 x))
(fma.f64 -1 (/.f64 (cos.f64 x) (sin.f64 x)) (/.f64 1 x))
(-.f64 (/.f64 1 x) (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4)))
(fma.f64 1/3 (*.f64 x x) (*.f64 2/15 (pow.f64 x 4)))
(+.f64 (*.f64 17/315 (pow.f64 x 6)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4))))
(fma.f64 17/315 (pow.f64 x 6) (fma.f64 1/3 (*.f64 x x) (*.f64 2/15 (pow.f64 x 4))))
(fma.f64 1/3 (*.f64 x x) (fma.f64 2/15 (pow.f64 x 4) (*.f64 17/315 (pow.f64 x 6))))
(+.f64 (*.f64 17/315 (pow.f64 x 6)) (+.f64 (*.f64 62/2835 (pow.f64 x 8)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 2/15 (pow.f64 x 4)))))
(fma.f64 17/315 (pow.f64 x 6) (fma.f64 62/2835 (pow.f64 x 8) (fma.f64 1/3 (*.f64 x x) (*.f64 2/15 (pow.f64 x 4)))))
(fma.f64 17/315 (pow.f64 x 6) (fma.f64 2/15 (pow.f64 x 4) (fma.f64 1/3 (*.f64 x x) (*.f64 62/2835 (pow.f64 x 8)))))
(fma.f64 2/15 (pow.f64 x 4) (fma.f64 x (*.f64 1/3 x) (fma.f64 62/2835 (pow.f64 x 8) (*.f64 17/315 (pow.f64 x 6)))))
-1
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
-1
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))
(-.f64 (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) x)) 1)
(+.f64 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))) -1)
(+.f64 -1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x))))

localize25.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 2/945 (pow.f64 x 5))
0.1b
(*.f64 1/45 (pow.f64 x 3))
0.4b
(*.f64 1/3 x)
Compiler

Compiled 52 to 41 computations (21.2% saved)

eval150.0ms (0.9%)

Compiler

Compiled 7729 to 4498 computations (41.8% saved)

prune66.0ms (0.4%)

Pruning

14 alts after pruning (9 fresh and 5 done)

PrunedKeptTotal
New4459454
Fresh000
Picked011
Done145
Total44614460
Error
0.2b
Counts
460 → 14
Alt Table
Click to see full alt table
StatusErrorProgram
28.7b
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
60.1b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
1.8b
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
0.4b
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
31.6b
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
42.4b
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
0.6b
(*.f64 1/3 x)
38.2b
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
60.1b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
0.4b
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
34.1b
(exp.f64 (log.f64 (*.f64 1/3 x)))
38.1b
(/.f64 (/.f64 (*.f64 1/3 (pow.f64 x 3)) x) (tan.f64 x))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
Compiler

Compiled 257 to 188 computations (26.8% saved)

localize55.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (*.f64 1/45 (*.f64 x x)) 3)
0.1b
(*.f64 1/45 (*.f64 x x))
0.2b
(*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)
0.3b
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
Compiler

Compiled 143 to 85 computations (40.6% saved)

series6.0ms (0%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
1.0ms
x
@0
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
0.0ms
x
@0
(pow.f64 (*.f64 1/45 (*.f64 x x)) 3)
0.0ms
x
@inf
(*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)
0.0ms
x
@-inf
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))

rewrite88.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
652×fma-def_binary64
384×fma-neg_binary64
319×expm1-udef_binary64
319×log1p-udef_binary64
252×log-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01770
140051
2535951
Stop Event
node limit
Counts
4 → 87
Calls
Call 1
Inputs
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
(*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)
(*.f64 1/45 (*.f64 x x))
(pow.f64 (*.f64 1/45 (*.f64 x x)) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (*.f64 x (fma.f64 1/91125 (pow.f64 x 6) 1/27))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 1/91125 (pow.f64 x 6) 1/27)) (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 x (fma.f64 1/91125 (pow.f64 x 6) 1/27))) (neg.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (fma.f64 1/91125 (pow.f64 x 6) 1/27)) 1) (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (fma.f64 1/91125 (pow.f64 x 6) 1/27)) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135))) 2)) (cbrt.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (fma.f64 1/91125 (pow.f64 x 6) 1/27)) (sqrt.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)))) (sqrt.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (fma.f64 1/91125 (pow.f64 x 6) 1/27)) x) (neg.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (neg.f64 (fma.f64 1/91125 (pow.f64 x 6) 1/27))) (neg.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (/.f64 (fma.f64 1/91125 (pow.f64 x 6) 1/27) (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (/.f64 (fma.f64 1/91125 (pow.f64 x 6) 1/27) (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 (fma.f64 1/91125 (pow.f64 x 6) 1/27) (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135))) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (/.f64 (-.f64 (fma.f64 1/2025 (pow.f64 x 4) 1/9) (*.f64 (*.f64 x x) 1/135)) (fma.f64 1/91125 (pow.f64 x 6) 1/27)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 x x) 1/135))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/135) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) 1/135)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (*.f64 x x) 1/135)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 1/91125 (pow.f64 x 6)) 1/27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 1/2025 (pow.f64 x 4)) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (*.f64 x x) 1/135)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 1/91125 (pow.f64 x 6)) 1/27))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) 1/135)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) 1/135)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) 1/135)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) 1/135)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x 1/45)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 1/45)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/91125 (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2025 (pow.f64 x 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/45))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/45)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/2025 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/45) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x 1/45)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/91125 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x 1/45))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/91125 (pow.f64 x 6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/45 (*.f64 (*.f64 x x) (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/45 (*.f64 (*.f64 (pow.f64 x 4) 1/45) (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (*.f64 1/45 (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 1/2025 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/91125 (pow.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/2025 (pow.f64 x 4)) (*.f64 x (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/91125 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2025 (*.f64 (pow.f64 x 4) (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/91125 (pow.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/2025 (pow.f64 x 4))) (*.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/45))) (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 1/2025 (pow.f64 x 4))) 2) (*.f64 (cbrt.f64 (*.f64 1/2025 (pow.f64 x 4))) (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 1/45)) (*.f64 (*.f64 x (sqrt.f64 1/45)) (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 6) 1/91125)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/91125 (pow.f64 x 6))) (sqrt.f64 (*.f64 1/91125 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x 1/45) (*.f64 x (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) 1/2025) (*.f64 (pow.f64 x 4) 1/45))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sqrt.f64 1/45)) 3) (pow.f64 (*.f64 x (sqrt.f64 1/45)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x 1/45) 3) (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/2025 (pow.f64 x 4)) 1/45) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) 1/2025) (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (pow.f64 (cbrt.f64 (*.f64 1/2025 (pow.f64 x 4))) 2)) (cbrt.f64 (*.f64 1/2025 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 (*.f64 x x) 1/2025)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/2025 (pow.f64 x 4)) (*.f64 x x)) 1/45)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/2025 (pow.f64 x 4)) (cbrt.f64 (*.f64 1/2025 (pow.f64 x 4)))) (cbrt.f64 (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/2025 (pow.f64 x 4)) (*.f64 x (sqrt.f64 1/45))) (*.f64 x (sqrt.f64 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/2025 (pow.f64 x 4)) (*.f64 x 1/45)) x)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 x 1/45)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/91125) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/91125 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/756680642578125 (pow.f64 (pow.f64 x 6) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/91125 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/91125 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/91125 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/91125 (pow.f64 x 6))) 1))))))

simplify153.0ms (1%)

Algorithm
egg-herbie
Rules
810×sqr-pow_binary64
793×cube-prod_binary64
598×fabs-mul_binary64
467×unswap-sqr_binary64
415×unpow3_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
018369
139369
291369
3275369
41244369
52325369
62492369
72757369
83021369
93367369
103826369
114352369
124992369
135758369
146201369
156699369
167207369
177753369
Stop Event
node limit
Counts
135 → 95
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/135 (pow.f64 x 2))
(*.f64 1/135 (*.f64 x x))
(*.f64 x (*.f64 x 1/135))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))
(*.f64 1/91125 (pow.f64 x 6))

localize42.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 1/45 (*.f64 x x)) 1/3)
0.1b
(*.f64 1/45 (*.f64 x x))
0.3b
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
Compiler

Compiled 28 to 15 computations (46.4% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
0.0ms
x
@inf
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
0.0ms
x
@-inf
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
0.0ms
x
@inf
(+.f64 (*.f64 1/45 (*.f64 x x)) 1/3)
0.0ms
x
@-inf
(+.f64 (*.f64 1/45 (*.f64 x x)) 1/3)

rewrite61.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
894×pow1_binary64
840×add-log-exp_binary64
840×log1p-expm1-u_binary64
840×expm1-log1p-u_binary64
824×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
118119
2233019
Stop Event
node limit
Counts
2 → 57
Calls
Call 1
Inputs
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(+.f64 (*.f64 1/45 (*.f64 x x)) 1/3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/3) (*.f64 1/45 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) 1) (*.f64 (*.f64 x 1/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/45 (pow.f64 x 3)) 3) (pow.f64 (*.f64 x 1/3) 3)) (+.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/45 (pow.f64 x 3))) (-.f64 (*.f64 (*.f64 x 1/3) (*.f64 x 1/3)) (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/45 (pow.f64 x 3))) (*.f64 (*.f64 x 1/3) (*.f64 x 1/3))) (-.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3))) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9)) (fma.f64 1/45 (*.f64 x x) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 (*.f64 x 1/45) x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x (*.f64 x 1/45)) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x 1/45)) x (*.f64 x 1/3))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (*.f64 x 1/45) x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 1/2025 (pow.f64 x 4)) (fma.f64 1/45 (*.f64 x x) -1/3)) (/.f64 1/9 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 x 1/45) x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) 2) (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) (sqrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) (/.f64 1 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) (/.f64 1 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))) (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 1/45 (*.f64 x x) -1/3) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) (+.f64 1/9 (-.f64 (*.f64 1/2025 (pow.f64 x 4)) (*.f64 (*.f64 x x) 1/135))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) (fma.f64 1/45 (*.f64 x x) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3))) (neg.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9)) (neg.f64 (fma.f64 1/45 (*.f64 x x) -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/9 (*.f64 1/2025 (pow.f64 x 4))) (-.f64 1/3 (*.f64 x (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (*.f64 x 1/45) x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 x 1/45) x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (*.f64 x 1/45) x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/45 (*.f64 x x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1/45 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (*.f64 x 1/45)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/2025 (pow.f64 x 4))) (cbrt.f64 (*.f64 x (*.f64 x 1/45))) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 1/45)) (*.f64 x (sqrt.f64 1/45)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x 1/45) x 1/3)))))

simplify169.0ms (1.1%)

Algorithm
egg-herbie
Rules
944×sqr-pow_binary64
564×cube-prod_binary64
536×unswap-sqr_binary64
534×fabs-mul_binary64
502×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
013222
131204
261204
3134204
4336204
51386204
62757204
72943204
83194204
93481204
103860204
114370204
124977204
135689204
146160204
156481204
166753204
176921204
187013204
197690204
Stop Event
node limit
Counts
81 → 66
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(*.f64 1/45 (pow.f64 x 2))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x 1/45) 1/3))
1/3
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 x (*.f64 x 1/45))
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)
(+.f64 1/3 (*.f64 1/45 (pow.f64 x 2)))
(+.f64 1/3 (*.f64 1/45 (*.f64 x x)))
(fma.f64 1/45 (*.f64 x x) 1/3)
(fma.f64 x (*.f64 x 1/45) 1/3)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 1/3 (*.f64 x x))
28.3b
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
Compiler

Compiled 21 to 9 computations (57.1% saved)

series4.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
1.0ms
x
@-inf
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
1.0ms
x
@0
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
0.0ms
x
@inf
(*.f64 1/3 (*.f64 x x))
0.0ms
x
@0
(*.f64 1/3 (*.f64 x x))

rewrite60.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
816×pow1_binary64
762×add-log-exp_binary64
762×log1p-expm1-u_binary64
762×expm1-log1p-u_binary64
746×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
115219
2204119
Stop Event
node limit
Counts
2 → 57
Calls
Call 1
Inputs
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 1/3 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (/.f64 (*.f64 x x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (/.f64 1 (/.f64 (tan.f64 x) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (*.f64 (*.f64 x x) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 (*.f64 x x)) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/9 (pow.f64 x 4))) (*.f64 (cbrt.f64 (*.f64 1/3 (*.f64 x x))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) (pow.f64 (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) 2) (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 1/3)) (*.f64 (*.f64 x (sqrt.f64 1/3)) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 1/3)) (sqrt.f64 (tan.f64 x))) (/.f64 (*.f64 x (sqrt.f64 1/3)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) -1/3) (/.f64 1 (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) (*.f64 1/3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 x) (*.f64 x (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) 1) (/.f64 1/3 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 1/9 (pow.f64 x 4))) 1) (/.f64 (cbrt.f64 (*.f64 1/3 (*.f64 x x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 1/3)) 1) (/.f64 (*.f64 x (sqrt.f64 1/3)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 1/3 x) 1) (/.f64 x (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/3 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 x x) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 1/3 (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 1/3 (*.f64 x x)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 1/9 (pow.f64 x 4))) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 1/3)) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (*.f64 x (sqrt.f64 1/3)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 1/3 x) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 x (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/3 (sqrt.f64 (tan.f64 x))) (/.f64 (*.f64 x x) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) (sqrt.f64 (tan.f64 x))) (/.f64 1/3 (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (tan.f64 x))) (/.f64 (*.f64 1/3 (*.f64 x x)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 1/9 (pow.f64 x 4))) (sqrt.f64 (tan.f64 x))) (/.f64 (cbrt.f64 (*.f64 1/3 (*.f64 x x))) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 1/3 x) (sqrt.f64 (tan.f64 x))) (/.f64 x (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (sqrt.f64 1/3)) (sqrt.f64 (tan.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (/.f64 (tan.f64 x) (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 1/3 (*.f64 x x)) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (*.f64 1/9 (pow.f64 x 4)) (pow.f64 (tan.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 1/3 (*.f64 x x)) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 1/3 (tan.f64 x)) (*.f64 x x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/3 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/9 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 (*.f64 x x))))))))

simplify104.0ms (0.7%)

Algorithm
egg-herbie
Rules
613×associate-/l/_binary64
596×associate-/r/_binary64
586×associate-*r/_binary64
439×unswap-sqr_binary64
424×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030278
177278
2178278
3477278
41259278
52378278
65520278
76078278
86641278
97088278
107522278
Stop Event
node limit
Counts
81 → 68
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (*.f64 1/3 x))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 -2/2835 (pow.f64 x 7)))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (*.f64 1/3 x))
(fma.f64 -1/9 (pow.f64 x 3) (*.f64 1/3 x))
(fma.f64 1/3 x (*.f64 -1/9 (pow.f64 x 3)))
(*.f64 x (fma.f64 x (*.f64 x -1/9) 1/3))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (*.f64 1/3 x)))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 1/3 x)))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 1/3 x (*.f64 -1/135 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x -1/9) 1/3) (*.f64 -1/135 (pow.f64 x 5)))
(fma.f64 1/3 x (fma.f64 -1/9 (pow.f64 x 3) (*.f64 -1/135 (pow.f64 x 5))))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 -2/2835 (pow.f64 x 7)))))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 -2/2835 (pow.f64 x 7)))))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (fma.f64 -2/2835 (pow.f64 x 7) (*.f64 1/3 x))))
(fma.f64 x (fma.f64 x (*.f64 x -1/9) 1/3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -2/2835 (pow.f64 x 7))))
(fma.f64 1/3 x (fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -2/2835 (pow.f64 x 7)))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (/.f64 (sin.f64 x) (*.f64 x x))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(/.f64 (*.f64 x (*.f64 1/3 x)) (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (cos.f64 x))))
(*.f64 (cos.f64 x) (/.f64 (*.f64 1/3 (*.f64 x x)) (sin.f64 x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(*.f64 (*.f64 x (*.f64 x (cos.f64 x))) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 x (*.f64 1/3 x))

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 1/3 x) 3)
0.4b
(*.f64 1/3 x)
37.9b
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
Compiler

Compiled 18 to 14 computations (22.2% saved)

series10.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
6.0ms
x
@0
(pow.f64 (*.f64 1/3 x) 3)
2.0ms
x
@-inf
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
1.0ms
x
@-inf
(pow.f64 (*.f64 1/3 x) 3)
1.0ms
x
@inf
(pow.f64 (*.f64 1/3 x) 3)
0.0ms
x
@0
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))

rewrite49.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
520×pow1_binary64
512×add-sqr-sqrt_binary64
492×add-log-exp_binary64
492×log1p-expm1-u_binary64
492×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
115011
2141011
Stop Event
node limit
Counts
2 → 51
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
(pow.f64 (*.f64 1/3 x) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (pow.f64 (*.f64 1/3 x) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/3 x)) (sqrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 1/3 x) 2) 1/3) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1/27 1/3) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 1/3 x) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 1/3 x) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/27 (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/3 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/27 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (*.f64 x (pow.f64 (*.f64 1/3 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 1/3 (pow.f64 (*.f64 1/3 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/3 x) (pow.f64 (*.f64 1/3 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/27 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/27 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/27 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/3 x) 2) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) (*.f64 (cbrt.f64 (*.f64 1/3 x)) (pow.f64 (*.f64 1/3 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/3 x)) (*.f64 (sqrt.f64 (*.f64 1/3 x)) (pow.f64 (*.f64 1/3 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3) 1/27)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/3 x) 3/2) (pow.f64 (*.f64 1/3 x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2) 3) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 1/3 x)) 3) (pow.f64 (sqrt.f64 (*.f64 1/3 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 1/3 x) 2) 1/3) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 1/3 x) 2) x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 1/3 x) 2) 1) (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 1/3 x) 2) (pow.f64 (cbrt.f64 (*.f64 1/3 x)) 2)) (cbrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 1/3 x) 2) (sqrt.f64 (*.f64 1/3 x))) (sqrt.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/3 x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/27) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/27 (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 1/3 x))))))))

simplify173.0ms (1.1%)

Algorithm
egg-herbie
Rules
1274×sqr-pow_binary64
666×pow-sqr_binary64
529×cube-prod_binary64
475×fabs-mul_binary64
444×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
013148
128148
258148
386148
4148148
5385148
61266148
71961148
82079148
92467148
102625148
112869148
123191148
133613148
144113148
154714148
165438148
175761148
186047148
196269148
206447148
216531148
227471148
Stop Event
node limit
Counts
75 → 53
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 -1 (*.f64 (cbrt.f64 -1/27) x))
(*.f64 -1 (*.f64 (cbrt.f64 -1/27) x))
(*.f64 -1 (*.f64 (cbrt.f64 -1/27) x))
(*.f64 -1 (*.f64 (cbrt.f64 -1/27) x))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
Outputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 -1 (*.f64 (cbrt.f64 -1/27) x))
(neg.f64 (*.f64 x (cbrt.f64 -1/27)))
(*.f64 x (neg.f64 (cbrt.f64 -1/27)))
(*.f64 (cbrt.f64 -1/27) (neg.f64 x))
(*.f64 -1 (*.f64 (cbrt.f64 -1/27) x))
(neg.f64 (*.f64 x (cbrt.f64 -1/27)))
(*.f64 x (neg.f64 (cbrt.f64 -1/27)))
(*.f64 (cbrt.f64 -1/27) (neg.f64 x))
(*.f64 -1 (*.f64 (cbrt.f64 -1/27) x))
(neg.f64 (*.f64 x (cbrt.f64 -1/27)))
(*.f64 x (neg.f64 (cbrt.f64 -1/27)))
(*.f64 (cbrt.f64 -1/27) (neg.f64 x))
(*.f64 -1 (*.f64 (cbrt.f64 -1/27) x))
(neg.f64 (*.f64 x (cbrt.f64 -1/27)))
(*.f64 x (neg.f64 (cbrt.f64 -1/27)))
(*.f64 (cbrt.f64 -1/27) (neg.f64 x))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))
(*.f64 1/27 (pow.f64 x 3))

localize49.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (*.f64 1/3 x))
0.2b
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
0.4b
(*.f64 1/3 x)
Compiler

Compiled 17 to 13 computations (23.5% saved)

series5.0ms (0%)

Counts
2 → 0
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@0
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
1.0ms
x
@-inf
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
1.0ms
x
@inf
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
1.0ms
x
@0
(sqrt.f64 (*.f64 1/3 x))
0.0ms
x
@-inf
(sqrt.f64 (*.f64 1/3 x))

rewrite71.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
497×pow1_binary64
486×add-sqr-sqrt_binary64
464×add-log-exp_binary64
464×log1p-expm1-u_binary64
464×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify7.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
47 → 47
Calls
Call 1
Inputs
Outputs

eval240.0ms (1.5%)

Compiler

Compiled 7987 to 5488 computations (31.3% saved)

prune96.0ms (0.6%)

Pruning

19 alts after pruning (11 fresh and 8 done)

PrunedKeptTotal
New42710437
Fresh314
Picked011
Done279
Total43219451
Error
0b
Counts
451 → 19
Alt Table
Click to see full alt table
StatusErrorProgram
0.4b
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
0.6b
(*.f64 1/3 x)
38.2b
(cbrt.f64 (*.f64 (*.f64 (pow.f64 (*.f64 1/3 x) 2) 1/3) x))
1.0b
(*.f64 (pow.f64 1/27 1/3) x)
0.3b
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
28.7b
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
60.1b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
31.6b
(*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x))
28.7b
(*.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))
59.2b
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)
1.8b
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
0.4b
(*.f64 x (/.f64 (+.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 (*.f64 x x) 1/2025)) (*.f64 x x)) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
0.4b
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
31.6b
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
42.4b
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
60.1b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
38.2b
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
Compiler

Compiled 387 to 283 computations (26.9% saved)

localize68.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 x (*.f64 x 1/45))
0.3b
(*.f64 x 1/45)
0.4b
(*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x)
0.4b
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
Compiler

Compiled 105 to 73 computations (30.5% saved)

series5.0ms (0%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x)
0.0ms
x
@inf
(*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x)
0.0ms
x
@0
(*.f64 x 1/45)
0.0ms
x
@-inf
(*.f64 x 1/45)
0.0ms
x
@0
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))

rewrite254.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
620×fma-def_binary64
373×expm1-udef_binary64
373×log1p-udef_binary64
334×fma-neg_binary64
226×add-sqr-sqrt_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02162
148556
2622150
Stop Event
node limit
Counts
4 → 100
Calls
Call 1
Inputs
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x)
(*.f64 x 1/45)
(*.f64 x (*.f64 x 1/45))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (/.f64 1 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (/.f64 1 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (*.f64 x (/.f64 1 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) (/.f64 1 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)) (cbrt.f64 (pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x) 2)) (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) 2) (*.f64 (cbrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) (/.f64 1 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)) (sqrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) (*.f64 (sqrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) (/.f64 1 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (neg.f64 x)) (/.f64 1 (neg.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) 1) (/.f64 x (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) 2) 1) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) 1) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (pow.f64 (cbrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) 2)) (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (cbrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (pow.f64 (cbrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) 2)) (/.f64 x (cbrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) 2)) (/.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) (cbrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) 2) (pow.f64 (cbrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) 2)) (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) (pow.f64 (cbrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) 2)) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) (cbrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (sqrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))) (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (sqrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (sqrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))) (/.f64 x (sqrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))) (/.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) (sqrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) 2) (sqrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) (sqrt.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) (fma.f64 1/8303765625 (pow.f64 (pow.f64 x 4) 3) (pow.f64 (fma.f64 (*.f64 x x) -1/135 1/9) 3))) (fma.f64 (fma.f64 (*.f64 x x) -1/135 1/9) (-.f64 (fma.f64 (*.f64 x x) -1/135 1/9) (*.f64 1/2025 (pow.f64 x 4))) (*.f64 1/4100625 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) (fma.f64 1/4100625 (pow.f64 x 8) (neg.f64 (pow.f64 (fma.f64 (*.f64 x x) -1/135 1/9) 2)))) (+.f64 (fma.f64 1/2025 (pow.f64 x 4) -1/9) (*.f64 (*.f64 x x) 1/135)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)) (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) (neg.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) 3) (pow.f64 (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) (fma.f64 1/2025 (pow.f64 x 4) (fma.f64 (*.f64 x x) -1/135 1/9))) x)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/27 x) (*.f64 (*.f64 (pow.f64 x 6) 1/91125) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 x 6) 1/91125) x) (*.f64 1/27 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/27) (*.f64 x (*.f64 (pow.f64 x 6) 1/91125)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 (pow.f64 x 6) 1/91125)) (*.f64 x 1/27))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1/19683 (pow.f64 (*.f64 (pow.f64 x 6) 1/91125) 3)) x) (fma.f64 (*.f64 (pow.f64 x 6) 1/91125) (fma.f64 (pow.f64 x 6) 1/91125 -1/27) 1/729))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1/729 (pow.f64 (*.f64 (pow.f64 x 6) 1/91125) 2)) x) (-.f64 1/27 (*.f64 (pow.f64 x 6) 1/91125)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 1/19683 (pow.f64 (*.f64 (pow.f64 x 6) 1/91125) 3))) (fma.f64 (*.f64 (pow.f64 x 6) 1/91125) (fma.f64 (pow.f64 x 6) 1/91125 -1/27) 1/729))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 1/729 (pow.f64 (*.f64 (pow.f64 x 6) 1/91125) 2))) (-.f64 1/27 (*.f64 (pow.f64 x 6) 1/91125)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27)) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 x 6) 1/91125 1/27) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 (pow.f64 x 6) 1/91125 1/27))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/27 x (*.f64 (*.f64 (pow.f64 x 6) 1/91125) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1/27 (*.f64 x (*.f64 (pow.f64 x 6) 1/91125)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (pow.f64 x 6) 1/91125) (*.f64 x 1/27))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 6) 1/91125) x (*.f64 1/27 x))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x 1/45))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/45) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/45)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/45)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/91125 (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/2025 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/45) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x 1/45))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/91125 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x 1/45)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/45 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/45 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) 1/91125) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2025 (pow.f64 x 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/45 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/45)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/2025 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 1/45 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/45)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/45 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 6) 1/91125))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/45 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/45 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/45 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/45 (*.f64 x x))) 1))))))

simplify207.0ms (1.3%)

Algorithm
egg-herbie
Rules
798×fma-def_binary64
602×unswap-sqr_binary64
525×associate-*l*_binary64
508×distribute-lft-in_binary64
508×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020366
146366
284366
3177366
4488366
51785366
63134366
73391366
83845366
94623366
105914366
117790366
Stop Event
node limit
Counts
148 → 113
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(*.f64 1/27 x)
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(*.f64 1/91125 (pow.f64 x 7))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(*.f64 1/91125 (pow.f64 x 7))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 x)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (pow.f64 x 2))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 1/45 (pow.f64 x 3))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(+.f64 (*.f64 1/3 x) (*.f64 1/45 (pow.f64 x 3)))
(fma.f64 1/3 x (*.f64 1/45 (pow.f64 x 3)))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(fma.f64 1/45 (pow.f64 x 3) (*.f64 1/3 x))
(*.f64 1/27 x)
(*.f64 x 1/27)
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(fma.f64 1/91125 (pow.f64 x 7) (*.f64 x 1/27))
(fma.f64 x 1/27 (*.f64 1/91125 (pow.f64 x 7)))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(fma.f64 1/91125 (pow.f64 x 7) (*.f64 x 1/27))
(fma.f64 x 1/27 (*.f64 1/91125 (pow.f64 x 7)))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(fma.f64 1/91125 (pow.f64 x 7) (*.f64 x 1/27))
(fma.f64 x 1/27 (*.f64 1/91125 (pow.f64 x 7)))
(*.f64 1/91125 (pow.f64 x 7))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(fma.f64 1/91125 (pow.f64 x 7) (*.f64 x 1/27))
(fma.f64 x 1/27 (*.f64 1/91125 (pow.f64 x 7)))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(fma.f64 1/91125 (pow.f64 x 7) (*.f64 x 1/27))
(fma.f64 x 1/27 (*.f64 1/91125 (pow.f64 x 7)))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(fma.f64 1/91125 (pow.f64 x 7) (*.f64 x 1/27))
(fma.f64 x 1/27 (*.f64 1/91125 (pow.f64 x 7)))
(*.f64 1/91125 (pow.f64 x 7))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(fma.f64 1/91125 (pow.f64 x 7) (*.f64 x 1/27))
(fma.f64 x 1/27 (*.f64 1/91125 (pow.f64 x 7)))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(fma.f64 1/91125 (pow.f64 x 7) (*.f64 x 1/27))
(fma.f64 x 1/27 (*.f64 1/91125 (pow.f64 x 7)))
(+.f64 (*.f64 1/91125 (pow.f64 x 7)) (*.f64 1/27 x))
(fma.f64 1/91125 (pow.f64 x 7) (*.f64 x 1/27))
(fma.f64 x 1/27 (*.f64 1/91125 (pow.f64 x 7)))
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 x)
(*.f64 x 1/45)
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))
(*.f64 1/45 (pow.f64 x 2))
(*.f64 1/45 (*.f64 x x))

localize16.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(*.f64 1/3 x)
6.2b
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)
Compiler

Compiled 19 to 15 computations (21.1% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)
1.0ms
x
@inf
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)
0.0ms
x
@0
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)

rewrite134.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
726×pow1_binary64
683×add-log-exp_binary64
683×log1p-expm1-u_binary64
683×expm1-log1p-u_binary64
673×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify13.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0448
1548
Stop Event
saturated
Counts
55 → 43
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
Outputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)

localize25.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (pow.f64 1/27 1/3) x)
1.0b
(pow.f64 1/27 1/3)
Compiler

Compiled 12 to 10 computations (16.7% saved)

series7.0ms (0%)

Counts
2 → 12
Calls

3 calls:

TimeVariablePointExpression
5.0ms
x
@0
(*.f64 (pow.f64 1/27 1/3) x)
1.0ms
x
@-inf
(*.f64 (pow.f64 1/27 1/3) x)
1.0ms
x
@inf
(*.f64 (pow.f64 1/27 1/3) x)

rewrite178.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
421×pow1_binary64
416×add-sqr-sqrt_binary64
402×*-un-lft-identity_binary64
397×add-log-exp_binary64
397×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065
11265
210875
Stop Event
node limit
Counts
2 → 15
Calls
Call 1
Inputs
(pow.f64 1/27 1/3)
(*.f64 (pow.f64 1/27 1/3) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x . 1/3)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 x))) 2)) (log.f64 (cbrt.f64 (cbrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 x)))) (log.f64 (sqrt.f64 (cbrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (cbrt.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/3 x)))))))

simplify7.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0448
1548
Stop Event
saturated
Counts
27 → 16
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
Outputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)

localize17.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(*.f64 1/3 (/.f64 1 (tan.f64 x)))
28.3b
(*.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))
Compiler

Compiled 29 to 16 computations (44.8% saved)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 1/3 (/.f64 1 (tan.f64 x)))
0.0ms
x
@-inf
(*.f64 1/3 (/.f64 1 (tan.f64 x)))
0.0ms
x
@0
(*.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))
0.0ms
x
@0
(*.f64 1/3 (/.f64 1 (tan.f64 x)))
0.0ms
x
@-inf
(*.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))

rewrite92.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
824×pow1_binary64
763×add-log-exp_binary64
762×log1p-expm1-u_binary64
762×expm1-log1p-u_binary64
746×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0918
118718
2218418
Stop Event
node limit
Counts
2 → 32
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))
(*.f64 1/3 (/.f64 1 (tan.f64 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x (/.f64 1/3 (tan.f64 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (*.f64 x 1/3)) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x (*.f64 x 1/3)) 1) (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x (*.f64 x 1/3)) -1) (neg.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x (/.f64 1/3 (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x (/.f64 1/3 (tan.f64 x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (/.f64 1/3 (tan.f64 x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (/.f64 1/3 (tan.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 (pow.f64 (tan.f64 x) -2) 1/9) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x (/.f64 1/3 (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (/.f64 1/3 (tan.f64 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (/.f64 1/3 (tan.f64 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1/3 (tan.f64 x)) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (/.f64 1/3 (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (/.f64 1/3 (tan.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x (/.f64 1/3 (tan.f64 x))))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1/3 (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1/3 (tan.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (tan.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1/3 (neg.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1/3 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1/3 (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/3 (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/3 (tan.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/3 (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1/3 (tan.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (tan.f64 x) -2) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/3 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/3 (tan.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/3 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/3 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/3 (tan.f64 x))))))))

simplify83.0ms (0.5%)

Algorithm
egg-herbie
Rules
993×fma-def_binary64
623×associate-/l/_binary64
590×associate-/r/_binary64
439×unswap-sqr_binary64
428×associate-/r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
042337
1108335
2252331
3688331
41752331
53159331
66479331
77277331
Stop Event
node limit
Counts
56 → 50
Calls
Call 1
Inputs
(*.f64 1/3 x)
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (*.f64 1/3 x))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (*.f64 1/3 x)))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 -2/2835 (pow.f64 x 7)))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(/.f64 1/3 x)
(+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 -1/9 x))
(+.f64 (*.f64 1/3 (/.f64 1 x)) (+.f64 (*.f64 -1/9 x) (*.f64 -1/135 (pow.f64 x 3))))
(+.f64 (*.f64 -2/2835 (pow.f64 x 5)) (+.f64 (*.f64 1/3 (/.f64 1 x)) (+.f64 (*.f64 -1/9 x) (*.f64 -1/135 (pow.f64 x 3)))))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
Outputs
(*.f64 1/3 x)
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (*.f64 1/3 x))
(fma.f64 -1/9 (pow.f64 x 3) (*.f64 1/3 x))
(fma.f64 1/3 x (*.f64 -1/9 (pow.f64 x 3)))
(*.f64 x (fma.f64 -1/9 (*.f64 x x) 1/3))
(*.f64 x (fma.f64 x (*.f64 x -1/9) 1/3))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (*.f64 1/3 x)))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 1/3 x)))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 1/3 x (*.f64 -1/135 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x -1/9) 1/3) (*.f64 -1/135 (pow.f64 x 5)))
(fma.f64 1/3 x (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -1/9 (pow.f64 x 3))))
(+.f64 (*.f64 -1/9 (pow.f64 x 3)) (+.f64 (*.f64 -1/135 (pow.f64 x 5)) (+.f64 (*.f64 1/3 x) (*.f64 -2/2835 (pow.f64 x 7)))))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (fma.f64 1/3 x (*.f64 -2/2835 (pow.f64 x 7)))))
(fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (fma.f64 -2/2835 (pow.f64 x 7) (*.f64 1/3 x))))
(fma.f64 x (fma.f64 x (*.f64 x -1/9) 1/3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -2/2835 (pow.f64 x 7))))
(fma.f64 1/3 x (fma.f64 -2/2835 (pow.f64 x 7) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -1/9 (pow.f64 x 3)))))
(fma.f64 1/3 x (fma.f64 -1/9 (pow.f64 x 3) (fma.f64 -1/135 (pow.f64 x 5) (*.f64 -2/2835 (pow.f64 x 7)))))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(/.f64 (*.f64 (*.f64 x x) (*.f64 1/3 (cos.f64 x))) (sin.f64 x))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(/.f64 (*.f64 (*.f64 x x) (*.f64 1/3 (cos.f64 x))) (sin.f64 x))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(/.f64 (*.f64 (*.f64 x x) (*.f64 1/3 (cos.f64 x))) (sin.f64 x))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(/.f64 (*.f64 (*.f64 x x) (*.f64 1/3 (cos.f64 x))) (sin.f64 x))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(/.f64 (*.f64 (*.f64 x x) (*.f64 1/3 (cos.f64 x))) (sin.f64 x))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(/.f64 (*.f64 (*.f64 x x) (*.f64 1/3 (cos.f64 x))) (sin.f64 x))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(/.f64 (*.f64 (*.f64 x x) (*.f64 1/3 (cos.f64 x))) (sin.f64 x))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (pow.f64 x 2)) (sin.f64 x)))
(*.f64 1/3 (/.f64 (*.f64 (cos.f64 x) (*.f64 x x)) (sin.f64 x)))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) (*.f64 1/3 (*.f64 x x)))
(*.f64 1/3 (*.f64 (cos.f64 x) (/.f64 (*.f64 x x) (sin.f64 x))))
(/.f64 (*.f64 (*.f64 x x) (*.f64 1/3 (cos.f64 x))) (sin.f64 x))
(/.f64 1/3 x)
(+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 -1/9 x))
(+.f64 (/.f64 1/3 x) (*.f64 x -1/9))
(fma.f64 x -1/9 (/.f64 1/3 x))
(+.f64 (*.f64 1/3 (/.f64 1 x)) (+.f64 (*.f64 -1/9 x) (*.f64 -1/135 (pow.f64 x 3))))
(+.f64 (/.f64 1/3 x) (fma.f64 -1/9 x (*.f64 (pow.f64 x 3) -1/135)))
(+.f64 (/.f64 1/3 x) (fma.f64 x -1/9 (*.f64 (pow.f64 x 3) -1/135)))
(fma.f64 (pow.f64 x 3) -1/135 (fma.f64 x -1/9 (/.f64 1/3 x)))
(fma.f64 x -1/9 (fma.f64 (pow.f64 x 3) -1/135 (/.f64 1/3 x)))
(+.f64 (*.f64 -2/2835 (pow.f64 x 5)) (+.f64 (*.f64 1/3 (/.f64 1 x)) (+.f64 (*.f64 -1/9 x) (*.f64 -1/135 (pow.f64 x 3)))))
(fma.f64 -2/2835 (pow.f64 x 5) (+.f64 (/.f64 1/3 x) (fma.f64 -1/9 x (*.f64 (pow.f64 x 3) -1/135))))
(+.f64 (fma.f64 x -1/9 (*.f64 (pow.f64 x 3) -1/135)) (fma.f64 (pow.f64 x 5) -2/2835 (/.f64 1/3 x)))
(fma.f64 (pow.f64 x 5) -2/2835 (fma.f64 (pow.f64 x 3) -1/135 (fma.f64 x -1/9 (/.f64 1/3 x))))
(fma.f64 x -1/9 (fma.f64 (pow.f64 x 5) -2/2835 (fma.f64 (pow.f64 x 3) -1/135 (/.f64 1/3 x))))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 1/3 (sin.f64 x)))
(*.f64 1/3 (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 1/3 (sin.f64 x)))

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.4b
(*.f64 1/3 x)
0.7b
(cbrt.f64 (*.f64 1/3 x))
0.7b
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
Compiler

Compiled 17 to 13 computations (23.5% saved)

series8.0ms (0.1%)

Counts
2 → 0
Calls

6 calls:

TimeVariablePointExpression
3.0ms
x
@inf
(cbrt.f64 (*.f64 1/3 x))
2.0ms
x
@0
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
2.0ms
x
@-inf
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
1.0ms
x
@inf
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
1.0ms
x
@-inf
(cbrt.f64 (*.f64 1/3 x))

rewrite48.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
515×pow1_binary64
508×add-sqr-sqrt_binary64
487×add-log-exp_binary64
487×log1p-expm1-u_binary64
487×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify7.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
49 → 49
Calls
Call 1
Inputs
Outputs

eval325.0ms (2.1%)

Compiler

Compiled 5061 to 3750 computations (25.9% saved)

prune139.0ms (0.9%)

Pruning

17 alts after pruning (7 fresh and 10 done)

PrunedKeptTotal
New3083311
Fresh246
Picked011
Done3912
Total31317330
Error
0b
Counts
330 → 17
Alt Table
Click to see full alt table
StatusErrorProgram
38.2b
(cbrt.f64 (*.f64 (*.f64 (pow.f64 (*.f64 1/3 x) 2) 1/3) x))
1.0b
(*.f64 (pow.f64 1/27 1/3) x)
28.7b
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
60.1b
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
59.2b
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)
1.8b
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
0.3b
(/.f64 (*.f64 x 1/27) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
28.7b
(*.f64 (*.f64 x x) (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 -1/9 x)))
0.4b
(*.f64 x (/.f64 (+.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 (*.f64 x x) 1/2025)) (*.f64 x x)) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
42.4b
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
0.6b
(*.f64 1/3 x)
60.1b
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
28.6b
(*.f64 (*.f64 x x) (/.f64 1/3 x))
38.2b
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))
0.4b
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
0.4b
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
Compiler

Compiled 208 to 151 computations (27.4% saved)

regimes45.0ms (0.3%)

Counts
28 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 (*.f64 x x) (/.f64 1/3 x))
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(*.f64 (*.f64 x x) (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 -1/9 x)))
(*.f64 x (/.f64 (+.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 (*.f64 x x) 1/2025)) (*.f64 x x)) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
(*.f64 (pow.f64 1/27 1/3) x)
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(*.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))
(/.f64 (*.f64 x 1/27) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
(exp.f64 (log.f64 (*.f64 1/3 x)))
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
(*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
(cbrt.f64 (*.f64 (*.f64 (pow.f64 (*.f64 1/3 x) 2) 1/3) x))
(/.f64 (/.f64 (*.f64 1/3 (pow.f64 x 3)) x) (tan.f64 x))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (+.f64 (*.f64 1/45 (pow.f64 x 3)) (*.f64 1/4725 (pow.f64 x 7)))))
Outputs
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
Calls

2 calls:

32.0ms
x
4.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Results
ErrorSegmentsBranch
0.3b1x
0.3b1(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 335 to 222 computations (33.7% saved)

regimes165.0ms (1%)

Counts
26 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 (*.f64 x x) (/.f64 1/3 x))
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(*.f64 (*.f64 x x) (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 -1/9 x)))
(*.f64 x (/.f64 (+.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 (*.f64 x x) 1/2025)) (*.f64 x x)) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
(*.f64 (pow.f64 1/27 1/3) x)
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(*.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))
(/.f64 (*.f64 x 1/27) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(*.f64 x (/.f64 (+.f64 (pow.f64 (*.f64 1/45 (*.f64 x x)) 3) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
(exp.f64 (log.f64 (*.f64 1/3 x)))
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
(cbrt.f64 (*.f64 (pow.f64 x 3) 1/27))
(pow.f64 (cbrt.f64 (*.f64 1/3 x)) 3)
(pow.f64 (sqrt.f64 (*.f64 1/3 x)) 2)
(cbrt.f64 (pow.f64 (*.f64 1/3 x) 3))
(*.f64 (*.f64 1/3 (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 (/.f64 (-.f64 (tan.f64 x) x) x) (tan.f64 x))
(cbrt.f64 (*.f64 (*.f64 (pow.f64 (*.f64 1/3 x) 2) 1/3) x))
(/.f64 (/.f64 (*.f64 1/3 (pow.f64 x 3)) x) (tan.f64 x))
(+.f64 (*.f64 1/3 x) (+.f64 (*.f64 2/945 (pow.f64 x 5)) (*.f64 1/45 (pow.f64 x 3))))
(/.f64 (*.f64 (+.f64 (*.f64 1/2025 (pow.f64 x 4)) -1/9) x) (fma.f64 1/45 (*.f64 x x) -1/3))
Outputs
(/.f64 (*.f64 x 1/27) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
Calls

2 calls:

153.0ms
x
4.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Results
ErrorSegmentsBranch
0.3b1x
0.3b1(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 289 to 187 computations (35.3% saved)

regimes14.0ms (0.1%)

Counts
12 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 (*.f64 x x) (/.f64 1/3 x))
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(*.f64 (*.f64 x x) (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 -1/9 x)))
(*.f64 x (/.f64 (+.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 (*.f64 x x) 1/2025)) (*.f64 x x)) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
(*.f64 (pow.f64 1/27 1/3) x)
(sqrt.f64 (*.f64 (*.f64 x x) 1/9))
(/.f64 (*.f64 1/3 (*.f64 x x)) (tan.f64 x))
(*.f64 x (fma.f64 1/45 (*.f64 x x) 1/3))
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
(*.f64 (*.f64 x x) (*.f64 1/3 (/.f64 1 (tan.f64 x))))
Outputs
(*.f64 x (/.f64 (+.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 (*.f64 x x) 1/2025)) (*.f64 x x)) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
Calls

2 calls:

7.0ms
x
4.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Results
ErrorSegmentsBranch
0.4b1x
0.4b1(-.f64 (/.f64 1 x) (/.f64 1 (tan.f64 x)))
Compiler

Compiled 137 to 82 computations (40.1% saved)

regimes6.0ms (0%)

Counts
5 → 1
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 (*.f64 x x) (/.f64 1/3 x))
(-.f64 (+.f64 1 (*.f64 1/3 x)) 1)
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(*.f64 (*.f64 x x) (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 -1/9 x)))
Outputs
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
0.4b1x
Compiler

Compiled 42 to 27 computations (35.7% saved)

regimes6.0ms (0%)

Accuracy

Total -58.6b remaining (-9883.1%)

Threshold costs -58.6b (-9883.1%)

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

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
0.6b1x
Compiler

Compiled 20 to 14 computations (30% saved)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Rules
19×*-commutative_binary64
12×+-commutative_binary64
distribute-rgt-neg-in_binary64
sub-neg_binary64
distribute-lft-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038140
167140
2100140
3110140
4116140
5117140
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(/.f64 (*.f64 x 1/27) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(*.f64 x (/.f64 (+.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 (*.f64 x x) 1/2025)) (*.f64 x x)) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(*.f64 1/3 x)
Outputs
(/.f64 (*.f64 (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3)) x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(/.f64 (*.f64 x (+.f64 1/27 (pow.f64 (*.f64 x (*.f64 x 1/45)) 3))) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(/.f64 (*.f64 x 1/27) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(/.f64 (*.f64 1/27 x) (+.f64 (*.f64 1/2025 (pow.f64 x 4)) (-.f64 1/9 (*.f64 (*.f64 x x) 1/135))))
(*.f64 x (/.f64 (+.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 (*.f64 x x) 1/2025)) (*.f64 x x)) 1/27) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
(*.f64 x (/.f64 (+.f64 1/27 (*.f64 (*.f64 x x) (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 1/2025 (*.f64 x x))))) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (-.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) 1/3)))))
(*.f64 x (/.f64 (+.f64 1/27 (*.f64 (*.f64 x x) (*.f64 (*.f64 x (*.f64 x 1/45)) (*.f64 1/2025 (*.f64 x x))))) (+.f64 (*.f64 (*.f64 1/45 (*.f64 x x)) (*.f64 1/45 (*.f64 x x))) (+.f64 1/9 (*.f64 (*.f64 1/45 (*.f64 x x)) -1/3)))))
(*.f64 x (+.f64 (*.f64 1/45 (*.f64 x x)) 1/3))
(*.f64 1/3 x)
(*.f64 x 1/3)
Compiler

Compiled 100 to 69 computations (31% saved)

soundness214.0ms (1.4%)

Algorithm
egg-herbie
Rules
675×sqr-pow_binary64
624×unswap-sqr_binary64
594×cube-prod_binary64
554×fma-def_binary64
417×fabs-mul_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
030168
174162
2153162
3367162
4677162
51437162
62099162
73090162
83307162
93633162
104034162
114566162
125297162
136300162
146946162
157455162
167858162
Stop Event
node limit
Compiler

Compiled 63 to 44 computations (30.2% saved)

end63.0ms (0.4%)

Compiler

Compiled 96 to 62 computations (35.4% saved)

Profiling

Loading profile data...