Details

Time bar (total: 8.1s)

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

sample45.0ms (0.6%)

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

Compiled 47 to 47 computations (0% saved)

simplify310.0ms (3.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (167.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.1b
(+.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.4b
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))

rewrite25.0ms (0.3%)

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

series480.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

176.0ms
(+.f64 1/2 (*.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2))))
167.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
111.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
25.0ms
(*.f64 (*.f64 2 PI.f64) u2)

simplify148.0ms (1.8%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (126.0ms)

IterNodesCost
049041090
149041090

prune202.0ms (2.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New63871
Fresh000
Picked101
Done000
Total64872
Error
0.0b
Counts
72 → 8
Compiler

Compiled 1669 to 1306 computations (21.7% saved)

localize30.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite71.0ms (0.9%)

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:

22.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 1/6)))
16.0ms
(*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 1/6))
10.0ms
(*.f64 (*.f64 2 PI.f64) u2)
5.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))

series425.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

141.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 1/6)))
124.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
123.0ms
(*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 1/6))
37.0ms
(*.f64 (*.f64 2 PI.f64) u2)

simplify115.0ms (1.4%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
050261122

prune220.0ms (2.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New91293
Fresh257
Picked101
Done000
Total947101
Error
0b
Counts
101 → 7
Compiler

Compiled 2252 to 1831 computations (18.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (*.f64 (log.f64 u1) -1/3))
0.2b
(*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 (log.f64 u1) -1/3)))
0.3b
(*.f64 (*.f64 2 PI.f64) u2)
0.4b
(*.f64 (log.f64 u1) -1/3)

rewrite26.0ms (0.3%)

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

4 calls:

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

series366.0ms (4.5%)

Counts
4 → 12
Calls

4 calls:

163.0ms
(*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 (log.f64 u1) -1/3)))
132.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/3))
52.0ms
(*.f64 (log.f64 u1) -1/3)
19.0ms
(*.f64 (*.f64 2 PI.f64) u2)

simplify109.0ms (1.3%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
05161940

prune141.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh066
Picked011
Done000
Total87794
Error
0b
Counts
94 → 7
Compiler

Compiled 1923 to 1515 computations (21.2% saved)

localize24.0ms (0.3%)

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

rewrite20.0ms (0.2%)

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
pow1/2_binary64 rem-exp-log_binary64 unswap-sqr_binary64 exp-to-pow_binary64 exp-prod_binary64
Counts
4 → 58
Calls

4 calls:

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

series419.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

186.0ms
(exp.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))
122.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
92.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
19.0ms
(*.f64 (*.f64 2 PI.f64) u2)

simplify140.0ms (1.7%)

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (123.0ms)

IterNodesCost
04884772
14884772

prune136.0ms (1.7%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New70070
Fresh055
Picked011
Done011
Total70777
Error
0b
Counts
77 → 7
Compiler

Compiled 1495 to 1176 computations (21.3% saved)

regimes1.2s (15%)

Accuracy

Total 0.2b remaining (99.3%)

Threshold costs 0.2b (99.3%)

Compiler

Compiled 8860 to 8532 computations (3.7% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02023
12023

end0.0ms (0%)

sample3.0s (37.2%)

Algorithm
intervals
Results
1.1s8000×body128valid
304.0ms8000×pre128true
Compiler

Compiled 855 to 823 computations (3.7% saved)

Profiling

Loading profile data...