Details

Time bar (total: 4.4s)

analyze220.0ms (5%)

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)

sample56.0ms (1.3%)

Algorithm
intervals
Results
25.0ms256×body128valid
2.0ms25×body128nan
Compiler

Compiled 39 to 35 computations (10.3% saved)

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

localize12.0ms (0.3%)

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

series37.0ms (0.8%)

Counts
3 → 72
Calls

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

simplify130.0ms (3%)

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

prune130.0ms (3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

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

Compiled 2183 to 1243 computations (43.1% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series230.0ms (5.2%)

Counts
4 → 72
Calls

4 calls:

97.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)))))
69.0ms
(fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))
64.0ms
(*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))
0.0ms
(/.f64 1 (sqrt.f64 3))

rewrite31.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt_binary64
76×times-frac_binary64
51×*-un-lft-identity_binary64
45×add-cube-cbrt_binary64
41×sqrt-prod_binary64
Counts
4 → 152
Calls

4 calls:

14.0ms
(*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))
3.0ms
(/.f64 1 (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)))))
0.0ms
(fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))

simplify198.0ms (4.5%)

Algorithm
egg-herbie
Rules
625×fma-neg_binary64
551×fma-def_binary64
469×times-frac_binary64
379×associate-/l*_binary64
296×*-commutative_binary64
Counts
224 → 206
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01604593
13303862
29333699
321323651
426603651
542633651
649373651
751743651

prune271.0ms (6.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2051206
Fresh123
Picked101
Done000
Total2073210
Error
0.9b
Counts
210 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (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))))))
Compiler

Compiled 5615 to 3907 computations (30.4% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series182.0ms (4.2%)

Counts
3 → 72
Calls

3 calls:

97.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (acos.f64 (/.f64 (neg.f64 g) h))) (sqrt.f64 3))))
69.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (acos.f64 (/.f64 (neg.f64 g) h))) (sqrt.f64 3)))
16.0ms
(*.f64 (/.f64 1 (sqrt.f64 3)) (acos.f64 (/.f64 (neg.f64 g) h)))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64
22×associate-*l*_binary64
22×times-frac_binary64
19×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
Counts
3 → 68
Calls

3 calls:

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

simplify100.0ms (2.3%)

Algorithm
egg-herbie
Rules
524×distribute-rgt-in_binary64
515×distribute-lft-in_binary64
457×times-frac_binary64
383×associate-*l*_binary64
324×associate-*r*_binary64
Counts
140 → 115
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01082736
11772373
23752373
37362373
427182373
549952373

prune185.0ms (4.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1640164
Fresh022
Picked011
Done000
Total1643167
Error
0.9b
Counts
167 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (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))))))
Compiler

Compiled 4316 to 3083 computations (28.6% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series51.0ms (1.2%)

Counts
2 → 48
Calls

2 calls:

29.0ms
(expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
22.0ms
(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:

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

simplify249.0ms (5.7%)

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

prune123.0ms (2.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh011
Picked011
Done011
Total1193122
Error
0.9b
Counts
122 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (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))))))
Compiler

Compiled 2722 to 1644 computations (39.6% saved)

regimes889.0ms (20.3%)

Accuracy

Total 0.0b remaining (1.3%)

Threshold costs 0.0b (1.3%)

Counts
99 → 1
Compiler

Compiled 19091 to 15778 computations (17.4% 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
02035
12935
23335
33635
43735
53635

end1.0ms (0%)

Compiler

Compiled 23 to 21 computations (8.7% saved)

sample1.2s (27.6%)

Algorithm
intervals
Results
816.0ms8000×body128valid
47.0ms579×body128nan
Compiler

Compiled 113 to 97 computations (14.2% saved)

Profiling

Loading profile data...