Details

Time bar (total: 1.6s)

analyze3.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)

sample662.0ms (42.3%)

Results
645.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 22 to 16 computations (27.3% saved)

preprocess51.0ms (3.2%)

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)

simplify37.0ms (2.4%)

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)))

prune8.0ms (0.5%)

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)

localize4.0ms (0.3%)

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

rewrite39.0ms (2.5%)

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 expm1.f64 (log1p.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 +.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 expm1.f64 (log1p.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))))))))

simplify35.0ms (2.2%)

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))

prune50.0ms (3.2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New37643
Fresh101
Picked101
Done000
Total39645
Error
0.0b
Counts
45 → 6
Alt Table
StatusErrorProgram
26.8b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))
9.8b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
0.8b
(pow.f64 (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))) 3)
0.2b
(*.f64 x (-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))))
0.1b
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
42.1b
(*.f64 x (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -2 3))) 2))
Compiler

Compiled 576 to 405 computations (29.7% 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
@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)))

rewrite56.0ms (3.6%)

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 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 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 +.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 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 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 -.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 expm1.f64 (log1p.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))))))

simplify62.0ms (4%)

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))

prune80.0ms (5.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New77279
Fresh235
Picked011
Done000
Total79685
Error
0.0b
Counts
85 → 6
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))))
9.8b
(pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2)
9.8b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
15.8b
(-.f64 (sqrt.f64 (*.f64 (pow.f64 x 4) 9)) (*.f64 2 (pow.f64 x 3)))
0.1b
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
42.1b
(*.f64 x (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -2 3))) 2))
Compiler

Compiled 1654 to 1246 computations (24.7% saved)

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series2.0ms (0.1%)

Counts
2 → 15
Calls

6 calls:

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

rewrite48.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
917×log1p-expm1-u_binary64
917×expm1-log1p-u_binary64
100×add-sqr-sqrt_binary64
96×pow1_binary64
95×*-un-lft-identity_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify31.0ms (2%)

Algorithm
egg-herbie
Rules
876×fma-def_binary64
509×distribute-rgt-neg-in_binary64
381×fma-neg_binary64
326×cancel-sign-sub-inv_binary64
243×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013183
135165
285156
3279138
4898138
51984138
63421138
Stop Event
node limit
Counts
88 → 82
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 -2 (pow.f64 x 2))
(*.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 (*.f64 x 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 (*.f64 x 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 (*.f64 x 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 (*.f64 x 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 (*.f64 x 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 (*.f64 x 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 (*.f64 x 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 (*.f64 x 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 (*.f64 x 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 -2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -2)
(*.f64 x (*.f64 x -2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -2)
(*.f64 x (*.f64 x -2))

prune62.0ms (4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh044
Picked011
Done011
Total82688
Error
0.0b
Counts
88 → 6
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))))
9.8b
(pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2)
9.8b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
15.8b
(-.f64 (sqrt.f64 (*.f64 (pow.f64 x 4) 9)) (*.f64 2 (pow.f64 x 3)))
0.1b
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
42.1b
(*.f64 x (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -2 3))) 2))
Compiler

Compiled 1705 to 1063 computations (37.7% saved)

localize10.0ms (0.7%)

Local error

Found 4 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))
0.2b
(pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2)
23.0b
(sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))

series11.0ms (0.7%)

Counts
4 → 32
Calls

12 calls:

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

rewrite56.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
792×pow1_binary64
738×log1p-expm1-u_binary64
738×expm1-log1p-u_binary64
96×add-sqr-sqrt_binary64
91×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify28.0ms (1.8%)

Algorithm
egg-herbie
Rules
870×times-frac_binary64
581×associate-/l*_binary64
376×cancel-sign-sub-inv_binary64
366×fma-def_binary64
253×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033478
196380
2289364
31232327
Stop Event
node limit
Counts
120 → 80
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)))
(*.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 (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 (*.f64 (sqrt.f64 3) x) (/.f64 x (/.f64 (sqrt.f64 3) x))) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3))))
(-.f64 (*.f64 (sqrt.f64 3) x) (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 (*.f64 (/.f64 x (/.f64 (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 (*.f64 1/2 (pow.f64 x 4)) (pow.f64 (sqrt.f64 3) 5))))
(-.f64 (-.f64 (*.f64 (sqrt.f64 3) x) (fma.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) (/.f64 x (/.f64 (sqrt.f64 3) x)))) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3))))
(-.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 x (/.f64 (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 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(-.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 (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 (*.f64 x 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 (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 (*.f64 x 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 (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 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.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 (*.f64 x x) (fma.f64 x -2 3))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.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 (*.f64 x x) (fma.f64 x -2 3))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.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 (*.f64 x 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 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.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 (*.f64 x x) (fma.f64 x -2 3))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.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 (*.f64 x x) (fma.f64 x -2 3))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.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 (*.f64 x 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 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.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 (*.f64 x x) (fma.f64 x -2 3))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.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 (*.f64 x x) (fma.f64 x -2 3))
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.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 (*.f64 x 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)

prune76.0ms (4.9%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New80080
Fresh033
Picked011
Done022
Total80686
Error
0.0b
Counts
86 → 6
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))))
9.8b
(pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2)
9.8b
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)
15.8b
(-.f64 (sqrt.f64 (*.f64 (pow.f64 x 4) 9)) (*.f64 2 (pow.f64 x 3)))
0.1b
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
42.1b
(*.f64 x (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -2 3))) 2))
Compiler

Compiled 1463 to 1072 computations (26.7% saved)

regimes41.0ms (2.6%)

Accuracy

Total 0.1b remaining (87.8%)

Threshold costs 0.1b (87.8%)

Counts
33 → 1
Compiler

Compiled 317 to 218 computations (31.2% saved)

simplify2.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11716
22716
33116
43416
53516
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
Outputs
(-.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 (pow.f64 x 3) -2))

end91.0ms (5.8%)

Stop Event
fuel
Compiler

Compiled 97 to 78 computations (19.6% saved)

Profiling

Loading profile data...