Details

Time bar (total: 1.5s)

analyze86.0ms (5.7%)

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)

sample41.0ms (2.7%)

Algorithm
intervals
Symmetry

(sort a b)

Results
9.0ms256×body128valid
0.0msbody128invalid
Compiler

Compiled 23 to 15 computations (34.8% saved)

simplify16.0ms (1%)

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
15.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.1b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
Compiler

Compiled 38 to 20 computations (47.4% saved)

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
5.5b
(*.f64 (*.f64 (*.f64 a a) b) b)
8.9b
(*.f64 (*.f64 a a) b)

series21.0ms (1.4%)

Counts
2 → 48
Calls

2 calls:

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

rewrite15.0ms (1%)

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:

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

simplify81.0ms (5.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

prune48.0ms (3.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New50656
Fresh000
Picked011
Done000
Total50757
Error
0.1b
Counts
57 → 7
Alt Table
StatusErrorProgram
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
20.4b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
15.1b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
24.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
24.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) (sqrt.f64 b)) b))
5.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
20.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
Compiler

Compiled 882 to 310 computations (64.9% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series11.0ms (0.7%)

Counts
1 → 24
Calls

1 calls:

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

rewrite7.0ms (0.5%)

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))

simplify81.0ms (5.4%)

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

prune26.0ms (1.7%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New32234
Fresh055
Picked011
Done011
Total32941
Error
0.0b
Counts
41 → 9
Alt Table
StatusErrorProgram
5.3b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
24.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
20.4b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
15.1b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
24.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) (sqrt.f64 b)) b))
5.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
20.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
15.1b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
Compiler

Compiled 608 to 252 computations (58.6% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series29.0ms (1.9%)

Counts
2 → 48
Calls

2 calls:

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

rewrite11.0ms (0.7%)

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 a (*.f64 b (*.f64 a b)))
4.0ms
(*.f64 b (*.f64 a b))

simplify97.0ms (6.4%)

Algorithm
egg-herbie
Rules
609×fma-def_binary64
427×associate-/l/_binary64
369×associate-/l*_binary64
361×sqr-pow_binary64
358×associate-/r/_binary64
Counts
91 → 62
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
059993
1134828
2417804
3652792
41254683
52059683
64787683
74948683
84984683

prune43.0ms (2.9%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New61162
Fresh066
Picked011
Done022
Total611071
Error
0.0b
Counts
71 → 10
Alt Table
StatusErrorProgram
5.3b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
24.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
20.4b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
15.1b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
5.8b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 b (*.f64 a b)))))
15.1b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
24.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) (sqrt.f64 b)) b))
5.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
20.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
Compiler

Compiled 993 to 389 computations (60.8% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series21.0ms (1.4%)

Counts
2 → 48
Calls

2 calls:

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

rewrite11.0ms (0.7%)

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)
4.0ms
(*.f64 a (*.f64 a b))

simplify82.0ms (5.4%)

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

prune50.0ms (3.3%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New62163
Fresh066
Picked011
Done123
Total631073
Error
0.0b
Counts
73 → 10
Alt Table
StatusErrorProgram
5.3b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
24.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
20.4b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
6.3b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 a b))) b))
5.8b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 b (*.f64 a b)))))
15.1b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
24.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) (sqrt.f64 b)) b))
5.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
20.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
Compiler

Compiled 920 to 339 computations (63.2% saved)

regimes126.0ms (8.3%)

Accuracy

Total 0.3b remaining (84.4%)

Threshold costs 0.3b (84.4%)

Counts
29 → 1
Compiler

Compiled 2286 to 1296 computations (43.3% 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

end6.0ms (0.4%)

Remove

(sort a b)

Compiler

Compiled 24 to 18 computations (25% saved)

sample584.0ms (38.4%)

Algorithm
intervals
Results
275.0ms8000×body128valid
5.0ms139×body128invalid
Compiler

Compiled 146 to 88 computations (39.7% saved)

Profiling

Loading profile data...