Details

Time bar (total: 5.8s)

analyze88.0ms (1.5%)

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)

sample1.9s (33.1%)

Results
1.8s8256×body128valid
Compiler

Compiled 93 to 79 computations (15.1% saved)

simplify54.0ms (0.9%)

Algorithm
egg-herbie
Rules
818×unswap-sqr_binary64
500×sqr-pow_binary64
281×cube-prod_binary64
277×*-commutative_binary64
242×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02024
13824
26524
311424
425524
573924
6100724
7133724
8262124
9272324
10288424
11309324
12340024
13382824
14439224
Stop Event
node limit
Counts
1 → 2

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.4b
(+.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.4b
(fma.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (*.f64 1/6 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) 1/2)
Compiler

Compiled 112 to 98 computations (12.5% saved)

localize14.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.4b
(*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2))

series199.0ms (3.4%)

Counts
4 → 60
Calls

4 calls:

142.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)
31.0ms
(*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2))
23.0ms
(pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)
3.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)

rewrite74.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
572×prod-diff_binary64
183×add-sqr-sqrt_binary64
175×log1p-expm1-u_binary64
175×expm1-log1p-u_binary64
171×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02051
139451
2440151
Stop Event
node limit
Counts
4 → 83
Calls

4 calls:

72.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)
72.0ms
(pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)
72.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)
72.0ms
(*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2))

simplify53.0ms (0.9%)

Algorithm
egg-herbie
Rules
726×unswap-sqr_binary64
433×fma-neg_binary64
309×distribute-rgt-neg-in_binary64
298×distribute-lft-neg-in_binary64
285×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0761098
11931050
25141020
32142998
44345998
Stop Event
node limit
Counts
143 → 104

prune123.0ms (2.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New986104
Fresh101
Picked101
Done000
Total1006106
Error
0b
Counts
106 → 6
Alt Table
StatusErrorProgram
0.5b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 (log.f64 u1) 2)))) (sqrt.f64 (cbrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(+.f64 (*.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (log.f64 (/.f64 1 u1))) (sqrt.f64 2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.2b
(+.f64 (*.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 (*.f64 (pow.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) 2) (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))) (cbrt.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))))) 1/2)
0.3b
(+.f64 (*.f64 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 1/6 (sqrt.f64 2))) (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)
Compiler

Compiled 2776 to 2125 computations (23.5% 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.1b
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.3b
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

series246.0ms (4.2%)

Counts
3 → 48
Calls

3 calls:

201.0ms
(+.f64 (*.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))
22.0ms
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

rewrite60.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
520×prod-diff_binary64
167×add-sqr-sqrt_binary64
159×add-log-exp_binary64
159×log1p-expm1-u_binary64
159×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01744
135335
2408035
Stop Event
node limit
Counts
3 → 77
Calls

3 calls:

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

simplify51.0ms (0.9%)

Algorithm
egg-herbie
Rules
726×unswap-sqr_binary64
416×fma-neg_binary64
312×distribute-rgt-neg-in_binary64
303×distribute-lft-neg-in_binary64
266×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
069826
1175814
2455786
32044774
44130774
Stop Event
node limit
Counts
125 → 97

prune128.0ms (2.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1103113
Fresh325
Picked011
Done000
Total1136119
Error
0b
Counts
119 → 6
Alt Table
StatusErrorProgram
0.5b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 (log.f64 u1) 2)))) (sqrt.f64 (cbrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(+.f64 (*.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (log.f64 (/.f64 1 u1))) (sqrt.f64 2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.6b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (log.f64 u1) -1/18) (pow.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) 2))) (cbrt.f64 (*.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))))) 1/2)
0.3b
(fma.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) (*.f64 (sqrt.f64 1/18) (sqrt.f64 (neg.f64 (log.f64 u1)))) 1/2)
0.2b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(+.f64 (*.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 2589 to 1911 computations (26.2% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series194.0ms (3.3%)

Counts
4 → 40
Calls

4 calls:

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

rewrite56.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
575×prod-diff_binary64
262×log1p-udef_binary64
158×add-sqr-sqrt_binary64
149×log1p-expm1-u_binary64
149×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01645
132939
2379039
Stop Event
node limit
Counts
4 → 79
Calls

4 calls:

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

simplify41.0ms (0.7%)

Algorithm
egg-herbie
Rules
601×fma-neg_binary64
511×distribute-rgt-neg-in_binary64
500×associate-*r*_binary64
493×distribute-lft-neg-in_binary64
483×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078966
1209950
2607924
32929922
Stop Event
node limit
Counts
119 → 99

prune70.0ms (1.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh044
Picked011
Done011
Total996105
Error
0b
Counts
105 → 6
Alt Table
StatusErrorProgram
0.5b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 (log.f64 u1) 2)))) (sqrt.f64 (cbrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(+.f64 (*.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (log.f64 (/.f64 1 u1))) (sqrt.f64 2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.6b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (log.f64 u1) -1/18) (pow.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) 2))) (cbrt.f64 (*.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))))) 1/2)
0.3b
(fma.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) (*.f64 (sqrt.f64 1/18) (sqrt.f64 (neg.f64 (log.f64 u1)))) 1/2)
0.2b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(+.f64 (*.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 2144 to 1491 computations (30.5% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series68.0ms (1.2%)

Counts
3 → 24
Calls

3 calls:

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

rewrite39.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
824×log1p-expm1-u_binary64
824×expm1-log1p-u_binary64
99×add-sqr-sqrt_binary64
94×add-log-exp_binary64
93×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01130
122230
2238230
Stop Event
node limit
Counts
3 → 52
Calls

3 calls:

38.0ms
(sqrt.f64 (log.f64 (/.f64 1 u1)))
38.0ms
(*.f64 1/6 (*.f64 (sqrt.f64 (log.f64 (/.f64 1 u1))) (sqrt.f64 2)))
38.0ms
(*.f64 (sqrt.f64 (log.f64 (/.f64 1 u1))) (sqrt.f64 2))

simplify26.0ms (0.5%)

Algorithm
egg-herbie
Rules
102×fma-neg_binary64
48×fma-def_binary64
33×cancel-sign-sub-inv_binary64
20×sub-neg_binary64
14×*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
018344
130344
250344
367344
492344
5146344
6253344
7383344
8452344
9493344
10498344
Stop Event
saturated
Counts
76 → 62

prune91.0ms (1.6%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New78078
Fresh033
Picked011
Done022
Total78684
Error
0b
Counts
84 → 6
Alt Table
StatusErrorProgram
0.5b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 (log.f64 u1) 2)))) (sqrt.f64 (cbrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(+.f64 (*.f64 (*.f64 1/6 (*.f64 (sqrt.f64 (log.f64 (/.f64 1 u1))) (sqrt.f64 2))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.6b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (log.f64 u1) -1/18) (pow.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) 2))) (cbrt.f64 (*.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))))) 1/2)
0.3b
(fma.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) (*.f64 (sqrt.f64 1/18) (sqrt.f64 (neg.f64 (log.f64 u1)))) 1/2)
0.2b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(+.f64 (*.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 1767 to 1343 computations (24% saved)

regimes2.1s (35.3%)

Accuracy

Total 0.2b remaining (87.1%)

Threshold costs 0.2b (87.1%)

Counts
154 → 1
Compiler

Compiled 38308 to 33652 computations (12.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01624
12224
Stop Event
saturated

end124.0ms (2.1%)

Compiler

Compiled 170 to 147 computations (13.5% saved)

Profiling

Loading profile data...