Details

Time bar (total: 3.9s)

analyze96.0ms (2.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)

sample807.0ms (20.4%)

Symmetry

(sort a b)

Results
751.0ms8256×body128valid
14.0ms118×body128invalid
Compiler

Compiled 32 to 20 computations (37.5% saved)

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

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 38 to 20 computations (47.4% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
4.6b
(*.f64 (*.f64 (*.f64 a a) b) b)
11.0b
(*.f64 (*.f64 a a) b)

series50.0ms (1.3%)

Counts
2 → 48
Calls

2 calls:

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

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

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

simplify82.0ms (2.1%)

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.2%)

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
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
16.6b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 a a) b) b)) (cbrt.f64 (*.f64 (*.f64 (*.f64 a a) b) b))) (cbrt.f64 (*.f64 (*.f64 (*.f64 a a) b) b))))
24.6b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
22.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
22.0b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
26.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
16.6b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) b) (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (cbrt.f64 b)))
4.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 954 to 338 computations (64.6% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series10.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

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

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

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

prune29.0ms (0.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New31334
Fresh257
Picked011
Done000
Total33942
Error
0.0b
Counts
42 → 9
Alt Table
StatusErrorProgram
17.5b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
22.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
24.6b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
5.0b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a 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))))
22.0b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
16.6b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) b) (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (cbrt.f64 b)))
4.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 642 to 274 computations (57.3% saved)

localize8.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)))
22.5b
(cbrt.f64 (pow.f64 (*.f64 a b) 2))

series1.1s (27.6%)

Counts
4 → 96
Calls

4 calls:

544.0ms
(cbrt.f64 (pow.f64 (*.f64 a b) 2))
528.0ms
(*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
11.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)))
7.0ms
(pow.f64 (*.f64 a b) 2)

rewrite33.0ms (0.8%)

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:

10.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)))
9.0ms
(*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
2.0ms
(pow.f64 (*.f64 a b) 2)
1.0ms
(cbrt.f64 (pow.f64 (*.f64 a b) 2))

simplify175.0ms (4.4%)

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 → 183
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01843987
13213345
27762804
316502467
438742437
548322433
643912433
752172433

prune320.0ms (8.1%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New2814285
Fresh167
Picked011
Done011
Total28212294
Error
0.0b
Counts
294 → 12
Alt Table
StatusErrorProgram
17.5b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
22.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
16.4b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (*.f64 a b))) (cbrt.f64 (*.f64 a b))))
5.0b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
0.8b
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
22.0b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
16.5b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (*.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))))))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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))))
16.3b
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
16.6b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) b) (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (cbrt.f64 b)))
4.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 7886 to 4750 computations (39.8% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (*.f64 a b) 2)
0.4b
(pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)
22.5b
(cbrt.f64 (pow.f64 (*.f64 a b) 2))

series561.0ms (14.2%)

Counts
1 → 24
Calls

1 calls:

560.0ms
(pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
11×unpow-prod-down_binary64
cube-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
1 → 38
Calls

1 calls:

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

simplify61.0ms (1.5%)

Algorithm
egg-herbie
Rules
618×fma-def_binary64
542×exp-prod_binary64
538×associate-*l*_binary64
439×associate-*r*_binary64
409×log-prod_binary64
Counts
62 → 48
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01021004
1246893
2586769
32801618
45144618

prune100.0ms (2.5%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New99099
Fresh099
Picked011
Done022
Total9912111
Error
0.0b
Counts
111 → 12
Alt Table
StatusErrorProgram
17.5b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
22.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
16.4b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (*.f64 a b))) (cbrt.f64 (*.f64 a b))))
5.0b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
0.8b
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
22.0b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
16.5b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (*.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))))))
0.3b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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))))
16.3b
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
16.6b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) b) (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (cbrt.f64 b)))
4.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 1607 to 1112 computations (30.8% saved)

regimes211.0ms (5.3%)

Accuracy

Total 0.3b remaining (87.4%)

Threshold costs 0.3b (87.4%)

Counts
47 → 1
Compiler

Compiled 4410 to 2527 computations (42.7% 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

end132.0ms (3.4%)

Remove

(sort a b)

Compiler

Compiled 214 to 137 computations (36% saved)

Profiling

Loading profile data...