Details

Time bar (total: 10.3s)

analyze4.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%6.2%93.8%0
6.2%0%93.8%1
Compiler

Compiled 36 to 30 computations (16.7% saved)

sample3.5s (33.8%)

Results
3.2s8256×body128valid
Compiler

Compiled 93 to 79 computations (15.1% saved)

simplify236.0ms (2.3%)

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

prune4.0ms (0%)

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)

localize12.0ms (0.1%)

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

series406.0ms (3.9%)

Counts
4 → 52
Calls

4 calls:

276.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
64.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
59.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
5.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)

rewrite16.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×pow1_binary64
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
Counts
4 → 64
Calls

4 calls:

6.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
5.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)
3.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
0.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)

simplify205.0ms (2%)

Algorithm
egg-herbie
Rules
621×unswap-sqr_binary64
393×cancel-sign-sub-inv_binary64
381×*-commutative_binary64
263×fma-neg_binary64
249×sub-neg_binary64
Counts
116 → 104
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01612057
13261932
29491852
318071800
434781800
549161800
649171800

prune271.0ms (2.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New959104
Fresh000
Picked101
Done000
Total969105
Error
0b
Counts
105 → 9
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (*.f64 1/6 (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(fma.f64 (*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (expm1.f64 (log1p.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(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.7b
(*.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)) (sqrt.f64 (fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 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.5b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (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)
0.6b
(fma.f64 (exp.f64 (+.f64 (log.f64 1/6) (log.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
Compiler

Compiled 2647 to 2020 computations (23.7% saved)

localize28.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series122.0ms (1.2%)

Counts
2 → 24
Calls

2 calls:

64.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))
57.0ms
(*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1))))

rewrite161.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
21×pow1_binary64
15×pow-prod-down_binary64
12×associate-*l*_binary64
11×add-sqr-sqrt_binary64
10×sqrt-pow1_binary64
Counts
2 → 56
Calls

2 calls:

139.0ms
(*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1))))
16.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))

simplify144.0ms (1.4%)

Algorithm
egg-herbie
Rules
572×fma-neg_binary64
313×*-commutative_binary64
240×neg-mul-1_binary64
239×associate-*r/_binary64
218×associate-*l/_binary64
Counts
80 → 88
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0831130
11701084
24701084
36331076
48411076
518461076
636321076
749421076

prune300.0ms (2.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1294133
Fresh538
Picked011
Done000
Total1348142
Error
0b
Counts
142 → 8
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (expm1.f64 (log1p.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 (sqrt.f64 1/6) (*.f64 (*.f64 (sqrt.f64 1/6) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(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 (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) 1/6) 3)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (*.f64 1/6 (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(fma.f64 (*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.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 (sqrt.f64 1/6) (sqrt.f64 (*.f64 (log.f64 u1) -1/3))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.3b
(fma.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)
Compiler

Compiled 3447 to 2770 computations (19.6% saved)

localize27.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.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.1b
(sqrt.f64 (neg.f64 (log.f64 u1)))
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.3b
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 1/6 (sqrt.f64 2)))

series423.0ms (4.1%)

Counts
3 → 44
Calls

3 calls:

322.0ms
(fma.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)
55.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 1/6 (sqrt.f64 2)))
46.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))

rewrite29.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
24×sqrt-prod_binary64
15×associate-*l*_binary64
13×pow1_binary64
11×add-sqr-sqrt_binary64
10×*-un-lft-identity_binary64
Counts
3 → 66
Calls

3 calls:

19.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 1/6 (sqrt.f64 2)))
4.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))
1.0ms
(fma.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)

simplify196.0ms (1.9%)

Algorithm
egg-herbie
Rules
861×fma-def_binary64
436×cancel-sign-sub-inv_binary64
362×*-commutative_binary64
264×fma-neg_binary64
255×neg-mul-1_binary64
Counts
110 → 106
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01482321
13202199
28992153
318272119
445972119
549902119

prune319.0ms (3.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1340134
Fresh066
Picked011
Done011
Total1348142
Error
0b
Counts
142 → 8
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (expm1.f64 (log1p.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 (sqrt.f64 1/6) (*.f64 (*.f64 (sqrt.f64 1/6) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(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 (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) 1/6) 3)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (*.f64 1/6 (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(fma.f64 (*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.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 (sqrt.f64 1/6) (sqrt.f64 (*.f64 (log.f64 u1) -1/3))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.3b
(fma.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)
Compiler

Compiled 3474 to 2287 computations (34.2% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series145.0ms (1.4%)

Counts
3 → 36
Calls

3 calls:

61.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/3))
54.0ms
(*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 (log.f64 u1) -1/3)))
30.0ms
(*.f64 (log.f64 u1) -1/3)

rewrite27.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
16×pow1_binary64
14×add-sqr-sqrt_binary64
10×associate-*l*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 63
Calls

3 calls:

12.0ms
(*.f64 (sqrt.f64 1/6) (sqrt.f64 (*.f64 (log.f64 u1) -1/3)))
6.0ms
(*.f64 (log.f64 u1) -1/3)
4.0ms
(sqrt.f64 (*.f64 (log.f64 u1) -1/3))

simplify162.0ms (1.6%)

Algorithm
egg-herbie
Rules
631×fma-def_binary64
341×div-sub_binary64
316×neg-mul-1_binary64
315×neg-sub0_binary64
269×associate-*l*_binary64
Counts
99 → 103
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0981126
11691073
24211073
37431073
412181073
525351073
641701073
748781073

prune421.0ms (4.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh055
Picked011
Done022
Total1318139
Error
0b
Counts
139 → 8
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (expm1.f64 (log1p.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(fma.f64 (*.f64 (sqrt.f64 1/6) (*.f64 (*.f64 (sqrt.f64 1/6) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) (sqrt.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(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 (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) 1/6) 3)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.5b
(fma.f64 (*.f64 1/6 (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.4b
(fma.f64 (*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.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 (sqrt.f64 1/6) (sqrt.f64 (*.f64 (log.f64 u1) -1/3))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.3b
(fma.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)
Compiler

Compiled 2910 to 2228 computations (23.4% saved)

regimes2.9s (27.7%)

Accuracy

Total 0.2b remaining (91.9%)

Threshold costs 0.2b (91.9%)

Counts
126 → 1
Compiler

Compiled 28346 to 24615 computations (13.2% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01421
11721
21721

end290.0ms (2.8%)

Compiler

Compiled 205 to 179 computations (12.7% saved)

Profiling

Loading profile data...