Graphics.Rasterific.Linear:$cquadrance from Rasterific-0.6.1

Time bar (total: 1.8s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 10 to 6 computations (40% saved)

sample1.1s (59.8%)

Results
659.0ms4645×body256valid
358.0ms3611×body256infinite
Bogosity

preprocess71.0ms (4%)

Algorithm
egg-herbie
Rules
190×fma-def
38×distribute-lft-neg-in
26×unsub-neg
26×neg-sub0
26×neg-mul-1
Problems
256×No Errors
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020197
147197
2100197
3223197
4309197
5336197
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y)))
(neg.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y)))
(neg.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))))
(+.f64 (*.f64 y y) (*.f64 x x))
Outputs
(+.f64 (*.f64 x x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y)))
(fma.f64 x x (*.f64 y y))
(neg.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y)))
(neg.f64 (fma.f64 x x (*.f64 y y)))
(neg.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))))
(neg.f64 (fma.f64 x x (*.f64 y y)))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
Symmetry

(abs x)

(abs y)

(sort x y)

Compiler

Compiled 27 to 11 computations (59.3% saved)

eval0.0ms (0%)

Compiler

Compiled 8 to 4 computations (50% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 18 to 10 computations (44.4% saved)

localize25.0ms (1.4%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 18 to 6 computations (66.7% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(+.f64 (*.f64 x x) (*.f64 y y))
0.0ms
y
@0
(+.f64 (*.f64 x x) (*.f64 y y))
0.0ms
x
@inf
(+.f64 (*.f64 x x) (*.f64 y y))
0.0ms
y
@inf
(+.f64 (*.f64 x x) (*.f64 y y))
0.0ms
x
@-inf
(+.f64 (*.f64 x x) (*.f64 y y))

rewrite124.0ms (7%)

Algorithm
batch-egg-rewrite
Rules
1146×prod-diff
712×unpow-prod-down
534×prod-exp
504×log1p-expm1-u
504×expm1-log1p-u
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01024
111719
2145319
Stop Event
node limit
Counts
1 → 58
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
Outputs
(-.f64 (exp.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2))) 1)
(-.f64 (/.f64 (pow.f64 x 4) (-.f64 (pow.f64 x 2) (pow.f64 y 2))) (/.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(*.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(*.f64 (pow.f64 (hypot.f64 x y) 2) (log.f64 (exp.f64 1)))
(*.f64 1 (pow.f64 (hypot.f64 x y) 2))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)) (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2))
(*.f64 (hypot.f64 x y) (hypot.f64 x y))
(*.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2))))
(*.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(*.f64 (pow.f64 1 1/3) (pow.f64 (hypot.f64 x y) 2))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 2) 3) (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2))
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 3) (pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 3))
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (hypot.f64 x y) 6)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (hypot.f64 x y) 6)) 1/3))
(*.f64 (pow.f64 (*.f64 (pow.f64 (hypot.f64 x y) 4) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4))) 1/3) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)))
(*.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 5/2) 1/3) (cbrt.f64 (hypot.f64 x y)))
(/.f64 1 (/.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2)) (+.f64 (pow.f64 y 6) (pow.f64 x 6))))
(/.f64 1 (/.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2)))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6))) (neg.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2) 3)
(pow.f64 (pow.f64 (hypot.f64 x y) 4) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x y) 6) 1/3)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (/.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2)) (+.f64 (pow.f64 y 6) (pow.f64 x 6))) -1)
(pow.f64 (/.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))) -1)
(sqrt.f64 (pow.f64 (hypot.f64 x y) 4))
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))
(cbrt.f64 (pow.f64 (hypot.f64 x y) 6))
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))
(exp.f64 (*.f64 2 (log.f64 (hypot.f64 x y))))
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x y))) 1))
(exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x y))) 1) 1))
(exp.f64 (*.f64 (log.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 3))
(exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 x y) 6)) 1/3))
(exp.f64 (*.f64 (log.f64 (hypot.f64 x y)) 2))
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))
(fma.f64 x x (pow.f64 y 2))
(fma.f64 (pow.f64 x 2) 1 (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 y 2) 1 (pow.f64 x 2))
(fma.f64 1 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 1 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (pow.f64 (cbrt.f64 y) 4) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 y) 4) (pow.f64 (cbrt.f64 y) 2) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 4) (pow.f64 y 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 4) (pow.f64 (cbrt.f64 x) 2) (pow.f64 y 2))
(fma.f64 (sqrt.f64 y) (pow.f64 y 3/2) (pow.f64 x 2))
(fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (pow.f64 y 2))
(fma.f64 (pow.f64 y 3/2) (sqrt.f64 y) (pow.f64 x 2))
(fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (pow.f64 y 2))
(fma.f64 (pow.f64 (cbrt.f64 y) 5) (cbrt.f64 y) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (pow.f64 y 2))

simplify60.0ms (3.4%)

Algorithm
egg-herbie
Rules
1002×fma-neg
828×div-sub
634×distribute-lft-neg-in
626×distribute-lft-in
610×associate-*r*
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01512482
13632446
29112446
336922271
Stop Event
node limit
Counts
82 → 67
Calls
Call 1
Inputs
(pow.f64 y 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(pow.f64 y 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(pow.f64 y 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(-.f64 (exp.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2))) 1)
(-.f64 (/.f64 (pow.f64 x 4) (-.f64 (pow.f64 x 2) (pow.f64 y 2))) (/.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(*.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(*.f64 (pow.f64 (hypot.f64 x y) 2) (log.f64 (exp.f64 1)))
(*.f64 1 (pow.f64 (hypot.f64 x y) 2))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)) (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2))
(*.f64 (hypot.f64 x y) (hypot.f64 x y))
(*.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2))))
(*.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(*.f64 (pow.f64 1 1/3) (pow.f64 (hypot.f64 x y) 2))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 2) 3) (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2))
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 3) (pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 3))
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (hypot.f64 x y) 6)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (hypot.f64 x y) 6)) 1/3))
(*.f64 (pow.f64 (*.f64 (pow.f64 (hypot.f64 x y) 4) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4))) 1/3) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)))
(*.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 5/2) 1/3) (cbrt.f64 (hypot.f64 x y)))
(/.f64 1 (/.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2)) (+.f64 (pow.f64 y 6) (pow.f64 x 6))))
(/.f64 1 (/.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2)))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6))) (neg.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2) 3)
(pow.f64 (pow.f64 (hypot.f64 x y) 4) 1/2)
(pow.f64 (pow.f64 (hypot.f64 x y) 6) 1/3)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (/.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2)) (+.f64 (pow.f64 y 6) (pow.f64 x 6))) -1)
(pow.f64 (/.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))) -1)
(sqrt.f64 (pow.f64 (hypot.f64 x y) 4))
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))
(cbrt.f64 (pow.f64 (hypot.f64 x y) 6))
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))
(exp.f64 (*.f64 2 (log.f64 (hypot.f64 x y))))
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x y))) 1))
(exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x y))) 1) 1))
(exp.f64 (*.f64 (log.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 3))
(exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 x y) 6)) 1/3))
(exp.f64 (*.f64 (log.f64 (hypot.f64 x y)) 2))
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))
(fma.f64 x x (pow.f64 y 2))
(fma.f64 (pow.f64 x 2) 1 (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 y 2) 1 (pow.f64 x 2))
(fma.f64 1 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 1 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (pow.f64 (cbrt.f64 y) 4) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 y) 4) (pow.f64 (cbrt.f64 y) 2) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 4) (pow.f64 y 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 4) (pow.f64 (cbrt.f64 x) 2) (pow.f64 y 2))
(fma.f64 (sqrt.f64 y) (pow.f64 y 3/2) (pow.f64 x 2))
(fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (pow.f64 y 2))
(fma.f64 (pow.f64 y 3/2) (sqrt.f64 y) (pow.f64 x 2))
(fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (pow.f64 y 2))
(fma.f64 (pow.f64 (cbrt.f64 y) 5) (cbrt.f64 y) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (pow.f64 y 2))
Outputs
(pow.f64 y 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(-.f64 (exp.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2))) 1)
(pow.f64 (hypot.f64 x y) 2)
(-.f64 (/.f64 (pow.f64 x 4) (-.f64 (pow.f64 x 2) (pow.f64 y 2))) (/.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (fma.f64 y y (pow.f64 x 2)) 1)
(*.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (pow.f64 (hypot.f64 x y) 2) (log.f64 (exp.f64 1)))
(pow.f64 (hypot.f64 x y) 2)
(*.f64 1 (pow.f64 (hypot.f64 x y) 2))
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)) (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)))
(*.f64 (hypot.f64 x y) (hypot.f64 x y))
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2))))
(/.f64 (*.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2)))
(*.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (fma.f64 y y (pow.f64 x 2)) 1)
(*.f64 (pow.f64 1 1/3) (pow.f64 (hypot.f64 x y) 2))
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 2) 3) (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2))
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 3) (pow.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 3))
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (hypot.f64 x y) 6)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (hypot.f64 x y) 6)) 1/3))
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (pow.f64 (*.f64 (pow.f64 (hypot.f64 x y) 4) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4))) 1/3) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) (cbrt.f64 (*.f64 (pow.f64 (hypot.f64 x y) 4) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)))))
(*.f64 (pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 5/2) 1/3) (cbrt.f64 (hypot.f64 x y)))
(*.f64 (cbrt.f64 (hypot.f64 x y)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 5/2)))
(/.f64 1 (/.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2)) (+.f64 (pow.f64 y 6) (pow.f64 x 6))))
(/.f64 (*.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2)))
(/.f64 1 (/.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (fma.f64 y y (pow.f64 x 2)) 1)
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2)))
(/.f64 (*.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2)))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))
(/.f64 (*.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (fma.f64 y y (pow.f64 x 2)) 1)
(/.f64 (neg.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6))) (neg.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2))))
(/.f64 (*.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (fma.f64 y y (pow.f64 x 2)) 1)
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (pow.f64 y 2) (pow.f64 x 2)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (fma.f64 y y (pow.f64 x 2)) 1)
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2) 3)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (pow.f64 (hypot.f64 x y) 4) 1/2)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (pow.f64 (hypot.f64 x y) 6) 1/3)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (/.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 x y) 2)) (+.f64 (pow.f64 y 6) (pow.f64 x 6))) -1)
(/.f64 (*.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2)))
(pow.f64 (/.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))) -1)
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (fma.f64 y y (pow.f64 x 2)) 1)
(sqrt.f64 (pow.f64 (hypot.f64 x y) 4))
(pow.f64 (hypot.f64 x y) 2)
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))
(pow.f64 (hypot.f64 x y) 2)
(cbrt.f64 (pow.f64 (hypot.f64 x y) 6))
(pow.f64 (hypot.f64 x y) 2)
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))
(pow.f64 (hypot.f64 x y) 2)
(exp.f64 (*.f64 2 (log.f64 (hypot.f64 x y))))
(pow.f64 (hypot.f64 x y) 2)
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x y))) 1))
(pow.f64 (hypot.f64 x y) 2)
(exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x y))) 1) 1))
(pow.f64 (hypot.f64 x y) 2)
(exp.f64 (*.f64 (log.f64 (pow.f64 (cbrt.f64 (hypot.f64 x y)) 2)) 3))
(pow.f64 (hypot.f64 x y) 2)
(exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 x y) 6)) 1/3))
(pow.f64 (hypot.f64 x y) 2)
(exp.f64 (*.f64 (log.f64 (hypot.f64 x y)) 2))
(pow.f64 (hypot.f64 x y) 2)
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))
(pow.f64 (hypot.f64 x y) 2)
(fma.f64 x x (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 x 2) 1 (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 y 2) 1 (pow.f64 x 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 1 (pow.f64 x 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 1 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (pow.f64 (cbrt.f64 y) 4) (pow.f64 x 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 y) 4) (pow.f64 (cbrt.f64 y) 2) (pow.f64 x 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 4) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 4) (pow.f64 (cbrt.f64 x) 2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (sqrt.f64 y) (pow.f64 y 3/2) (pow.f64 x 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 y 3/2) (sqrt.f64 y) (pow.f64 x 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 y) 5) (cbrt.f64 y) (pow.f64 x 2))
(fma.f64 y y (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (pow.f64 y 2))
(fma.f64 y y (pow.f64 x 2))

eval62.0ms (3.5%)

Compiler

Compiled 809 to 513 computations (36.6% saved)

prune10.0ms (0.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New66167
Fresh000
Picked011
Done000
Total66268
Accuracy
100.0%
Counts
68 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 (hypot.f64 x y) 2)
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
100.0%
(pow.f64 (hypot.f64 x y) 2)
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 32 to 20 computations (37.5% saved)

localize45.0ms (2.5%)

Compiler

Compiled 14 to 7 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Accuracy
100.0%
Counts
2 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 (hypot.f64 x y) 2)
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 30 to 18 computations (40% saved)

regimes15.0ms (0.9%)

Counts
2 → 1
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
(pow.f64 (hypot.f64 x y) 2)
Outputs
(pow.f64 (hypot.f64 x y) 2)
Calls

5 calls:

4.0ms
y
3.0ms
x
3.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
3.0ms
(*.f64 y y)
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 (*.f64 x x) (*.f64 y y))
100.0%1(*.f64 x x)
100.0%1(*.f64 y y)
Compiler

Compiled 39 to 23 computations (41% saved)

regimes14.0ms (0.8%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
Outputs
(+.f64 (*.f64 x x) (*.f64 y y))
Calls

5 calls:

4.0ms
x
3.0ms
y
2.0ms
(*.f64 y y)
2.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 (*.f64 x x) (*.f64 y y))
100.0%1(*.f64 x x)
100.0%1(*.f64 y y)
Compiler

Compiled 34 to 20 computations (41.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01350
11450
Stop Event
done
saturated
Calls
Call 1
Inputs
(pow.f64 (hypot.f64 x y) 2)
(+.f64 (*.f64 x x) (*.f64 y y))
Outputs
(pow.f64 (hypot.f64 x y) 2)
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 16 to 10 computations (37.5% saved)

soundness237.0ms (13.3%)

Rules
1146×prod-diff
1002×fma-neg
828×div-sub
712×unpow-prod-down
634×distribute-lft-neg-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01024
111719
2145319
01512482
13632446
29112446
336922271
Stop Event
node limit
node limit
Compiler

Compiled 96 to 44 computations (54.2% saved)

end0.0ms (0%)

preprocess46.0ms (2.6%)

Remove

(sort x y)

(abs y)

(abs x)

Compiler

Compiled 88 to 56 computations (36.4% saved)

Profiling

Loading profile data...