Details

Time bar (total: 4.7s)

analyze435.0ms (9.2%)

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)

sample62.0ms (1.3%)

Algorithm
intervals
Results
44.0ms256×body128valid
3.0ms18×body128nan
Compiler

Compiled 39 to 35 computations (10.3% saved)

simplify17.0ms (0.4%)

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

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

localize19.0ms (0.4%)

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

series69.0ms (1.5%)

Counts
3 → 72
Calls

3 calls:

42.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
17.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
10.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)

rewrite11.0ms (0.2%)

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:

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

simplify171.0ms (3.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

prune90.0ms (1.9%)

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

Compiled 2089 to 1189 computations (43.1% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (exp.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
0.0b
(fma.f64 (PI.f64) 2/3 (log.f64 (exp.f64 (/.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 (log.f64 (exp.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))

series40.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

24.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (log.f64 (exp.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))
9.0ms
(fma.f64 (PI.f64) 2/3 (log.f64 (exp.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
7.0ms
(log.f64 (exp.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×log-pow_binary64
13×exp-prod_binary64
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
Counts
3 → 49
Calls

3 calls:

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

simplify136.0ms (2.9%)

Algorithm
egg-herbie
Rules
589×distribute-rgt-out_binary64
584×distribute-rgt-in_binary64
473×distribute-lft-in_binary64
409×associate-*l*_binary64
300×associate-+l+_binary64
Counts
121 → 95
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01242067
11631961
22451961
33701961
46801961
516031961
630061961
748301961
851091961

prune316.0ms (6.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

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

Compiled 3500 to 2036 computations (41.8% saved)

localize29.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

series112.0ms (2.4%)

Counts
2 → 48
Calls

2 calls:

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

rewrite3.0ms (0.1%)

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:

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

simplify482.0ms (10.2%)

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

prune173.0ms (3.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

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

Compiled 2723 to 1649 computations (39.4% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series147.0ms (3.1%)

Counts
4 → 72
Calls

4 calls:

75.0ms
(pow.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))) 3)
40.0ms
(cbrt.f64 (pow.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))) 3))
32.0ms
(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))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
12×cbrt-prod_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
4 → 78
Calls

4 calls:

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

simplify171.0ms (3.6%)

Algorithm
egg-herbie
Rules
740×sqr-pow_binary64
574×fma-def_binary64
454×*-commutative_binary64
386×log-prod_binary64
384×exp-prod_binary64
Counts
150 → 100
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01123222
11662982
23682966
312722966
423152963
541122963
649412963

prune148.0ms (3.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New991100
Fresh000
Picked011
Done022
Total994103
Error
0b
Counts
103 → 4
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (log.f64 (exp.f64 (/.f64 (acos.f64 (/.f64 (neg.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 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
0.1b
(*.f64 2 (*.f64 (cbrt.f64 (pow.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)))))) 3)) (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 3))))
Compiler

Compiled 2499 to 1619 computations (35.2% saved)

regimes373.0ms (7.9%)

Accuracy

Total 0.0b remaining (71.1%)

Threshold costs 0.0b (71.1%)

Counts
20 → 1
Compiler

Compiled 4802 to 3838 computations (20.1% 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
01865
12765
23165
33465
43565
53565

end1.0ms (0%)

Compiler

Compiled 41 to 27 computations (34.1% saved)

sample1.7s (35.2%)

Algorithm
intervals
Results
1.0s8000×body128valid
56.0ms510×body128nan
Compiler

Compiled 162 to 126 computations (22.2% saved)

Profiling

Loading profile data...