Details

Time bar (total: 1.0s)

analyze4.0ms (0.4%)

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
50.2%0%49.8%13
50.2%0%49.8%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample845.0ms (80.7%)

Results
830.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 18 to 14 computations (22.2% saved)

preprocess27.0ms (2.6%)

Algorithm
egg-herbie
Rules
417×times-frac_binary64
412×associate-/l*_binary64
360×associate-/r*_binary64
350×associate-*l*_binary64
200×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
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)

simplify18.0ms (1.7%)

Algorithm
egg-herbie
Rules
417×times-frac_binary64
412×associate-/l*_binary64
360×associate-/r*_binary64
350×associate-*l*_binary64
200×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
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.2%)

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)

localize6.0ms (0.5%)

Local error

Found 1 expressions with local error:

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

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

rewrite29.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
394×pow1_binary64
361×add-log-exp_binary64
361×log1p-expm1-u_binary64
361×expm1-log1p-u_binary64
353×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1907
29717
Stop Event
node limit
Counts
1 → 20
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 (+.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 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)) 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 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 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))))))))

simplify34.0ms (3.2%)

Algorithm
egg-herbie
Rules
724×distribute-lft-out_binary64
385×*-commutative_binary64
380×fma-def_binary64
341×distribute-rgt-out_binary64
340×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02281
15579
213663
344856
4182856
5357856
6458356
Stop Event
node limit
Counts
24 → 27
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
Outputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))))
(*.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 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))))
(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/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/6 (pow.f64 x 6) (*.f64 1/2 (pow.f64 x 4)))))

prune14.0ms (1.4%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New26127
Fresh000
Picked101
Done000
Total27128
Error
0b
Counts
28 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
Compiler

Compiled 292 to 223 computations (23.6% saved)

localize6.0ms (0.6%)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Error
0b
Counts
1 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
Compiler

Compiled 8 to 6 computations (25% saved)

regimes22.0ms (2.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
5 → 1
Compiler

Compiled 83 to 59 computations (28.9% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

end35.0ms (3.3%)

Stop Event
done
Compiler

Compiled 24 to 18 computations (25% saved)

Profiling

Loading profile data...