Details

Time bar (total: 4.6s)

analyze922.0ms (20.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
6.2%93.6%0.2%9
28.1%68.6%3.3%10
29.6%65.5%4.9%11
32%61.7%6.3%12
35.5%56.9%7.6%13
48%38.7%13.4%14
Compiler

Compiled 20 to 12 computations (40% saved)

sample1.7s (37.1%)

Symmetry

(sort d2 d4)

Results
1.1s8256×body128valid
368.0ms2396×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify95.0ms (2.1%)

Algorithm
egg-herbie
Rules
1400×fma-neg_binary64
654×fma-def_binary64
233×sub-neg_binary64
210×unsub-neg_binary64
158×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01219
13214
29413
326313
465513
5155613
6169113
7150013
8150013
9273913
10270713
11270713
12263213

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
0.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
Compiler

Compiled 92 to 53 computations (42.4% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (*.f64 d1 d2) (*.f64 d1 d3))
0.0b
(+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1))

series41.0ms (0.9%)

Counts
3 → 132
Calls

3 calls:

20.0ms
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
15.0ms
(+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1))
7.0ms
(-.f64 (*.f64 d1 d2) (*.f64 d1 d3))

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
19×add-log-exp_binary64
add-sqr-sqrt_binary64
diff-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 64
Calls

3 calls:

6.0ms
(+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1))
6.0ms
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
2.0ms
(-.f64 (*.f64 d1 d2) (*.f64 d1 d3))

simplify90.0ms (2%)

Algorithm
egg-herbie
Rules
713×associate-*l*_binary64
685×fma-def_binary64
488×fma-neg_binary64
459×distribute-rgt-in_binary64
440×distribute-lft-in_binary64
Counts
196 → 127
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01282558
13612139
212302096
349662096
452292096

prune71.0ms (1.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1261127
Fresh101
Picked011
Done000
Total1272129
Error
0.0b
Counts
129 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(*.f64 d1 (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))
Compiler

Compiled 2561 to 477 computations (81.4% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 d1 (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))

series13.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

13.0ms
(*.f64 d1 (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))

rewrite16.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64
associate-*r*_binary64
associate-*r/_binary64
add-sqr-sqrt_binary64
distribute-lft-out--_binary64
Counts
1 → 32
Calls

1 calls:

14.0ms
(*.f64 d1 (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))

simplify78.0ms (1.7%)

Algorithm
egg-herbie
Rules
849×fma-neg_binary64
645×fma-def_binary64
305×*-commutative_binary64
224×associate-+r+_binary64
224×associate-+l+_binary64
Counts
80 → 61
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01071431
13481225
213581097
329091091
446321091
551571091

prune33.0ms (0.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New60161
Fresh000
Picked011
Done011
Total60363
Error
0.0b
Counts
63 → 3
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
1.3b
(*.f64 (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (+.f64 (-.f64 d2 d3) (-.f64 d4 d1))))
0.0b
(*.f64 d1 (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))
Compiler

Compiled 1189 to 292 computations (75.4% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (cbrt.f64 d1) (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))
0.3b
(*.f64 (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (+.f64 (-.f64 d2 d3) (-.f64 d4 d1))))
0.5b
(*.f64 (cbrt.f64 d1) (cbrt.f64 d1))
0.6b
(cbrt.f64 d1)

series306.0ms (6.7%)

Counts
4 → 120
Calls

4 calls:

184.0ms
(*.f64 (cbrt.f64 d1) (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))
63.0ms
(*.f64 (cbrt.f64 d1) (cbrt.f64 d1))
34.0ms
(cbrt.f64 d1)
24.0ms
(*.f64 (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (+.f64 (-.f64 d2 d3) (-.f64 d4 d1))))

rewrite42.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity_binary64
28×add-sqr-sqrt_binary64
25×pow1_binary64
23×cbrt-prod_binary64
20×add-exp-log_binary64
Counts
4 → 125
Calls

4 calls:

15.0ms
(*.f64 (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (+.f64 (-.f64 d2 d3) (-.f64 d4 d1))))
14.0ms
(*.f64 (cbrt.f64 d1) (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))
4.0ms
(*.f64 (cbrt.f64 d1) (cbrt.f64 d1))
1.0ms
(cbrt.f64 d1)

simplify150.0ms (3.3%)

Algorithm
egg-herbie
Rules
646×fma-neg_binary64
452×associate-*l*_binary64
377×associate-*r*_binary64
376×unswap-sqr_binary64
282×cancel-sign-sub-inv_binary64
Counts
245 → 200
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02184167
16253493
227753305
337093218
448703218
549823218

prune85.0ms (1.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2351236
Fresh000
Picked101
Done022
Total2363239
Error
0b
Counts
239 → 3
Alt Table
StatusErrorProgram
1.3b
(+.f64 (*.f64 (*.f64 (-.f64 d2 d3) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1))) (*.f64 (*.f64 (-.f64 d4 d1) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1))))
0.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(*.f64 d1 (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))
Compiler

Compiled 5408 to 1104 computations (79.6% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 (-.f64 d4 d1) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)))
0.3b
(*.f64 (*.f64 (-.f64 d2 d3) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)))
0.5b
(*.f64 (cbrt.f64 d1) (cbrt.f64 d1))
0.6b
(cbrt.f64 d1)

series45.0ms (1%)

Counts
2 → 60
Calls

2 calls:

25.0ms
(*.f64 (*.f64 (-.f64 d4 d1) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)))
20.0ms
(*.f64 (*.f64 (-.f64 d2 d3) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)))

rewrite23.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
26×add-exp-log_binary64
26×pow1_binary64
16×cbrt-unprod_binary64
16×prod-exp_binary64
16×pow-prod-down_binary64
Counts
2 → 52
Calls

2 calls:

10.0ms
(*.f64 (*.f64 (-.f64 d4 d1) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)))
9.0ms
(*.f64 (*.f64 (-.f64 d2 d3) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1)))

simplify71.0ms (1.5%)

Algorithm
egg-herbie
Rules
812×fma-def_binary64
416×*-commutative_binary64
341×distribute-rgt-in_binary64
340×distribute-lft-in_binary64
280×unswap-sqr_binary64
Counts
112 → 80
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01031190
1268872
2961872
32590868
44911868
54965868

prune125.0ms (2.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3060306
Fresh000
Picked011
Done022
Total3063309
Error
0b
Counts
309 → 3
Alt Table
StatusErrorProgram
1.3b
(+.f64 (*.f64 (*.f64 (-.f64 d2 d3) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1))) (*.f64 (*.f64 (-.f64 d4 d1) (cbrt.f64 d1)) (*.f64 (cbrt.f64 d1) (cbrt.f64 d1))))
0.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(*.f64 d1 (+.f64 (-.f64 d2 d3) (-.f64 d4 d1)))
Compiler

Compiled 8947 to 1372 computations (84.7% saved)

regimes427.0ms (9.3%)

Accuracy

Total 0.0b remaining (69.5%)

Threshold costs 0.0b (69.5%)

Counts
80 → 1
Compiler

Compiled 6848 to 4044 computations (40.9% 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
01017
11817
22817
33417
43717
53717

end194.0ms (4.2%)

Compiler

Compiled 125 to 68 computations (45.6% saved)

Profiling

Loading profile data...