Details

Time bar (total: 7.0s)

analyze74.0ms (1%)

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

Results
2.3s8256×body128valid
Compiler

Compiled 93 to 79 computations (15.1% saved)

simplify124.0ms (1.8%)

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

prune3.0ms (0%)

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)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series313.0ms (4.5%)

Counts
4 → 52
Calls

4 calls:

255.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
29.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
24.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
4.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)

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

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

simplify110.0ms (1.6%)

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

prune115.0ms (1.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New968104
Fresh000
Picked101
Done000
Total978105
Error
0.0b
Counts
105 → 8
Alt Table
StatusErrorProgram
0.4b
(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
(+.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)
0.3b
(fma.f64 (*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.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 (sqrt.f64 1/6) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (*.f64 (sqrt.f64 1/6) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(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.6b
(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)
1.1b
(fma.f64 (*.f64 1/6 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cbrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (cbrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (expm1.f64 (log1p.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 2583 to 1968 computations (23.8% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series58.0ms (0.8%)

Counts
2 → 24
Calls

2 calls:

31.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))
27.0ms
(*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1))))

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
21×pow1_binary64
15×pow-prod-down_binary64
12×associate-*l*_binary64
11×add-sqr-sqrt_binary64
10×sqrt-pow1_binary64
Counts
2 → 56
Calls

2 calls:

8.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))
6.0ms
(*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1))))

simplify87.0ms (1.2%)

Algorithm
egg-herbie
Rules
572×fma-neg_binary64
311×*-commutative_binary64
240×neg-mul-1_binary64
239×associate-*r/_binary64
218×associate-*l/_binary64
Counts
80 → 88
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0831130
11701084
24701084
36331076
48411076
518461076
636321076
749421076

prune151.0ms (2.2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1294133
Fresh527
Picked101
Done000
Total1356141
Error
0.0b
Counts
141 → 6
Alt Table
StatusErrorProgram
0.3b
(fma.f64 (*.f64 (*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 1/6)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.9b
(fma.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 1/6)) (+.f64 (log.f64 (sqrt.f64 1/6)) (log.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.3b
(fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 (*.f64 (sqrt.f64 1/6) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (*.f64 (sqrt.f64 1/6) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(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 (cbrt.f64 (*.f64 (pow.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) 3) 1/216)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 3376 to 2713 computations (19.6% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series208.0ms (3%)

Counts
3 → 48
Calls

3 calls:

162.0ms
(fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
24.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/18))
22.0ms
(*.f64 (log.f64 u1) -1/18)

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

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

simplify120.0ms (1.7%)

Algorithm
egg-herbie
Rules
416×fma-neg_binary64
390×associate-*l*_binary64
350×associate-*r*_binary64
312×distribute-rgt-neg-in_binary64
302×distribute-lft-neg-in_binary64
Counts
92 → 85
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01241434
12301354
26071326
319661314
441651314
548371308
649951308
748911308

prune119.0ms (1.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1121113
Fresh145
Picked011
Done000
Total1136119
Error
0.0b
Counts
119 → 6
Alt Table
StatusErrorProgram
0.3b
(fma.f64 (*.f64 (*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 1/6)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.9b
(fma.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 1/6)) (+.f64 (log.f64 (sqrt.f64 1/6)) (log.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.2b
(fma.f64 (sqrt.f64 (log.f64 (pow.f64 u1 -1/18))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(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.3b
(fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (cbrt.f64 (*.f64 (pow.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) 3) 1/216)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 2333 to 1683 computations (27.9% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (sqrt.f64 (log.f64 (pow.f64 u1 -1/18))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.1b
(sqrt.f64 (log.f64 (pow.f64 u1 -1/18)))
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
2.7b
(pow.f64 u1 -1/18)

series1.1s (14.9%)

Counts
3 → 44
Calls

3 calls:

681.0ms
(fma.f64 (sqrt.f64 (log.f64 (pow.f64 u1 -1/18))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
343.0ms
(sqrt.f64 (log.f64 (pow.f64 u1 -1/18)))
26.0ms
(pow.f64 u1 -1/18)

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
sqrt-prod_binary64
Counts
3 → 45
Calls

3 calls:

2.0ms
(sqrt.f64 (log.f64 (pow.f64 u1 -1/18)))
1.0ms
(pow.f64 u1 -1/18)
0.0ms
(fma.f64 (sqrt.f64 (log.f64 (pow.f64 u1 -1/18))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)

simplify120.0ms (1.7%)

Algorithm
egg-herbie
Rules
498×fma-neg_binary64
333×associate-*r*_binary64
310×associate-*l*_binary64
306×unswap-sqr_binary64
284×distribute-rgt-neg-in_binary64
Counts
89 → 82
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01231397
12391319
25861286
320951260
446661221
549611221
649981221
749051221

prune105.0ms (1.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh134
Picked101
Done011
Total1115116
Error
0.0b
Counts
116 → 5
Alt Table
StatusErrorProgram
0.3b
(fma.f64 (*.f64 (*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 1/6)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.9b
(fma.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 1/6)) (+.f64 (log.f64 (sqrt.f64 1/6)) (log.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(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)
1.1b
(+.f64 1/2 (sqrt.f64 (log.f64 (pow.f64 u1 -1/18))))
0.3b
(fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 2146 to 1649 computations (23.2% saved)

regimes1.6s (22.9%)

Accuracy

Total 0.2b remaining (86.4%)

Threshold costs 0.2b (86.4%)

Counts
121 → 1
Compiler

Compiled 28188 to 24950 computations (11.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01726
11926
21926

end101.0ms (1.4%)

Compiler

Compiled 125 to 112 computations (10.4% saved)

Profiling

Loading profile data...