Details

Time bar (total: 5.9s)

analyze274.0ms (4.7%)

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 28 to 26 computations (7.1% saved)

sample42.0ms (0.7%)

Algorithm
intervals
Results
24.0ms256×body128valid
7.0ms256×pre128true
Compiler

Compiled 47 to 47 computations (0% saved)

simplify266.0ms (4.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (161.0ms)

IterNodesCost
0564426

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
0.3b
Counts
2 → 1
Compiler

Compiled 32 to 32 computations (0% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite24.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×pow1_binary64
11×add-exp-log_binary64 add-cbrt-cube_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 associate-*r*_binary64 add-cube-cbrt_binary64
add-log-exp_binary64
pow-prod-down_binary64
cbrt-unprod_binary64 associate-*l*_binary64 prod-exp_binary64
sqrt-pow1_binary64 sqrt-prod_binary64 *-commutative_binary64
flip3-+_binary64 pow1/2_binary64 unswap-sqr_binary64 +-commutative_binary64 flip-+_binary64 sum-log_binary64
Counts
4 → 59
Calls

4 calls:

8.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
5.0ms
(*.f64 (*.f64 2 PI.f64) u2)
3.0ms
(+.f64 1/2 (*.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2))))
2.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))

series518.0ms (8.8%)

Counts
4 → 17
Calls

4 calls:

301.0ms
(+.f64 1/2 (*.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2))))
103.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
85.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
28.0ms
(*.f64 (*.f64 2 PI.f64) u2)
Compiler

Compiled 628 to 611 computations (2.7% saved)

simplify77.0ms (1.3%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049271228
149271228

prune106.0ms (1.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New71576
Fresh000
Picked101
Done000
Total72577
Error
0b
Counts
77 → 5
Compiler

Compiled 1662 to 1285 computations (22.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite34.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
31×sqrt-prod_binary64
24×add-sqr-sqrt_binary64
23×pow1_binary64
19×associate-*l*_binary64
16×add-exp-log_binary64 add-cbrt-cube_binary64
15×*-un-lft-identity_binary64 add-cube-cbrt_binary64
10×associate-*r*_binary64
pow-prod-down_binary64
distribute-lft-neg-in_binary64 distribute-rgt-neg-in_binary64
cbrt-unprod_binary64 prod-exp_binary64
add-log-exp_binary64 log-pow_binary64 unswap-sqr_binary64
pow1/2_binary64 sqrt-pow1_binary64 *-commutative_binary64
neg-mul-1_binary64
sqrt-unprod_binary64 rem-sqrt-square_binary64
Counts
4 → 97
Calls

4 calls:

10.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))
8.0ms
(*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2)))
5.0ms
(*.f64 (*.f64 2 PI.f64) u2)
2.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))

series293.0ms (5%)

Counts
4 → 12
Calls

4 calls:

110.0ms
(*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2)))
89.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))
63.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))
31.0ms
(*.f64 (*.f64 2 PI.f64) u2)
Compiler

Compiled 462 to 462 computations (0% saved)

simplify51.0ms (0.9%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049491396
149491396

prune133.0ms (2.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1090109
Fresh044
Picked011
Done000
Total1095114
Error
0b
Counts
114 → 5
Compiler

Compiled 2488 to 1691 computations (32% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite33.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
31×pow1_binary64
19×pow-prod-down_binary64
16×add-exp-log_binary64 add-cbrt-cube_binary64
14×add-sqr-sqrt_binary64
12×sqrt-pow1_binary64
11×associate-*l*_binary64
10×*-un-lft-identity_binary64 associate-*r*_binary64 add-cube-cbrt_binary64
sqrt-prod_binary64
cbrt-unprod_binary64 prod-exp_binary64
pow1/2_binary64
add-log-exp_binary64
sqrt-unprod_binary64 *-commutative_binary64
unswap-sqr_binary64
Counts
4 → 81
Calls

4 calls:

11.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 1/6)))
8.0ms
(*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 1/6))
5.0ms
(*.f64 (*.f64 2 PI.f64) u2)
2.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))

series347.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

126.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 1/6)))
112.0ms
(*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 1/6))
76.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
33.0ms
(*.f64 (*.f64 2 PI.f64) u2)
Compiler

Compiled 522 to 522 computations (0% saved)

simplify74.0ms (1.3%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
050261122

prune145.0ms (2.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New92193
Fresh213
Picked011
Done011
Total94498
Error
0b
Counts
98 → 4
Compiler

Compiled 2146 to 1727 computations (19.5% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 1/2 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2))))
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)

rewrite22.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
20×pow1_binary64
14×add-exp-log_binary64 add-cbrt-cube_binary64
pow-prod-down_binary64
*-un-lft-identity_binary64 add-log-exp_binary64 cbrt-unprod_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 prod-exp_binary64 add-sqr-sqrt_binary64
sqrt-pow1_binary64
associate-*l*_binary64 *-commutative_binary64
flip3-+_binary64 pow1/2_binary64 +-commutative_binary64 sqrt-prod_binary64 flip-+_binary64 sum-log_binary64
Counts
4 → 59
Calls

4 calls:

6.0ms
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)
5.0ms
(*.f64 (*.f64 2 PI.f64) u2)
4.0ms
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
3.0ms
(+.f64 1/2 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2))))

series450.0ms (7.7%)

Counts
4 → 17
Calls

4 calls:

261.0ms
(+.f64 1/2 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2))))
84.0ms
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
74.0ms
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)
32.0ms
(*.f64 (*.f64 2 PI.f64) u2)
Compiler

Compiled 574 to 557 computations (3% saved)

simplify57.0ms (1%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050581046

prune86.0ms (1.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New76076
Fresh011
Picked011
Done022
Total76480
Error
0b
Counts
80 → 4
Compiler

Compiled 1420 to 1063 computations (25.1% saved)

regimes814.0ms (13.8%)

Accuracy

Total 0.2b remaining (99.3%)

Threshold costs 0.2b (99.3%)

Compiler

Compiled 8876 to 8483 computations (4.4% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01923
11923

end0.0ms (0%)

sample2.0s (33.5%)

Algorithm
intervals
Results
744.0ms8000×body128valid
209.0ms8000×pre128true
Compiler

Compiled 801 to 765 computations (4.5% saved)

Profiling

Loading profile data...