Details

Time bar (total: 7.7s)

analyze425.0ms (5.5%)

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.5s (18.9%)

Results
1.3s8256×body128valid
78.0ms534×body128invalid
Compiler

Compiled 56 to 50 computations (10.7% saved)

simplify62.0ms (0.8%)

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

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)

localize10.0ms (0.1%)

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

series35.0ms (0.5%)

Counts
3 → 72
Calls

3 calls:

21.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
8.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)

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

6.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
2.0ms
(/.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))

simplify125.0ms (1.6%)

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

prune100.0ms (1.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New94397
Fresh000
Picked101
Done000
Total95398
Error
1.0b
Counts
98 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))) (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))) (cbrt.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))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (log.f64 (cbrt.f64 (exp.f64 (acos.f64 (neg.f64 (/.f64 g h)))))))))
Compiler

Compiled 2135 to 1211 computations (43.3% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series2.8s (35.9%)

Counts
4 → 80
Calls

4 calls:

1.2s
(cos.f64 (fma.f64 (PI.f64) 2/3 (log.f64 (cbrt.f64 (exp.f64 (acos.f64 (neg.f64 (/.f64 g h))))))))
1.1s
(fma.f64 (PI.f64) 2/3 (log.f64 (cbrt.f64 (exp.f64 (acos.f64 (neg.f64 (/.f64 g h)))))))
504.0ms
(cbrt.f64 (exp.f64 (acos.f64 (neg.f64 (/.f64 g h)))))
7.0ms
(exp.f64 (acos.f64 (neg.f64 (/.f64 g h))))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
exp-diff_binary64
Counts
4 → 50
Calls

4 calls:

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

simplify186.0ms (2.4%)

Algorithm
egg-herbie
Rules
591×unswap-sqr_binary64
398×fma-def_binary64
322×distribute-rgt-in_binary64
312×distribute-lft-in_binary64
311×log-prod_binary64
Counts
130 → 84
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0892256
11102155
21752129
33272050
48212047
526302017
641292013
748002013
849482013
949892013
1048352013

prune90.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh022
Picked011
Done000
Total84387
Error
1.0b
Counts
87 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))) (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))) (cbrt.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))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (log.f64 (cbrt.f64 (exp.f64 (acos.f64 (neg.f64 (/.f64 g h)))))))))
Compiler

Compiled 1830 to 912 computations (50.2% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
1.0b
(expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.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)))
1.0b
(log1p.f64 (expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))

series51.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

29.0ms
(expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
22.0ms
(log1p.f64 (expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

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

simplify236.0ms (3.1%)

Algorithm
egg-herbie
Rules
1392×sqr-pow_binary64
724×unswap-sqr_binary64
592×cube-prod_binary64
500×fabs-mul_binary64
470×pow-sqr_binary64
Counts
70 → 42
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0451455
1591377
2741377
3871377
41001377
51221377
61701377
72701377
86141377
912101377
1013491377
1116121377
1219171377
1322111377
1426131377
1529671377
1631501377
1734071377
1835461377
1936251377
2037051377
2144631377
2248551377

prune146.0ms (1.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1181119
Fresh011
Picked011
Done011
Total1184122
Error
1.0b
Counts
122 → 4
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))) (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))) (cbrt.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))))))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (log.f64 (cbrt.f64 (exp.f64 (acos.f64 (neg.f64 (/.f64 g h)))))))))
Compiler

Compiled 2858 to 1732 computations (39.4% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series1.1s (13.8%)

Counts
4 → 72
Calls

4 calls:

1.0s
(*.f64 (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))))
27.0ms
(cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))
25.0ms
(log1p.f64 (expm1.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))))))
0.0ms
(*.f64 2/3 (PI.f64))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
16×cbrt-prod_binary64
14×*-un-lft-identity_binary64
14×add-cube-cbrt_binary64
13×pow1_binary64
Counts
4 → 83
Calls

4 calls:

5.0ms
(*.f64 (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))))
3.0ms
(*.f64 2/3 (PI.f64))
1.0ms
(cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))
0.0ms
(log1p.f64 (expm1.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))))))

simplify154.0ms (2%)

Algorithm
egg-herbie
Rules
669×fma-def_binary64
516×log-prod_binary64
392×*-commutative_binary64
348×sqr-pow_binary64
333×associate-/l/_binary64
Counts
155 → 112
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01193543
11673487
23403145
37663097
414012962
523742962
640832962
748542962

prune228.0ms (3%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1731174
Fresh011
Picked011
Done022
Total1735178
Error
0.0b
Counts
178 → 5
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))) (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))) (cbrt.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))))))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))))))
0.1b
(*.f64 2 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h)))))) 2)) (cbrt.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h)))))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (log.f64 (cbrt.f64 (exp.f64 (acos.f64 (neg.f64 (/.f64 g h)))))))))
Compiler

Compiled 8365 to 4961 computations (40.7% saved)

regimes334.0ms (4.4%)

Accuracy

Total 0.0b remaining (72.7%)

Threshold costs 0.0b (72.7%)

Counts
31 → 1
Compiler

Compiled 9061 to 6394 computations (29.4% saved)

simplify3.0ms (0%)

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
01848
12748
23148
33448
43548
53548

end132.0ms (1.7%)

Compiler

Compiled 212 to 156 computations (26.4% saved)

Profiling

Loading profile data...