Details

Time bar (total: 4.2s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample561.0ms (13.5%)

Symmetry

(sort a b)

Results
522.0ms8256×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify15.0ms (0.4%)

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
12.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
12.1b
(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
3.6b
(*.f64 (*.f64 (*.f64 a a) b) b)
8.2b
(*.f64 (*.f64 a a) b)

series21.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

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

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

simplify77.0ms (1.9%)

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

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
12.1b
(neg.f64 (*.f64 b (*.f64 (*.f64 a a) b)))
18.3b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
0.2b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
14.6b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
3.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
21.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
24.2b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) b) (sqrt.f64 b)) (sqrt.f64 b)))
15.2b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
Compiler

Compiled 910 to 330 computations (63.7% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series11.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

rewrite7.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 (1.9%)

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

prune35.0ms (0.8%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New30434
Fresh167
Picked011
Done000
Total311142
Error
0.0b
Counts
42 → 11
Alt Table
StatusErrorProgram
12.1b
(neg.f64 (*.f64 b (*.f64 (*.f64 a a) b)))
18.3b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
0.2b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
14.6b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.6b
(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))))
2.2b
(neg.f64 (exp.f64 (log.f64 (*.f64 (*.f64 a b) (*.f64 a b)))))
3.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
21.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
24.2b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) b) (sqrt.f64 b)) (sqrt.f64 b)))
10.9b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
3.1b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
Compiler

Compiled 688 to 302 computations (56.1% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.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.2b
(pow.f64 (*.f64 a b) 2)
0.3b
(*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
32.5b
(cbrt.f64 (pow.f64 (*.f64 a b) 2))

series1.1s (26.7%)

Counts
4 → 96
Calls

4 calls:

549.0ms
(*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
544.0ms
(cbrt.f64 (pow.f64 (*.f64 a b) 2))
14.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)))
8.0ms
(pow.f64 (*.f64 a b) 2)

rewrite31.0ms (0.7%)

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

simplify171.0ms (4.1%)

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

prune382.0ms (9.2%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New3014305
Fresh189
Picked101
Done011
Total30313316
Error
0.0b
Counts
316 → 13
Alt Table
StatusErrorProgram
12.1b
(neg.f64 (*.f64 b (*.f64 (*.f64 a a) b)))
18.3b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
0.2b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
14.6b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.7b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))))))
11.1b
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
3.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
21.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
24.2b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) b) (sqrt.f64 b)) (sqrt.f64 b)))
0.5b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))))
0.6b
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
10.9b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
3.1b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
Compiler

Compiled 8339 to 5015 computations (39.9% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 a b) 2)
0.3b
(*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
2.5b
(sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))
32.5b
(cbrt.f64 (pow.f64 (*.f64 a b) 2))

series365.0ms (8.7%)

Counts
1 → 24
Calls

1 calls:

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

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64
sqrt-prod_binary64
add-sqr-sqrt_binary64
rem-sqrt-square_binary64
*-un-lft-identity_binary64
Counts
1 → 25
Calls

1 calls:

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

simplify96.0ms (2.3%)

Algorithm
egg-herbie
Rules
734×fma-neg_binary64
674×unswap-sqr_binary64
303×fma-def_binary64
219×associate-*l*_binary64
184×associate-*r*_binary64
Counts
49 → 36
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
073656
1119648
2191586
3478474
41514474
54289474
64796474
74990474
85139474

prune656.0ms (15.7%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New3881389
Fresh01111
Picked011
Done011
Total38814402
Error
0.0b
Counts
402 → 14
Alt Table
StatusErrorProgram
12.1b
(neg.f64 (*.f64 b (*.f64 (*.f64 a a) b)))
18.3b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b))) b))
0.2b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
14.6b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
1.3b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))) (exp.f64 (log.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))))))
3.1b
(neg.f64 (*.f64 a (*.f64 b (*.f64 a b))))
0.7b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2))))))
11.1b
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))))
3.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
21.7b
(neg.f64 (*.f64 (*.f64 a (*.f64 a (pow.f64 b 3/2))) (sqrt.f64 b)))
24.2b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) b) (sqrt.f64 b)) (sqrt.f64 b)))
0.5b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 2))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))) (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)))))
0.6b
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
10.9b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
Compiler

Compiled 13907 to 8579 computations (38.3% saved)

regimes289.0ms (6.9%)

Accuracy

Total 0.2b remaining (89.5%)

Threshold costs 0.2b (89.5%)

Counts
59 → 1
Compiler

Compiled 7156 to 4538 computations (36.6% 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

end162.0ms (3.9%)

Remove

(sort a b)

Compiler

Compiled 266 to 175 computations (34.2% saved)

Profiling

Loading profile data...