Details

Time bar (total: 7.3s)

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

sample3.3s (45.4%)

Results
3.1s8256×body128valid
Compiler

Compiled 93 to 79 computations (15.1% saved)

simplify151.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

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

localize21.0ms (0.3%)

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.2b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.3b
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))

series411.0ms (5.6%)

Counts
4 → 52
Calls

4 calls:

193.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
166.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
45.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
6.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)

rewrite119.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
362×prod-diff_binary64
268×expm1-udef_binary64
268×log1p-udef_binary64
242×fma-udef_binary64
185×fma-neg_binary64
Counts
4 → 76
Calls

4 calls:

117.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
117.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
117.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)
117.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01651
131751
2339051
3486351
4485351
5488651
000
100

simplify70.0ms (1%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
0761086
11721038
2465968
31647922
43490922
55076922

prune108.0ms (1.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New91798
Fresh000
Picked101
Done000
Total92799
Error
0.0b
Counts
99 → 7
Alt Table
StatusErrorProgram
0.6b
(fma.f64 (*.f64 1/6 (pow.f64 (pow.f64 (*.f64 -2 (log.f64 u1)) 1/4) 2)) (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.2b
(fma.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (pow.f64 (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) 2) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
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.6b
(expm1.f64 (log1p.f64 (fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)))
0.6b
(pow.f64 (sqrt.f64 (fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)) 2)
Compiler

Compiled 2242 to 1754 computations (21.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series203.0ms (2.8%)

Counts
3 → 48
Calls

3 calls:

159.0ms
(fma.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
23.0ms
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
21.0ms
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

rewrite116.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
362×prod-diff_binary64
269×expm1-udef_binary64
269×log1p-udef_binary64
242×fma-udef_binary64
190×fma-neg_binary64
Counts
3 → 66
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01644
132035
2343435
3491235
4490835
5492635
000
100

simplify115.0ms (1.6%)

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
114 → 86
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
069826
1153814
2406786
31564774
43319774
54907768
64966768
74998768
84970768

prune114.0ms (1.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New984102
Fresh516
Picked101
Done000
Total1045109
Error
0.0b
Counts
109 → 5
Alt Table
StatusErrorProgram
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.6b
(expm1.f64 (log1p.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)))
0.6b
(pow.f64 (sqrt.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)) 2)
0.3b
(fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 (log.f64 u1) -1/18) 3))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 1/6 (pow.f64 (pow.f64 (*.f64 -2 (log.f64 u1)) 1/4) 2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 2053 to 1557 computations (24.2% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))))
0.1b
(sqrt.f64 (neg.f64 (log.f64 u1)))
0.2b
(*.f64 (PI.f64) u2)
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)

series199.0ms (2.7%)

Counts
4 → 36
Calls

4 calls:

167.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)
22.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))
7.0ms
(*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))))
2.0ms
(*.f64 (PI.f64) u2)

rewrite68.0ms (0.9%)

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

4 calls:

66.0ms
(*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))))
66.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))
66.0ms
(*.f64 (PI.f64) u2)
66.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)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01652
132448
2334348
3498348
000
100

simplify80.0ms (1.1%)

Algorithm
egg-herbie
Rules
682×distribute-rgt-neg-in_binary64
672×associate-*l*_binary64
654×distribute-lft-neg-in_binary64
624×associate-*r*_binary64
355×neg-mul-1_binary64
Counts
114 → 102
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
097982
1212962
2656914
32980914
44772914
55053914

prune76.0ms (1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1011102
Fresh044
Picked011
Done000
Total1016107
Error
0b
Counts
107 → 6
Alt Table
StatusErrorProgram
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.6b
(expm1.f64 (log1p.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)))
1.2b
(fma.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (-.f64 (exp.f64 (log1p.f64 (*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))))) 1) 1/2)
0.6b
(pow.f64 (sqrt.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)) 2)
0.3b
(fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 (log.f64 u1) -1/18) 3))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 1/6 (pow.f64 (pow.f64 (*.f64 -2 (log.f64 u1)) 1/4) 2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 2308 to 1536 computations (33.4% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.4b
(*.f64 (log.f64 u1) -1/18)
0.5b
(cbrt.f64 (pow.f64 (*.f64 (log.f64 u1) -1/18) 3))
0.7b
(pow.f64 (*.f64 (log.f64 u1) -1/18) 3)

series93.0ms (1.3%)

Counts
3 → 36
Calls

3 calls:

43.0ms
(cbrt.f64 (pow.f64 (*.f64 (log.f64 u1) -1/18) 3))
29.0ms
(pow.f64 (*.f64 (log.f64 u1) -1/18) 3)
21.0ms
(*.f64 (log.f64 u1) -1/18)

rewrite53.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
563×log1p-expm1-u_binary64
563×expm1-log1p-u_binary64
520×unpow-prod-down_binary64
291×log-prod_binary64
161×pow2_binary64
Counts
3 → 134
Calls

3 calls:

51.0ms
(*.f64 (log.f64 u1) -1/18)
51.0ms
(cbrt.f64 (pow.f64 (*.f64 (log.f64 u1) -1/18) 3))
51.0ms
(pow.f64 (*.f64 (log.f64 u1) -1/18) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0821
114621
2150121
3546621
000
100

simplify97.0ms (1.3%)

Algorithm
egg-herbie
Rules
1117×unsub-neg_binary64
437×neg-sub0_binary64
400×sub-neg_binary64
389×neg-mul-1_binary64
370×unswap-sqr_binary64
Counts
170 → 124
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030276
169276
2167276
3423276
41380276
52378276
63959276
74917276
84999276
94827276

prune125.0ms (1.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1391140
Fresh134
Picked011
Done011
Total1406146
Error
0b
Counts
146 → 6
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sqrt.f64 (log.f64 (pow.f64 u1 -1/18))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
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.6b
(expm1.f64 (log1p.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)))
1.2b
(fma.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (-.f64 (exp.f64 (log1p.f64 (*.f64 (sqrt.f64 1/18) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))))) 1) 1/2)
0.6b
(pow.f64 (sqrt.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)) 2)
0.3b
(fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 (log.f64 u1) -1/18) 3))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 3070 to 2331 computations (24.1% saved)

regimes1.5s (20.8%)

Accuracy

Total 0.2b remaining (89.9%)

Threshold costs 0.2b (89.9%)

Counts
124 → 1
Compiler

Compiled 25867 to 22954 computations (11.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01421
11621
21621

end108.0ms (1.5%)

Compiler

Compiled 136 to 120 computations (11.8% saved)

Profiling

Loading profile data...