Details

Time bar (total: 1.8s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
62.5%12.5%25%5
62.5%6.2%31.3%6
65.6%3.1%31.3%7
65.6%1.6%32.8%8
66.4%0.8%32.8%9
66.4%0.4%33.2%10
66.6%0.2%33.2%11
66.6%0.1%33.3%12
66.6%0%33.4%13
66.6%0%33.4%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample721.0ms (40%)

Results
705.0ms8256×body128valid
0.0msbody128invalid

preprocess46.0ms (2.5%)

Algorithm
egg-herbie
Rules
783×fma-neg_binary64
701×fma-def_binary64
349×associate-*l*_binary64
313×distribute-rgt-neg-in_binary64
258×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11713
24511
311811
423211
531111
646511
779611
8167711
9253811
10344511
11462611
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Outputs
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 10 to 7 computations (30% saved)

simplify38.0ms (2.1%)

Algorithm
egg-herbie
Rules
783×fma-neg_binary64
701×fma-def_binary64
349×associate-*l*_binary64
313×distribute-rgt-neg-in_binary64
258×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0813
11713
24511
311811
423211
531111
646511
779611
8167711
9253811
10344511
11462611
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Outputs
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))

prune3.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 56 to 38 computations (32.1% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (fma.f64 x -2 3))
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite37.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
647×pow1_binary64
601×add-log-exp_binary64
600×log1p-expm1-u_binary64
600×expm1-log1p-u_binary64
69×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify64.0ms (3.5%)

Algorithm
egg-herbie
Rules
536×unswap-sqr_binary64
496×associate-*l*_binary64
476×fma-def_binary64
380×*-commutative_binary64
378×sqr-pow_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013264
133264
266246
3157210
4420210
51626210
63326210
73644210
83895210
94182210
104561210
Stop Event
node limit
Counts
56 → 42
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 3 x)
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(*.f64 -2 (pow.f64 x 2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(*.f64 -2 (pow.f64 x 2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 3 x)
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -2)
(*.f64 x (*.f64 x -2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -2)
(*.f64 x (*.f64 x -2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))

prune39.0ms (2.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New37542
Fresh011
Picked011
Done000
Total37744
Error
0.0b
Counts
44 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
0.2b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
19.3b
(*.f64 x (cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -2 3) 3))))
0.9b
(*.f64 x (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3))
28.1b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))
11.3b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
Compiler

Compiled 580 to 406 computations (30% saved)

localize6.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -2 (pow.f64 x 3))
0.0b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
0.2b
(*.f64 3 (pow.f64 x 2))

series5.0ms (0.3%)

Counts
3 → 3
Calls

9 calls:

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

rewrite49.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
891×log1p-expm1-u_binary64
891×expm1-log1p-u_binary64
103×add-sqr-sqrt_binary64
98×add-log-exp_binary64
98×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
122228
2256828
Stop Event
node limit
Counts
3 → 65
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 3 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) 27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 6) 27))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 3 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 4) 9) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))) (/.f64 (*.f64 (pow.f64 x 6) 4) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) (cbrt.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 2)) (cbrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 x 6) 27) (*.f64 (pow.f64 (pow.f64 x 3) 3) -8)) (/.f64 1 (-.f64 (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (/.f64 1 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 -2 (pow.f64 x 3)))) (+.f64 (*.f64 (pow.f64 x 6) 27) (*.f64 (pow.f64 (pow.f64 x 3) 3) -8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3))) (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 6) 27) (*.f64 (pow.f64 (pow.f64 x 3) 3) -8)) (-.f64 (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 6) 27) (*.f64 (pow.f64 (pow.f64 x 3) 3) -8)) (+.f64 (*.f64 (pow.f64 x 6) 4) (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 6) 27) (*.f64 (pow.f64 (pow.f64 x 3) 3) -8))) (neg.f64 (-.f64 (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4))) (neg.f64 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 4) (*.f64 (pow.f64 x 4) 9)) (-.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 3 (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -2 (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 3 (*.f64 x x)) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -2 (pow.f64 x 3)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 6) 4)) (*.f64 x (cbrt.f64 -2)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 9)) (cbrt.f64 (*.f64 3 (*.f64 x x))) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -2) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 -2) (pow.f64 x 3/2)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 3)) (*.f64 x (sqrt.f64 3)) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -2 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -2 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -2) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (pow.f64 x 3) 3) -8) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 x 3) 3) -8))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -2 (pow.f64 x 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -2 (pow.f64 x 3))))))))

simplify60.0ms (3.3%)

Algorithm
egg-herbie
Rules
674×sqr-pow_binary64
536×unswap-sqr_binary64
419×associate-*l*_binary64
387×*-commutative_binary64
279×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
12321
25221
311421
431121
5127221
6244221
7260821
8285821
9314521
10352421
11402321
12462821
Stop Event
node limit
Counts
68 → 68
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))

prune75.0ms (4.2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New65368
Fresh325
Picked011
Done011
Total68775
Error
0b
Counts
75 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
0.2b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
0.9b
(*.f64 x (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3))
28.1b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))
44.6b
(*.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (/.f64 1 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))))
11.3b
(*.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))
43.8b
(-.f64 (/.f64 (*.f64 (pow.f64 x 4) 9) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))) (/.f64 (*.f64 (pow.f64 x 6) 4) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))))
Compiler

Compiled 1349 to 1010 computations (25.1% saved)

localize8.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (fma.f64 x -2 3))
0.2b
(*.f64 x (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3))
0.6b
(cbrt.f64 (*.f64 x (fma.f64 x -2 3)))
0.7b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3)

series10.0ms (0.6%)

Counts
3 → 12
Calls

9 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3)
2.0ms
x
@inf
(cbrt.f64 (*.f64 x (fma.f64 x -2 3)))
2.0ms
x
@-inf
(*.f64 x (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3))
1.0ms
x
@0
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3)
1.0ms
x
@inf
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3)

rewrite45.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
746×pow1_binary64
700×log1p-expm1-u_binary64
700×expm1-log1p-u_binary64
81×add-sqr-sqrt_binary64
77×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify57.0ms (3.2%)

Algorithm
egg-herbie
Rules
536×unswap-sqr_binary64
490×fma-def_binary64
444×associate-*l*_binary64
378×sqr-pow_binary64
358×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
010147
126147
258138
3153120
4395120
51523120
63272120
73628120
83879120
94166120
104545120
Stop Event
node limit
Counts
88 → 81
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))

prune97.0ms (5.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1020102
Fresh044
Picked011
Done022
Total1027109
Error
0b
Counts
109 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
0.2b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
0.9b
(*.f64 x (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3))
28.1b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))
44.6b
(*.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (/.f64 1 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))))
11.3b
(*.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))
43.8b
(-.f64 (/.f64 (*.f64 (pow.f64 x 4) 9) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))) (/.f64 (*.f64 (pow.f64 x 6) 4) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))))
Compiler

Compiled 1671 to 1233 computations (26.2% saved)

localize8.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
0.2b
(*.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))
0.2b
(*.f64 3 (*.f64 x x))
20.0b
(sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))))

series6.0ms (0.4%)

Counts
4 → 40
Calls

12 calls:

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

rewrite53.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
763×pow1_binary64
712×log1p-expm1-u_binary64
712×expm1-log1p-u_binary64
88×add-sqr-sqrt_binary64
84×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify41.0ms (2.3%)

Algorithm
egg-herbie
Rules
576×times-frac_binary64
506×fma-neg_binary64
501×associate-/l*_binary64
421×fma-def_binary64
252×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
028480
176478
2232456
3850407
44931407
Stop Event
node limit
Counts
129 → 81
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 3) x)
(+.f64 (*.f64 (sqrt.f64 3) x) (*.f64 -1 (/.f64 (pow.f64 x 2) (sqrt.f64 3))))
(+.f64 (*.f64 -1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (+.f64 (*.f64 (sqrt.f64 3) x) (*.f64 -1 (/.f64 (pow.f64 x 2) (sqrt.f64 3)))))
(+.f64 (*.f64 -1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (+.f64 (*.f64 (sqrt.f64 3) x) (*.f64 -1 (/.f64 (pow.f64 x 2) (sqrt.f64 3))))))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Outputs
(*.f64 (sqrt.f64 3) x)
(+.f64 (*.f64 (sqrt.f64 3) x) (*.f64 -1 (/.f64 (pow.f64 x 2) (sqrt.f64 3))))
(fma.f64 (sqrt.f64 3) x (neg.f64 (/.f64 (*.f64 x x) (sqrt.f64 3))))
(-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 x (/.f64 (sqrt.f64 3) x)))
(-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 (*.f64 x x) (sqrt.f64 3)))
(*.f64 x (-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3))))
(+.f64 (*.f64 -1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (+.f64 (*.f64 (sqrt.f64 3) x) (*.f64 -1 (/.f64 (pow.f64 x 2) (sqrt.f64 3)))))
(fma.f64 -1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3)) (fma.f64 (sqrt.f64 3) x (neg.f64 (/.f64 (*.f64 x x) (sqrt.f64 3)))))
(+.f64 (-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 x (/.f64 (sqrt.f64 3) x))) (*.f64 -1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3))))
(fma.f64 -1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3)) (-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 (*.f64 x x) (sqrt.f64 3))))
(fma.f64 (sqrt.f64 3) x (*.f64 (/.f64 x (/.f64 (sqrt.f64 3) x)) (+.f64 -1 (/.f64 x -6))))
(+.f64 (*.f64 -1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (+.f64 (*.f64 (sqrt.f64 3) x) (*.f64 -1 (/.f64 (pow.f64 x 2) (sqrt.f64 3))))))
(fma.f64 -1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) (fma.f64 -1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3)) (fma.f64 (sqrt.f64 3) x (neg.f64 (/.f64 (*.f64 x x) (sqrt.f64 3))))))
(fma.f64 -1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) (+.f64 (-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 x (/.f64 (sqrt.f64 3) x))) (*.f64 -1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3)))))
(-.f64 (fma.f64 -1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) (fma.f64 (sqrt.f64 3) x (*.f64 -1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3))))) (/.f64 (*.f64 x x) (sqrt.f64 3)))
(fma.f64 (sqrt.f64 3) x (fma.f64 -1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) (*.f64 (/.f64 x (/.f64 (sqrt.f64 3) x)) (+.f64 -1 (/.f64 x -6)))))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 x (*.f64 3 x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))

prune157.0ms (8.7%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1342136
Fresh213
Picked011
Done033
Total1367143
Error
0b
Counts
143 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
0.2b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
0.9b
(*.f64 x (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3))
28.1b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))
11.3b
(*.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))
43.8b
(/.f64 (-.f64 (*.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 -2 (pow.f64 x 3))) (*.f64 (pow.f64 x 4) 9)) (-.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 x (*.f64 x 3))))
11.3b
(*.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) (pow.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 x (*.f64 x 3))) 1/4) 2))
Compiler

Compiled 3733 to 2760 computations (26.1% saved)

regimes51.0ms (2.8%)

Accuracy

Total -51.6b remaining (-44602%)

Threshold costs -51.6b (-44602%)

Counts
40 → 1
Compiler

Compiled 552 to 390 computations (29.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
11014
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 -2 (pow.f64 x 3) (*.f64 x (*.f64 x 3)))
Outputs
(fma.f64 -2 (pow.f64 x 3) (*.f64 x (*.f64 x 3)))

end111.0ms (6.2%)

Stop Event
fuel
Compiler

Compiled 141 to 103 computations (27% saved)

Profiling

Loading profile data...