Details

Time bar (total: 5.1s)

analyze210.0ms (4.1%)

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)

sample55.0ms (1.1%)

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

series38.0ms (0.7%)

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

simplify128.0ms (2.5%)

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

prune80.0ms (1.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New95297
Fresh000
Picked101
Done000
Total96298
Error
1.0b
Counts
98 → 2
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (log.f64 (cbrt.f64 (exp.f64 (acos.f64 (neg.f64 (/.f64 g h)))))))))
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)))
Compiler

Compiled 2053 to 1157 computations (43.6% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series309.0ms (6.1%)

Counts
4 → 72
Calls

4 calls:

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

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

simplify145.0ms (2.9%)

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

prune91.0ms (1.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New982100
Fresh101
Picked011
Done000
Total993102
Error
0.0b
Counts
102 → 3
Alt Table
StatusErrorProgram
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 (cbrt.f64 (pow.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3)))) 3)))
0.1b
(*.f64 2 (*.f64 (cbrt.f64 (*.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.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)))))))
Compiler

Compiled 2541 to 1647 computations (35.2% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series1.3s (26.2%)

Counts
2 → 48
Calls

2 calls:

1.3s
(cbrt.f64 (*.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))) (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64))))))
37.0ms
(*.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))) (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 41
Calls

2 calls:

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

simplify152.0ms (3%)

Algorithm
egg-herbie
Rules
661×sqr-pow_binary64
655×unswap-sqr_binary64
614×distribute-rgt-in_binary64
547×distribute-lft-in_binary64
457×fma-def_binary64
Counts
89 → 66
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0732203
11101993
22811965
310071933
420021930
536781930
642541930
751761930

prune219.0ms (4.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1911192
Fresh011
Picked011
Done011
Total1914195
Error
0b
Counts
195 → 4
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (*.f64 (pow.f64 (pow.f64 (cos.f64 (+.f64 (*.f64 2/3 (PI.f64)) (*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h)))))) 2) 1/3) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))))
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 (cbrt.f64 (pow.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3)))) 3)))
0.1b
(*.f64 2 (*.f64 (cbrt.f64 (*.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.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)))))))
Compiler

Compiled 8773 to 4983 computations (43.2% 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))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3)))) 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)

series113.0ms (2.2%)

Counts
3 → 48
Calls

3 calls:

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

rewrite8.0ms (0.2%)

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

3 calls:

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

simplify111.0ms (2.2%)

Algorithm
egg-herbie
Rules
929×fma-def_binary64
627×associate-*l*_binary64
503×associate-*r*_binary64
366×log-prod_binary64
352×exp-prod_binary64
Counts
107 → 92
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0922207
11712092
24752068
322972068
446542068
553922068

prune90.0ms (1.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh011
Picked011
Done022
Total1144118
Error
0b
Counts
118 → 4
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (*.f64 (pow.f64 (pow.f64 (cos.f64 (+.f64 (*.f64 2/3 (PI.f64)) (*.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h)))))) 2) 1/3) (cbrt.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.f64)))))))
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 (cbrt.f64 (pow.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (cbrt.f64 (pow.f64 (*.f64 2/3 (PI.f64)) 3)))) 3)))
0.1b
(*.f64 2 (*.f64 (cbrt.f64 (*.f64 (cos.f64 (fma.f64 1/3 (acos.f64 (neg.f64 (/.f64 g h))) (*.f64 2/3 (PI.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)))))))
Compiler

Compiled 2961 to 2062 computations (30.4% saved)

regimes642.0ms (12.7%)

Accuracy

Total 0.0b remaining (69.6%)

Threshold costs 0.0b (69.6%)

Counts
50 → 1
Compiler

Compiled 12173 to 9815 computations (19.4% 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
02351
13551
23951
34251
44351
54351

end1.0ms (0%)

Compiler

Compiled 33 to 25 computations (24.2% saved)

sample1.3s (24.8%)

Algorithm
intervals
Results
829.0ms8000×body128valid
54.0ms600×body128nan
Compiler

Compiled 167 to 131 computations (21.6% saved)

Profiling

Loading profile data...