Details

Time bar (total: 6.2s)

analyze389.0ms (6.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
0%99.9%0.1%4
0%99.9%0.1%5
0%87.4%12.6%6
20.3%59.3%20.4%7
21.1%51.5%27.4%8
35.5%30.4%34%9
35.7%26.1%38.1%10
42.8%15.4%41.8%11
42.9%13.2%44%12
46.4%7.8%45.8%13
46.4%6.6%47%14
Compiler

Compiled 32 to 26 computations (18.8% saved)

sample4.1s (65.5%)

Results
1.5s2051×body1024valid
876.0ms235×body2048valid
769.0ms4411×body128valid
491.0ms1051×body512valid
200.0ms508×body256valid
90.0ms440×body128invalid
17.0ms21×body1024invalid
5.0ms10×body512invalid
3.0msbody256invalid
Compiler

Compiled 95 to 77 computations (18.9% saved)

simplify69.0ms (1.1%)

Algorithm
egg-herbie
Rules
750×times-frac_binary64
577×div-sub_binary64
534×cancel-sign-sub-inv_binary64
519×fma-neg_binary64
467×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02045
15745
215337
339437
4134737
5404837
6461437
7525937

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
26.6b
Counts
3 → 2
Alt Table
StatusErrorProgram
26.7b
(/.f64 (-.f64 (*.f64 (+.f64 1 (/.f64 1 eps)) (exp.f64 (neg.f64 (*.f64 (-.f64 1 eps) x)))) (*.f64 (-.f64 (/.f64 1 eps) 1) (exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x))))) 2)
43.6b
(*.f64 1/2 (fma.f64 (+.f64 1 (/.f64 1 eps)) (pow.f64 (exp.f64 (+.f64 eps -1)) x) (/.f64 (-.f64 1 (/.f64 1 eps)) (exp.f64 (fma.f64 eps x x)))))
Compiler

Compiled 172 to 133 computations (22.7% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 1 eps) x)
0.0b
(exp.f64 (neg.f64 (*.f64 (-.f64 1 eps) x)))
0.0b
(exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x)))
1.5b
(-.f64 (*.f64 (+.f64 1 (/.f64 1 eps)) (exp.f64 (neg.f64 (*.f64 (-.f64 1 eps) x)))) (*.f64 (-.f64 (/.f64 1 eps) 1) (exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x)))))

series65.0ms (1%)

Counts
4 → 92
Calls

4 calls:

45.0ms
(-.f64 (*.f64 (+.f64 1 (/.f64 1 eps)) (exp.f64 (neg.f64 (*.f64 (-.f64 1 eps) x)))) (*.f64 (-.f64 (/.f64 1 eps) 1) (exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x)))))
8.0ms
(exp.f64 (neg.f64 (*.f64 (-.f64 1 eps) x)))
7.0ms
(exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x)))
4.0ms
(*.f64 (+.f64 1 eps) x)

rewrite52.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
81×frac-sub_binary64
74×exp-neg_binary64
72×frac-times_binary64
56×exp-diff_binary64
56×neg-sub0_binary64
Counts
4 → 158
Calls

4 calls:

14.0ms
(-.f64 (*.f64 (+.f64 1 (/.f64 1 eps)) (exp.f64 (neg.f64 (*.f64 (-.f64 1 eps) x)))) (*.f64 (-.f64 (/.f64 1 eps) 1) (exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x)))))
4.0ms
(*.f64 (+.f64 1 eps) x)
4.0ms
(exp.f64 (neg.f64 (*.f64 (-.f64 1 eps) x)))
2.0ms
(exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x)))

simplify218.0ms (3.5%)

Algorithm
egg-herbie
Rules
523×fma-neg_binary64
506×associate-*r*_binary64
495×associate-*l*_binary64
435×fma-def_binary64
245×distribute-rgt-in_binary64
Counts
250 → 285
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
051710874
113529874
248079874
351409874

prune383.0ms (6.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2814285
Fresh101
Picked101
Done000
Total2834287
Error
0.0b
Counts
287 → 4
Alt Table
StatusErrorProgram
0.5b
(/.f64 (+.f64 (*.f64 2 (*.f64 x (exp.f64 (neg.f64 x)))) (*.f64 2 (exp.f64 (neg.f64 x)))) 2)
41.4b
(/.f64 (/.f64 (fma.f64 (+.f64 1 (/.f64 1 eps)) (exp.f64 (fma.f64 x eps x)) (*.f64 (exp.f64 (*.f64 x (-.f64 1 eps))) (+.f64 (/.f64 -1 eps) 1))) (exp.f64 (fma.f64 x (-.f64 1 eps) (fma.f64 x eps x)))) 2)
26.7b
(/.f64 (-.f64 (*.f64 (+.f64 1 (/.f64 1 eps)) (pow.f64 (exp.f64 -1) (*.f64 (-.f64 1 eps) x))) (*.f64 (-.f64 (/.f64 1 eps) 1) (exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x))))) 2)
15.1b
(/.f64 2 2)
Compiler

Compiled 15027 to 11330 computations (24.6% saved)

localize17.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (exp.f64 (neg.f64 x)))
0.0b
(+.f64 (*.f64 2 (*.f64 x (exp.f64 (neg.f64 x)))) (*.f64 2 (exp.f64 (neg.f64 x))))

series8.0ms (0.1%)

Counts
2 → 21
Calls

2 calls:

4.0ms
(+.f64 (*.f64 2 (*.f64 x (exp.f64 (neg.f64 x)))) (*.f64 2 (exp.f64 (neg.f64 x))))
3.0ms
(*.f64 x (exp.f64 (neg.f64 x)))

rewrite17.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
23×associate-*r/_binary64
14×exp-neg_binary64
frac-add_binary64
exp-diff_binary64
neg-sub0_binary64
Counts
2 → 47
Calls

2 calls:

7.0ms
(+.f64 (*.f64 2 (*.f64 x (exp.f64 (neg.f64 x)))) (*.f64 2 (exp.f64 (neg.f64 x))))
7.0ms
(*.f64 x (exp.f64 (neg.f64 x)))

simplify78.0ms (1.2%)

Algorithm
egg-herbie
Rules
966×fma-neg_binary64
499×fma-def_binary64
392×cancel-sign-sub-inv_binary64
318×unswap-sqr_binary64
240×*-commutative_binary64
Counts
68 → 88
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0112995
1272795
2948726
32833719
44432719
54928719

prune81.0ms (1.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New86288
Fresh123
Picked101
Done000
Total88492
Error
0b
Counts
92 → 4
Alt Table
StatusErrorProgram
41.4b
(/.f64 (/.f64 (fma.f64 (+.f64 1 (/.f64 1 eps)) (exp.f64 (fma.f64 x eps x)) (*.f64 (exp.f64 (*.f64 x (-.f64 1 eps))) (+.f64 (/.f64 -1 eps) 1))) (exp.f64 (fma.f64 x (-.f64 1 eps) (fma.f64 x eps x)))) 2)
0.5b
(/.f64 (exp.f64 (-.f64 (log.f64 (fma.f64 2 x 2)) x)) 2)
0.5b
(/.f64 (/.f64 (fma.f64 2 x 2) (exp.f64 x)) 2)
26.7b
(/.f64 (-.f64 (*.f64 (+.f64 1 (/.f64 1 eps)) (pow.f64 (exp.f64 -1) (*.f64 (-.f64 1 eps) x))) (*.f64 (-.f64 (/.f64 1 eps) 1) (exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x))))) 2)
Compiler

Compiled 1870 to 1078 computations (42.4% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fma.f64 2 x 2) (exp.f64 x))

series6.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

6.0ms
(/.f64 (fma.f64 2 x 2) (exp.f64 x))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 29
Calls

1 calls:

3.0ms
(/.f64 (fma.f64 2 x 2) (exp.f64 x))

simplify81.0ms (1.3%)

Algorithm
egg-herbie
Rules
963×fma-neg_binary64
303×associate-*l*_binary64
273×fma-def_binary64
268×associate-*r*_binary64
253×div-sub_binary64
Counts
41 → 44
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071693
1152641
2358641
3854635
42825635
54582635
65087635

prune37.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44044
Fresh033
Picked011
Done000
Total44448
Error
0b
Counts
48 → 4
Alt Table
StatusErrorProgram
41.4b
(/.f64 (/.f64 (fma.f64 (+.f64 1 (/.f64 1 eps)) (exp.f64 (fma.f64 x eps x)) (*.f64 (exp.f64 (*.f64 x (-.f64 1 eps))) (+.f64 (/.f64 -1 eps) 1))) (exp.f64 (fma.f64 x (-.f64 1 eps) (fma.f64 x eps x)))) 2)
0.5b
(/.f64 (exp.f64 (-.f64 (log.f64 (fma.f64 2 x 2)) x)) 2)
0.5b
(/.f64 (/.f64 (fma.f64 2 x 2) (exp.f64 x)) 2)
26.7b
(/.f64 (-.f64 (*.f64 (+.f64 1 (/.f64 1 eps)) (pow.f64 (exp.f64 -1) (*.f64 (-.f64 1 eps) x))) (*.f64 (-.f64 (/.f64 1 eps) 1) (exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x))))) 2)
Compiler

Compiled 851 to 594 computations (30.2% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (log.f64 (fma.f64 2 x 2)) x)
0.0b
(log.f64 (fma.f64 2 x 2))

series7.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(-.f64 (log.f64 (fma.f64 2 x 2)) x)
3.0ms
(log.f64 (fma.f64 2 x 2))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
12×prod-diff_binary64
pow1_binary64
Counts
2 → 52
Calls

2 calls:

4.0ms
(-.f64 (log.f64 (fma.f64 2 x 2)) x)
1.0ms
(log.f64 (fma.f64 2 x 2))

simplify117.0ms (1.9%)

Algorithm
egg-herbie
Rules
915×fma-neg_binary64
536×fma-def_binary64
451×sub-neg_binary64
377×associate-*l*_binary64
316×associate-*r*_binary64
Counts
76 → 95
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01361076
1309984
2951970
33693965
44856961
54974961
64984961
74876961

prune82.0ms (1.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh022
Picked011
Done011
Total95499
Error
0b
Counts
99 → 4
Alt Table
StatusErrorProgram
41.4b
(/.f64 (/.f64 (fma.f64 (+.f64 1 (/.f64 1 eps)) (exp.f64 (fma.f64 x eps x)) (*.f64 (exp.f64 (*.f64 x (-.f64 1 eps))) (+.f64 (/.f64 -1 eps) 1))) (exp.f64 (fma.f64 x (-.f64 1 eps) (fma.f64 x eps x)))) 2)
0.5b
(/.f64 (exp.f64 (-.f64 (log.f64 (fma.f64 2 x 2)) x)) 2)
0.5b
(/.f64 (/.f64 (fma.f64 2 x 2) (exp.f64 x)) 2)
26.7b
(/.f64 (-.f64 (*.f64 (+.f64 1 (/.f64 1 eps)) (pow.f64 (exp.f64 -1) (*.f64 (-.f64 1 eps) x))) (*.f64 (-.f64 (/.f64 1 eps) 1) (exp.f64 (neg.f64 (*.f64 (+.f64 1 eps) x))))) 2)
Compiler

Compiled 1872 to 1396 computations (25.4% saved)

regimes287.0ms (4.6%)

Accuracy

Total 0.8b remaining (98%)

Threshold costs 0.8b (98%)

Counts
56 → 1
Compiler

Compiled 7264 to 5696 computations (21.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11015
21515
31715
41815
51815

end100.0ms (1.6%)

Compiler

Compiled 117 to 90 computations (23.1% saved)

Profiling

Loading profile data...