Details

Time bar (total: 2.4s)

analyze99.0ms (4%)

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)

sample804.0ms (32.9%)

Symmetry

(sort a b)

Results
750.0ms8256×body128valid
11.0ms128×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
17.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
17.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
8.4b
(*.f64 (*.f64 (*.f64 a a) b) b)
8.7b
(*.f64 (*.f64 a a) b)

series21.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

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

rewrite13.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:

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

simplify83.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

prune47.0ms (1.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New51556
Fresh000
Picked011
Done000
Total51657
Error
0.1b
Counts
57 → 6
Alt Table
StatusErrorProgram
24.2b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
17.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
25.1b
(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)))
8.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
22.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
Compiler

Compiled 854 to 294 computations (65.6% 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))

rewrite8.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:

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

simplify78.0ms (3.2%)

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

prune47.0ms (1.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New32234
Fresh134
Picked011
Done011
Total33740
Error
0.0b
Counts
40 → 7
Alt Table
StatusErrorProgram
17.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
25.1b
(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)))
8.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
22.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
16.4b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
5.0b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
Compiler

Compiled 560 to 220 computations (60.7% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 b (*.f64 a b))
4.9b
(*.f64 a (*.f64 b (*.f64 a b)))

series21.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

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

rewrite13.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 → 43
Calls

2 calls:

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

simplify91.0ms (3.7%)

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

prune42.0ms (1.7%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New59362
Fresh044
Picked011
Done022
Total591069
Error
0.0b
Counts
69 → 10
Alt Table
StatusErrorProgram
19.7b
(neg.f64 (*.f64 a (*.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) (*.f64 a b)))))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
17.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
25.1b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
5.6b
(neg.f64 (*.f64 a (*.f64 (*.f64 (cbrt.f64 b) (cbrt.f64 b)) (*.f64 (cbrt.f64 b) (*.f64 a b)))))
5.6b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 b (*.f64 a b)))))
8.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
22.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
16.4b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
5.0b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
Compiler

Compiled 1007 to 391 computations (61.2% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series479.0ms (19.6%)

Counts
4 → 72
Calls

4 calls:

379.0ms
(*.f64 (cbrt.f64 b) (*.f64 a b))
37.0ms
(*.f64 (cbrt.f64 b) (cbrt.f64 b))
36.0ms
(cbrt.f64 b)
27.0ms
(*.f64 a (*.f64 (*.f64 (cbrt.f64 b) (cbrt.f64 b)) (*.f64 (cbrt.f64 b) (*.f64 a b))))

rewrite31.0ms (1.3%)

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:

14.0ms
(*.f64 a (*.f64 (*.f64 (cbrt.f64 b) (cbrt.f64 b)) (*.f64 (cbrt.f64 b) (*.f64 a b))))
5.0ms
(*.f64 (cbrt.f64 b) (cbrt.f64 b))
5.0ms
(*.f64 (cbrt.f64 b) (*.f64 a b))
1.0ms
(cbrt.f64 b)

simplify103.0ms (4.2%)

Algorithm
egg-herbie
Rules
1019×fma-def_binary64
590×*-commutative_binary64
348×associate-*r*_binary64
348×swap-sqr_binary64
318×associate-*l*_binary64
Counts
185 → 157
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01422055
13001690
212061564
323241489
443661489
549831489

prune139.0ms (5.7%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1912193
Fresh156
Picked101
Done033
Total19310203
Error
0.0b
Counts
203 → 10
Alt Table
StatusErrorProgram
19.7b
(neg.f64 (*.f64 a (*.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) (*.f64 a b)))))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
16.4b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
0.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (*.f64 (cbrt.f64 b) (*.f64 a b))))
5.0b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
5.7b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 (*.f64 (cbrt.f64 b) (cbrt.f64 b)) (*.f64 (cbrt.f64 b) (*.f64 a b))))))
17.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
25.1b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
5.6b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (*.f64 (cbrt.f64 a) (*.f64 b (*.f64 a b)))))
8.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 3924 to 1169 computations (70.2% saved)

regimes174.0ms (7.1%)

Accuracy

Total 0.3b remaining (87.5%)

Threshold costs 0.3b (87.5%)

Counts
28 → 1
Compiler

Compiled 2477 to 1292 computations (47.8% 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

end99.0ms (4%)

Remove

(sort a b)

Compiler

Compiled 167 to 100 computations (40.1% saved)

Profiling

Loading profile data...