Details

Time bar (total: 1.1min)

analyze12.8s (18.8%)

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)

sample46.7s (68.6%)

Results
12.6s1505×body4096valid
8.9s1753×body2048valid
7.0s851×body4096invalid
6.0s1175×body2048invalid
3.1s911×body1024valid
2.7s3493×body128valid
2.4s695×body1024invalid
1.0s57×body8192valid
837.0ms374×body512valid
694.0ms987×body128invalid
658.0ms293×body512invalid
470.0ms27×body8192invalid
234.0ms163×body256valid
178.0ms131×body256invalid
Compiler

Compiled 230 to 168 computations (27% saved)

preprocess61.0ms (0.1%)

Algorithm
egg-herbie
Rules
432×fma-def_binary64
225×distribute-neg-frac_binary64
202×distribute-lft-in_binary64
202×distribute-rgt-in_binary64
193×associate-*r/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02491925
17351903
227371903
055
Stop Event
saturated
node limit
Compiler

Compiled 114 to 83 computations (27.2% saved)

simplify23.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
44.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
47.5b
(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)))
44.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 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)

localize41.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
11.4b
(*.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))
27.9b
(cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))
28.0b
(sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))
32.1b
(-.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)))

series2.7s (4%)

Counts
4 → 144
Calls

36 calls:

201.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)))
angle
-inf
194.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)))
angle
inf
180.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)))
y-scale
-inf
166.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)))
y-scale
inf
161.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)))
y-scale
0

rewrite93.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

simplify205.0ms (0.3%)

Algorithm
egg-herbie
Rules
465×times-frac_binary64
357×associate-/l*_binary64
342×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 → 157

prune885.0ms (1.3%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2887295
Fresh101
Picked011
Done000
Total2898297
Error
22.6b
Counts
297 → 8
Alt Table
StatusErrorProgram
44.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 (*.f64 4 (*.f64 a a)) (*.f64 b b)) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))))
38.4b
(/.f64 (neg.f64 (fma.f64 4 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a x-scale)) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4))) (fma.f64 4 (*.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 b b)) x-scale) (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4) x-scale)) (*.f64 (/.f64 8 x-scale) (/.f64 (*.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) (*.f64 b b)) (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) (*.f64 a a))) x-scale))))) (*.f64 y-scale y-scale))
44.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 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.3b
0
38.6b
(/.f64 (neg.f64 (fma.f64 4 (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4) (*.f64 (/.f64 y-scale (*.f64 a a)) (/.f64 y-scale (*.f64 b b)))) (fma.f64 4 (*.f64 (*.f64 (/.f64 a y-scale) (/.f64 a y-scale)) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4))) (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) 8) (/.f64 (*.f64 (/.f64 y-scale (*.f64 a a)) (/.f64 y-scale (*.f64 b b))) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2)))))) (*.f64 x-scale x-scale))
32.7b
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
40.7b
(*.f64 -4 (/.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)) (*.f64 (pow.f64 y-scale 2) (pow.f64 x-scale 2))))
41.3b
(*.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 1/180 (*.f64 angle (PI.f64)))) 4)) (fma.f64 8 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) (*.f64 y-scale y-scale)) (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) (*.f64 b b)) (*.f64 x-scale x-scale))) (*.f64 4 (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4) (*.f64 (/.f64 (*.f64 y-scale y-scale) b) (/.f64 (*.f64 x-scale x-scale) b)))))) (neg.f64 (*.f64 a a)))
Compiler

Compiled 37300 to 25300 computations (32.2% saved)

localize0.0ms (0%)

prune16.0ms (0%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New000
Fresh066
Picked011
Done011
Total088
Error
22.6b
Counts
8 → 8
Alt Table
StatusErrorProgram
44.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 (*.f64 4 (*.f64 a a)) (*.f64 b b)) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))))
38.4b
(/.f64 (neg.f64 (fma.f64 4 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a x-scale)) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4))) (fma.f64 4 (*.f64 (/.f64 (*.f64 (*.f64 a a) (*.f64 b b)) x-scale) (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4) x-scale)) (*.f64 (/.f64 8 x-scale) (/.f64 (*.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) (*.f64 b b)) (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) (*.f64 a a))) x-scale))))) (*.f64 y-scale y-scale))
44.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 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.3b
0
38.6b
(/.f64 (neg.f64 (fma.f64 4 (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4) (*.f64 (/.f64 y-scale (*.f64 a a)) (/.f64 y-scale (*.f64 b b)))) (fma.f64 4 (*.f64 (*.f64 (/.f64 a y-scale) (/.f64 a y-scale)) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4))) (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) 8) (/.f64 (*.f64 (/.f64 y-scale (*.f64 a a)) (/.f64 y-scale (*.f64 b b))) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2)))))) (*.f64 x-scale x-scale))
32.7b
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
40.7b
(*.f64 -4 (/.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)) (*.f64 (pow.f64 y-scale 2) (pow.f64 x-scale 2))))
41.3b
(*.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 1/180 (*.f64 angle (PI.f64)))) 4)) (fma.f64 8 (*.f64 (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) (*.f64 y-scale y-scale)) (/.f64 (*.f64 (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) (*.f64 b b)) (*.f64 x-scale x-scale))) (*.f64 4 (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4) (*.f64 (/.f64 (*.f64 y-scale y-scale) b) (/.f64 (*.f64 x-scale x-scale) b)))))) (neg.f64 (*.f64 a a)))
Compiler

Compiled 874 to 559 computations (36% 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))
17.1b
(/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale)))
18.0b
(*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b))

series431.0ms (0.6%)

Counts
4 → 156
Calls

39 calls:

19.0ms
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
a
0
19.0ms
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
a
inf
17.0ms
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
b
-inf
17.0ms
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
b
0
17.0ms
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
a
-inf

rewrite63.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

simplify70.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

prune174.0ms (0.3%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New10513118
Fresh415
Picked101
Done112
Total11115126
Error
3.9b
Counts
126 → 15
Alt Table
StatusErrorProgram
19.0b
(*.f64 -4 (/.f64 1 (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) (pow.f64 (*.f64 a b) 2))))
29.3b
0
24.8b
(*.f64 -4 (*.f64 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a y-scale)) (/.f64 1 (*.f64 x-scale y-scale))) (*.f64 b b)))
21.4b
(*.f64 -4 (cbrt.f64 (pow.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2) 3)))
38.6b
(/.f64 (neg.f64 (fma.f64 4 (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4) (*.f64 (/.f64 y-scale (*.f64 a a)) (/.f64 y-scale (*.f64 b b)))) (fma.f64 4 (*.f64 (*.f64 (/.f64 a y-scale) (/.f64 a y-scale)) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4))) (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) 8) (/.f64 (*.f64 (/.f64 y-scale (*.f64 a a)) (/.f64 y-scale (*.f64 b b))) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2)))))) (*.f64 x-scale x-scale))
6.9b
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
22.3b
(*.f64 (*.f64 b (*.f64 (*.f64 b (/.f64 a y-scale)) (/.f64 a y-scale))) (/.f64 -4 (*.f64 x-scale x-scale)))
7.2b
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2) -4)) 3)
23.0b
(*.f64 -4 (/.f64 (*.f64 a (*.f64 b b)) (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) a)))
7.2b
(*.f64 -4 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)) 3))
24.6b
(*.f64 -4 (/.f64 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a y-scale)) (*.f64 b b)) (*.f64 x-scale y-scale)))
18.9b
(/.f64 (*.f64 (pow.f64 (*.f64 a b) 2) -4) (pow.f64 (*.f64 x-scale y-scale) 2))
20.8b
(*.f64 -4 (*.f64 (pow.f64 (/.f64 a (*.f64 x-scale y-scale)) 2) (*.f64 b b)))
15.8b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) (*.f64 x-scale y-scale)) (*.f64 x-scale y-scale)))
21.2b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) x-scale) (*.f64 y-scale (*.f64 x-scale y-scale))))
Compiler

Compiled 2654 to 1423 computations (46.4% saved)

localize9.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.2b
(pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)
6.1b
(*.f64 b (/.f64 a (*.f64 x-scale y-scale)))
7.5b
(/.f64 a (*.f64 x-scale y-scale))

series256.0ms (0.4%)

Counts
4 → 164
Calls

45 calls:

17.0ms
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
b
inf
16.0ms
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
b
0
16.0ms
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
a
-inf
16.0ms
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
a
0
15.0ms
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
b
-inf

rewrite60.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

simplify72.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

prune218.0ms (0.3%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1247131
Fresh6713
Picked101
Done101
Total13214146
Error
0.1b
Counts
146 → 14
Alt Table
StatusErrorProgram
23.0b
(*.f64 -4 (/.f64 (*.f64 a (*.f64 b b)) (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) a)))
23.8b
(*.f64 -4 (*.f64 (sqrt.f64 (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b)) (*.f64 (sqrt.f64 (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b)) (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b))))
18.9b
(/.f64 (*.f64 (pow.f64 (*.f64 a b) 2) -4) (pow.f64 (*.f64 x-scale y-scale) 2))
18.3b
(*.f64 -4 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b)) 2) (cbrt.f64 (pow.f64 (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b) 4))))
24.8b
(*.f64 -4 (*.f64 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a y-scale)) (/.f64 1 (*.f64 x-scale y-scale))) (*.f64 b b)))
5.8b
(*.f64 -4 (pow.f64 (/.f64 1 (/.f64 (*.f64 x-scale y-scale) (*.f64 a b))) 2))
38.6b
(/.f64 (neg.f64 (fma.f64 4 (/.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4) (*.f64 (/.f64 y-scale (*.f64 a a)) (/.f64 y-scale (*.f64 b b)))) (fma.f64 4 (*.f64 (*.f64 (/.f64 a y-scale) (/.f64 a y-scale)) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 4))) (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2) 8) (/.f64 (*.f64 (/.f64 y-scale (*.f64 a a)) (/.f64 y-scale (*.f64 b b))) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2)))))) (*.f64 x-scale x-scale))
22.3b
(*.f64 (*.f64 b (*.f64 (*.f64 b (/.f64 a y-scale)) (/.f64 a y-scale))) (/.f64 -4 (*.f64 x-scale x-scale)))
7.2b
(*.f64 -4 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)) 3))
7.4b
(*.f64 -4 (*.f64 (*.f64 (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b) (pow.f64 (cbrt.f64 (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b)) 2)) (cbrt.f64 (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b))))
6.0b
(*.f64 -4 (pow.f64 (/.f64 (*.f64 (/.f64 a x-scale) b) y-scale) 2))
7.2b
(*.f64 -4 (pow.f64 (*.f64 b (*.f64 (/.f64 1 x-scale) (/.f64 a y-scale))) 2))
21.2b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) x-scale) (*.f64 y-scale (*.f64 x-scale y-scale))))
9.9b
(*.f64 -4 (*.f64 b (*.f64 (/.f64 (/.f64 a x-scale) y-scale) (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b))))
Compiler

Compiled 2507 to 1221 computations (51.3% saved)

regimes1.4s (2%)

Accuracy

Total 5.6b remaining (97.7%)

Threshold costs 0b (0%)

Counts
91 → 4
Compiler

Compiled 29616 to 20759 computations (29.9% saved)

bsearch1.5s (2.2%)

Algorithm
binary-search
Calls

3 calls:

611.0ms
a
573.0ms
a
332.0ms
a
Steps
ItersPointRange
2.5702775997100276e-123
∈ [
1.0245464157233097e-123
,
8.313157853364139e-123
]
8.904505747878003e-182
∈ [
1.4214653745063213e-185
,
7.110373637190948e-177
]
-8.4656445169403e-227
∈ [
-1.0565319868132318e-226
,
-3.4534878985471464e-230
]
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Rules
16×*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03886
16086
27886
39086
49686
59786
Stop Event
saturated

end221.0ms (0.3%)

Stop Event
fuel
Compiler

Compiled 502 to 319 computations (36.5% saved)

Profiling

Loading profile data...