Details

Time bar (total: 7.3s)

analyze239.0ms (3.3%)

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

Algorithm
intervals
Results
26.0ms256×body128valid
1.0ms16×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.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))
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)))

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

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

series96.0ms (1.3%)

Counts
3 → 72
Calls

3 calls:

57.0ms
(cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
26.0ms
(fma.f64 PI.f64 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
13.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)

simplify137.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 → 239
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01052186
11502070
22462070
34112070
48742070
521992070
646842070
751092070

prune128.0ms (1.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2354239
Fresh000
Picked101
Done000
Total2364240
Error
0.9b
Counts
240 → 4
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 (cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 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 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 2193 to 1251 computations (43% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite29.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
276×times-frac_binary64
156×*-un-lft-identity_binary64
156×add-sqr-sqrt_binary64
156×add-cube-cbrt_binary64
144×sqrt-prod_binary64
Counts
4 → 242
Calls

4 calls:

8.0ms
(/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 3))
4.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))
1.0ms
(cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 3))))
0.0ms
(fma.f64 PI.f64 2/3 (/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 3)))

series270.0ms (3.7%)

Counts
4 → 96
Calls

4 calls:

107.0ms
(cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 3))))
71.0ms
(fma.f64 PI.f64 2/3 (/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 3)))
59.0ms
(/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 3))
32.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))

simplify344.0ms (4.7%)

Algorithm
egg-herbie
Rules
692×distribute-rgt-in_binary64
495×associate-/l/_binary64
371×fma-def_binary64
308×*-commutative_binary64
304×fma-neg_binary64
Counts
338 → 665
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
02629313
15009003
29008721
318498607
423308600
536498388
649978388

prune410.0ms (5.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New6650665
Fresh033
Picked011
Done000
Total6654669
Error
0.9b
Counts
669 → 4
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 (cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 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 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 9427 to 5914 computations (37.3% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.9b
(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
(log1p.f64 (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)))

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:

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

series1.2s (16.9%)

Counts
2 → 48
Calls

2 calls:

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

simplify265.0ms (3.6%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
0461455
1601377
2751377
3881377
41011377
51231377
61711377
72711377
86151377
912111377
1013501377
1116131377
1219181377
1322121377
1426141377
1529681377
1631511377
1734081377
1835471377
1936261377
2037061377
2144641377
2248561377

prune138.0ms (1.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3070307
Fresh022
Picked011
Done011
Total3074311
Error
0.9b
Counts
311 → 4
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 (cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 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 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 2791 to 1689 computations (39.5% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64
16×cbrt-prod_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
1 → 42
Calls

1 calls:

5.0ms
(*.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)))))

series1.2s (16.5%)

Counts
1 → 24
Calls

1 calls:

1.2s
(*.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)))))

simplify134.0ms (1.8%)

Algorithm
egg-herbie
Rules
882×fma-def_binary64
454×unswap-sqr_binary64
352×sqr-pow_binary64
272×*-commutative_binary64
256×associate-+l+_binary64
Counts
66 → 128
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0632311
11032279
22171839
34371791
47881518
513621518
626101518
745881518
850981518

prune118.0ms (1.6%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New105111052
Fresh011
Picked011
Done022
Total105151056
Error
0b
Counts
1056 → 5
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 (cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)) (sqrt.f64 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 (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 (cbrt.f64 (cos.f64 (fma.f64 2/3 PI.f64 (/.f64 (acos.f64 (neg.f64 (/.f64 g h))) 3)))) 6)) (cbrt.f64 (cos.f64 (fma.f64 PI.f64 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 5868 to 3386 computations (42.3% saved)

regimes1.1s (15.6%)

Accuracy

Total 0.1b remaining (81.8%)

Threshold costs 0.1b (81.8%)

Compiler

Compiled 26062 to 20837 computations (20% saved)

simplify4.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
02650
13250
23650
33850
43850

end1.0ms (0%)

Compiler

Compiled 32 to 24 computations (25% saved)

sample1.3s (17.5%)

Algorithm
intervals
Results
819.0ms8000×body128valid
45.0ms535×body128nan
Compiler

Compiled 203 to 156 computations (23.2% saved)

Profiling

Loading profile data...