Details

Time bar (total: 1.1min)

analyze12.7s (18.9%)

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.3s (68.7%)

Results
12.4s1505×body4096valid
8.8s1753×body2048valid
7.0s851×body4096invalid
5.9s1175×body2048invalid
3.1s911×body1024valid
2.7s3493×body128valid
2.3s695×body1024invalid
986.0ms57×body8192valid
857.0ms374×body512valid
680.0ms987×body128invalid
641.0ms293×body512invalid
481.0ms27×body8192invalid
232.0ms163×body256valid
179.0ms131×body256invalid
Compiler

Compiled 344 to 251 computations (27% saved)

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

prune11.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)

localize42.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.6s (3.9%)

Counts
4 → 144
Calls

4 calls:

2.0s
(-.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)))
632.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)))
3.0ms
(cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))

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

77.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))
77.0ms
(cos.f64 (*.f64 (/.f64 angle 180) (PI.f64)))
77.0ms
(sin.f64 (*.f64 (/.f64 angle 180) (PI.f64)))
77.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)))

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

prune913.0ms (1.4%)

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
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))
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)))
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)))
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))))
29.3b
0
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
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))
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)))
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)))
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))))
29.3b
0
Compiler

Compiled 874 to 559 computations (36% saved)

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

4 calls:

170.0ms
(*.f64 -4 (*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b)))
155.0ms
(*.f64 (/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))) (*.f64 b b))
95.0ms
(/.f64 (*.f64 a a) (*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale)))
12.0ms
(*.f64 (*.f64 x-scale y-scale) (*.f64 x-scale y-scale))

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

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

simplify61.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
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)))
19.0b
(*.f64 -4 (/.f64 1 (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) (pow.f64 (*.f64 a b) 2))))
7.2b
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2) -4)) 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))
21.2b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) x-scale) (*.f64 y-scale (*.f64 x-scale y-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))
18.9b
(/.f64 (*.f64 (pow.f64 (*.f64 a b) 2) -4) (pow.f64 (*.f64 x-scale y-scale) 2))
21.4b
(*.f64 -4 (cbrt.f64 (pow.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2) 3)))
20.8b
(*.f64 -4 (*.f64 (pow.f64 (/.f64 a (*.f64 x-scale y-scale)) 2) (*.f64 b b)))
24.6b
(*.f64 -4 (/.f64 (*.f64 (*.f64 (/.f64 a x-scale) (/.f64 a y-scale)) (*.f64 b b)) (*.f64 x-scale y-scale)))
15.8b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) (*.f64 x-scale y-scale)) (*.f64 x-scale y-scale)))
29.3b
0
23.0b
(*.f64 -4 (/.f64 (*.f64 a (*.f64 b b)) (/.f64 (pow.f64 (*.f64 x-scale y-scale) 2) a)))
Compiler

Compiled 2654 to 1423 computations (46.4% saved)

localize8.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))

series265.0ms (0.4%)

Counts
4 → 164
Calls

4 calls:

172.0ms
(*.f64 -4 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2))
46.0ms
(pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)
28.0ms
(*.f64 b (/.f64 a (*.f64 x-scale y-scale)))
18.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))

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

prune206.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
9.9b
(*.f64 -4 (*.f64 b (*.f64 (/.f64 (/.f64 a x-scale) y-scale) (*.f64 (/.f64 (/.f64 a x-scale) y-scale) b))))
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))
21.2b
(*.f64 -4 (/.f64 (/.f64 (pow.f64 (*.f64 a b) 2) x-scale) (*.f64 y-scale (*.f64 x-scale y-scale))))
22.3b
(*.f64 (*.f64 b (*.f64 (*.f64 b (/.f64 a y-scale)) (/.f64 a y-scale))) (/.f64 -4 (*.f64 x-scale x-scale)))
6.0b
(*.f64 -4 (pow.f64 (/.f64 (*.f64 (/.f64 a x-scale) b) y-scale) 2))
7.2b
(*.f64 -4 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 b (/.f64 a (*.f64 x-scale y-scale))) 2)) 3))
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))))
5.8b
(*.f64 -4 (pow.f64 (/.f64 1 (/.f64 (*.f64 x-scale y-scale) (*.f64 a b))) 2))
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 (*.f64 b (*.f64 (/.f64 1 x-scale) (/.f64 a y-scale))) 2))
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)))
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))))
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))))
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.6s (2.4%)

Steps
ItersRangePoint
6
1.0245464157233097e-123
8.313157853364139e-123
2.5702775997100276e-123
9
1.4214653745063213e-185
7.110373637190948e-177
8.904505747878003e-182
8
-1.0565319868132318e-226
-3.4534878985471464e-230
-8.4656445169403e-227
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

end207.0ms (0.3%)

Compiler

Compiled 502 to 319 computations (36.5% saved)

Profiling

Loading profile data...