Details

Time bar (total: 1.8min)

analyze17.5s (15.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
050013121
055
155
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
0%99.8%0.2%9
0%99.8%0.2%10
0%99.8%0.2%11
0%99.8%0.2%12
0%99.8%0.2%13
0%99.8%0.2%14
Compiler

Compiled 184 to 125 computations (32.1% saved)

sample2.6s (2.3%)

Algorithm
intervals
Results
1.3s127×body4096valid
859.0ms48×body8192valid
315.0ms57×body2048valid
51.0ms15×body1024valid
17.0msbody2048invalid
10.0msbody256valid
2.0msbody512valid
2.0msbody512invalid
1.0msbody128valid
1.0msbody128invalid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify25.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
05065287

prune25.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 360 to 236 computations (34.4% saved)

localize74.0ms (0.1%)

Local error

Found 4 expressions with local error:

29.9b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
29.9b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
29.9b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
37.5b
(-.f64 (+.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) 2) (pow.f64 (/.f64 (*.f64 (cos.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 2 (-.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 x-scale y-scale)) 2))))

rewrite321.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
add-log-exp_binary64 cancel-sign-sub-inv_binary64
sqrt-prod_binary64
add-cube-cbrt_binary64 frac-sub_binary64 sqrt-div_binary64
flip3-+_binary64 flip-+_binary64
pow1_binary64 distribute-lft-out_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 unpow-prod-down_binary64
distribute-lft-out--_binary64
diff-log_binary64 frac-add_binary64 difference-of-squares_binary64
sub-neg_binary64 flip3--_binary64 flip--_binary64 associate--l+_binary64 sum-log_binary64
Counts
4 → 53
Calls

4 calls:

283.0ms
(-.f64 (+.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) 2) (pow.f64 (/.f64 (*.f64 (cos.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 2 (-.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 x-scale y-scale)) 2))))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

series11.7s (10.5%)

Counts
4 → 12
Calls

4 calls:

11.6s
(-.f64 (+.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) (sqrt.f64 (+.f64 (pow.f64 (-.f64 (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) x-scale) x-scale) (/.f64 (/.f64 (+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)) y-scale) y-scale)) 2) (pow.f64 (/.f64 (*.f64 (cos.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)) (*.f64 2 (-.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 x-scale y-scale)) 2))))
13.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
9.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
8.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

simplify120.0ms (0.1%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
0508411841

prune825.0ms (0.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh000
Picked101
Done000
Total64266
Error
60.1b
Counts
66 → 2
Compiler

Compiled 15104 to 9051 computations (40.1% saved)

localize18.0ms (0%)

Local error

Found 4 expressions with local error:

15.0b
(*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
16.3b
(/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
17.8b
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)
20.3b
(*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))

rewrite206.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
1310×add-exp-log_binary64
1005×prod-exp_binary64
542×add-cbrt-cube_binary64
412×cbrt-unprod_binary64
268×pow1_binary64
218×pow-prod-down_binary64
145×div-exp_binary64
70×pow-exp_binary64
40×cbrt-undiv_binary64
35×pow-to-exp_binary64
24×associate-*l*_binary64
22×times-frac_binary64
17×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
11×distribute-rgt-neg-out_binary64
associate-*r*_binary64 associate-*l/_binary64
add-log-exp_binary64 associate-/l*_binary64
unpow2_binary64 distribute-lft-neg-out_binary64 sqr-pow_binary64 unpow-prod-down_binary64 *-commutative_binary64
div-inv_binary64 sqrt-prod_binary64
associate-/l/_binary64 associate-/r*_binary64 mul0-rgt_binary64 clear-num_binary64 frac-2neg_binary64 sqrt-div_binary64
Counts
4 → 403
Calls

4 calls:

38.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
33.0ms
(*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))
16.0ms
(*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
11.0ms
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)

series136.0ms (0.1%)

Counts
4 → 12
Calls

4 calls:

117.0ms
(*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
9.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
7.0ms
(*.f64 (*.f64 (/.f64 8 (pow.f64 (*.f64 x-scale y-scale) 2)) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0))
3.0ms
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)

simplify139.0ms (0.1%)

Algorithm
egg-herbie
Counts
415 → 415
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050233009

prune555.0ms (0.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New4141415
Fresh011
Picked101
Done000
Total4152417
Error
42.4b
Counts
417 → 2
Compiler

Compiled 11691 to 5074 computations (56.6% saved)

localize6.0ms (0%)

Local error

Found 2 expressions with local error:

0.3b
(pow.f64 (*.f64 x-scale y-scale) 2)
14.3b
(*.f64 0 (pow.f64 (*.f64 x-scale y-scale) 2))

rewrite11.0ms (0%)

Algorithm
rewrite-expression-head
Rules
13×add-exp-log_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64 prod-exp_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-cbrt-cube_binary64 pow-exp_binary64
pow-unpow_binary64 unpow2_binary64 sqr-pow_binary64 associate-*l*_binary64 unswap-sqr_binary64
pow-to-exp_binary64 add-log-exp_binary64 pow-pow_binary64 unpow-prod-down_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 mul0-lft_binary64 *-commutative_binary64
Counts
2 → 44
Calls

2 calls:

5.0ms
(*.f64 0 (pow.f64 (*.f64 x-scale y-scale) 2))
4.0ms
(pow.f64 (*.f64 x-scale y-scale) 2)

series28.0ms (0%)

Counts
2 → 6
Calls

2 calls:

26.0ms
(pow.f64 (*.f64 x-scale y-scale) 2)
2.0ms
(*.f64 0 (pow.f64 (*.f64 x-scale y-scale) 2))

simplify65.0ms (0.1%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
04835286
14835286

prune41.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New49150
Fresh011
Picked101
Done000
Total50252
Error
41.4b
Counts
52 → 2
Compiler

Compiled 528 to 380 computations (28% saved)

localize2.0ms (0%)

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify7.0ms (0%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune1.0ms (0%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done000
Total022
Error
41.4b
Counts
2 → 2
Compiler

Compiled 0 to 0 computations (0% saved)

regimes328.0ms (0.3%)

Accuracy

Total 0.2b remaining (0.5%)

Threshold costs 0.2b (0.5%)

Compiler

Compiled 4656 to 3426 computations (26.4% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
178

end0.0ms (0%)

sample1.3min (68.6%)

Algorithm
intervals
Results
33.5s3707×body4096valid
28.4s1523×body8192valid
9.8s1818×body2048valid
2.1s611×body1024valid
445.0ms207×body512valid
186.0ms30×body2048invalid
129.0ms90×body256valid
93.0msbody4096invalid
71.0ms21×body1024invalid
34.0ms17×body512invalid
29.0ms44×body128valid
9.0msbody256invalid
6.0msbody128invalid
Compiler

Compiled 722 to 527 computations (27% saved)

Profiling

Loading profile data...