Details

Time bar (total: 8.4s)

analyze258.0ms (3.1%)

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)

sample39.0ms (0.5%)

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

Compiled 39 to 35 computations (10.3% saved)

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

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)

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

series38.0ms (0.5%)

Counts
3 → 72
Calls

3 calls:

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

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

simplify137.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

prune107.0ms (1.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New94397
Fresh000
Picked101
Done000
Total95398
Error
0.9b
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 (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 2137 to 1213 computations (43.2% saved)

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

series24.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

simplify143.0ms (1.7%)

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

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1283131
Fresh112
Picked011
Done000
Total1295134
Error
0b
Counts
134 → 5
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (+.f64 (log.f64 (sqrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))) (log.f64 (sqrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.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.5b
(*.f64 2 (*.f64 (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))) (log.f64 (exp.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)))))))))
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 3281 to 1999 computations (39.1% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
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))))))
0.0b
(cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))
0.9b
(/.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.7s (44.3%)

Counts
4 → 96
Calls

4 calls:

2.5s
(log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3))))))
1.2s
(cbrt.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))))
24.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)

rewrite11.0ms (0.1%)

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

simplify144.0ms (1.7%)

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

prune275.0ms (3.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2571258
Fresh213
Picked011
Done011
Total2594263
Error
0b
Counts
263 → 4
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (+.f64 (log.f64 (sqrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))) (log.f64 (sqrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.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.5b
(*.f64 2 (+.f64 (*.f64 (log.f64 (pow.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))) 1/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 (log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 10908 to 6932 computations (36.5% saved)

localize16.0ms (0.2%)

Local error

Found 4 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)))
1.0b
(log.f64 (sqrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))

series1.2s (14.6%)

Counts
1 → 24
Calls

1 calls:

1.2s
(log.f64 (sqrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))

rewrite4.0ms (0.1%)

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

1 calls:

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

simplify137.0ms (1.6%)

Algorithm
egg-herbie
Rules
574×associate-/l*_binary64
570×log-prod_binary64
444×unswap-sqr_binary64
375×exp-sum_binary64
365×fma-def_binary64
Counts
47 → 41
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0751347
1951275
21251275
31601275
42441275
54391269
69531269
721121269
842751269
948981269
1049891269
1151971269

prune220.0ms (2.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2760276
Fresh011
Picked011
Done022
Total2764280
Error
0b
Counts
280 → 4
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (+.f64 (log.f64 (sqrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))) (log.f64 (sqrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.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.5b
(*.f64 2 (+.f64 (*.f64 (log.f64 (pow.f64 (exp.f64 (cos.f64 (fma.f64 2/3 (PI.f64) (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))) 1/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 (log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 10971 to 6713 computations (38.8% saved)

regimes405.0ms (4.8%)

Accuracy

Total 0.0b remaining (75.2%)

Threshold costs 0.0b (75.2%)

Counts
32 → 1
Compiler

Compiled 10181 to 8068 computations (20.8% 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
02453
13553
23953
34253
44353
54353

end1.0ms (0%)

Compiler

Compiled 34 to 26 computations (23.5% saved)

sample1.3s (15.9%)

Algorithm
intervals
Results
873.0ms8000×body128valid
48.0ms559×body128nan
Compiler

Compiled 176 to 140 computations (20.5% saved)

Profiling

Loading profile data...