Details

Time bar (total: 5.3s)

analyze230.0ms (4.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%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)

sample37.0ms (0.7%)

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

Compiled 39 to 35 computations (10.3% saved)

simplify8.0ms (0.2%)

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 4 expressions with local error:

NewErrorProgram
0.0b
(acos.f64 (/.f64 (neg.f64 g) h))
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)))

series39.0ms (0.7%)

Counts
4 → 96
Calls

4 calls:

23.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))
5.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
3.0ms
(acos.f64 (/.f64 (neg.f64 g) h))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
4 → 62
Calls

4 calls:

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

simplify136.0ms (2.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
158 → 118
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01082519
11522386
22482386
34132386
48762386
522012386
646862386
751112386

prune180.0ms (3.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1126118
Fresh000
Picked101
Done000
Total1136119
Error
0.9b
Counts
119 → 6
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 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.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 (sqrt.f64 (acos.f64 (/.f64 (neg.f64 g) h))) (sqrt.f64 3)) (/.f64 (sqrt.f64 (acos.f64 (/.f64 (neg.f64 g) h))) (sqrt.f64 3))))))
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.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 2706 to 1540 computations (43.1% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series179.0ms (3.4%)

Counts
4 → 72
Calls

4 calls:

98.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))
66.0ms
(*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))
16.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))
0.0ms
(/.f64 1 (sqrt.f64 3))

rewrite38.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
106×add-sqr-sqrt_binary64
94×times-frac_binary64
66×*-un-lft-identity_binary64
60×add-cube-cbrt_binary64
53×sqrt-prod_binary64
Counts
4 → 185
Calls

4 calls:

14.0ms
(*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))
4.0ms
(/.f64 1 (sqrt.f64 3))
3.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))
1.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))

simplify221.0ms (4.2%)

Algorithm
egg-herbie
Rules
794×fma-def_binary64
500×times-frac_binary64
416×associate-/l*_binary64
322×*-commutative_binary64
314×fma-neg_binary64
Counts
257 → 252
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01795264
13524590
29934409
322954361
426914361
534794361
644414361
748864361

prune391.0ms (7.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2511252
Fresh145
Picked101
Done000
Total2535258
Error
0.9b
Counts
258 → 5
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))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))))
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.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))))))
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)))))
Compiler

Compiled 7165 to 4888 computations (31.8% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series165.0ms (3.1%)

Counts
2 → 48
Calls

2 calls:

99.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))
66.0ms
(*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))

rewrite26.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
38×times-frac_binary64
37×add-sqr-sqrt_binary64
29×*-un-lft-identity_binary64
29×add-cube-cbrt_binary64
26×associate-*l*_binary64
Counts
2 → 77
Calls

2 calls:

17.0ms
(*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))
1.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))

simplify164.0ms (3.1%)

Algorithm
egg-herbie
Rules
713×fma-neg_binary64
481×fma-def_binary64
266×associate-/l*_binary64
261×associate-*l/_binary64
250×*-commutative_binary64
Counts
125 → 122
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01422824
12652494
27402270
317002221
419922221
531432221
642322221
748912221
849032221

prune163.0ms (3.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2371238
Fresh404
Picked011
Done000
Total2412243
Error
0.0b
Counts
243 → 2
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))))
0.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))) (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))))
Compiler

Compiled 6966 to 4896 computations (29.7% saved)

localize24.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(sin.f64 (*.f64 (PI.f64) 2/3))
1.0b
(/.f64 1 (sqrt.f64 3))
1.0b
(*.f64 (PI.f64) 2/3)
1.6b
(cos.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
(sin.f64 (*.f64 (PI.f64) 2/3))
0.0ms
(*.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))

simplify83.0ms (1.6%)

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

Useful iterations: 1 (0.0ms)

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

prune275.0ms (5.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1602162
Fresh000
Picked011
Done101
Total1613164
Error
0b
Counts
164 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 (PI.f64) 2/3))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) 2/3)))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) 2/3)))) (cos.f64 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))) (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))))
0.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (*.f64 (log.f64 (exp.f64 (cbrt.f64 (/.f64 1/3 (sqrt.f64 3))))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))) (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))))
0.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))) (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))))
Compiler

Compiled 8269 to 6237 computations (24.6% saved)

regimes1.0s (18.9%)

Accuracy

Total 0.0b remaining (75.8%)

Threshold costs 0.0b (75.8%)

Counts
110 → 1
Compiler

Compiled 24971 to 20995 computations (15.9% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
11×*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
029101
147101
259101
368101
473101
574101
673101

end1.0ms (0%)

Compiler

Compiled 60 to 50 computations (16.7% saved)

sample1.9s (35.2%)

Algorithm
intervals
Results
1.1s8000×body128valid
64.0ms553×body128nan
Compiler

Compiled 236 to 198 computations (16.1% saved)

Profiling

Loading profile data...