Details

Time bar (total: 4.6s)

analyze143.0ms (3.1%)

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.5s (33.6%)

Results
1.2s8256×body128valid
78.0ms536×body128invalid
Compiler

Compiled 68 to 59 computations (13.2% saved)

simplify101.0ms (2.2%)

Algorithm
egg-herbie
Rules
1035×fma-def_binary64
742×fma-neg_binary64
189×distribute-rgt-in_binary64
173×cancel-sign-sub-inv_binary64
156×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01524
13221
27519
316819
435819
567819
690119
7144619
8191419
9187319
10191619
11191519
12191219
13246519
14246519
15232119

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.2%)

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

series83.0ms (1.8%)

Counts
4 → 41
Calls

4 calls:

29.0ms
(*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)
28.0ms
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
16.0ms
(/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3)))))
10.0ms
(sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))

rewrite58.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64
29×*-un-lft-identity_binary64
28×times-frac_binary64
26×associate-*l*_binary64
24×add-cube-cbrt_binary64
Counts
4 → 134
Calls

4 calls:

18.0ms
(sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))
12.0ms
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
11.0ms
(*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)
8.0ms
(/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3)))))

simplify101.0ms (2.2%)

Algorithm
egg-herbie
Rules
682×distribute-rgt-in_binary64
675×times-frac_binary64
199×associate-*r*_binary64
193×cancel-sign-sub-inv_binary64
178×associate-*l*_binary64
Counts
175 → 252
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02813587
17713326
227673268
354413268

prune359.0ms (7.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2475252
Fresh101
Picked011
Done000
Total2486254
Error
0b
Counts
254 → 6
Alt Table
StatusErrorProgram
0.4b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) (cbrt.f64 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))))) (*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3)))))) rand))))
0.1b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.6b
(*.f64 (sqrt.f64 (-.f64 a (/.f64 1 3))) (*.f64 (sqrt.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 a (/.f64 1 3)) (+.f64 1 (*.f64 1/3 (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 a 1/3)))))))
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 -1/3 a) (*.f64 (+.f64 -1/3 a) (/.f64 rand (sqrt.f64 (*.f64 (+.f64 -1/3 a) 9)))))
Compiler

Compiled 7756 to 6544 computations (15.6% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series98.0ms (2.1%)

Counts
4 → 48
Calls

4 calls:

64.0ms
(/.f64 rand (sqrt.f64 (*.f64 (+.f64 -1/3 a) 9)))
23.0ms
(*.f64 (+.f64 -1/3 a) (/.f64 rand (sqrt.f64 (*.f64 (+.f64 -1/3 a) 9))))
10.0ms
(sqrt.f64 (*.f64 (+.f64 -1/3 a) 9))
2.0ms
(*.f64 (+.f64 -1/3 a) 9)

rewrite32.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64
28×*-un-lft-identity_binary64
25×times-frac_binary64
24×add-cube-cbrt_binary64
21×associate-*r*_binary64
Counts
4 → 117
Calls

4 calls:

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

simplify109.0ms (2.4%)

Algorithm
egg-herbie
Rules
587×times-frac_binary64
430×fma-def_binary64
389×distribute-rgt-in_binary64
376×distribute-lft-in_binary64
134×associate-*l*_binary64
Counts
165 → 227
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02432968
15872552
220702504
348942504
449722504

prune278.0ms (6.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2252227
Fresh314
Picked101
Done011
Total2294233
Error
0b
Counts
233 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(+.f64 (+.f64 -1/3 a) (*.f64 (/.f64 rand (sqrt.f64 (*.f64 (+.f64 -1/3 a) 9))) (+.f64 -1/3 a)))
0.1b
(+.f64 (+.f64 -1/3 a) (*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (+.f64 -1/3 a))) (/.f64 rand (sqrt.f64 9))))
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 5628 to 4237 computations (24.7% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series65.0ms (1.4%)

Counts
4 → 41
Calls

4 calls:

23.0ms
(+.f64 (+.f64 -1/3 a) (*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (+.f64 -1/3 a))) (/.f64 rand (sqrt.f64 9))))
22.0ms
(*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (+.f64 -1/3 a))) (/.f64 rand (sqrt.f64 9)))
11.0ms
(sqrt.f64 (+.f64 -1/3 a))
9.0ms
(/.f64 (+.f64 -1/3 a) (sqrt.f64 (+.f64 -1/3 a)))

rewrite52.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
105×*-un-lft-identity_binary64
86×times-frac_binary64
86×add-sqr-sqrt_binary64
55×sqrt-prod_binary64
53×add-cube-cbrt_binary64
Counts
4 → 190
Calls

4 calls:

20.0ms
(*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (+.f64 -1/3 a))) (/.f64 rand (sqrt.f64 9)))
7.0ms
(/.f64 (+.f64 -1/3 a) (sqrt.f64 (+.f64 -1/3 a)))
5.0ms
(+.f64 (+.f64 -1/3 a) (*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (+.f64 -1/3 a))) (/.f64 rand (sqrt.f64 9))))
3.0ms
(sqrt.f64 (+.f64 -1/3 a))

simplify147.0ms (3.2%)

Algorithm
egg-herbie
Rules
637×fma-def_binary64
604×distribute-rgt-in_binary64
189×*-commutative_binary64
185×associate-*l/_binary64
173×associate-*r/_binary64
Counts
231 → 261
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02854954
17724098
224544070
349584070

prune321.0ms (7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2610261
Fresh022
Picked011
Done011
Total2614265
Error
0b
Counts
265 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(+.f64 (+.f64 -1/3 a) (*.f64 (/.f64 rand (sqrt.f64 (*.f64 (+.f64 -1/3 a) 9))) (+.f64 -1/3 a)))
0.1b
(+.f64 (+.f64 -1/3 a) (*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (+.f64 -1/3 a))) (/.f64 rand (sqrt.f64 9))))
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 6782 to 5278 computations (22.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series25.0ms (0.5%)

Counts
1 → 16
Calls

1 calls:

24.0ms
(*.f64 (/.f64 rand (sqrt.f64 (*.f64 (+.f64 -1/3 a) 9))) (+.f64 -1/3 a))

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
18×associate-*l*_binary64
15×add-sqr-sqrt_binary64
13×times-frac_binary64
12×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
Counts
1 → 46
Calls

1 calls:

12.0ms
(*.f64 (/.f64 rand (sqrt.f64 (*.f64 (+.f64 -1/3 a) 9))) (+.f64 -1/3 a))

simplify68.0ms (1.5%)

Algorithm
egg-herbie
Rules
885×fma-def_binary64
538×associate-*l*_binary64
370×associate-*l/_binary64
361×associate-/l*_binary64
308×distribute-rgt-in_binary64
Counts
62 → 89
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01371343
14521219
211981127
342361127
449871127

prune228.0ms (5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2330233
Fresh011
Picked011
Done022
Total2334237
Error
0b
Counts
237 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(+.f64 (+.f64 -1/3 a) (*.f64 (/.f64 rand (sqrt.f64 (*.f64 (+.f64 -1/3 a) 9))) (+.f64 -1/3 a)))
0.1b
(+.f64 (+.f64 -1/3 a) (*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (+.f64 -1/3 a))) (/.f64 rand (sqrt.f64 9))))
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 5717 to 4303 computations (24.7% saved)

regimes625.0ms (13.7%)

Accuracy

Total 0.1b remaining (83.7%)

Threshold costs 0.1b (83.7%)

Counts
125 → 1
Compiler

Compiled 11800 to 9722 computations (17.6% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01324
11624
21524

end84.0ms (1.8%)

Compiler

Compiled 109 to 87 computations (20.2% saved)

Profiling

Loading profile data...