Details

Time bar (total: 6.4s)

analyze229.0ms (3.6%)

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)

sample53.0ms (0.8%)

Algorithm
intervals
Results
27.0ms256×body128valid
1.0ms11×body128nan
Compiler

Compiled 39 to 35 computations (10.3% saved)

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

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

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

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

simplify123.0ms (1.9%)

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

prune109.0ms (1.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

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

Compiled 2151 to 1235 computations (42.6% saved)

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

series22.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

simplify127.0ms (2%)

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

prune85.0ms (1.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1292131
Fresh123
Picked011
Done000
Total1305135
Error
0.0b
Counts
135 → 5
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (log.f64 (exp.f64 (cos.f64 (expm1.f64 (log1p.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))))))
0.1b
(*.f64 2 (+.f64 (*.f64 (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))) 2) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3))))))))
1.0b
(*.f64 2 (cbrt.f64 (pow.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))) 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 3201 to 1955 computations (38.9% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series3.3s (52%)

Counts
4 → 96
Calls

4 calls:

2.2s
(log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3))))))
1.1s
(cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))
23.0ms
(cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))
6.0ms
(/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)

rewrite10.0ms (0.2%)

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

4 calls:

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

simplify137.0ms (2.1%)

Algorithm
egg-herbie
Rules
521×associate-+l+_binary64
345×associate-/l/_binary64
280×distribute-rgt-out_binary64
266×unswap-sqr_binary64
250×associate-/l*_binary64
Counts
170 → 129
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01383774
11903619
22893559
34333520
48573508
518813508
648043508

prune311.0ms (4.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2553258
Fresh213
Picked011
Done011
Total2576263
Error
0b
Counts
263 → 6
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (+.f64 (*.f64 (*.f64 1/3 (cos.f64 (fma.f64 2/3 (PI.f64) (*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))))))) 2) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3))))))))
0.1b
(*.f64 2 (+.f64 (*.f64 (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))) 2) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3))))))))
1.6b
(*.f64 2 (+.f64 (*.f64 (+.f64 (log.f64 (*.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))) (cbrt.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))))) (log.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))))) 2) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3))))))))
0.1b
(*.f64 2 (+.f64 (*.f64 (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))) 2) (*.f64 1/3 (cos.f64 (fma.f64 2/3 (PI.f64) (*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h)))))))))
1.0b
(*.f64 2 (cbrt.f64 (pow.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))) 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 11076 to 7056 computations (36.3% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series27.0ms (0.4%)

Counts
2 → 32
Calls

2 calls:

21.0ms
(cos.f64 (fma.f64 2/3 (PI.f64) (*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))))))
5.0ms
(*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))))

rewrite5.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
2 → 30
Calls

2 calls:

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

simplify90.0ms (1.4%)

Algorithm
egg-herbie
Rules
651×associate-*l*_binary64
644×unswap-sqr_binary64
560×associate-/l*_binary64
381×associate-*r*_binary64
332×log-div_binary64
Counts
62 → 38
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0671121
1991044
21491043
31941043
42411043
53461043
66021043
713711043
833451043
946611043
1048341043

prune129.0ms (2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1050105
Fresh033
Picked011
Done022
Total1056111
Error
0b
Counts
111 → 6
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (+.f64 (*.f64 (*.f64 1/3 (cos.f64 (fma.f64 2/3 (PI.f64) (*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))))))) 2) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3))))))))
0.1b
(*.f64 2 (+.f64 (*.f64 (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))) 2) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3))))))))
1.6b
(*.f64 2 (+.f64 (*.f64 (+.f64 (log.f64 (*.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))) (cbrt.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))))) (log.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))))) 2) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3))))))))
0.1b
(*.f64 2 (+.f64 (*.f64 (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))) 2) (*.f64 1/3 (cos.f64 (fma.f64 2/3 (PI.f64) (*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h)))))))))
1.0b
(*.f64 2 (cbrt.f64 (pow.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))) 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 4287 to 2673 computations (37.6% saved)

regimes287.0ms (4.5%)

Accuracy

Total 0.1b remaining (79.1%)

Threshold costs 0.1b (79.1%)

Counts
24 → 1
Compiler

Compiled 6814 to 5390 computations (20.9% 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
02453
13553
23953
34253
44353
54353

end1.0ms (0%)

Compiler

Compiled 34 to 26 computations (23.5% saved)

sample1.2s (18.8%)

Algorithm
intervals
Results
760.0ms8000×body128valid
49.0ms579×body128nan
Compiler

Compiled 260 to 202 computations (22.3% saved)

Profiling

Loading profile data...