Details

Time bar (total: 3.1s)

analyze137.0ms (4.4%)

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%10.1%72.3%10
18.1%9.2%72.7%11
19.6%5.5%74.9%12
20%4.8%75.2%13
20.7%2.8%76.5%14
Compiler

Compiled 23 to 20 computations (13% saved)

sample1.3s (40.6%)

Results
1.2s8256×body128valid
77.0ms598×body128invalid
Compiler

Compiled 46 to 40 computations (13% saved)

preprocess46.0ms (1.5%)

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)

simplify69.0ms (2.2%)

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 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
Compiler

Compiled 109 to 91 computations (16.5% saved)

localize9.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.6b
(sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))

series61.0ms (2%)

Counts
4 → 41
Calls

18 calls:

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 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3)))))
a
inf
5.0ms
(*.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)
rand
-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
0

rewrite108.0ms (3.5%)

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

simplify43.0ms (1.4%)

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

prune178.0ms (5.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1596165
Fresh101
Picked101
Done000
Total1616167
Error
0b
Counts
167 → 6
Alt Table
StatusErrorProgram
0.3b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (pow.f64 (cbrt.f64 (*.f64 1/3 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 3)))
0.2b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 1/3 (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 a 1/3)))))))
0.2b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand (pow.f64 (+.f64 (*.f64 a 9) -3) 1/4)) (pow.f64 (+.f64 (*.f64 a 9) -3) 1/4))))
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 rand (*.f64 3 (sqrt.f64 (-.f64 a 1/3))))))
0.1b
(fma.f64 1/3 (*.f64 rand (sqrt.f64 (+.f64 -1/3 a))) (+.f64 -1/3 a))
7.8b
(+.f64 a (+.f64 -1/3 (*.f64 (/.f64 1/3 (sqrt.f64 (-.f64 a 1/3))) (*.f64 rand (-.f64 a 1/3)))))
Compiler

Compiled 4129 to 3368 computations (18.4% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series33.0ms (1.1%)

Counts
3 → 38
Calls

15 calls:

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

rewrite48.0ms (1.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0931
119131
2228131
Stop Event
node limit
Counts
3 → 65

simplify34.0ms (1.1%)

Algorithm
egg-herbie
Rules
585×associate-/r*_binary64
369×associate-/r/_binary64
324×fma-neg_binary64
288×associate-/l/_binary64
182×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
065661
1200621
2651607
32612583
Stop Event
node limit
Counts
103 → 97

prune84.0ms (2.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New94397
Fresh325
Picked011
Done000
Total976103
Error
0b
Counts
103 → 6
Alt Table
StatusErrorProgram
0.3b
(fma.f64 1/3 (*.f64 rand (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 -1/3 a))) 3)) (+.f64 -1/3 a))
0.1b
(fma.f64 1/3 (*.f64 rand (sqrt.f64 (+.f64 -1/3 a))) (+.f64 -1/3 a))
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 rand (*.f64 3 (sqrt.f64 (-.f64 a 1/3))))))
0.1b
(+.f64 (+.f64 -1/3 a) (*.f64 (*.f64 1/3 rand) (sqrt.f64 (+.f64 -1/3 a))))
0.1b
(+.f64 -1/3 (fma.f64 rand (*.f64 1/3 (sqrt.f64 (+.f64 a -1/3))) a))
0.2b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 1/3 (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 a 1/3)))))))
Compiler

Compiled 1806 to 1420 computations (21.4% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series42.0ms (1.4%)

Counts
3 → 34
Calls

15 calls:

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

rewrite61.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
513×log-prod_binary64
465×fma-def_binary64
200×fma-neg_binary64
196×expm1-udef_binary64
196×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01034
122432
2298832
Stop Event
node limit
Counts
3 → 109

simplify34.0ms (1.1%)

Algorithm
egg-herbie
Rules
755×associate-/l*_binary64
671×cancel-sign-sub-inv_binary64
394×associate-/r*_binary64
274×fma-neg_binary64
234×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045615
1139585
2436573
31757568
Stop Event
node limit
Counts
143 → 132

prune156.0ms (5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1640164
Fresh044
Picked011
Done011
Total1646170
Error
0b
Counts
170 → 6
Alt Table
StatusErrorProgram
0.3b
(fma.f64 1/3 (*.f64 rand (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 -1/3 a))) 3)) (+.f64 -1/3 a))
0.1b
(fma.f64 1/3 (*.f64 rand (sqrt.f64 (+.f64 -1/3 a))) (+.f64 -1/3 a))
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 rand (*.f64 3 (sqrt.f64 (-.f64 a 1/3))))))
0.1b
(+.f64 (+.f64 -1/3 a) (*.f64 (*.f64 1/3 rand) (sqrt.f64 (+.f64 -1/3 a))))
0.1b
(+.f64 -1/3 (fma.f64 rand (*.f64 1/3 (sqrt.f64 (+.f64 a -1/3))) a))
0.2b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 1/3 (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 a 1/3)))))))
Compiler

Compiled 3263 to 2540 computations (22.2% 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 rand (*.f64 1/3 (sqrt.f64 (+.f64 a -1/3))) a)
0.4b
(*.f64 1/3 (sqrt.f64 (+.f64 a -1/3)))

series27.0ms (0.9%)

Counts
3 → 26
Calls

12 calls:

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

rewrite52.0ms (1.7%)

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
0928
119128
2226028
Stop Event
node limit
Counts
3 → 61

simplify34.0ms (1.1%)

Algorithm
egg-herbie
Rules
711×associate-*l/_binary64
566×associate-/r*_binary64
297×associate-/r/_binary64
274×associate-/l/_binary64
263×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
062495
1189455
2587445
32259417
Stop Event
node limit
Counts
87 → 88

prune109.0ms (3.5%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New88088
Fresh033
Picked011
Done022
Total88694
Error
0b
Counts
94 → 6
Alt Table
StatusErrorProgram
0.3b
(fma.f64 1/3 (*.f64 rand (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 -1/3 a))) 3)) (+.f64 -1/3 a))
0.1b
(fma.f64 1/3 (*.f64 rand (sqrt.f64 (+.f64 -1/3 a))) (+.f64 -1/3 a))
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 rand (*.f64 3 (sqrt.f64 (-.f64 a 1/3))))))
0.1b
(+.f64 (+.f64 -1/3 a) (*.f64 (*.f64 1/3 rand) (sqrt.f64 (+.f64 -1/3 a))))
0.1b
(+.f64 -1/3 (fma.f64 rand (*.f64 1/3 (sqrt.f64 (+.f64 a -1/3))) a))
0.2b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 1/3 (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 a 1/3)))))))
Compiler

Compiled 1602 to 1267 computations (20.9% saved)

regimes369.0ms (11.8%)

Accuracy

Total 0.1b remaining (87.1%)

Threshold costs 0.1b (87.1%)

Counts
70 → 1
Compiler

Compiled 4862 to 4026 computations (17.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01016
11316
Stop Event
saturated

end97.0ms (3.1%)

Stop Event
fuel
Compiler

Compiled 120 to 96 computations (20% saved)

Profiling

Loading profile data...