Details

Time bar (total: 18.4s)

analyze783.0ms (4.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
25%74.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%50%0.1%7
50%50%0.1%8
50%50%0.1%9
50%50%0.1%10
50%50%0.1%11
50%50%0.1%12
50%50%0.1%13
50%50%0.1%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample12.9s (70.3%)

Symmetry

(sort a b)

Results
10.1s7975×body8192exit
1.4s1995×body1024valid
612.0ms4582×body128valid
450.0ms1028×body512valid
190.0ms207×body2048valid
117.0ms444×body256valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify8.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1810
2810

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
30.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.2b
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))
Compiler

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 a) (exp.f64 b))
4.5b
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))

series447.0ms (2.4%)

Counts
2 → 48
Calls

2 calls:

443.0ms
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))
4.0ms
(+.f64 (exp.f64 a) (exp.f64 b))

rewrite7.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
log-prod_binary64
add-cube-cbrt_binary64
Counts
2 → 34
Calls

2 calls:

3.0ms
(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))
3.0ms
(+.f64 (exp.f64 a) (exp.f64 b))

simplify136.0ms (0.7%)

Algorithm
egg-herbie
Rules
618×fma-neg_binary64
418×associate-+l+_binary64
392×fma-def_binary64
238×times-frac_binary64
229×associate-+r+_binary64
Counts
82 → 83
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01231238
13341183
210341155
340621151
448281151
549731151

prune49.0ms (0.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New80383
Fresh000
Picked101
Done000
Total81384
Error
1.2b
Counts
84 → 3
Alt Table
StatusErrorProgram
30.2b
(log1p.f64 (expm1.f64 (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
30.5b
(expm1.f64 (log1p.f64 (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
2.2b
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
Compiler

Compiled 1361 to 624 computations (54.2% saved)

localize6.0ms (0%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 b (+.f64 1 (exp.f64 a)))
0.0b
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
0.0b
(+.f64 1 (exp.f64 a))

series303.0ms (1.6%)

Counts
3 → 32
Calls

3 calls:

254.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
29.0ms
(+.f64 1 (exp.f64 a))
20.0ms
(/.f64 b (+.f64 1 (exp.f64 a)))

rewrite16.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity_binary64
14×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
12×times-frac_binary64
add-log-exp_binary64
Counts
3 → 70
Calls

3 calls:

7.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))
4.0ms
(/.f64 b (+.f64 1 (exp.f64 a)))
3.0ms
(+.f64 1 (exp.f64 a))

simplify91.0ms (0.5%)

Algorithm
egg-herbie
Rules
534×fma-neg_binary64
435×associate-/l*_binary64
384×fma-def_binary64
381×cancel-sign-sub-inv_binary64
224×distribute-rgt-in_binary64
Counts
102 → 103
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01381554
13541479
28671463
323901452
449391451
550661451

prune78.0ms (0.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New994103
Fresh112
Picked101
Done000
Total1015106
Error
1.2b
Counts
106 → 5
Alt Table
StatusErrorProgram
30.2b
(log1p.f64 (expm1.f64 (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
2.4b
(+.f64 (log1p.f64 (exp.f64 a)) (*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a))))
25.9b
(+.f64 (log1p.f64 (exp.f64 a)) (exp.f64 (log.f64 (/.f64 b (+.f64 1 (exp.f64 a))))))
25.9b
(+.f64 (log1p.f64 (exp.f64 a)) (exp.f64 (-.f64 (log.f64 b) (log1p.f64 (exp.f64 a)))))
3.0b
(expm1.f64 (log1p.f64 (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))))
Compiler

Compiled 1867 to 985 computations (47.2% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))
0.0b
(+.f64 (log1p.f64 (exp.f64 a)) (*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a))))
0.0b
(*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a)))
2.4b
(-.f64 1 (exp.f64 a))

series366.0ms (2%)

Counts
4 → 76
Calls

4 calls:

301.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a))))
35.0ms
(*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a)))
28.0ms
(/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))
2.0ms
(-.f64 1 (exp.f64 a))

rewrite45.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
96×add-sqr-sqrt_binary64
91×*-un-lft-identity_binary64
85×add-cube-cbrt_binary64
61×times-frac_binary64
45×prod-diff_binary64
Counts
4 → 219
Calls

4 calls:

12.0ms
(*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a)))
6.0ms
(+.f64 (log1p.f64 (exp.f64 a)) (*.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))) (-.f64 1 (exp.f64 a))))
4.0ms
(-.f64 1 (exp.f64 a))
3.0ms
(/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))

simplify215.0ms (1.2%)

Algorithm
egg-herbie
Rules
543×fma-neg_binary64
309×cancel-sign-sub-inv_binary64
185×associate-*l*_binary64
173×associate-*r*_binary64
173×distribute-lft-neg-out_binary64
Counts
295 → 351
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
03326612
17896269
226835855
344865849
449955841
549005841

prune357.0ms (1.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3501351
Fresh044
Picked101
Done000
Total3515356
Error
1.2b
Counts
356 → 5
Alt Table
StatusErrorProgram
30.2b
(log1p.f64 (expm1.f64 (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
25.9b
(+.f64 (log1p.f64 (exp.f64 a)) (exp.f64 (log.f64 (/.f64 b (+.f64 1 (exp.f64 a))))))
25.9b
(+.f64 (log1p.f64 (exp.f64 a)) (exp.f64 (-.f64 (log.f64 b) (log1p.f64 (exp.f64 a)))))
3.0b
(expm1.f64 (log1p.f64 (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))))
2.4b
(+.f64 (log1p.f64 (exp.f64 a)) (+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))))))
Compiler

Compiled 10136 to 2973 computations (70.7% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a)))
0.0b
(*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))))
0.0b
(*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))
2.4b
(+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))))

series330.0ms (1.8%)

Counts
4 → 72
Calls

4 calls:

242.0ms
(*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))
54.0ms
(+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))))
31.0ms
(*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))))
3.0ms
(*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a)))

rewrite41.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt_binary64
46×associate-*r*_binary64
35×*-un-lft-identity_binary64
35×add-cube-cbrt_binary64
30×times-frac_binary64
Counts
4 → 144
Calls

4 calls:

10.0ms
(*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a)))))
7.0ms
(+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a))) (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))))
5.0ms
(*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))
5.0ms
(*.f64 (neg.f64 (*.f64 (cbrt.f64 (exp.f64 a)) (cbrt.f64 (exp.f64 a)))) (cbrt.f64 (exp.f64 a)))

simplify107.0ms (0.6%)

Algorithm
egg-herbie
Rules
798×fma-def_binary64
623×associate-*l*_binary64
423×associate-*r*_binary64
264×fma-neg_binary64
189×*-commutative_binary64
Counts
216 → 262
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02783862
17663605
237383499
349653499

prune275.0ms (1.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2602262
Fresh044
Picked101
Done000
Total2616267
Error
1.2b
Counts
267 → 6
Alt Table
StatusErrorProgram
30.2b
(log1p.f64 (expm1.f64 (log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))))
2.4b
(+.f64 (log1p.f64 (exp.f64 a)) (+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (*.f64 (exp.f64 a) (/.f64 b (expm1.f64 (+.f64 a a))))))
40.8b
(+.f64 (log1p.f64 (exp.f64 a)) (+.f64 (*.f64 1 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))) (exp.f64 (+.f64 a (log.f64 (neg.f64 (/.f64 b (neg.f64 (expm1.f64 (+.f64 a a))))))))))
25.9b
(+.f64 (log1p.f64 (exp.f64 a)) (exp.f64 (log.f64 (/.f64 b (+.f64 1 (exp.f64 a))))))
25.9b
(+.f64 (log1p.f64 (exp.f64 a)) (exp.f64 (-.f64 (log.f64 b) (log1p.f64 (exp.f64 a)))))
3.0b
(expm1.f64 (log1p.f64 (+.f64 (log1p.f64 (exp.f64 a)) (/.f64 b (+.f64 1 (exp.f64 a))))))
Compiler

Compiled 10207 to 2358 computations (76.9% saved)

regimes1.5s (8.3%)

Accuracy

Total 0.6b remaining (52.1%)

Threshold costs 0.6b (52.1%)

Counts
298 → 1
Compiler

Compiled 51257 to 28832 computations (43.8% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
11520
21420

end240.0ms (1.3%)

Compiler

Compiled 160 to 106 computations (33.8% saved)

Profiling

Loading profile data...