Details

Time bar (total: 1.1min)

analyze12.7s (19.6%)

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
6.2%93.5%0.2%11
6.2%93.5%0.2%12
7.8%92%0.2%13
8.6%91.2%0.2%14
Compiler

Compiled 115 to 84 computations (27% saved)

sample45.2s (69.9%)

Results
12.2s1512×body4096valid
8.6s1767×body2048valid
6.5s796×body4096invalid
5.7s1142×body2048invalid
3.0s904×body1024valid
2.6s3468×body128valid
2.3s696×body1024invalid
1.1s66×body8192valid
859.0ms394×body512valid
694.0ms1026×body128invalid
635.0ms296×body512invalid
508.0ms30×body8192invalid
196.0ms145×body256valid
161.0ms124×body256invalid
Compiler

Compiled 344 to 251 computations (27% saved)

simplify19.0ms (0%)

Algorithm
egg-herbie
Rules
545×associate-/l/_binary64
526×associate-/r/_binary64
263×distribute-rgt-in_binary64
260×distribute-lft-in_binary64
157×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040175
1104173
2339173
31688170
Stop Event
node limit
Counts
1 → 2

prune12.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
42.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
47.7b
(fma.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)) (*.f64 y-scale y-scale)) (*.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)) (*.f64 x-scale x-scale)) -4) (*.f64 (/.f64 (/.f64 (*.f64 4 (*.f64 (*.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (*.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) (*.f64 y-scale (/.f64 x-scale (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))))) x-scale) (/.f64 (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64))) y-scale)))
42.4b
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale)) (*.f64 (*.f64 4 (/.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)))
Compiler

Compiled 670 to 462 computations (31% saved)

localize36.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
12.3b
(*.f64 (*.f64 4 (/.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))
29.0b
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale)) (*.f64 (*.f64 4 (/.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)))
30.9b
(cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))
31.4b
(sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))

series2.5s (3.8%)

Counts
4 → 144
Calls

4 calls:

1.9s
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale)) (*.f64 (*.f64 4 (/.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)))
604.0ms
(*.f64 (*.f64 4 (/.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))
4.0ms
(sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))

rewrite80.0ms (0.1%)

Algorithm
batch-egg-rewrite
Rules
429×log1p-expm1-u_binary64
429×expm1-log1p-u_binary64
413×add-log-exp_binary64
398×pow1_binary64
152×log-prod_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
040238
1918226
Stop Event
node limit
Counts
4 → 87
Calls

4 calls:

74.0ms
(*.f64 (*.f64 4 (/.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))
74.0ms
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale)) (*.f64 (*.f64 4 (/.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)))
74.0ms
(cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))
74.0ms
(sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))

simplify172.0ms (0.3%)

Algorithm
egg-herbie
Rules
465×times-frac_binary64
357×associate-/l*_binary64
343×associate-*r*_binary64
277×associate-/r*_binary64
263×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
029718027
1127517004
Stop Event
node limit
Counts
231 → 160

prune1.1s (1.7%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New29710307
Fresh101
Picked101
Done000
Total29910309
Error
22.8b
Counts
309 → 10
Alt Table
StatusErrorProgram
42.6b
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 1) x-scale) y-scale)) (*.f64 (*.f64 4 (/.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)))
47.2b
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale)) (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 x-scale x-scale)) (*.f64 (*.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) y-scale) (/.f64 (pow.f64 a 4) y-scale)) 4)))
42.3b
(neg.f64 (/.f64 (fma.f64 4 (/.f64 (*.f64 a a) (/.f64 (/.f64 (*.f64 x-scale x-scale) (*.f64 b b)) (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4))) (fma.f64 8 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 x-scale x-scale)) (*.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 (*.f64 a b) (*.f64 a b)))) (/.f64 (*.f64 (*.f64 4 (*.f64 (*.f64 a b) (*.f64 a b))) (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4)) (*.f64 x-scale x-scale)))) (*.f64 y-scale y-scale)))
42.4b
(/.f64 (neg.f64 (fma.f64 4 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4) (*.f64 y-scale y-scale)) (*.f64 (*.f64 a b) (*.f64 a b))) (fma.f64 4 (*.f64 (*.f64 (/.f64 a y-scale) (/.f64 a y-scale)) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4))) (*.f64 8 (/.f64 (*.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b)) (*.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 a a))) (*.f64 y-scale y-scale)))))) (*.f64 x-scale x-scale))
44.1b
(-.f64 (*.f64 4 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 y-scale y-scale)) (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (/.f64 (*.f64 x-scale x-scale) (pow.f64 b 4))))) (fma.f64 8 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 y-scale y-scale)) (*.f64 (/.f64 (*.f64 a a) x-scale) (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b)) x-scale))) (*.f64 4 (+.f64 (*.f64 (/.f64 (*.f64 a a) (/.f64 (*.f64 y-scale y-scale) (*.f64 b b))) (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4) (*.f64 x-scale x-scale))) (fma.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4) (*.f64 x-scale x-scale)) (/.f64 (*.f64 a a) (/.f64 (*.f64 y-scale y-scale) (*.f64 b b))) (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 y-scale y-scale)) (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (/.f64 (*.f64 x-scale x-scale) (pow.f64 b 4)))))))))
33.7b
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
41.9b
(*.f64 -4 (/.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)) (*.f64 (pow.f64 y-scale 2) (pow.f64 x-scale 2))))
43.2b
(*.f64 (*.f64 a a) (neg.f64 (fma.f64 4 (*.f64 (/.f64 (*.f64 b b) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4)) (fma.f64 8 (*.f64 (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b)) (*.f64 y-scale y-scale)) (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 x-scale x-scale))) (*.f64 4 (*.f64 (*.f64 (/.f64 b x-scale) (/.f64 b x-scale)) (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4) (*.f64 y-scale y-scale))))))))
30.3b
0
42.5b
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale)) (*.f64 4 (/.f64 (fma.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b) (*.f64 a (*.f64 a (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2)))) (/.f64 (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale)) (fma.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 a a) (*.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b)))))))
Compiler

Compiled 39280 to 26767 computations (31.9% saved)

localize0.0ms (0%)

prune26.0ms (0%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New000
Fresh099
Picked011
Done000
Total01010
Error
22.8b
Counts
10 → 10
Alt Table
StatusErrorProgram
42.6b
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) 1) x-scale) y-scale)) (*.f64 (*.f64 4 (/.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)))
47.2b
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale)) (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 x-scale x-scale)) (*.f64 (*.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) y-scale) (/.f64 (pow.f64 a 4) y-scale)) 4)))
42.3b
(neg.f64 (/.f64 (fma.f64 4 (/.f64 (*.f64 a a) (/.f64 (/.f64 (*.f64 x-scale x-scale) (*.f64 b b)) (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4))) (fma.f64 8 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 x-scale x-scale)) (*.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 (*.f64 a b) (*.f64 a b)))) (/.f64 (*.f64 (*.f64 4 (*.f64 (*.f64 a b) (*.f64 a b))) (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4)) (*.f64 x-scale x-scale)))) (*.f64 y-scale y-scale)))
42.4b
(/.f64 (neg.f64 (fma.f64 4 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4) (*.f64 y-scale y-scale)) (*.f64 (*.f64 a b) (*.f64 a b))) (fma.f64 4 (*.f64 (*.f64 (/.f64 a y-scale) (/.f64 a y-scale)) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4))) (*.f64 8 (/.f64 (*.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b)) (*.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 a a))) (*.f64 y-scale y-scale)))))) (*.f64 x-scale x-scale))
44.1b
(-.f64 (*.f64 4 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 y-scale y-scale)) (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (/.f64 (*.f64 x-scale x-scale) (pow.f64 b 4))))) (fma.f64 8 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 y-scale y-scale)) (*.f64 (/.f64 (*.f64 a a) x-scale) (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b)) x-scale))) (*.f64 4 (+.f64 (*.f64 (/.f64 (*.f64 a a) (/.f64 (*.f64 y-scale y-scale) (*.f64 b b))) (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4) (*.f64 x-scale x-scale))) (fma.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4) (*.f64 x-scale x-scale)) (/.f64 (*.f64 a a) (/.f64 (*.f64 y-scale y-scale) (*.f64 b b))) (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 y-scale y-scale)) (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (/.f64 (*.f64 x-scale x-scale) (pow.f64 b 4)))))))))
33.7b
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
41.9b
(*.f64 -4 (/.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)) (*.f64 (pow.f64 y-scale 2) (pow.f64 x-scale 2))))
43.2b
(*.f64 (*.f64 a a) (neg.f64 (fma.f64 4 (*.f64 (/.f64 (*.f64 b b) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4)) (fma.f64 8 (*.f64 (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b)) (*.f64 y-scale y-scale)) (/.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 x-scale x-scale))) (*.f64 4 (*.f64 (*.f64 (/.f64 b x-scale) (/.f64 b x-scale)) (/.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 4) (*.f64 y-scale y-scale))))))))
30.3b
0
42.5b
(-.f64 (*.f64 (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale) (/.f64 (/.f64 (*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) (cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))) x-scale) y-scale)) (*.f64 4 (/.f64 (fma.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b) (*.f64 a (*.f64 a (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2)))) (/.f64 (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale)) (fma.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 a a) (*.f64 (pow.f64 (sin.f64 (*.f64 (PI.f64) (*.f64 angle 1/180))) 2) (*.f64 b b)))))))
Compiler

Compiled 1550 to 1030 computations (33.5% saved)

localize11.0ms (0%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
0.2b
(*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))
16.8b
(/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale)))
21.4b
(*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b))

series388.0ms (0.6%)

Counts
4 → 156
Calls

4 calls:

156.0ms
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
139.0ms
(*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b))
83.0ms
(/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale)))
9.0ms
(*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))

rewrite59.0ms (0.1%)

Algorithm
batch-egg-rewrite
Rules
237×expm1-udef_binary64
237×log1p-udef_binary64
219×log-pow_binary64
141×associate-*r*_binary64
136×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01361
127846
2386546
Stop Event
node limit
Counts
4 → 106
Calls

4 calls:

57.0ms
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
57.0ms
(*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))
57.0ms
(/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale)))
57.0ms
(*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b))

simplify59.0ms (0.1%)

Algorithm
egg-herbie
Rules
780×associate-*r*_binary64
759×associate-*l*_binary64
615×associate-/l/_binary64
451×associate-/r/_binary64
292×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0203072
1563072
22033072
316643072
Stop Event
node limit
Counts
262 → 118

prune150.0ms (0.2%)

Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New10315118
Fresh808
Picked101
Done011
Total11216128
Error
2.7b
Counts
128 → 16
Alt Table
StatusErrorProgram
4.7b
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2) -4)) 3)
25.0b
(*.f64 -4 (/.f64 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a y-scale)) (*.f64 b b)) (*.f64 x-scale y-scale)))
29.1b
(*.f64 -4 (*.f64 (*.f64 (/.f64 a (pow.f64 (*.f64 x-scale y-scale) 2)) a) (*.f64 b b)))
18.8b
(*.f64 -4 (/.f64 (pow.f64 (*.f64 a b) 2) (pow.f64 (*.f64 x-scale y-scale) 2)))
28.8b
(*.f64 -4 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a (*.f64 y-scale (*.f64 x-scale y-scale)))) (*.f64 b b)))
33.5b
(*.f64 -4 (/.f64 (*.f64 b b) (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) (*.f64 a a))))
18.7b
(*.f64 -4 (cbrt.f64 (pow.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2) 3)))
26.7b
(*.f64 (*.f64 b (*.f64 (*.f64 b (/.f64 a y-scale)) (/.f64 a y-scale))) (/.f64 -4 (*.f64 x-scale x-scale)))
4.4b
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
30.3b
0
19.4b
(*.f64 -4 (pow.f64 (pow.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2) 3) 1/3))
27.2b
(*.f64 -4 (/.f64 (*.f64 a (*.f64 b b)) (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) a)))
14.3b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) (*.f64 x-scale y-scale)) (*.f64 x-scale y-scale)))
21.5b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) x-scale) (*.f64 y-scale (*.f64 x-scale y-scale))))
19.0b
(*.f64 -4 (/.f64 1 (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) (pow.f64 (*.f64 a b) 2))))
4.7b
(*.f64 -4 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)) 3))
Compiler

Compiled 2564 to 1385 computations (46% saved)

localize7.0ms (0%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
0.3b
(pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)
4.9b
(*.f64 b (/.f64 a (*.f64 x-scale y-scale)))
5.3b
(/.f64 a (*.f64 x-scale y-scale))

series322.0ms (0.5%)

Counts
4 → 164
Calls

4 calls:

241.0ms
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
40.0ms
(pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)
26.0ms
(*.f64 b (/.f64 a (*.f64 x-scale y-scale)))
15.0ms
(/.f64 a (*.f64 x-scale y-scale))

rewrite59.0ms (0.1%)

Algorithm
batch-egg-rewrite
Rules
638×log-prod_binary64
217×expm1-udef_binary64
217×log1p-udef_binary64
193×log-pow_binary64
122×egg-rr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01246
125346
2317046
Stop Event
node limit
Counts
4 → 122
Calls

4 calls:

57.0ms
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
57.0ms
(pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)
57.0ms
(*.f64 b (/.f64 a (*.f64 x-scale y-scale)))
57.0ms
(/.f64 a (*.f64 x-scale y-scale))

simplify60.0ms (0.1%)

Algorithm
egg-herbie
Rules
835×associate-*r*_binary64
803×associate-*l*_binary64
584×associate-/l/_binary64
438×associate-/r/_binary64
256×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0242876
1742876
22262876
315192876
Stop Event
node limit
Counts
286 → 131

prune184.0ms (0.3%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New1247131
Fresh41014
Picked101
Done101
Total13017147
Error
0.0b
Counts
147 → 17
Alt Table
StatusErrorProgram
4.7b
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2) -4)) 3)
25.0b
(*.f64 -4 (/.f64 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a y-scale)) (*.f64 b b)) (*.f64 x-scale y-scale)))
14.3b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) (*.f64 x-scale y-scale)) (*.f64 x-scale y-scale)))
6.3b
(*.f64 -4 (pow.f64 (/.f64 (*.f64 (/.f64 a x-scale) b) y-scale) 2))
7.8b
(*.f64 -4 (pow.f64 (*.f64 b (*.f64 (/.f64 1 x-scale) (/.f64 a y-scale))) 2))
28.8b
(*.f64 -4 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a (*.f64 y-scale (*.f64 x-scale y-scale)))) (*.f64 b b)))
33.5b
(*.f64 -4 (/.f64 (*.f64 b b) (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) (*.f64 a a))))
4.7b
(*.f64 -4 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)) 3))
8.5b
(*.f64 -4 (*.f64 (/.f64 (/.f64 a x-scale) y-scale) (*.f64 b (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b))))
17.0b
(*.f64 -4 (sqrt.f64 (pow.f64 (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b) 4)))
4.8b
(*.f64 -4 (pow.f64 (/.f64 (*.f64 a b) (*.f64 y-scale x-scale)) 2))
27.2b
(*.f64 -4 (/.f64 (*.f64 a (*.f64 b b)) (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) a)))
11.7b
(*.f64 -4 (/.f64 (*.f64 (*.f64 a b) (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b)) (*.f64 x-scale y-scale)))
21.5b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) x-scale) (*.f64 y-scale (*.f64 x-scale y-scale))))
29.1b
(*.f64 -4 (*.f64 (*.f64 (/.f64 a (pow.f64 (*.f64 x-scale y-scale) 2)) a) (*.f64 b b)))
26.7b
(*.f64 (*.f64 b (*.f64 (*.f64 b (/.f64 a y-scale)) (/.f64 a y-scale))) (/.f64 -4 (*.f64 x-scale x-scale)))
8.8b
(*.f64 -4 (*.f64 b (*.f64 (/.f64 (/.f64 a x-scale) y-scale) (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b))))
Compiler

Compiled 2468 to 1219 computations (50.6% saved)

regimes1.3s (2%)

Accuracy

Total 4.2b remaining (97.4%)

Threshold costs 0b (0%)

Counts
82 → 2
Compiler

Compiled 36272 to 25735 computations (29% saved)

bsearch8.0ms (0%)

Compiler

Compiled 114 to 83 computations (27.2% saved)

simplify9.0ms (0%)

Algorithm
egg-herbie
Rules
29×*-commutative_binary64
17×+-commutative_binary64
15×sub-neg_binary64
13×neg-sub0_binary64
13×neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057215
183215
2103215
3117215
4132215
5150215
6168215
7178215
8182215
Stop Event
saturated

end234.0ms (0.4%)

Compiler

Compiled 619 to 433 computations (30% saved)

Profiling

Loading profile data...