Details

Time bar (total: 7.3s)

analyze87.0ms (1.2%)

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.4s (33.4%)

Results
2.3s8256×body128valid
Compiler

Compiled 93 to 79 computations (15.1% saved)

simplify122.0ms (1.7%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.3b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
Compiler

Compiled 78 to 68 computations (12.8% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series438.0ms (6%)

Counts
4 → 60
Calls

4 calls:

247.0ms
(pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)
154.0ms
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
34.0ms
(*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2))
3.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)

rewrite70.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
572×prod-diff_binary64
184×add-sqr-sqrt_binary64
175×log1p-expm1-u_binary64
175×expm1-log1p-u_binary64
172×add-log-exp_binary64
Counts
4 → 85
Calls

4 calls:

67.0ms
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
67.0ms
(pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)
67.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)
67.0ms
(*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02051
139251
2417451
3501551

simplify66.0ms (0.9%)

Algorithm
egg-herbie
Rules
728×unswap-sqr_binary64
433×fma-neg_binary64
309×distribute-rgt-neg-in_binary64
301×distribute-lft-neg-in_binary64
289×associate-*l*_binary64
Counts
145 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0761098
11721050
24651020
31647998
43476998
55076998

prune126.0ms (1.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New996105
Fresh000
Picked101
Done000
Total1006106
Error
0.0b
Counts
106 → 6
Alt Table
StatusErrorProgram
0.5b
(+.f64 (*.f64 (-.f64 (exp.f64 (log1p.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) 1) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.6b
(cbrt.f64 (pow.f64 (fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2) 3))
0.3b
(fma.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)
0.7b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (*.f64 (cbrt.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.5b
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36) (pow.f64 (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 2)) 1/4) (fma.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) -1/2))
0.3b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
Compiler

Compiled 2775 to 2195 computations (20.9% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.2b
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.4b
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

series202.0ms (2.8%)

Counts
3 → 48
Calls

3 calls:

149.0ms
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
27.0ms
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
26.0ms
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

rewrite70.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
520×prod-diff_binary64
298×log1p-udef_binary64
167×add-sqr-sqrt_binary64
159×add-log-exp_binary64
159×log1p-expm1-u_binary64
Counts
3 → 79
Calls

3 calls:

68.0ms
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
68.0ms
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
68.0ms
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01744
135135
2391235
3521335

simplify112.0ms (1.5%)

Algorithm
egg-herbie
Rules
728×unswap-sqr_binary64
416×fma-neg_binary64
311×distribute-rgt-neg-in_binary64
302×distribute-lft-neg-in_binary64
266×associate-*r*_binary64
Counts
127 → 99
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
069826
1153814
2406786
31564774
43319774
54907768
64966768
74998768
84970768

prune131.0ms (1.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1124116
Fresh325
Picked101
Done000
Total1166122
Error
0.0b
Counts
122 → 6
Alt Table
StatusErrorProgram
0.3b
(+.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) 1/6) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(fma.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) 1/2)
0.4b
(exp.f64 (log.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)))
0.7b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (*.f64 (cbrt.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.3b
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2))))
0.5b
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36) (pow.f64 (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 2)) 1/4) (fma.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) -1/2))
Compiler

Compiled 2641 to 2017 computations (23.6% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series214.0ms (2.9%)

Counts
3 → 48
Calls

3 calls:

160.0ms
(expm1.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2))
28.0ms
(*.f64 (log.f64 u1) -1/18)
26.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/18))

rewrite86.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
469×prod-diff_binary64
253×expm1-udef_binary64
253×log1p-udef_binary64
228×log-pow_binary64
142×add-sqr-sqrt_binary64
Counts
3 → 66
Calls

3 calls:

84.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/18))
84.0ms
(*.f64 (log.f64 u1) -1/18)
84.0ms
(expm1.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01537
129437
2318937
3487237
4494937

simplify56.0ms (0.8%)

Algorithm
egg-herbie
Rules
936×fma-neg_binary64
426×fma-def_binary64
399×*-commutative_binary64
317×distribute-rgt-neg-in_binary64
312×distribute-lft-neg-in_binary64
Counts
114 → 86
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01031134
12951109
29291050
326331045
451201045

prune143.0ms (2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1021103
Fresh055
Picked101
Done000
Total1036109
Error
0.0b
Counts
109 → 6
Alt Table
StatusErrorProgram
0.3b
(+.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) 1/6) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(fma.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) 1/2)
0.4b
(exp.f64 (log.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)))
0.5b
(log.f64 (+.f64 1 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2))) 3)))
0.7b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (*.f64 (cbrt.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.5b
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36) (pow.f64 (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 2)) 1/4) (fma.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) -1/2))
Compiler

Compiled 2903 to 2306 computations (20.6% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series180.0ms (2.5%)

Counts
4 → 36
Calls

4 calls:

151.0ms
(fma.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) 1/2)
24.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))
3.0ms
(cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))
2.0ms
(*.f64 (PI.f64) u2)

rewrite72.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
575×prod-diff_binary64
262×expm1-udef_binary64
262×log1p-udef_binary64
157×add-sqr-sqrt_binary64
148×log1p-expm1-u_binary64
Counts
4 → 108
Calls

4 calls:

70.0ms
(cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))
70.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))
70.0ms
(fma.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) 1/2)
70.0ms
(*.f64 (PI.f64) u2)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01647
132443
2334343
3498343

simplify72.0ms (1%)

Algorithm
egg-herbie
Rules
923×fma-neg_binary64
678×distribute-rgt-neg-in_binary64
615×associate-*r*_binary64
582×associate-*l*_binary64
245×neg-mul-1_binary64
Counts
144 → 132
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
087944
1203924
2636894
32836892
44823892
54994892

prune113.0ms (1.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1320132
Fresh055
Picked011
Done000
Total1326138
Error
0.0b
Counts
138 → 6
Alt Table
StatusErrorProgram
0.3b
(+.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) 1/6) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(fma.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) 1/2)
0.4b
(exp.f64 (log.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)))
0.5b
(log.f64 (+.f64 1 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2))) 3)))
0.7b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (*.f64 (cbrt.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.5b
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36) (pow.f64 (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 2)) 1/4) (fma.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) -1/2))
Compiler

Compiled 3554 to 2094 computations (41.1% saved)

regimes2.3s (31.8%)

Accuracy

Total 0.2b remaining (91.1%)

Threshold costs 0.2b (91.1%)

Counts
184 → 1
Compiler

Compiled 44534 to 39343 computations (11.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02034
12934
23034
32834

end128.0ms (1.8%)

Compiler

Compiled 182 to 160 computations (12.1% saved)

Profiling

Loading profile data...