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
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50%0.4%49.6%10
50.2%0.2%49.6%11
50.2%0.1%49.7%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample924.0ms (59.4%)

Results
910.0ms8254×body64valid
1.0ms14×body64invalid
0.0msbody128valid

preprocess45.0ms (2.9%)

Algorithm
egg-herbie
Rules
663×div-sub_binary64
631×fma-def_binary64
417×times-frac_binary64
412×associate-/l*_binary64
382×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
755787
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Outputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify34.0ms (2.2%)

Algorithm
egg-herbie
Rules
663×div-sub_binary64
631×fma-def_binary64
417×times-frac_binary64
412×associate-/l*_binary64
382×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
755787
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Outputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 25 to 17 computations (32% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))

series1.0ms (0.1%)

Counts
1 → 4
Calls

3 calls:

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

rewrite39.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
394×pow1_binary64
380×add-sqr-sqrt_binary64
374×*-un-lft-identity_binary64
361×add-log-exp_binary64
361×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify87.0ms (5.6%)

Algorithm
egg-herbie
Rules
705×distribute-lft-out_binary64
549×associate-+l+_binary64
472×distribute-rgt-in_binary64
409×sqr-pow_binary64
385×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02179
15175
212863
343056
4178656
5352556
6453356
7502856
8602656
9732956
10768456
Stop Event
node limit
Counts
53 → 56
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 1/2 (pow.f64 x 4) 1) (fma.f64 1/6 (pow.f64 x 6) (*.f64 x x))))

prune83.0ms (5.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New55156
Fresh000
Picked011
Done000
Total55257
Error
0b
Counts
57 → 2
Alt Table
StatusErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))
0.6b
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
Compiler

Compiled 795 to 601 computations (24.4% saved)

localize10.0ms (0.7%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))
0.0b
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))

series3.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite48.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
857×pow1_binary64
793×add-log-exp_binary64
791×log1p-expm1-u_binary64
791×expm1-log1p-u_binary64
777×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify115.0ms (7.4%)

Algorithm
egg-herbie
Rules
1131×fma-def_binary64
777×sqr-pow_binary64
614×unswap-sqr_binary64
605×cube-prod_binary64
407×pow-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
021381
147349
298285
3240285
4786285
51506285
62130285
72394285
82537285
92709285
102930285
113179285
124298285
134976285
145689285
156454285
167401285
177973285
Stop Event
node limit
Counts
61 → 54
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(*.f64 1/2 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(*.f64 1/2 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (fma.f64 x x 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4))) (*.f64 (fma.f64 x x 1) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4))) (*.f64 (fma.f64 x x 1) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1))
(*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))
(*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4)))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4))))
(*.f64 (exp.f64 -1) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 x x)))
(*.f64 (exp.f64 -1) (*.f64 x (fma.f64 1/2 (pow.f64 x 3) x)))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4))) (*.f64 (fma.f64 x x 1) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4))) (*.f64 (fma.f64 x x 1) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1))
(*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))
(*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4)))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4))))
(*.f64 (exp.f64 -1) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 x x)))
(*.f64 (exp.f64 -1) (*.f64 x (fma.f64 1/2 (pow.f64 x 3) x)))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4))) (*.f64 (fma.f64 x x 1) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 1/2 (pow.f64 x 4))) (*.f64 (fma.f64 x x 1) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1))
1
(+.f64 1 (pow.f64 x 2))
(+.f64 (*.f64 x x) 1)
(fma.f64 x x 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))
(fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))
(fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1)
(*.f64 1/2 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 1/2 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/2 (pow.f64 x 3) x))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))
(fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))
(fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1)
(*.f64 1/2 (pow.f64 x 4))
(+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 1/2 (pow.f64 x 4) (*.f64 x x))
(*.f64 x (fma.f64 1/2 (pow.f64 x 3) x))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))
(fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))
(fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) 1)

prune126.0ms (8.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New54054
Fresh000
Picked011
Done011
Total54256
Error
0b
Counts
56 → 2
Alt Table
StatusErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))
0.6b
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
Compiler

Compiled 813 to 648 computations (20.3% saved)

regimes15.0ms (1%)

Accuracy

Total -0.6b remaining (-14213.6%)

Threshold costs -0.6b (-14213.6%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Outputs
(exp.f64 (fma.f64 x x -1))
Results
4.0ms0.0bx
4.0ms0.0b(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
2.0ms0.0b(neg.f64 (-.f64 1 (*.f64 x x)))
2.0ms0.0b(-.f64 1 (*.f64 x x))
2.0ms0.0b(*.f64 x x)
Compiler

Compiled 52 to 36 computations (30.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
Stop Event
saturated
Calls
Call 1
Inputs
(exp.f64 (fma.f64 x x -1))
Outputs
(exp.f64 (fma.f64 x x -1))

end15.0ms (0.9%)

Stop Event
done
Compiler

Compiled 12 to 8 computations (33.3% saved)

Profiling

Loading profile data...