Details

Time bar (total: 3.1s)

analyze190.0ms (6.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%62.5%12.5%4
25%56.2%18.8%5
28.1%50%21.9%6
29.7%46.9%23.5%7
30.5%45.3%24.3%8
30.8%44.9%24.3%9
31.2%44.5%24.3%10
31.3%44.4%24.3%11
31.4%44.3%24.3%12
Compiler

Compiled 14 to 12 computations (14.3% saved)

sample2.2s (71%)

Results
1.3s2821×body1024valid
431.0ms3766×body256valid
320.0ms1372×body512valid
143.0ms297×body2048valid
6.0ms53×body256invalid

preprocess41.0ms (1.3%)

Algorithm
egg-herbie
Rules
633×associate-/l*_binary64
580×associate-*l*_binary64
568×associate-*r*_binary64
505×associate-/r*_binary64
380×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01113
12513
23413
35913
412711
53498
613418
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
Outputs
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
(sqrt.f64 (/.f64 (expm1.f64 (*.f64 2 x)) (expm1.f64 x)))
(sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))
(sqrt.f64 (/.f64 (+.f64 1 (exp.f64 x)) 1))
(sqrt.f64 (+.f64 1 (exp.f64 x)))
Compiler

Compiled 14 to 12 computations (14.3% saved)

simplify29.0ms (0.9%)

Algorithm
egg-herbie
Rules
633×associate-/l*_binary64
580×associate-*l*_binary64
568×associate-*r*_binary64
505×associate-/r*_binary64
380×fma-def_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01113
12513
23413
35913
412711
53498
613418
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
Outputs
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
(sqrt.f64 (/.f64 (expm1.f64 (*.f64 2 x)) (expm1.f64 x)))
(sqrt.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))
(sqrt.f64 (/.f64 (+.f64 1 (exp.f64 x)) 1))
(sqrt.f64 (+.f64 1 (exp.f64 x)))

eval1.0ms (0%)

Compiler

Compiled 18 to 14 computations (22.2% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
Compiler

Compiled 6 to 5 computations (16.7% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (exp.f64 x))
Compiler

Compiled 14 to 8 computations (42.9% saved)

series3.0ms (0.1%)

Counts
1 → 4
Calls

3 calls:

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

rewrite143.0ms (4.6%)

Algorithm
batch-egg-rewrite
Rules
475×pow1_binary64
463×add-sqr-sqrt_binary64
455×*-un-lft-identity_binary64
442×add-log-exp_binary64
442×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify128.0ms (4.1%)

Algorithm
egg-herbie
Rules
622×distribute-rgt-in_binary64
572×distribute-lft-in_binary64
536×unswap-sqr_binary64
458×associate-*l*_binary64
405×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01434
13834
29034
324530
463629
5220329
6384729
7409129
8439529
9496229
10596529
11789829
Stop Event
node limit
Counts
34 → 36
Calls
Call 1
Inputs
2
(+.f64 2 x)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
Outputs
2
(+.f64 2 x)
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 2 (fma.f64 1/2 (*.f64 x x) x))
(fma.f64 (fma.f64 x 1/2 1) x 2)
(fma.f64 x (fma.f64 x 1/2 1) 2)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)))
(fma.f64 1/6 (pow.f64 x 3) (+.f64 2 (fma.f64 1/2 (*.f64 x x) x)))
(+.f64 (fma.f64 1/2 (*.f64 x x) x) (fma.f64 1/6 (pow.f64 x 3) 2))
(+.f64 2 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 (fma.f64 x 1/2 1) x 2))
(+.f64 2 (fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) x))
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) (+.f64 2 x))
(+.f64 2 (fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) x))

eval9.0ms (0.3%)

Compiler

Compiled 380 to 261 computations (31.3% saved)

prune5.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh000
Picked011
Done000
Total34337
Error
0b
Counts
37 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
24.4b
(sqrt.f64 (+.f64 2 x))
19.6b
(sqrt.f64 2)
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize2.0ms (0.1%)

Compiler

Compiled 4 to 4 computations (0% saved)

localize5.0ms (0.1%)

Compiler

Compiled 10 to 7 computations (30% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
24.4b
(sqrt.f64 (+.f64 2 x))
19.6b
(sqrt.f64 2)
Compiler

Compiled 14 to 12 computations (14.3% saved)

regimes103.0ms (3.3%)

Counts
4 → 1
Calls
Call 1
Inputs
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
(sqrt.f64 (+.f64 1 (exp.f64 x)))
(sqrt.f64 (+.f64 2 x))
(sqrt.f64 2)
Outputs
(sqrt.f64 (+.f64 1 (exp.f64 x)))
Calls

5 calls:

91.0ms
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
4.0ms
x
2.0ms
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
2.0ms
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
2.0ms
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
Results
ErrorSegmentsBranch
0b1x
0b1(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
0b1(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
0b1(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
0b1(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1))
Compiler

Compiled 76 to 62 computations (18.4% saved)

regimes4.0ms (0.1%)

Accuracy

Total -5.0b remaining (-25.6%)

Threshold costs -5.0b (-25.6%)

Counts
2 → 1
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 2 x))
(sqrt.f64 2)
Outputs
(sqrt.f64 2)
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
19.6b1x
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11111
Stop Event
done
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 1 (exp.f64 x)))
(sqrt.f64 2)
Outputs
(sqrt.f64 (+.f64 1 (exp.f64 x)))
(sqrt.f64 2)
Compiler

Compiled 9 to 8 computations (11.1% saved)

soundness207.0ms (6.7%)

Algorithm
egg-herbie
Rules
633×associate-/l*_binary64
580×associate-*l*_binary64
568×associate-*r*_binary64
505×associate-/r*_binary64
380×fma-def_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01113
12513
23413
35913
412711
53498
613418
Stop Event
node limit
Compiler

Compiled 92 to 70 computations (23.9% saved)

end17.0ms (0.5%)

Compiler

Compiled 8 to 7 computations (12.5% saved)

Profiling

Loading profile data...