Details

Time bar (total: 7.2s)

analyze757.0ms (10.5%)

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
12.5%87.4%0.1%5
18.7%81.2%0.1%6
28.1%71.8%0.1%7
32.8%67.1%0.1%8
38.2%61.7%0.1%9
41%58.9%0.1%10
43.9%56%0.1%11
45.4%54.5%0.1%12
46.9%53%0.1%13
47.7%52.2%0.1%14
Compiler

Compiled 19 to 9 computations (52.6% saved)

sample4.0s (54.7%)

Results
2.1s3990×body8192exit
831.0ms6736×body128valid
452.0ms4090×body128invalid
224.0ms708×body256valid
218.0ms779×body512valid
12.0ms33×body1024valid
Compiler

Compiled 56 to 26 computations (53.6% saved)

simplify78.0ms (1.1%)

Algorithm
egg-herbie
Rules
568×neg-mul-1_binary64
503×fma-def_binary64
491×fma-neg_binary64
484×div-sub_binary64
416×distribute-neg-frac_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0923
12223
25823
315221
433818
5109018
6290218
7369518
8470618
9488118

prune3.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
15.5b
Counts
3 → 2
Alt Table
StatusErrorProgram
15.5b
(+.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)))
15.8b
(-.f64 wj (/.f64 (-.f64 (*.f64 wj (exp.f64 wj)) x) (+.f64 (exp.f64 wj) (*.f64 wj (exp.f64 wj)))))
Compiler

Compiled 94 to 48 computations (48.9% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (exp.f64 wj))
0.0b
(/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))
5.6b
(+.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)))

series46.0ms (0.6%)

Counts
3 → 52
Calls

3 calls:

18.0ms
(+.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)))
14.0ms
(/.f64 x (exp.f64 wj))
13.0ms
(/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))

rewrite76.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
159×egg-rr
Counts
3 → 159
Calls

2 calls:

70.0ms
((+.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))) (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)) (/.f64 x (exp.f64 wj)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01039
123239
2347839
3500839
000
100

simplify68.0ms (0.9%)

Algorithm
egg-herbie
Rules
685×fma-neg_binary64
570×sub-neg_binary64
284×associate--l+_binary64
259×fma-def_binary64
245×associate--r+_binary64
Counts
211 → 203
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0791071
12431062
27361046
327941040
446721040
549721040

prune163.0ms (2.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2003203
Fresh101
Picked101
Done000
Total2023205
Error
0.1b
Counts
205 → 3
Alt Table
StatusErrorProgram
7.3b
(+.f64 (-.f64 wj (/.f64 wj (+.f64 wj 1))) (/.f64 x (*.f64 (exp.f64 wj) (+.f64 wj 1))))
1.7b
(-.f64 (fma.f64 5/2 (*.f64 x (*.f64 wj wj)) (fma.f64 wj wj x)) (fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3)))
35.3b
(/.f64 (-.f64 (*.f64 wj wj) (pow.f64 (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)) 2)) (-.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))))
Compiler

Compiled 4250 to 2051 computations (51.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3))
0.0b
(-.f64 (fma.f64 5/2 (*.f64 x (*.f64 wj wj)) (fma.f64 wj wj x)) (fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3)))
0.1b
(*.f64 8/3 (pow.f64 wj 3))
6.3b
(*.f64 x (*.f64 wj wj))

series57.0ms (0.8%)

Counts
4 → 72
Calls

4 calls:

27.0ms
(-.f64 (fma.f64 5/2 (*.f64 x (*.f64 wj wj)) (fma.f64 wj wj x)) (fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3)))
19.0ms
(fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3))
8.0ms
(*.f64 x (*.f64 wj wj))
3.0ms
(*.f64 8/3 (pow.f64 wj 3))

rewrite77.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
102×egg-rr
Counts
4 → 102
Calls

2 calls:

72.0ms
((*.f64 x (*.f64 wj wj)) (*.f64 8/3 (pow.f64 wj 3)) (-.f64 (fma.f64 5/2 (*.f64 x (*.f64 wj wj)) (fma.f64 wj wj x)) (fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3))) (fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01667
134067
2380067
3560567
000
100

simplify77.0ms (1.1%)

Algorithm
egg-herbie
Rules
901×fma-neg_binary64
853×sub-neg_binary64
355×fma-def_binary64
310×cancel-sign-sub-inv_binary64
300×associate-+l-_binary64
Counts
174 → 130
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0441354
11421214
25361168
318111130
445901130
554521130

prune155.0ms (2.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1273130
Fresh022
Picked011
Done000
Total1276133
Error
0.1b
Counts
133 → 6
Alt Table
StatusErrorProgram
7.3b
(+.f64 (-.f64 wj (/.f64 wj (+.f64 wj 1))) (/.f64 x (*.f64 (exp.f64 wj) (+.f64 wj 1))))
53.7b
(fma.f64 wj (-.f64 wj (*.f64 (*.f64 wj wj) (fma.f64 x 8/3 1))) (*.f64 (*.f64 wj x) (fma.f64 wj 5/2 -2)))
1.7b
(-.f64 (fma.f64 5/2 (*.f64 x (*.f64 wj wj)) (fma.f64 wj wj x)) (fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3)))
28.2b
(pow.f64 (sqrt.f64 (-.f64 (fma.f64 5/2 (*.f64 x (*.f64 wj wj)) (fma.f64 wj wj x)) (fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3)))) 2)
51.0b
(pow.f64 (pow.f64 (-.f64 (fma.f64 5/2 (*.f64 x (*.f64 wj wj)) (fma.f64 wj wj x)) (fma.f64 x (fma.f64 2 wj (*.f64 8/3 (pow.f64 wj 3))) (pow.f64 wj 3))) 3) 1/3)
35.3b
(/.f64 (-.f64 (*.f64 wj wj) (pow.f64 (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)) 2)) (-.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))))
Compiler

Compiled 4944 to 2804 computations (43.3% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (*.f64 (exp.f64 wj) (+.f64 wj 1)))
0.0b
(/.f64 wj (+.f64 wj 1))
0.0b
(*.f64 (exp.f64 wj) (+.f64 wj 1))
5.3b
(-.f64 wj (/.f64 wj (+.f64 wj 1)))

series29.0ms (0.4%)

Counts
4 → 60
Calls

4 calls:

22.0ms
(/.f64 x (*.f64 (exp.f64 wj) (+.f64 wj 1)))
2.0ms
(*.f64 (exp.f64 wj) (+.f64 wj 1))
2.0ms
(-.f64 wj (/.f64 wj (+.f64 wj 1)))
2.0ms
(/.f64 wj (+.f64 wj 1))

rewrite106.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
255×egg-rr
Counts
4 → 255
Calls

2 calls:

96.0ms
((-.f64 wj (/.f64 wj (+.f64 wj 1))) (*.f64 (exp.f64 wj) (+.f64 wj 1)) (/.f64 wj (+.f64 wj 1)) (/.f64 x (*.f64 (exp.f64 wj) (+.f64 wj 1))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01038
122736
2324736
3529136
000
100

simplify86.0ms (1.2%)

Algorithm
egg-herbie
Rules
603×cancel-sign-sub-inv_binary64
532×times-frac_binary64
408×fma-neg_binary64
236×fma-def_binary64
228×sub-neg_binary64
Counts
315 → 308
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
076812
1212803
2602786
31735783
44314783
54979783
64945783

prune293.0ms (4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3071308
Fresh314
Picked011
Done101
Total3113314
Error
0.0b
Counts
314 → 3
Alt Table
StatusErrorProgram
7.3b
(+.f64 (-.f64 wj (/.f64 wj (+.f64 wj 1))) (/.f64 x (*.f64 (exp.f64 wj) (+.f64 wj 1))))
0.8b
(+.f64 (-.f64 (fma.f64 wj wj (pow.f64 wj 4)) (pow.f64 wj 3)) (/.f64 x (*.f64 (exp.f64 wj) (+.f64 wj 1))))
35.3b
(/.f64 (-.f64 (*.f64 wj wj) (pow.f64 (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)) 2)) (-.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))))
Compiler

Compiled 10311 to 5877 computations (43% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series7.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(-.f64 (fma.f64 wj wj (pow.f64 wj 4)) (pow.f64 wj 3))
3.0ms
(fma.f64 wj wj (pow.f64 wj 4))

rewrite60.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
107×egg-rr
Counts
2 → 107
Calls

2 calls:

57.0ms
((-.f64 (fma.f64 wj wj (pow.f64 wj 4)) (pow.f64 wj 3)) (fma.f64 wj wj (pow.f64 wj 4)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
118022
2196122
3602722
000
100

simplify72.0ms (1%)

Algorithm
egg-herbie
Rules
804×unswap-sqr_binary64
706×fma-def_binary64
489×distribute-rgt-neg-in_binary64
370×neg-mul-1_binary64
297×cancel-sign-sub-inv_binary64
Counts
131 → 117
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
012240
131210
280210
3256210
4825210
52694210
64806210
75010210

prune245.0ms (3.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2130213
Fresh011
Picked011
Done011
Total2133216
Error
0.0b
Counts
216 → 3
Alt Table
StatusErrorProgram
7.3b
(+.f64 (-.f64 wj (/.f64 wj (+.f64 wj 1))) (/.f64 x (*.f64 (exp.f64 wj) (+.f64 wj 1))))
0.8b
(+.f64 (-.f64 (fma.f64 wj wj (pow.f64 wj 4)) (pow.f64 wj 3)) (/.f64 x (*.f64 (exp.f64 wj) (+.f64 wj 1))))
35.3b
(/.f64 (-.f64 (*.f64 wj wj) (pow.f64 (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)) 2)) (-.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))))
Compiler

Compiled 6209 to 3113 computations (49.9% saved)

regimes700.0ms (9.7%)

Accuracy

Total 1.1b remaining (93.7%)

Threshold costs 0b (0%)

Counts
203 → 1
Compiler

Compiled 12087 to 8073 computations (33.2% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01528
12228
22628
32828
42928
52828

end77.0ms (1.1%)

Compiler

Compiled 112 to 71 computations (36.6% saved)

Profiling

Loading profile data...