Details

Time bar (total: 8.8s)

analyze72.0ms (0.8%)

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)

sample313.0ms (3.6%)

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

Compiled 59 to 51 computations (13.6% saved)

simplify194.0ms (2.2%)

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

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
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 70 to 60 computations (14.3% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series267.0ms (3%)

Counts
4 → 52
Calls

4 calls:

161.0ms
(fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
78.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
23.0ms
(sqrt.f64 (*.f64 -2 (log.f64 u1)))
4.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)

rewrite15.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:

5.0ms
(*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))
4.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)
2.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)

simplify111.0ms (1.3%)

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

prune132.0ms (1.5%)

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.6b
(*.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.7b
(fma.f64 (*.f64 1/6 (exp.f64 (log.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.6b
(cbrt.f64 (pow.f64 (fma.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64))))) 1/2) 3))
0.4b
(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.7b
(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)
0.6b
(fma.f64 (*.f64 (*.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.6b
(expm1.f64 (log1p.f64 (fma.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)
0.5b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 1/6 1/6) 1/6) (*.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)
Compiler

Compiled 2619 to 2000 computations (23.6% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
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.4b
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))

series76.0ms (0.9%)

Counts
3 → 32
Calls

3 calls:

29.0ms
(*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2)))
24.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))
23.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))

rewrite21.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
31×sqrt-prod_binary64
24×add-sqr-sqrt_binary64
18×associate-*l*_binary64
17×pow1_binary64
13×*-un-lft-identity_binary64
Counts
3 → 86
Calls

3 calls:

7.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))
6.0ms
(*.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2)))
4.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))

simplify118.0ms (1.4%)

Algorithm
egg-herbie
Rules
502×associate-*l*_binary64
460×neg-sub0_binary64
445×neg-mul-1_binary64
380×associate-*r*_binary64
355×distribute-rgt-neg-in_binary64
Counts
118 → 119
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01131620
11941566
24961566
313961566
425491566
541141566
643811566
748511566

prune159.0ms (1.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

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

Compiled 3662 to 2447 computations (33.2% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series408.0ms (4.7%)

Counts
2 → 20
Calls

2 calls:

383.0ms
(log.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))
25.0ms
(exp.f64 (log.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
add-exp-log_binary64
exp-prod_binary64
log-pow_binary64
*-un-lft-identity_binary64
Counts
2 → 30
Calls

2 calls:

5.0ms
(log.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))
4.0ms
(exp.f64 (log.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))))

simplify151.0ms (1.7%)

Algorithm
egg-herbie
Rules
833×fma-neg_binary64
439×neg-sub0_binary64
412×neg-mul-1_binary64
295×distribute-rgt-neg-out_binary64
294×distribute-lft-neg-out_binary64
Counts
50 → 41
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
052761
179711
2160676
3343655
4632655
51886655
62633655
74077655
84848655
94951655
104998655
115000655
124778655

prune202.0ms (2.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New96197
Fresh167
Picked101
Done000
Total987105
Error
0b
Counts
105 → 7
Alt Table
StatusErrorProgram
0.6b
(cbrt.f64 (pow.f64 (fma.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64))))) 1/2) 3))
0.5b
(fma.f64 (*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.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.6b
(fma.f64 (*.f64 (*.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.6b
(expm1.f64 (log1p.f64 (fma.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)))
0.9b
(fma.f64 (exp.f64 (expm1.f64 (log1p.f64 (log.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 1/6) 1/6) (*.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.6b
(*.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)))
Compiler

Compiled 2508 to 1978 computations (21.1% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series66.0ms (0.8%)

Counts
2 → 24
Calls

2 calls:

35.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))))
31.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2)))

rewrite34.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
23×pow1_binary64
19×pow-prod-down_binary64
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
13×add-sqr-sqrt_binary64
Counts
2 → 57
Calls

2 calls:

22.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2))))
8.0ms
(*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (sqrt.f64 2)))

simplify146.0ms (1.7%)

Algorithm
egg-herbie
Rules
766×fma-def_binary64
638×neg-mul-1_binary64
637×neg-sub0_binary64
489×distribute-rgt-neg-out_binary64
485×distribute-lft-neg-out_binary64
Counts
81 → 91
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0891429
12041341
27171341
314011321
431651321
547851321
648991321

prune199.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1771178
Fresh246
Picked011
Done000
Total1796185
Error
0b
Counts
185 → 6
Alt Table
StatusErrorProgram
0.3b
(fma.f64 (sqrt.f64 (*.f64 1/6 (*.f64 1/6 (*.f64 (neg.f64 (log.f64 u1)) 2)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2)) 1/2)
0.9b
(fma.f64 (exp.f64 (expm1.f64 (log1p.f64 (log.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 (*.f64 (sqrt.f64 1/6) (*.f64 (sqrt.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.6b
(fma.f64 (*.f64 (*.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.5b
(fma.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 1/6 1/6) 1/6) (*.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.6b
(*.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)))
Compiler

Compiled 4779 to 3447 computations (27.9% saved)

regimes4.2s (47.6%)

Accuracy

Total 0.2b remaining (88.4%)

Threshold costs 0.2b (88.4%)

Counts
284 → 1
Compiler

Compiled 68123 to 59537 computations (12.6% saved)

simplify7.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01622
12122
21922

end1.0ms (0%)

Compiler

Compiled 16 to 14 computations (12.5% saved)

sample1.8s (20.9%)

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

Compiled 212 to 182 computations (14.2% saved)

Profiling

Loading profile data...