Details

Time bar (total: 4.3s)

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

sample269.0ms (6.2%)

Algorithm
intervals
Results
238.0ms256×body128valid
2.0ms23×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))
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)))

series35.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

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

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

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

simplify125.0ms (2.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 → 97
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01052186
11502070
22462070
34112070
48742070
521992070
646842070
751092070

prune123.0ms (2.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

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

Compiled 2260 to 1294 computations (42.7% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series76.0ms (1.8%)

Counts
4 → 72
Calls

4 calls:

30.0ms
(expm1.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))
23.0ms
(cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))
23.0ms
(log1p.f64 (expm1.f64 (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))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
4 → 52
Calls

4 calls:

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

simplify145.0ms (3.4%)

Algorithm
egg-herbie
Rules
932×unsub-neg_binary64
354×distribute-rgt-in_binary64
336×associate-*l*_binary64
295×distribute-lft-in_binary64
293×sub-neg_binary64
Counts
124 → 74
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0902335
11142204
21902204
32762204
45492204
519572204
636892204
745922204
848182204

prune85.0ms (2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New72274
Fresh303
Picked101
Done011
Total76379
Error
0.9b
Counts
79 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
1.0b
(*.f64 2 (log1p.f64 (-.f64 (exp.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 1)))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3)))))))
Compiler

Compiled 1685 to 1091 computations (35.3% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(log1p.f64 (expm1.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3))))))
1.0b
(cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3))))
1.0b
(*.f64 2/3 (PI.f64))
1.6b
(pow.f64 (*.f64 2/3 (PI.f64)) 3)

series67.0ms (1.5%)

Counts
3 → 48
Calls

3 calls:

36.0ms
(log1p.f64 (expm1.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3))))))
31.0ms
(cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3))))
0.0ms
(pow.f64 (*.f64 2/3 (PI.f64)) 3)

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
3 → 45
Calls

3 calls:

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

simplify122.0ms (2.8%)

Algorithm
egg-herbie
Rules
552×*-commutative_binary64
437×fma-def_binary64
388×log-prod_binary64
382×exp-prod_binary64
335×unswap-sqr_binary64
Counts
93 → 67
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0821711
11221627
22841619
312701619
429031616
546861616
650001616
748961616

prune89.0ms (2.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New89089
Fresh011
Picked011
Done011
Total89392
Error
0.9b
Counts
92 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
1.0b
(*.f64 2 (log1p.f64 (-.f64 (exp.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 1)))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3)))))))
Compiler

Compiled 2164 to 1503 computations (30.5% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(log1p.f64 (-.f64 (exp.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 1))
1.0b
(cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))
1.0b
(-.f64 (exp.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 1)
1.0b
(*.f64 2/3 (PI.f64))

series1.1s (26%)

Counts
2 → 48
Calls

2 calls:

1.1s
(log1p.f64 (-.f64 (exp.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 1))
29.0ms
(-.f64 (exp.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 1)

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
prod-diff_binary64
add-log-exp_binary64
Counts
2 → 45
Calls

2 calls:

5.0ms
(-.f64 (exp.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 1)
0.0ms
(log1p.f64 (-.f64 (exp.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 1))

simplify127.0ms (2.9%)

Algorithm
egg-herbie
Rules
439×sub-neg_binary64
380×times-frac_binary64
280×*-commutative_binary64
275×unsub-neg_binary64
239×associate-*l*_binary64
Counts
93 → 71
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0742023
11101868
21831859
34601857
416521857
533971857
643851857
748911857

prune113.0ms (2.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh000
Picked011
Done022
Total1133116
Error
0.9b
Counts
116 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
1.0b
(*.f64 2 (log1p.f64 (-.f64 (exp.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))) 1)))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3)))))))
Compiler

Compiled 3042 to 2046 computations (32.7% saved)

regimes308.0ms (7.1%)

Accuracy

Total 0.0b remaining (1.5%)

Threshold costs 0.0b (1.5%)

Counts
35 → 1
Compiler

Compiled 6606 to 5658 computations (14.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
01421
12121
22521
32821
42921
52921

end1.0ms (0%)

Compiler

Compiled 15 to 13 computations (13.3% saved)

sample1.2s (27.9%)

Algorithm
intervals
Results
821.0ms8000×body128valid
49.0ms575×body128nan
Compiler

Compiled 90 to 80 computations (11.1% saved)

Profiling

Loading profile data...