Details

Time bar (total: 2.0min)

analyze18.3s (15.5%)

Algorithm
search
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.7s (2.3%)

Algorithm
intervals
Results
1.2s57×body8192valid
966.0ms105×body4096valid
369.0ms66×body2048valid
57.0ms18×body1024valid
20.0msbody512valid
11.0msbody2048invalid
4.0msbody256valid
2.0msbody512invalid
1.0msbody256invalid
Compiler

Compiled 367 to 254 computations (30.8% saved)

simplify115.0ms (0.1%)

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

Merged error: 63.9b

Counts
2 → 1
Compiler

Compiled 360 to 236 computations (34.4% saved)

localize73.0ms (0.1%)

Local error

Found 4 expressions with local error:

28.9b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
28.9b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
28.9b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
34.6b
(-.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))))

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

275.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.8s (10%)

Counts
4 → 12
Calls

4 calls:

11.8s
(-.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))))
10.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
10.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
9.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

simplify117.0ms (0.1%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
0508411841

prune984.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New62365
Fresh000
Picked101
Done000
Total63366

Merged error: 58.5b

Counts
66 → 3
Compiler

Compiled 15284 to 9169 computations (40% saved)

localize22.0ms (0%)

Local error

Found 4 expressions with local error:

14.1b
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)
16.8b
(/.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))))
19.8b
(*.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))
20.3b
(*.f64 (/.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)))) (pow.f64 (*.f64 x-scale y-scale) 2))

rewrite222.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
1300×add-exp-log_binary64
997×prod-exp_binary64
526×add-cbrt-cube_binary64
400×cbrt-unprod_binary64
250×pow1_binary64
205×pow-prod-down_binary64
145×div-exp_binary64
72×pow-exp_binary64
40×cbrt-undiv_binary64
36×pow-to-exp_binary64
14×add-sqr-sqrt_binary64
10×*-un-lft-identity_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 associate-*l*_binary64
distribute-rgt-neg-out_binary64 times-frac_binary64
associate-*l/_binary64
add-log-exp_binary64 associate-/l*_binary64
distribute-lft-neg-out_binary64 unswap-sqr_binary64 sqrt-prod_binary64 *-commutative_binary64
unpow2_binary64 sqr-pow_binary64 div-inv_binary64
associate-/l/_binary64 associate-/r*_binary64 mul0-rgt_binary64 clear-num_binary64 unpow-prod-down_binary64 frac-2neg_binary64 sqrt-div_binary64
Counts
4 → 386
Calls

4 calls:

41.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))))
35.0ms
(*.f64 (/.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)))) (pow.f64 (*.f64 x-scale y-scale) 2))
32.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))
11.0ms
(*.f64 (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))) 0)

series31.0ms (0%)

Counts
4 → 12
Calls

4 calls:

11.0ms
(*.f64 (/.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)))) (pow.f64 (*.f64 x-scale y-scale) 2))
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)

simplify156.0ms (0.1%)

Algorithm
egg-herbie
Counts
398 → 398
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
047012605
147012605

prune500.0ms (0.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3971398
Fresh022
Picked101
Done000
Total3983401

Merged error: 42.9b

Counts
401 → 3
Compiler

Compiled 9640 to 4430 computations (54% saved)

localize2.0ms (0%)

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify11.0ms (0%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune9.0ms (0%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done000
Total033

Merged error: 42.9b

Counts
3 → 3
Compiler

Compiled 233 to 147 computations (36.9% saved)

localize24.0ms (0%)

Local error

Found 4 expressions with local error:

11.3b
(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))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale))))))
16.4b
(/.f64 (*.f64 a a) (*.f64 y-scale y-scale))
30.1b
(/.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))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
32.8b
(*.f64 (/.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))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))

rewrite177.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
466×pow1_binary64
395×pow-prod-down_binary64
134×add-exp-log_binary64
74×prod-exp_binary64
67×sqrt-pow1_binary64
59×add-cbrt-cube_binary64
29×div-exp_binary64
26×cbrt-unprod_binary64
14×cbrt-undiv_binary64
13×add-sqr-sqrt_binary64
12×pow-exp_binary64
10×associate-*r/_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 times-frac_binary64
associate-*l*_binary64
associate-*l/_binary64
pow-to-exp_binary64 associate-*r*_binary64 sqrt-div_binary64
associate-/l*_binary64
add-log-exp_binary64 sqrt-prod_binary64
associate-/l/_binary64 unswap-sqr_binary64 div-inv_binary64
associate-/r*_binary64 unpow2_binary64 sqr-pow_binary64 clear-num_binary64 frac-2neg_binary64 frac-times_binary64
pow1/2_binary64 unpow-prod-down_binary64 *-commutative_binary64
Counts
4 → 188
Calls

4 calls:

50.0ms
(*.f64 (/.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))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
45.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))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
31.0ms
(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))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale))))))
7.0ms
(/.f64 (*.f64 a a) (*.f64 y-scale y-scale))

series277.0ms (0.2%)

Counts
4 → 12
Calls

4 calls:

166.0ms
(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))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale))))))
54.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))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a))))
31.0ms
(*.f64 (/.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))) (*.f64 2 (/.f64 (*.f64 a a) (*.f64 y-scale y-scale)))))) (*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))) (pow.f64 (*.f64 x-scale y-scale) 2))
26.0ms
(/.f64 (*.f64 a a) (*.f64 y-scale y-scale))

simplify115.0ms (0.1%)

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
050026038

prune390.0ms (0.3%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1955200
Fresh011
Picked011
Done011
Total1958203

Merged error: 38.7b

Counts
203 → 8
Compiler

Compiled 10425 to 3885 computations (62.7% saved)

regimes1.1s (0.9%)

Compiler

Compiled 15960 to 10370 computations (35% saved)

bsearch3.4s (2.9%)

Steps
ItersRangePoint
9
1.3013271860392601e+98
2.919735854532005e+107
4.187714361073229e+102
9
1.0977788980651872e-77
6.72329031926373e-70
6.576764224816749e-70
7
-9.580379176629625e-48
-2.1563109401454737e-49
-5.706837268880523e-48
Compiler

Compiled 1 to 5 computations (-400% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03331
13331

end0.0ms (0%)

sample1.3min (65.5%)

Algorithm
intervals
Results
33.2s3642×body4096valid
29.1s1541×body8192valid
10.2s1844×body2048valid
2.1s624×body1024valid
471.0ms213×body512valid
301.0ms48×body2048invalid
126.0ms88×body256valid
68.0ms19×body1024invalid
42.0ms48×body128valid
35.0msbody4096invalid
30.0ms14×body512invalid
21.0msbody8192exit
7.0msbody128invalid
4.0msbody256invalid
Compiler

Compiled 2151 to 1406 computations (34.6% saved)

Profiling

Loading profile data...