Details

Time bar (total: 5.2s)

analyze249.0ms (4.8%)

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)

sample40.0ms (0.8%)

Algorithm
intervals
Results
26.0ms256×body128valid
2.0ms20×body128nan
Compiler

Compiled 39 to 35 computations (10.3% saved)

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

localize10.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))
0.9b
(/.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)))

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

series102.0ms (2%)

Counts
3 → 72
Calls

3 calls:

60.0ms
(cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
27.0ms
(fma.f64 PI.f64 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
15.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)

simplify161.0ms (3.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 → 239
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01052186
11502070
22462070
34112070
48742070
521992070
646842070
751092070

prune134.0ms (2.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2345239
Fresh000
Picked101
Done000
Total2355240
Error
0.9b
Counts
240 → 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 (*.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 (-.f64 (*.f64 (cos.f64 (*.f64 PI.f64 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (*.f64 (sin.f64 (*.f64 PI.f64 2/3)) (sin.f64 (/.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.5b
(*.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))))))
Compiler

Compiled 2251 to 1293 computations (42.6% saved)

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

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

series147.0ms (2.8%)

Counts
4 → 96
Calls

4 calls:

60.0ms
(cos.f64 (fma.f64 PI.f64 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h))))))
46.0ms
(/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))
26.0ms
(fma.f64 PI.f64 2/3 (/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))))
14.0ms
(/.f64 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h))))

simplify265.0ms (5.1%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01424210
12123935
24503916
39313916
415863916
530473916
634753916
747393916
848763916

prune276.0ms (5.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New4370437
Fresh044
Picked011
Done000
Total4375442
Error
0.9b
Counts
442 → 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 (*.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 (-.f64 (*.f64 (cos.f64 (*.f64 PI.f64 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (*.f64 (sin.f64 (*.f64 PI.f64 2/3)) (sin.f64 (/.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.5b
(*.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))))))
Compiler

Compiled 5187 to 3051 computations (41.2% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.9b
(/.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)))))

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

series1.3s (25.2%)

Counts
2 → 48
Calls

2 calls:

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

simplify280.0ms (5.4%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
0461455
1601377
2751377
3881377
41011377
51231377
61711377
72711377
86151377
912111377
1013501377
1116131377
1219181377
1322121377
1426141377
1529681377
1631511377
1734081377
1835471377
1936261377
2037061377
2144641377
2248561377

prune141.0ms (2.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3070307
Fresh033
Picked011
Done011
Total3075312
Error
0.9b
Counts
312 → 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 (*.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 (-.f64 (*.f64 (cos.f64 (*.f64 PI.f64 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (*.f64 (sin.f64 (*.f64 PI.f64 2/3)) (sin.f64 (/.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.5b
(*.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))))))
Compiler

Compiled 2851 to 1733 computations (39.2% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(sin.f64 (*.f64 PI.f64 2/3))
1.0b
(*.f64 PI.f64 2/3)
1.0b
(*.f64 PI.f64 2/3)
1.6b
(cos.f64 (*.f64 PI.f64 2/3))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
3 → 38
Calls

3 calls:

3.0ms
(*.f64 PI.f64 2/3)
1.0ms
(cos.f64 (*.f64 PI.f64 2/3))
1.0ms
(sin.f64 (*.f64 PI.f64 2/3))

series0.0ms (0%)

Counts
3 → 0
Calls

3 calls:

0.0ms
(cos.f64 (*.f64 PI.f64 2/3))
0.0ms
(*.f64 PI.f64 2/3)
0.0ms
(sin.f64 (*.f64 PI.f64 2/3))

simplify95.0ms (1.8%)

Algorithm
egg-herbie
Rules
603×unswap-sqr_binary64
428×associate-*l/_binary64
378×associate-*r/_binary64
293×log-div_binary64
277×*-commutative_binary64
Counts
38 → 46
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
055383
183337
2169337
3229337
4293337
5442337
6806337
71343337
83492337
94632337
104833337
114757337

prune55.0ms (1.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New71172
Fresh112
Picked101
Done022
Total73477
Error
0.0b
Counts
77 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 PI.f64 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (*.f64 (log1p.f64 (expm1.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 1 (/.f64 3 (acos.f64 (/.f64 (neg.f64 g) h)))))))
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))))))
Compiler

Compiled 2222 to 1378 computations (38% saved)

regimes444.0ms (8.5%)

Accuracy

Total 0.0b remaining (68.1%)

Threshold costs 0.0b (68.1%)

Compiler

Compiled 10188 to 7953 computations (21.9% saved)

simplify5.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
02253
13753
24953
35853
46353
56453
66453

end1.0ms (0%)

Compiler

Compiled 33 to 25 computations (24.2% saved)

sample1.4s (26.4%)

Algorithm
intervals
Results
964.0ms8000×body128valid
54.0ms576×body128nan
Compiler

Compiled 163 to 127 computations (22.1% saved)

Profiling

Loading profile data...