Details

Time bar (total: 1.4s)

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)

sample691.0ms (48.4%)

Results
677.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 22 to 16 computations (27.3% saved)

preprocess45.0ms (3.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: 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)

simplify43.0ms (3%)

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 x (*.f64 x (fma.f64 x -2 3)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Compiler

Compiled 56 to 38 computations (32.1% saved)

localize5.0ms (0.4%)

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.3%)

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)))
0.0ms
x
@-inf
(*.f64 x (fma.f64 x -2 3))
0.0ms
x
@0
(*.f64 x (fma.f64 x -2 3))

rewrite37.0ms (2.6%)

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 exp.f64 (log.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))) (#(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 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 exp.f64 (log.f64 (*.f64 x (fma.f64 x -2 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 expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x -2 3))))))))

simplify33.0ms (2.3%)

Algorithm
egg-herbie
Rules
683×fma-def_binary64
495×distribute-rgt-neg-in_binary64
487×fma-neg_binary64
428×distribute-lft-neg-in_binary64
340×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
015300
142264
2102246
3318210
41031210
52232210
63763210
Stop Event
node limit
Counts
56 → 43
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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 3 x)
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (-.f64 3 (*.f64 x 2)))
(*.f64 x (fma.f64 x -2 3))
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (-.f64 3 (*.f64 x 2)))
(*.f64 x (fma.f64 x -2 3))
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (-.f64 3 (*.f64 x 2)))
(*.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)))
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (-.f64 3 (*.f64 x 2)))
(*.f64 x (fma.f64 x -2 3))
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (-.f64 3 (*.f64 x 2)))
(*.f64 x (fma.f64 x -2 3))
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (-.f64 3 (*.f64 x 2)))
(*.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)))
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (-.f64 3 (*.f64 x 2)))
(*.f64 x (fma.f64 x -2 3))
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (-.f64 3 (*.f64 x 2)))
(*.f64 x (fma.f64 x -2 3))
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (-.f64 3 (*.f64 x 2)))
(*.f64 x (fma.f64 x -2 3))

prune31.0ms (2.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New39443
Fresh101
Picked011
Done000
Total40545
Error
0.0b
Counts
45 → 5
Alt Table
StatusErrorProgram
0.1b
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
13.7b
(*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3)))
23.8b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))
8.8b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
Compiler

Compiled 537 to 375 computations (30.2% 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))

series6.0ms (0.4%)

Counts
3 → 3
Calls

9 calls:

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

rewrite48.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
888×log1p-expm1-u_binary64
888×expm1-log1p-u_binary64
99×add-sqr-sqrt_binary64
95×add-log-exp_binary64
95×pow1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0930
121428
2256928
Stop Event
node limit
Counts
3 → 76
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 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 log1p.f64 (expm1.f64 (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x x)) (*.f64 (*.f64 (pow.f64 x 3) -2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x x)) (+.f64 (*.f64 (pow.f64 x 3) -2) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (fma.f64 -2 (pow.f64 x 3) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (fma.f64 (*.f64 (pow.f64 x 3) -2) 1 (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (fma.f64 (neg.f64 (*.f64 x (cbrt.f64 2))) (cbrt.f64 (*.f64 (pow.f64 x 6) 4)) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (fma.f64 (neg.f64 (*.f64 (sqrt.f64 2) (pow.f64 x 3/2))) (*.f64 (sqrt.f64 2) (pow.f64 x 3/2)) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (*.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2) (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(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 (pow.f64 x 4) 9) (*.f64 (*.f64 2 (pow.f64 x 3)) (fma.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 (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 x (sqrt.f64 3)) (*.f64 (sqrt.f64 2) (pow.f64 x 3/2))) (-.f64 (*.f64 x (sqrt.f64 3)) (*.f64 (sqrt.f64 2) (pow.f64 x 3/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (*.f64 2 (pow.f64 x 3)) (fma.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 (fma.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 (pow.f64 x 4) 9) (*.f64 (*.f64 2 (pow.f64 x 3)) (fma.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)) (fma.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 (pow.f64 x 4) 9) (*.f64 (*.f64 2 (pow.f64 x 3)) (fma.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 (fma.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) (pow.f64 (*.f64 (pow.f64 x 3) -2) 3)) (+.f64 (*.f64 (pow.f64 x 4) 9) (-.f64 (*.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 (pow.f64 x 3) -2)) (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3) (pow.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) 3)) (+.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 2) (-.f64 (*.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))) (*.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 (pow.f64 x 3) -2))) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 2) (*.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))) (-.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 3 (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2) (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))))) (#(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 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 3)) (*.f64 x (sqrt.f64 3)) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))))
((#(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 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 log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x 3))))))))

simplify61.0ms (4.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
79 → 79
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))

prune63.0ms (4.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New78179
Fresh033
Picked101
Done011
Total79584
Error
0b
Counts
84 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
13.7b
(*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3)))
0.1b
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
23.8b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))
8.8b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
Compiler

Compiled 1619 to 1214 computations (25% saved)

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite37.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
674×pow1_binary64
630×add-log-exp_binary64
629×log1p-expm1-u_binary64
629×expm1-log1p-u_binary64
78×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0821
116921
2179921
Stop Event
node limit
Counts
2 → 34
Calls
Call 1
Inputs
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.f64 (pow.f64 x 3) -2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 3 (*.f64 x x)) 1) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2) (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 3 (*.f64 x x)) 3) (pow.f64 (*.f64 (pow.f64 x 3) -2) 3)) (+.f64 (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 3 (*.f64 x x))) (-.f64 (*.f64 4 (pow.f64 x 6)) (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 3 (*.f64 x x))) (*.f64 4 (pow.f64 x 6))) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 x 3) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x 3) -2) 3) 1/3)))) (#(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 sqrt.f64 (*.f64 4 (pow.f64 x 6)))))) (#(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 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 3) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 3) -2)))))))

simplify31.0ms (2.1%)

Algorithm
egg-herbie
Rules
850×fma-def_binary64
501×distribute-rgt-neg-in_binary64
431×distribute-lft-neg-in_binary64
385×fma-neg_binary64
336×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
011249
131231
283222
3283204
4876204
51948204
63341204
Stop Event
node limit
Counts
58 → 40
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 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.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 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(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)))
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))
(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 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)

prune28.0ms (2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New40040
Fresh033
Picked011
Done011
Total40545
Error
0b
Counts
45 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
13.7b
(*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3)))
0.1b
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
23.8b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))
8.8b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
Compiler

Compiled 638 to 440 computations (31% saved)

localize6.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series13.0ms (0.9%)

Counts
3 → 12
Calls

9 calls:

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

rewrite43.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
731×pow1_binary64
679×log1p-expm1-u_binary64
679×expm1-log1p-u_binary64
88×add-sqr-sqrt_binary64
83×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0930
118828
2198628
Stop Event
node limit
Counts
3 → 64
Calls
Call 1
Inputs
(*.f64 x (sqrt.f64 (fma.f64 x -2 3)))
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
(sqrt.f64 (fma.f64 x -2 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (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/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x -2 3) 3/2) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 (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 *.f64 x (*.f64 (sqrt.f64 (fma.f64 x -2 3)) (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x -2 3) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x -2 3)) (*.f64 x (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 4)) (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (fma.f64 x -2 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))) (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) x) (sqrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (sqrt.f64 (fma.f64 x -2 3))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))) (cbrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x 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 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 log1p.f64 (expm1.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 (exp.f64 (log1p.f64 (sqrt.f64 (fma.f64 x -2 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x -2 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x -2 3)) (cbrt.f64 (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x -2 3))) (cbrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x -2 3) 1/4) (pow.f64 (fma.f64 x -2 3) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x -2 3)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x -2 3)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x -2 3)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x -2 3) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x -2 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x -2 3) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x -2 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x -2 3) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x -2 3) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x -2 3)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x -2 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x -2 3))))))))

simplify27.0ms (1.9%)

Algorithm
egg-herbie
Rules
813×associate-/l*_binary64
633×cancel-sign-sub-inv_binary64
613×fma-def_binary64
324×fma-neg_binary64
227×distribute-neg-frac_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040263
1120228
2396217
31712192
Stop Event
node limit
Counts
76 → 81
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 3) x)
(-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 (pow.f64 x 2) (sqrt.f64 3)))
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (/.f64 (pow.f64 x 2) (sqrt.f64 3))))
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (+.f64 (/.f64 (pow.f64 x 2) (sqrt.f64 3)) (*.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5))))))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(sqrt.f64 3)
(-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3)))
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (*.f64 1/2 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 3) 3)))))
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 3) 3))) (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5))))))
Outputs
(*.f64 (sqrt.f64 3) x)
(-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 (pow.f64 x 2) (sqrt.f64 3)))
(-.f64 (*.f64 (sqrt.f64 3) x) (/.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 (sqrt.f64 3)) x))
(*.f64 x (-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3))))
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (/.f64 (pow.f64 x 2) (sqrt.f64 3))))
(-.f64 (*.f64 (sqrt.f64 3) x) (fma.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3)) (/.f64 (*.f64 x x) (sqrt.f64 3))))
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (/.f64 x (/.f64 (sqrt.f64 3) x)) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3)))))
(-.f64 (fma.f64 (sqrt.f64 3) x (*.f64 -1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3)))) (*.f64 (/.f64 x (sqrt.f64 3)) x))
(fma.f64 (sqrt.f64 3) x (*.f64 (*.f64 (/.f64 x (sqrt.f64 3)) x) (-.f64 -1 (/.f64 x 6))))
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (+.f64 (/.f64 (pow.f64 x 2) (sqrt.f64 3)) (*.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5))))))
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (fma.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3)) (/.f64 (*.f64 x x) (sqrt.f64 3))) (*.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)))))
(-.f64 (-.f64 (*.f64 (sqrt.f64 3) x) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3)))) (fma.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) (/.f64 x (/.f64 (sqrt.f64 3) x))))
(-.f64 (*.f64 (sqrt.f64 3) x) (fma.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) (fma.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3)) (*.f64 (/.f64 x (sqrt.f64 3)) x))))
(fma.f64 (sqrt.f64 3) x (fma.f64 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) -1/2 (*.f64 (*.f64 (/.f64 x (sqrt.f64 3)) x) (-.f64 -1 (/.f64 x 6)))))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2))
(*.f64 x (*.f64 x 3))
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 (*.f64 x x) 3 (*.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 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 (*.f64 x x) 3 (*.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 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 (*.f64 x x) 3 (*.f64 (pow.f64 x 3) -2))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(sqrt.f64 3)
(-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3)))
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (*.f64 1/2 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 3) 3)))))
(-.f64 (-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3))) (*.f64 1/2 (/.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 3))))
(-.f64 (-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3))) (*.f64 1/6 (/.f64 x (/.f64 (sqrt.f64 3) x))))
(-.f64 (sqrt.f64 3) (fma.f64 1/6 (*.f64 (/.f64 x (sqrt.f64 3)) x) (/.f64 x (sqrt.f64 3))))
(+.f64 (sqrt.f64 3) (*.f64 (/.f64 x (sqrt.f64 3)) (-.f64 -1 (/.f64 x 6))))
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 3) 3))) (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5))))))
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (*.f64 1/2 (+.f64 (/.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 3)) (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5))))))
(-.f64 (sqrt.f64 3) (fma.f64 1/2 (+.f64 (*.f64 (/.f64 x (sqrt.f64 3)) (/.f64 x 3)) (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5))) (/.f64 x (sqrt.f64 3))))
(-.f64 (sqrt.f64 3) (fma.f64 1/2 (fma.f64 (/.f64 x (sqrt.f64 3)) (/.f64 x 3) (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5))) (/.f64 x (sqrt.f64 3))))
(+.f64 (sqrt.f64 3) (fma.f64 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5)) -1/2 (*.f64 (/.f64 x (sqrt.f64 3)) (-.f64 -1 (/.f64 x 6)))))

prune57.0ms (4%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New81081
Fresh022
Picked011
Done022
Total81586
Error
0b
Counts
86 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
13.7b
(*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3)))
0.1b
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
23.8b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))
8.8b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
Compiler

Compiled 1190 to 932 computations (21.7% saved)

regimes27.0ms (1.9%)

Accuracy

Total 0.1b remaining (87%)

Threshold costs 0.1b (87%)

Counts
26 → 1
Compiler

Compiled 248 to 169 computations (31.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11216
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 3 (*.f64 x x)))
Outputs
(+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 3 (*.f64 x x)))

end68.0ms (4.8%)

Stop Event
fuel
Compiler

Compiled 78 to 58 computations (25.6% saved)

Profiling

Loading profile data...