Details

Time bar (total: 5.8s)

analyze74.0ms (1.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%6.2%93.8%0
0%6.2%93.8%1
3.1%3.1%93.8%2
3.1%3.1%93.8%3
4.7%1.6%93.8%4
4.7%1.6%93.8%5
5.5%0.8%93.8%6
5.5%0.8%93.8%7
5.8%0.4%93.8%8
5.8%0.4%93.8%9
6%0.2%93.8%10
6%0.2%93.8%11
6.1%0.1%93.8%12
6.1%0.1%93.8%13
6.2%0%93.8%14
Compiler

Compiled 36 to 30 computations (16.7% saved)

sample2.2s (39%)

Results
2.1s8256×body128valid
Compiler

Compiled 93 to 79 computations (15.1% saved)

simplify122.0ms (2.1%)

Algorithm
egg-herbie
Rules
909×cube-prod_binary64
818×unswap-sqr_binary64
698×fabs-mul_binary64
671×sqr-pow_binary64
541×cube-mult_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02024
13824
26324
310124
420324
552824
666724
785624
8144224
9148124
10151224
11157624
12158224
13185424
14207724
15249824
16310624
17360424
18403724
19444524
20475424
21485924

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.4b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.4b
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 70 to 60 computations (14.3% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.1b
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.4b
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))

series315.0ms (5.5%)

Counts
4 → 52
Calls

4 calls:

163.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
113.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
35.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
3.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×pow1_binary64
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
Counts
4 → 64
Calls

4 calls:

4.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
4.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)
2.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
0.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)

simplify108.0ms (1.9%)

Algorithm
egg-herbie
Rules
621×unswap-sqr_binary64
393×cancel-sign-sub-inv_binary64
381×*-commutative_binary64
263×fma-neg_binary64
249×sub-neg_binary64
Counts
116 → 104
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01612057
13261932
29491852
318071800
434781800
549161800
649171800

prune120.0ms (2.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New977104
Fresh000
Picked101
Done000
Total987105
Error
0.0b
Counts
105 → 7
Alt Table
StatusErrorProgram
0.5b
(exp.f64 (log.f64 (fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)))
0.3b
(fma.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 1/6 1/6) 1/6) (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) 3)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (exp.f64 (log.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (exp.f64 (+.f64 (log.f64 1/6) (log.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 2515 to 1912 computations (24% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (neg.f64 (log.f64 u1)))
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.4b
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))
0.4b
(*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2)))

series75.0ms (1.3%)

Counts
3 → 32
Calls

3 calls:

27.0ms
(*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2)))
25.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))
23.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
31×sqrt-prod_binary64
24×add-sqr-sqrt_binary64
18×associate-*l*_binary64
17×pow1_binary64
13×*-un-lft-identity_binary64
Counts
3 → 86
Calls

3 calls:

7.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))
6.0ms
(*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2)))
2.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))

simplify115.0ms (2%)

Algorithm
egg-herbie
Rules
503×associate-*l*_binary64
460×neg-sub0_binary64
445×neg-mul-1_binary64
380×associate-*r*_binary64
355×distribute-rgt-neg-in_binary64
Counts
118 → 117
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01131620
11941566
24961566
313961566
425491566
541141566
643811566
748511566

prune158.0ms (2.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1432145
Fresh246
Picked011
Done000
Total1457152
Error
0.0b
Counts
152 → 7
Alt Table
StatusErrorProgram
0.4b
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 (log.f64 u1) -2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.3b
(fma.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(fma.f64 (*.f64 (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) (sqrt.f64 2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 1/6 1/6) 1/6) (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (cbrt.f64 (pow.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) 3)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (exp.f64 (+.f64 (log.f64 1/6) (log.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 3531 to 2342 computations (33.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (neg.f64 (log.f64 u1)))
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.4b
(*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1))))
0.4b
(*.f64 (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) (sqrt.f64 2))

series51.0ms (0.9%)

Counts
2 → 20
Calls

2 calls:

27.0ms
(*.f64 (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) (sqrt.f64 2))
23.0ms
(*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1))))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
21×associate-*r*_binary64
16×sqrt-prod_binary64
13×add-sqr-sqrt_binary64
11×pow1_binary64
*-un-lft-identity_binary64
Counts
2 → 56
Calls

2 calls:

7.0ms
(*.f64 (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) (sqrt.f64 2))
5.0ms
(*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1))))

simplify80.0ms (1.4%)

Algorithm
egg-herbie
Rules
553×associate-*r*_binary64
450×associate-*l/_binary64
448×*-commutative_binary64
381×neg-mul-1_binary64
379×neg-sub0_binary64
Counts
76 → 67
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01061064
11931020
25061020
312261020
424741020
537661020
649381020

prune123.0ms (2.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1202122
Fresh235
Picked011
Done011
Total1227129
Error
0b
Counts
129 → 7
Alt Table
StatusErrorProgram
0.4b
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 (log.f64 u1) -2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.3b
(fma.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 (*.f64 1/6 (cbrt.f64 (pow.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) 3))) (sqrt.f64 2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(fma.f64 (*.f64 (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) (sqrt.f64 2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 1/6 1/6) 1/6) (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.7b
(fma.f64 (*.f64 (*.f64 1/6 (*.f64 (fabs.f64 (cbrt.f64 (log.f64 u1))) (sqrt.f64 (neg.f64 (cbrt.f64 (log.f64 u1)))))) (sqrt.f64 2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 3026 to 2018 computations (33.3% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 (log.f64 u1) -2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.1b
(sqrt.f64 (*.f64 (log.f64 u1) -2))
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.4b
(*.f64 1/6 (sqrt.f64 (*.f64 (log.f64 u1) -2)))

series245.0ms (4.2%)

Counts
3 → 48
Calls

3 calls:

185.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 (log.f64 u1) -2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
34.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -2))
25.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 (log.f64 u1) -2)))

rewrite8.0ms (0.1%)

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

3 calls:

5.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 (log.f64 u1) -2)))
2.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -2))
0.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 (log.f64 u1) -2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)

simplify87.0ms (1.5%)

Algorithm
egg-herbie
Rules
728×unswap-sqr_binary64
433×fma-neg_binary64
377×associate-*l*_binary64
345×associate-*r*_binary64
309×distribute-rgt-neg-in_binary64
Counts
92 → 92
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01281724
12491638
26211608
319831586
440981586
557361586

prune115.0ms (2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1191120
Fresh134
Picked101
Done022
Total1216127
Error
0b
Counts
127 → 6
Alt Table
StatusErrorProgram
0.4b
(fma.f64 (*.f64 (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) (sqrt.f64 2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.3b
(fma.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 (log.f64 u1) -2))) (cos.f64 (expm1.f64 (log1p.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)
0.6b
(fma.f64 (*.f64 (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 1/6 1/6) 1/6) (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.7b
(fma.f64 (*.f64 (*.f64 1/6 (*.f64 (fabs.f64 (cbrt.f64 (log.f64 u1))) (sqrt.f64 (neg.f64 (cbrt.f64 (log.f64 u1)))))) (sqrt.f64 2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 2681 to 2013 computations (24.9% saved)

regimes1.5s (25.9%)

Accuracy

Total 0.3b remaining (88.9%)

Threshold costs 0.3b (88.9%)

Counts
125 → 1
Compiler

Compiled 29777 to 25289 computations (15.1% saved)

simplify2.0ms (0%)

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
01728
12528
22728
32828
42828

end127.0ms (2.2%)

Compiler

Compiled 181 to 156 computations (13.8% saved)

Profiling

Loading profile data...