Details

Time bar (total: 8.4s)

analyze255.0ms (3.1%)

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)

sample45.0ms (0.5%)

Algorithm
intervals
Results
19.0ms256×body128valid
0.0msbody128invalid
Compiler

Compiled 23 to 15 computations (34.8% saved)

simplify28.0ms (0.3%)

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

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 38 to 20 computations (47.4% saved)

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
5.9b
(*.f64 (*.f64 (*.f64 a a) b) b)
8.0b
(*.f64 (*.f64 a a) b)

series41.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

22.0ms
(*.f64 (*.f64 (*.f64 a a) b) b)
19.0ms
(*.f64 (*.f64 a a) b)

rewrite25.0ms (0.3%)

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:

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

simplify125.0ms (1.5%)

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

prune105.0ms (1.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New48856
Fresh000
Picked101
Done000
Total49857
Error
0.1b
Counts
57 → 8
Alt Table
StatusErrorProgram
25.4b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
18.7b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
22.3b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
24.2b
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) (sqrt.f64 b)) b))
6.2b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
22.3b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
14.9b
(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))
Compiler

Compiled 940 to 336 computations (64.3% saved)

localize9.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series26.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

rewrite13.0ms (0.2%)

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:

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

simplify110.0ms (1.3%)

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

prune53.0ms (0.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New31334
Fresh167
Picked011
Done000
Total321042
Error
0.0b
Counts
42 → 10
Alt Table
StatusErrorProgram
12.9b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
24.2b
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) (sqrt.f64 b)) b))
0.8b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
6.2b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
25.4b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
18.7b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
4.6b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
22.3b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
14.9b
(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))
Compiler

Compiled 694 to 294 computations (57.6% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
0.3b
(pow.f64 (*.f64 a b) 2)
0.4b
(*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
23.8b
(cbrt.f64 (pow.f64 (*.f64 a b) 2))

series1.8s (21.8%)

Counts
4 → 96
Calls

4 calls:

906.0ms
(cbrt.f64 (pow.f64 (*.f64 a b) 2))
879.0ms
(*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
21.0ms
(*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
12.0ms
(pow.f64 (*.f64 a b) 2)

rewrite51.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
63×cbrt-prod_binary64
34×add-sqr-sqrt_binary64
33×pow1_binary64
20×unswap-sqr_binary64
18×associate-*r*_binary64
Counts
4 → 142
Calls

4 calls:

16.0ms
(*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
12.0ms
(*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
4.0ms
(pow.f64 (*.f64 a b) 2)
2.0ms
(cbrt.f64 (pow.f64 (*.f64 a b) 2))

simplify241.0ms (2.9%)

Algorithm
egg-herbie
Rules
865×fma-def_binary64
708×unswap-sqr_binary64
612×exp-prod_binary64
576×fma-neg_binary64
540×log-prod_binary64
Counts
238 → 193
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01843987
13213345
27762770
316502453
438742219
548322215
643912210
752172210

prune648.0ms (7.7%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New3023305
Fresh088
Picked011
Done011
Total30213315
Error
0.0b
Counts
315 → 13
Alt Table
StatusErrorProgram
12.9b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
24.2b
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) (sqrt.f64 b)) b))
0.8b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))))))
6.2b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
0.8b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
34.6b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))) (cbrt.f64 (pow.f64 (*.f64 a b) 2/3)))) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
22.3b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
25.4b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
18.7b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
18.9b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 a 2)) (*.f64 (cbrt.f64 (pow.f64 b 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
4.6b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
14.9b
(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))
Compiler

Compiled 8372 to 5022 computations (40% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
0.5b
(*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
2.1b
(sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
23.8b
(cbrt.f64 (pow.f64 (*.f64 a b) 2))

series1.4s (17%)

Counts
2 → 48
Calls

2 calls:

891.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
533.0ms
(sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))

rewrite48.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
93×cbrt-prod_binary64
87×sqrt-prod_binary64
72×add-sqr-sqrt_binary64
44×rem-sqrt-square_binary64
26×sqr-pow_binary64
Counts
2 → 138
Calls

2 calls:

17.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
3.0ms
(sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))

simplify257.0ms (3.1%)

Algorithm
egg-herbie
Rules
690×fma-neg_binary64
389×unswap-sqr_binary64
337×exp-prod_binary64
289×fma-def_binary64
275×associate-*l*_binary64
Counts
186 → 166
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01713453
12623242
25852802
315492500
442052476
549072476
649682476

prune1.3s (15.1%)

Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New4270427
Fresh01010
Picked011
Done022
Total42713440
Error
0.0b
Counts
440 → 13
Alt Table
StatusErrorProgram
12.9b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
24.2b
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) (sqrt.f64 b)) b))
0.8b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))))))
6.2b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
0.8b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
34.6b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))) (cbrt.f64 (pow.f64 (*.f64 a b) 2/3)))) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
22.3b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
25.4b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
18.7b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
18.9b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 a 2)) (*.f64 (cbrt.f64 (pow.f64 b 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
4.6b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
14.9b
(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))
Compiler

Compiled 15415 to 9540 computations (38.1% saved)

regimes527.0ms (6.3%)

Accuracy

Total 0.3b remaining (86.3%)

Threshold costs 0.3b (86.3%)

Counts
61 → 1
Compiler

Compiled 6404 to 4099 computations (36% saved)

simplify5.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
0612
11412
22412
33112
43612
53812
63812

end12.0ms (0.1%)

Remove

(sort a b)

Compiler

Compiled 30 to 15 computations (50% saved)

sample1.2s (14.1%)

Algorithm
intervals
Results
509.0ms8000×body128valid
8.0ms131×body128invalid
Compiler

Compiled 251 to 153 computations (39% saved)

Profiling

Loading profile data...