Details

Time bar (total: 7.6s)

analyze401.0ms (5.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 30 to 26 computations (13.3% saved)

sample70.0ms (0.9%)

Algorithm
intervals
Results
52.0ms256×body128valid
6.0ms256×pre128true
Compiler

Compiled 53 to 47 computations (11.3% saved)

simplify195.0ms (2.6%)

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 → 1
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

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 93 to 83 computations (10.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(cos.f64 (*.f64 (*.f64 2 PI.f64) u2))
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))))

rewrite272.0ms (3.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
30×pow1_binary64
26×add-sqr-sqrt_binary64
19×add-cube-cbrt_binary64
18×add-exp-log_binary64
16×add-cbrt-cube_binary64
Counts
4 → 144
Calls

4 calls:

56.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
14.0ms
(*.f64 (*.f64 2 PI.f64) u2)
14.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
12.0ms
(cos.f64 (*.f64 (*.f64 2 PI.f64) u2))
Compiler

Compiled 2497 to 1714 computations (31.4% saved)

series53.0ms (0.7%)

Error
0.2b
Counts
4 → 15
Calls

4 calls:

16.0ms
(*.f64 (*.f64 2 PI.f64) u2)
11.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
9.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
8.0ms
(cos.f64 (*.f64 (*.f64 2 PI.f64) u2))
Compiler

Compiled 684 to 595 computations (13% saved)

simplify80.0ms (1.1%)

Algorithm
egg-herbie
Rules
726×fma-def_binary64
426×distribute-rgt-in_binary64
405×distribute-lft-in_binary64
344×*-commutative_binary64
221×cancel-sign-sub-inv_binary64
Counts
159 → 71
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01831740
13931615
210691558
322201556
450121556

prune57.0ms (0.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New65671
Fresh101
Picked101
Done000
Total67673
Error
0.0b
Counts
73 → 6
Alt Table
StatusErrorProgram
0.7b
(fma.f64 (*.f64 1/6 (exp.f64 (*.f64 1/2 (log.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.3b
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2)) 4))) 1/2)
0.6b
(fma.f64 (*.f64 (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.2b
(fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.7b
(fma.f64 (*.f64 (cbrt.f64 (*.f64 (log.f64 u1) -1/18)) (cbrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/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)
Compiler

Compiled 1340 to 943 computations (29.6% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(cos.f64 (*.f64 (*.f64 2 PI.f64) u2))
0.2b
(sqrt.f64 (*.f64 (log.f64 u1) -1/18))
0.2b
(*.f64 (*.f64 2 PI.f64) u2)
0.4b
(*.f64 (log.f64 u1) -1/18)

rewrite179.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
37×pow1_binary64
26×add-sqr-sqrt_binary64
18×add-exp-log_binary64
18×add-cube-cbrt_binary64
16×pow-prod-down_binary64
Counts
4 → 145
Calls

4 calls:

16.0ms
(*.f64 (*.f64 2 PI.f64) u2)
13.0ms
(*.f64 (log.f64 u1) -1/18)
12.0ms
(cos.f64 (*.f64 (*.f64 2 PI.f64) u2))
11.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/18))
Compiler

Compiled 2190 to 1416 computations (35.3% saved)

series40.0ms (0.5%)

Error
0.0b
Counts
4 → 15
Calls

4 calls:

10.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/18))
8.0ms
(*.f64 (log.f64 u1) -1/18)
7.0ms
(cos.f64 (*.f64 (*.f64 2 PI.f64) u2))
5.0ms
(*.f64 (*.f64 2 PI.f64) u2)
Compiler

Compiled 629 to 537 computations (14.6% saved)

simplify80.0ms (1.1%)

Algorithm
egg-herbie
Rules
790×fma-def_binary64
509×distribute-rgt-in_binary64
367×*-commutative_binary64
242×cancel-sign-sub-inv_binary64
182×distribute-rgt-neg-in_binary64
Counts
160 → 89
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01831599
13821468
211111409
324011407
450561407

prune88.0ms (1.2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New83689
Fresh415
Picked101
Done000
Total88795
Error
0.0b
Counts
95 → 7
Alt Table
StatusErrorProgram
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.3b
(fma.f64 (*.f64 (sqrt.f64 1/18) (sqrt.f64 (neg.f64 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.5b
(fma.f64 (cbrt.f64 (pow.f64 (*.f64 -1/18 (log.f64 u1)) 3/2)) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.7b
(fma.f64 (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 -1/18 (log.f64 u1))) (cbrt.f64 (*.f64 -1/18 (log.f64 u1)))) (cbrt.f64 (*.f64 -1/18 (log.f64 u1))))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.2b
(fma.f64 (sqrt.f64 (log.f64 (pow.f64 u1 -1/18))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.4b
(fma.f64 (sqrt.f64 (exp.f64 (log.f64 (*.f64 -1/18 (log.f64 u1))))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.2b
(fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2)) 4))) 1/2)
Compiler

Compiled 1515 to 1043 computations (31.2% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(log.f64 (pow.f64 u1 -1/18))
0.2b
(sqrt.f64 (log.f64 (pow.f64 u1 -1/18)))
0.2b
(*.f64 (*.f64 2 PI.f64) u2)
2.7b
(pow.f64 u1 -1/18)

rewrite179.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
27×pow1_binary64
26×add-cube-cbrt_binary64
22×add-sqr-sqrt_binary64
15×add-exp-log_binary64
14×add-cbrt-cube_binary64
Counts
4 → 142
Calls

4 calls:

16.0ms
(*.f64 (*.f64 2 PI.f64) u2)
15.0ms
(pow.f64 u1 -1/18)
12.0ms
(log.f64 (pow.f64 u1 -1/18))
10.0ms
(sqrt.f64 (log.f64 (pow.f64 u1 -1/18)))
Compiler

Compiled 2002 to 1541 computations (23% saved)

series56.0ms (0.7%)

Error
0.0b
Counts
4 → 12
Calls

4 calls:

19.0ms
(sqrt.f64 (log.f64 (pow.f64 u1 -1/18)))
14.0ms
(log.f64 (pow.f64 u1 -1/18))
14.0ms
(pow.f64 u1 -1/18)
6.0ms
(*.f64 (*.f64 2 PI.f64) u2)
Compiler

Compiled 481 to 422 computations (12.3% saved)

simplify93.0ms (1.2%)

Algorithm
egg-herbie
Rules
640×fma-def_binary64
591×distribute-rgt-in_binary64
437×unswap-sqr_binary64
281×*-commutative_binary64
226×fma-neg_binary64
Counts
154 → 77
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01411216
12791143
28271075
320331000
448291000
548951000

prune57.0ms (0.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New77077
Fresh066
Picked011
Done000
Total77784
Error
0.0b
Counts
84 → 7
Alt Table
StatusErrorProgram
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.3b
(fma.f64 (*.f64 (sqrt.f64 1/18) (sqrt.f64 (neg.f64 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.5b
(fma.f64 (cbrt.f64 (pow.f64 (*.f64 -1/18 (log.f64 u1)) 3/2)) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.7b
(fma.f64 (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 -1/18 (log.f64 u1))) (cbrt.f64 (*.f64 -1/18 (log.f64 u1)))) (cbrt.f64 (*.f64 -1/18 (log.f64 u1))))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.2b
(fma.f64 (sqrt.f64 (log.f64 (pow.f64 u1 -1/18))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.4b
(fma.f64 (sqrt.f64 (exp.f64 (log.f64 (*.f64 -1/18 (log.f64 u1))))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.2b
(fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2)) 4))) 1/2)
Compiler

Compiled 1130 to 859 computations (24% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(sqrt.f64 (*.f64 (log.f64 u1) -1/18))
0.2b
(*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2))
0.4b
(*.f64 (log.f64 u1) -1/18)
30.7b
(sqrt.f64 (*.f64 (*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2)) 4))

rewrite286.0ms (3.8%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
24×add-sqr-sqrt_binary64
23×pow1_binary64
18×add-cube-cbrt_binary64
16×add-exp-log_binary64
16×add-cbrt-cube_binary64
Counts
4 → 145
Calls

4 calls:

16.0ms
(*.f64 (log.f64 u1) -1/18)
15.0ms
(*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2))
15.0ms
(sqrt.f64 (*.f64 (*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2)) 4))
11.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/18))
Compiler

Compiled 2517 to 1731 computations (31.2% saved)

series39.0ms (0.5%)

Error
0.0b
Counts
4 → 12
Calls

4 calls:

11.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/18))
9.0ms
(*.f64 (log.f64 u1) -1/18)
7.0ms
(*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2))
5.0ms
(sqrt.f64 (*.f64 (*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2)) 4))
Compiler

Compiled 608 to 517 computations (15% saved)

simplify100.0ms (1.3%)

Algorithm
egg-herbie
Rules
736×associate-*l*_binary64
556×associate-*r*_binary64
384×log-prod_binary64
271×fma-def_binary64
256×prod-exp_binary64
Counts
157 → 86
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01471411
12711320
27041152
325921119
446571119
549191119

prune79.0ms (1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh055
Picked101
Done011
Total86793
Error
0.0b
Counts
93 → 7
Alt Table
StatusErrorProgram
0.4b
(fma.f64 (sqrt.f64 (exp.f64 (log.f64 (*.f64 -1/18 (log.f64 u1))))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.5b
(fma.f64 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 -1/18 (log.f64 u1))))) (cos.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 u2 u2) (pow.f64 PI.f64 2)) 4))) 1/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.3b
(fma.f64 (*.f64 (sqrt.f64 1/18) (sqrt.f64 (neg.f64 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.5b
(fma.f64 (cbrt.f64 (pow.f64 (*.f64 -1/18 (log.f64 u1)) 3/2)) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.7b
(fma.f64 (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 -1/18 (log.f64 u1))) (cbrt.f64 (*.f64 -1/18 (log.f64 u1)))) (cbrt.f64 (*.f64 -1/18 (log.f64 u1))))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
0.2b
(fma.f64 (sqrt.f64 (log.f64 (pow.f64 u1 -1/18))) (cos.f64 (*.f64 (*.f64 2 PI.f64) u2)) 1/2)
Compiler

Compiled 1462 to 1044 computations (28.6% saved)

regimes3.4s (44.8%)

Accuracy

Total 0.2b remaining (91.8%)

Threshold costs 0.2b (91.8%)

Compiler

Compiled 43129 to 37093 computations (14% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01421
11621
21621

end1.0ms (0%)

Compiler

Compiled 15 to 13 computations (13.3% saved)

sample1.7s (22.8%)

Algorithm
intervals
Results
1.0s8000×body128valid
210.0ms8000×pre128true
Compiler

Compiled 182 to 157 computations (13.7% saved)

Profiling

Loading profile data...