Details

Time bar (total: 5.6s)

analyze213.0ms (3.8%)

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)

sample54.0ms (1%)

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

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

series37.0ms (0.7%)

Counts
3 → 72
Calls

3 calls:

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

simplify127.0ms (2.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

prune113.0ms (2%)

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 (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 2145 to 1221 computations (43.1% saved)

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

series52.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

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

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

simplify249.0ms (4.5%)

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

prune151.0ms (2.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1190119
Fresh022
Picked011
Done000
Total1193122
Error
0.9b
Counts
122 → 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 (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 2796 to 1696 computations (39.3% saved)

localize13.0ms (0.2%)

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

series224.0ms (4%)

Counts
4 → 72
Calls

4 calls:

95.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)))))
67.0ms
(fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))
62.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.6%)

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

simplify200.0ms (3.6%)

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

prune257.0ms (4.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2060206
Fresh011
Picked011
Done011
Total2063209
Error
0.9b
Counts
209 → 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 (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 5599 to 3883 computations (30.6% saved)

localize13.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))
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
(*.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 (21.7%)

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

rewrite9.0ms (0.2%)

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

simplify121.0ms (2.2%)

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

Useful iterations: 4 (0.0ms)

IterNodesCost
0632311
11032279
22171839
34371791
47881518
513621518
626101518
745881518
850981518

prune293.0ms (5.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3491350
Fresh000
Picked011
Done022
Total3494353
Error
0b
Counts
353 → 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 (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))))))
0.1b
(*.f64 2 (*.f64 (cbrt.f64 (pow.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))) 2)) (cbrt.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 16743 to 9318 computations (44.3% saved)

regimes913.0ms (16.3%)

Accuracy

Total 0.0b remaining (79%)

Threshold costs 0.0b (79%)

Counts
87 → 1
Compiler

Compiled 19909 to 16393 computations (17.7% 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
02548
13348
23748
33948
43948

end1.0ms (0%)

Compiler

Compiled 31 to 23 computations (25.8% saved)

sample1.3s (22.5%)

Algorithm
intervals
Results
831.0ms8000×body128valid
45.0ms514×body128nan
Compiler

Compiled 163 to 130 computations (20.2% saved)

Profiling

Loading profile data...