Details

Time bar (total: 5.7s)

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

Results
2.4s8256×body128valid
Compiler

Compiled 93 to 79 computations (15.1% saved)

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

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

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

series224.0ms (3.9%)

Counts
4 → 52
Calls

4 calls:

165.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
32.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
24.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
3.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)

rewrite119.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
76×egg-rr
Counts
4 → 76
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01651
131751
2339051
3486351
4485351
5488651
000
100

simplify63.0ms (1.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

prune102.0ms (1.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New92698
Fresh000
Picked101
Done000
Total93699
Error
0b
Counts
99 → 6
Alt Table
StatusErrorProgram
0.5b
(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.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 (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.7b
(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)
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.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)
Compiler

Compiled 2202 to 1718 computations (22% saved)

localize11.0ms (0.2%)

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.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.4b
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

series208.0ms (3.6%)

Counts
3 → 48
Calls

3 calls:

160.0ms
(fma.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
25.0ms
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
22.0ms
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

rewrite114.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
66×egg-rr
Counts
3 → 66
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01644
132035
2343435
3491235
4490835
5492635
000
100

simplify111.0ms (1.9%)

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 (2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New984102
Fresh415
Picked011
Done000
Total1026108
Error
0b
Counts
108 → 6
Alt Table
StatusErrorProgram
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.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.5b
(cbrt.f64 (pow.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2) 3))
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.4b
(fma.f64 (sqrt.f64 (exp.f64 (log.f64 (*.f64 (log.f64 u1) -1/18)))) (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)
Compiler

Compiled 2068 to 1570 computations (24.1% saved)

localize12.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
(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)

series194.0ms (3.4%)

Counts
4 → 36
Calls

4 calls:

164.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)
21.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)

rewrite61.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
78×egg-rr
Counts
4 → 78
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01652
132448
2334348
3498348
000
100

simplify74.0ms (1.3%)

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

prune81.0ms (1.4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh044
Picked011
Done011
Total1026108
Error
0b
Counts
108 → 6
Alt Table
StatusErrorProgram
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.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.5b
(cbrt.f64 (pow.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2) 3))
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.4b
(fma.f64 (sqrt.f64 (exp.f64 (log.f64 (*.f64 (log.f64 u1) -1/18)))) (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)
Compiler

Compiled 2281 to 1511 computations (33.8% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series69.0ms (1.2%)

Counts
3 → 36
Calls

3 calls:

24.0ms
(sqrt.f64 (exp.f64 (log.f64 (*.f64 (log.f64 u1) -1/18))))
23.0ms
(exp.f64 (log.f64 (*.f64 (log.f64 u1) -1/18)))
22.0ms
(*.f64 (log.f64 u1) -1/18)

rewrite54.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
129×egg-rr
Counts
3 → 129
Calls

2 calls:

52.0ms
((exp.f64 (log.f64 (*.f64 (log.f64 u1) -1/18))) (*.f64 (log.f64 u1) -1/18) (sqrt.f64 (exp.f64 (log.f64 (*.f64 (log.f64 u1) -1/18)))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0820
113220
2141420
3521020
000
100

simplify215.0ms (3.7%)

Algorithm
egg-herbie
Rules
1383×distribute-rgt-in_binary64
1053×distribute-lft-in_binary64
998×distribute-neg-in_binary64
871×unsub-neg_binary64
748×fma-def_binary64
Counts
165 → 117
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021256
133256
251256
395256
4154256
5409256
6949256
71742256
81914256
92189256
102297256
112336256
122346256
133156256
143179256
153133256
163259256
173301256
183301256
193343256
203343256
213343256
224575256
235051256

prune109.0ms (1.9%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1330133
Fresh033
Picked011
Done022
Total1336139
Error
0b
Counts
139 → 6
Alt Table
StatusErrorProgram
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.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.5b
(cbrt.f64 (pow.f64 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2) 3))
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.4b
(fma.f64 (sqrt.f64 (exp.f64 (log.f64 (*.f64 (log.f64 u1) -1/18)))) (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)
Compiler

Compiled 2737 to 2027 computations (25.9% saved)

regimes925.0ms (16.1%)

Accuracy

Total 0.2b remaining (83.5%)

Threshold costs 0.2b (83.5%)

Counts
79 → 1
Compiler

Compiled 16024 to 14231 computations (11.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01421
11621
21621

end112.0ms (2%)

Compiler

Compiled 136 to 120 computations (11.8% saved)

Profiling

Loading profile data...