Details

Time bar (total: 3.0s)

analyze127.0ms (4.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
0%50%50%5
6.2%31.2%62.5%6
9.4%28.1%62.5%7
14%17.2%68.8%8
14.8%16.4%68.8%9
17.6%9.8%72.7%10
18.1%8.8%73.1%11
19.6%5.2%75.2%12
20%4.5%75.5%13
20.7%2.7%76.6%14
Compiler

Compiled 23 to 20 computations (13% saved)

sample1.2s (40.5%)

Results
1.1s8256×body128valid
66.0ms520×body128invalid
Compiler

Compiled 46 to 40 computations (13% saved)

preprocess49.0ms (1.7%)

Algorithm
egg-herbie
Rules
692×fma-def_binary64
438×fma-neg_binary64
227×sub-neg_binary64
210×distribute-rgt-neg-in_binary64
204×unsub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02248
15242
214138
339538
4100538
5189838
6287338
7419738
022
Stop Event
saturated
node limit
Compiler

Compiled 22 to 19 computations (13.6% saved)

simplify71.0ms (2.4%)

Algorithm
egg-herbie
Rules
1035×fma-def_binary64
742×fma-neg_binary64
189×distribute-rgt-in_binary64
177×cancel-sign-sub-inv_binary64
156×distribute-lft-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01524
13221
28219
319919
451019
596919
6147019
7242119
8362619
9407319
10423119
11427219
12427519
13482819
14482819
Stop Event
saturated
Counts
1 → 2

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 109 to 91 computations (16.5% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
0.2b
(*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)
0.2b
(/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3)))))
0.4b
(sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))

series62.0ms (2.1%)

Counts
4 → 41
Calls

18 calls:

6.0ms
(*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)
a
-inf
5.0ms
(sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))
a
inf
5.0ms
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
a
-inf
5.0ms
(*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)
a
inf
4.0ms
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
a
inf

rewrite67.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
723×prod-diff_binary64
142×add-sqr-sqrt_binary64
138×log1p-expm1-u_binary64
138×expm1-log1p-u_binary64
137×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01554
130849
2388849
Stop Event
node limit
Counts
4 → 126

simplify39.0ms (1.3%)

Algorithm
egg-herbie
Rules
549×fma-def_binary64
374×associate-/l*_binary64
332×times-frac_binary64
239×associate-*r*_binary64
236×associate-*l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01251029
1397973
21459905
Stop Event
node limit
Counts
167 → 165

prune161.0ms (5.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1614165
Fresh101
Picked101
Done000
Total1634167
Error
0b
Counts
167 → 4
Alt Table
StatusErrorProgram
8.6b
(+.f64 a (+.f64 -1/3 (*.f64 (/.f64 1/3 (sqrt.f64 (-.f64 a 1/3))) (*.f64 rand (-.f64 a 1/3)))))
0.1b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)))
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))
Compiler

Compiled 4033 to 3286 computations (18.5% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 a 9) -3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)))
0.2b
(*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)
0.4b
(pow.f64 (+.f64 (*.f64 a 9) -3) -1/2)

series51.0ms (1.7%)

Counts
4 → 58
Calls

18 calls:

5.0ms
(*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)
rand
0
4.0ms
(*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)
rand
-inf
4.0ms
(*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)
a
-inf
4.0ms
(*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)
rand
inf
4.0ms
(*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)
a
inf

rewrite71.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
679×prod-diff_binary64
167×add-sqr-sqrt_binary64
164×log1p-expm1-u_binary64
164×expm1-log1p-u_binary64
162×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01744
135842
2435642
Stop Event
node limit
Counts
4 → 108

simplify42.0ms (1.4%)

Algorithm
egg-herbie
Rules
536×fma-def_binary64
398×associate-+l+_binary64
283×times-frac_binary64
274×associate-/l*_binary64
234×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01341464
14001396
213401176
Stop Event
node limit
Counts
166 → 159

prune164.0ms (5.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1590159
Fresh033
Picked011
Done000
Total1594163
Error
0b
Counts
163 → 4
Alt Table
StatusErrorProgram
8.6b
(+.f64 a (+.f64 -1/3 (*.f64 (/.f64 1/3 (sqrt.f64 (-.f64 a 1/3))) (*.f64 rand (-.f64 a 1/3)))))
0.1b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)))
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))
Compiler

Compiled 4088 to 3283 computations (19.7% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (-.f64 a 1/3))
0.0b
(+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3)))))
0.2b
(*.f64 rand (sqrt.f64 (-.f64 a 1/3)))
0.3b
(*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))

series46.0ms (1.5%)

Counts
4 → 21
Calls

21 calls:

4.0ms
(*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))
a
-inf
4.0ms
(*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))
a
inf
3.0ms
(*.f64 rand (sqrt.f64 (-.f64 a 1/3)))
a
inf
3.0ms
(*.f64 rand (sqrt.f64 (-.f64 a 1/3)))
rand
inf
3.0ms
(*.f64 rand (sqrt.f64 (-.f64 a 1/3)))
a
-inf

rewrite53.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
970×prod-diff_binary64
183×expm1-udef_binary64
183×log1p-udef_binary64
102×add-sqr-sqrt_binary64
98×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0942
120340
2274240
Stop Event
node limit
Counts
4 → 91

simplify32.0ms (1.1%)

Algorithm
egg-herbie
Rules
598×associate-/r*_binary64
397×fma-neg_binary64
379×associate-/r/_binary64
292×associate-/l/_binary64
180×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
062508
1195480
2617464
32447441
Stop Event
node limit
Counts
112 → 121

prune108.0ms (3.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1201121
Fresh112
Picked011
Done011
Total1214125
Error
0b
Counts
125 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (fma.f64 (*.f64 1/3 rand) (sqrt.f64 (+.f64 a -1/3)) a) 1/3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)))
0.1b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))
Compiler

Compiled 2452 to 1890 computations (22.9% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 a -1/3))
0.1b
(fma.f64 (*.f64 1/3 rand) (sqrt.f64 (+.f64 a -1/3)) a)
0.3b
(*.f64 1/3 rand)

series18.0ms (0.6%)

Counts
3 → 22
Calls

12 calls:

4.0ms
(sqrt.f64 (+.f64 a -1/3))
a
inf
2.0ms
(sqrt.f64 (+.f64 a -1/3))
a
-inf
2.0ms
(fma.f64 (*.f64 1/3 rand) (sqrt.f64 (+.f64 a -1/3)) a)
a
-inf
2.0ms
(fma.f64 (*.f64 1/3 rand) (sqrt.f64 (+.f64 a -1/3)) a)
a
inf
2.0ms
(fma.f64 (*.f64 1/3 rand) (sqrt.f64 (+.f64 a -1/3)) a)
a
0

rewrite46.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
849×log1p-expm1-u_binary64
849×expm1-log1p-u_binary64
146×prod-diff_binary64
93×add-sqr-sqrt_binary64
88×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
119123
2226123
Stop Event
node limit
Counts
3 → 61

simplify25.0ms (0.9%)

Algorithm
egg-herbie
Rules
564×associate-*l/_binary64
525×associate-/r*_binary64
524×cancel-sign-sub-inv_binary64
299×associate-/r/_binary64
218×associate-/l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
053395
1154361
2480355
31920347
Stop Event
node limit
Counts
83 → 81

prune65.0ms (2.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New81081
Fresh011
Picked011
Done022
Total81485
Error
0b
Counts
85 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (fma.f64 (*.f64 1/3 rand) (sqrt.f64 (+.f64 a -1/3)) a) 1/3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (pow.f64 (+.f64 (*.f64 a 9) -3) -1/2) rand)))
0.1b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))
Compiler

Compiled 1428 to 1115 computations (21.9% saved)

regimes327.0ms (11.1%)

Accuracy

Total 0.1b remaining (85.1%)

Threshold costs 0.1b (85.1%)

Counts
76 → 1
Compiler

Compiled 5226 to 4322 computations (17.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01620
12420
22520
Stop Event
saturated

end91.0ms (3.1%)

Stop Event
fuel
Compiler

Compiled 96 to 78 computations (18.8% saved)

Profiling

Loading profile data...