Details

Time bar (total: 2.4s)

analyze100.0ms (4.2%)

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
25%74.9%0.1%5
25%62.4%12.6%6
37.5%43.7%18.8%7
50%31.2%18.8%8
56.2%20.3%23.5%9
61.7%14.8%23.5%10
64.4%9.8%25.9%11
66.9%7.2%25.9%12
68.2%4.8%27%13
69.4%3.6%27%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample855.0ms (35.4%)

Symmetry

(sort a b)

Results
801.0ms8256×body128valid
14.0ms138×body128invalid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify13.0ms (0.5%)

Algorithm
egg-herbie
Rules
284×fma-def_binary64
35×associate-*l*_binary64
24×distribute-rgt-in_binary64
24×sub-neg_binary64
19×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
12112
25512
39712
414412
518512
623012
726412
827312
926712
1023312

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
16.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
16.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
Compiler

Compiled 38 to 20 computations (47.4% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
4.1b
(*.f64 (*.f64 (*.f64 a a) b) b)
11.9b
(*.f64 (*.f64 a a) b)

series26.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

15.0ms
(*.f64 (*.f64 a a) b)
11.0ms
(*.f64 (*.f64 (*.f64 a a) b) b)

rewrite12.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
16×pow1_binary64
cbrt-unprod_binary64
prod-exp_binary64
Counts
2 → 44
Calls

2 calls:

5.0ms
(*.f64 (*.f64 (*.f64 a a) b) b)
4.0ms
(*.f64 (*.f64 a a) b)

simplify81.0ms (3.4%)

Algorithm
egg-herbie
Rules
599×fma-def_binary64
359×unswap-sqr_binary64
354×associate-/l/_binary64
272×sqr-pow_binary64
262×associate-/r/_binary64
Counts
92 → 56
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
061983
1142854
2480830
3782812
41506801
52460801
64674801
74916801

prune46.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New49756
Fresh000
Picked101
Done000
Total50757
Error
0.1b
Counts
57 → 7
Alt Table
StatusErrorProgram
26.6b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
4.3b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
17.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 a a) b)) (cbrt.f64 (*.f64 (*.f64 a a) b))) (cbrt.f64 (*.f64 (*.f64 a a) b))) b))
20.9b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
23.1b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
21.4b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
Compiler

Compiled 912 to 320 computations (64.9% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 a b) (*.f64 a b))

series13.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

13.0ms
(*.f64 (*.f64 a b) (*.f64 a b))

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
40×pow1_binary64
17×pow-prod-down_binary64
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
cbrt-unprod_binary64
Counts
1 → 36
Calls

1 calls:

5.0ms
(*.f64 (*.f64 a b) (*.f64 a b))

simplify75.0ms (3.1%)

Algorithm
egg-herbie
Rules
654×associate-*l*_binary64
551×fma-def_binary64
352×associate-*r*_binary64
341×associate-/l*_binary64
311×associate-/l/_binary64
Counts
60 → 34
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
041613
192508
2315474
31009474
41436372
52353372
64908372
74999372
84954372

prune25.0ms (1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New32234
Fresh246
Picked011
Done000
Total34741
Error
0.0b
Counts
41 → 7
Alt Table
StatusErrorProgram
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
17.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 a a) b)) (cbrt.f64 (*.f64 (*.f64 a a) b))) (cbrt.f64 (*.f64 (*.f64 a a) b))) b))
17.0b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
6.8b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
4.3b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
20.9b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
21.4b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
Compiler

Compiled 594 to 230 computations (61.3% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 a (*.f64 a b))
4.1b
(*.f64 (*.f64 a (*.f64 a b)) b)

series19.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

12.0ms
(*.f64 (*.f64 a (*.f64 a b)) b)
7.0ms
(*.f64 a (*.f64 a b))

rewrite10.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
16×pow1_binary64
cbrt-unprod_binary64
prod-exp_binary64
Counts
2 → 43
Calls

2 calls:

5.0ms
(*.f64 (*.f64 a (*.f64 a b)) b)
3.0ms
(*.f64 a (*.f64 a b))

simplify78.0ms (3.2%)

Algorithm
egg-herbie
Rules
613×associate-/l/_binary64
601×fma-def_binary64
310×unswap-sqr_binary64
264×sqr-pow_binary64
240×*-commutative_binary64
Counts
91 → 63
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
062982
1152841
2538805
3804795
41566689
52640689
64984689
75171689

prune42.0ms (1.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New61263
Fresh145
Picked011
Done011
Total62870
Error
0.0b
Counts
70 → 8
Alt Table
StatusErrorProgram
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
17.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 a a) b)) (cbrt.f64 (*.f64 (*.f64 a a) b))) (cbrt.f64 (*.f64 (*.f64 a a) b))) b))
4.9b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 a b))) b))
21.4b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
16.6b
(neg.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 a (*.f64 a b))) (sqrt.f64 (*.f64 a (*.f64 a b)))) b))
17.0b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
6.8b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
4.3b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 995 to 369 computations (62.9% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (cbrt.f64 a) (*.f64 a b))
0.5b
(*.f64 (cbrt.f64 a) (cbrt.f64 a))
0.6b
(cbrt.f64 a)
4.1b
(*.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 a b))) b)

series426.0ms (17.6%)

Counts
4 → 72
Calls

4 calls:

331.0ms
(*.f64 (cbrt.f64 a) (*.f64 a b))
35.0ms
(*.f64 (cbrt.f64 a) (cbrt.f64 a))
34.0ms
(cbrt.f64 a)
26.0ms
(*.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 a b))) b)

rewrite28.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
45×pow1_binary64
40×add-exp-log_binary64
27×pow-prod-down_binary64
26×cbrt-unprod_binary64
26×add-cbrt-cube_binary64
Counts
4 → 113
Calls

4 calls:

11.0ms
(*.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 a b))) b)
4.0ms
(*.f64 (cbrt.f64 a) (cbrt.f64 a))
4.0ms
(*.f64 (cbrt.f64 a) (*.f64 a b))
1.0ms
(cbrt.f64 a)

simplify93.0ms (3.8%)

Algorithm
egg-herbie
Rules
1006×fma-def_binary64
402×associate-*l*_binary64
342×unswap-sqr_binary64
330×log-prod_binary64
321×exp-prod_binary64
Counts
185 → 159
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01442058
13121705
212241567
321571492
438601478
548941478

prune125.0ms (5.2%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1952197
Fresh055
Picked011
Done022
Total19510205
Error
0.0b
Counts
205 → 10
Alt Table
StatusErrorProgram
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
17.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 a a) b)) (cbrt.f64 (*.f64 (*.f64 a a) b))) (cbrt.f64 (*.f64 (*.f64 a a) b))) b))
16.9b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 a a)) (*.f64 (cbrt.f64 a) (*.f64 a b))) b))
21.4b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
4.9b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 a b))) b))
16.6b
(neg.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 a (*.f64 a b))) (sqrt.f64 (*.f64 a (*.f64 a b)))) b))
17.0b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
6.8b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
4.3b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
5.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 a)) (cbrt.f64 (cbrt.f64 a))) (*.f64 (cbrt.f64 (cbrt.f64 a)) (cbrt.f64 a))) (*.f64 (cbrt.f64 a) (*.f64 a b))) b))
Compiler

Compiled 4017 to 1204 computations (70% saved)

regimes213.0ms (8.8%)

Accuracy

Total 0.3b remaining (82.2%)

Threshold costs 0.3b (82.2%)

Counts
52 → 1
Compiler

Compiled 4598 to 2575 computations (44% saved)

simplify2.0ms (0.1%)

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
079
1129
2149
3159
4159

end102.0ms (4.2%)

Remove

(sort a b)

Compiler

Compiled 184 to 103 computations (44% saved)

Profiling

Loading profile data...