Details

Time bar (total: 6.0s)

analyze221.0ms (3.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%68.7%6.3%5
25%65.6%9.5%6
37.5%39%23.5%7
37.5%36.7%25.9%8
43.7%20.7%35.6%9
43.7%19.3%37%10
46.8%10.6%42.5%11
46.8%9.9%43.3%12
48.4%5.4%46.2%13
48.4%5%46.6%14
Compiler

Compiled 19 to 17 computations (10.5% saved)

sample1.4s (23.2%)

Results
1.3s8256×body128valid
80.0ms574×body128invalid
Compiler

Compiled 56 to 50 computations (10.7% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
16×fma-def_binary64
sub-neg_binary64
*-commutative_binary64
+-commutative_binary64
div-sub_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01526
12623
24021
34921
45621
56321
67421
77321
86221

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
1.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
Compiler

Compiled 61 to 49 computations (19.7% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
1.0b
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
1.0b
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))

series33.0ms (0.5%)

Counts
3 → 72
Calls

3 calls:

19.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
7.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
6.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
3 → 51
Calls

3 calls:

2.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
1.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
0.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))

simplify127.0ms (2.1%)

Algorithm
egg-herbie
Rules
516×distribute-rgt-in_binary64
515×fma-neg_binary64
508×associate-/l/_binary64
495×distribute-lft-in_binary64
420×distribute-rgt-out_binary64
Counts
123 → 97
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01052186
11502070
22462070
34112070
48742070
521992070
646842070
751092070

prune127.0ms (2.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New92597
Fresh000
Picked101
Done000
Total93598
Error
1.0b
Counts
98 → 5
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.6b
(*.f64 2 (cbrt.f64 (*.f64 (*.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))) (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 2235 to 1283 computations (42.6% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
1.0b
(*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
1.0b
(cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
1.0b
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))

series1.5s (24.3%)

Counts
4 → 96
Calls

4 calls:

810.0ms
(*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
573.0ms
(cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
46.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))
33.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))

rewrite45.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
92×cbrt-prod_binary64
79×add-sqr-sqrt_binary64
61×times-frac_binary64
51×*-un-lft-identity_binary64
51×add-cube-cbrt_binary64
Counts
4 → 170
Calls

4 calls:

13.0ms
(*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
11.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
2.0ms
(cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
1.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))

simplify212.0ms (3.5%)

Algorithm
egg-herbie
Rules
726×associate-/r/_binary64
672×unswap-sqr_binary64
581×associate-/r*_binary64
217×*-commutative_binary64
206×log-prod_binary64
Counts
266 → 277
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02017001
13136438
29085987
318165857
444935741
549295741

prune532.0ms (8.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New3670367
Fresh044
Picked011
Done000
Total3675372
Error
1.0b
Counts
372 → 5
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.6b
(*.f64 2 (cbrt.f64 (*.f64 (*.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))) (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 14911 to 7812 computations (47.6% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))
0.0b
(fma.f64 (PI.f64) 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))))
1.0b
(/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h))))
1.0b
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h))))))

series55.0ms (0.9%)

Counts
4 → 96
Calls

4 calls:

22.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h))))))
20.0ms
(/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))
7.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))))
6.0ms
(/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h))))

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64
54×*-un-lft-identity_binary64
54×add-sqr-sqrt_binary64
54×add-cube-cbrt_binary64
17×add-exp-log_binary64
Counts
4 → 127
Calls

4 calls:

4.0ms
(/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h))))
2.0ms
(/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))
1.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h))))))
0.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))))

simplify215.0ms (3.6%)

Algorithm
egg-herbie
Rules
833×fma-def_binary64
415×times-frac_binary64
410×distribute-lft-out_binary64
402×distribute-rgt-out_binary64
350×fma-neg_binary64
Counts
223 → 207
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01424210
12123935
24503916
39313916
415863916
530473916
634753916
747393916
848763916

prune242.0ms (4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2070207
Fresh033
Picked011
Done011
Total2075212
Error
1.0b
Counts
212 → 5
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.6b
(*.f64 2 (cbrt.f64 (*.f64 (*.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))) (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 5167 to 3037 computations (41.2% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))
0.0b
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
1.0b
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
1.0b
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))

series20.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

20.0ms
(log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))

rewrite3.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log-pow_binary64
log-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
exp-prod_binary64
Counts
1 → 18
Calls

1 calls:

2.0ms
(log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))

simplify137.0ms (2.3%)

Algorithm
egg-herbie
Rules
813×log-prod_binary64
451×exp-to-pow_binary64
376×times-frac_binary64
372×unswap-sqr_binary64
368×log-pow_binary64
Counts
42 → 34
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
061936
176878
2110878
3149878
4243878
5504878
61156878
72811878
84708878
94941878
104995878
114970878
124980878

prune95.0ms (1.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1292131
Fresh022
Picked011
Done112
Total1306136
Error
0.0b
Counts
136 → 6
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
0.1b
(*.f64 2 (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))) (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))))
1.0b
(*.f64 2 (-.f64 (log.f64 (exp.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))) (log.f64 (exp.f64 (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.6b
(*.f64 2 (cbrt.f64 (*.f64 (*.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))) (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 3196 to 1928 computations (39.7% saved)

regimes816.0ms (13.6%)

Accuracy

Total 0.1b remaining (85.7%)

Threshold costs 0.1b (85.7%)

Counts
75 → 1
Compiler

Compiled 21468 to 16862 computations (21.5% saved)

simplify3.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
01956
12856
23256
33556
43656
53656

end190.0ms (3.2%)

Compiler

Compiled 260 to 192 computations (26.2% saved)

Profiling

Loading profile data...