Details

Time bar (total: 1.7s)

analyze38.0ms (2.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
25%25%74.9%0.1%0%0%0%5
33.3%25%50%0.1%25%0%0%6
44.4%25%31.2%0.1%43.7%0%0%7
55.6%31.2%25%0.1%43.7%0%0%8
69.4%39%17.2%0.1%43.7%0%0%9
76.4%42.9%13.3%0.1%43.7%0%0%10
84%47.2%9%0.1%43.7%0%0%11
87.8%49.4%6.8%0.1%43.7%0%0%12
Compiler

Compiled 10 to 6 computations (40% saved)

sample898.0ms (54.2%)

Results
887.0ms8256×body256valid
0.0msbody256infinite
Bogosity

preprocess5.0ms (0.3%)

Algorithm
egg-herbie
Rules
fma-def
swap-x-y
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
11130
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(+.f64 (*.f64 x x) (*.f64 y 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 y y) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
Symmetry

(sort x y)

Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify13.0ms (0.8%)

Algorithm
egg-herbie
Rules
fma-def
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
11015
21115
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
Outputs
(+.f64 (*.f64 x x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))

eval0.0ms (0%)

Compiler

Compiled 15 to 6 computations (60% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(fma.f64 x x (*.f64 y y))
0.0b
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 17 to 9 computations (47.1% saved)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 17 to 5 computations (70.6% saved)

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

rewrite55.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
1534×add-sqr-sqrt
1514×*-un-lft-identity
1414×add-cube-cbrt
1402×add-cbrt-cube
1392×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0715
115013
2202013
Stop Event
node limit
Counts
1 → 34
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (hypot.f64 x y) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x y) (hypot.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2)) (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))) (+.f64 (pow.f64 x 6) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x y) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 y y))))))

simplify59.0ms (3.5%)

Algorithm
egg-herbie
Rules
1282×distribute-lft-in
1084×associate-*r*
952×associate-+r+
878×associate-*r/
784×associate-*l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0921500
12231368
28851278
341911278
Stop Event
node limit
Counts
58 → 47
Calls
Call 1
Inputs
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(-.f64 (+.f64 1 (pow.f64 (hypot.f64 x y) 2)) 1)
(-.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x x) (*.f64 y y))))
(*.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(*.f64 1 (pow.f64 (hypot.f64 x y) 2))
(*.f64 (hypot.f64 x y) (hypot.f64 x y))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2)))
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2)) (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)))
(*.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x x) (*.f64 y y))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))
(/.f64 1 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))) (+.f64 (pow.f64 x 6) (pow.f64 y 6))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x x) (*.f64 y y))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2))
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3))
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))
(exp.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)))
(exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)) 1))
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(fma.f64 1 (*.f64 x x) (*.f64 y y))
(fma.f64 1 (*.f64 y y) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 y y))
Outputs
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(-.f64 (+.f64 1 (pow.f64 (hypot.f64 x y) 2)) 1)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(-.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x x) (*.f64 y y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x)))
(*.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 1 (pow.f64 (hypot.f64 x y) 2))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (hypot.f64 x y) (hypot.f64 x y))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2)))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)))
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2)) (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2)))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (cbrt.f64 (pow.f64 (hypot.f64 x y) 4)))
(*.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x x) (*.f64 y y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x)))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 1 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x)))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))) (+.f64 (pow.f64 x 6) (pow.f64 y 6))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x x) (*.f64 y y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 y 4)) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2))))
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (hypot.f64 x y) 2)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(exp.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(exp.f64 (*.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)) 1))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(fma.f64 1 (*.f64 x x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(fma.f64 1 (*.f64 y y) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x x))
(fma.f64 x x (*.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2)))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 y y))

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (*.f64 y y))
Compiler

Compiled 13 to 4 computations (69.2% saved)

series1.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite48.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
1254×add-sqr-sqrt
1242×*-un-lft-identity
1144×add-cube-cbrt
1132×add-cbrt-cube
1120×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0715
113713
2160713
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(fma.f64 x x (*.f64 y y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (hypot.f64 x y) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x y) (hypot.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 y y) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (pow.f64 y 4) (*.f64 (*.f64 x x) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x y) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))))))

simplify57.0ms (3.4%)

Algorithm
egg-herbie
Rules
1074×associate-*r*
1016×associate-/l*
824×associate-*l*
792×associate-+r+
752×distribute-rgt-in
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
057899
1160771
2734671
33133649
Stop Event
node limit
Counts
45 → 35
Calls
Call 1
Inputs
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 y y))
(-.f64 (+.f64 1 (pow.f64 (hypot.f64 x y) 2)) 1)
(*.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(*.f64 1 (pow.f64 (hypot.f64 x y) 2))
(*.f64 (hypot.f64 x y) (hypot.f64 x y))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 y y) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (pow.f64 y 4) (*.f64 (*.f64 x x) (*.f64 y y)))))
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2))
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3))
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))
(exp.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)))
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))
Outputs
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 y y (*.f64 x x))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(-.f64 (+.f64 1 (pow.f64 (hypot.f64 x y) 2)) 1)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 1 (pow.f64 (hypot.f64 x y) 2))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (hypot.f64 x y) (hypot.f64 x y))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (fma.f64 (*.f64 x x) (*.f64 x x) (neg.f64 (pow.f64 y 4))) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (fma.f64 y y (*.f64 x x)) 1)
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 y y) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (pow.f64 y 4) (*.f64 (*.f64 x x) (*.f64 y y)))))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 y y) 3)) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (pow.f64 y 4) (*.f64 x (*.f64 x (*.f64 y y))))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (*.f64 y (*.f64 y (*.f64 x x))))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x)) (pow.f64 x 4)))
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (hypot.f64 x y) 2)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(exp.f64 (log.f64 (pow.f64 (hypot.f64 x y) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 x y) 2) 1))
(+.f64 (pow.f64 (hypot.f64 x y) 2) 0)
(pow.f64 (hypot.f64 x y) 2)

eval17.0ms (1%)

Compiler

Compiled 915 to 476 computations (48% saved)

prune8.0ms (0.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New79382
Fresh000
Picked011
Done011
Total79584
Error
0b
Counts
84 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(fma.f64 y y (*.f64 x x))
0.0b
(fma.f64 x x (*.f64 y y))
0.0b
(+.f64 (*.f64 x x) (*.f64 y y))
24.9b
(*.f64 y y)
29.8b
(*.f64 x x)
Compiler

Compiled 35 to 19 computations (45.7% saved)

localize3.0ms (0.2%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize3.0ms (0.2%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y y (*.f64 x x))
Compiler

Compiled 13 to 4 computations (69.2% saved)

series1.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite50.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
1254×add-sqr-sqrt
1242×*-un-lft-identity
1144×add-cube-cbrt
1132×add-cbrt-cube
1120×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0715
113713
2160713
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(fma.f64 y y (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 y y) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (hypot.f64 y x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 y x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 y x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y x) (hypot.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y y) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 y y) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 y x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 y x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (hypot.f64 y x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 y x) 2)))))))

simplify51.0ms (3.1%)

Algorithm
egg-herbie
Rules
1074×associate-*r*
1016×associate-/l*
824×associate-*l*
792×associate-+r+
752×distribute-rgt-in
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
057899
1160771
2734671
33133649
Stop Event
node limit
Counts
45 → 35
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x x))
(+.f64 (*.f64 (*.f64 y y) 1) (*.f64 x x))
(-.f64 (+.f64 1 (pow.f64 (hypot.f64 y x) 2)) 1)
(*.f64 (pow.f64 (hypot.f64 y x) 2) 1)
(*.f64 1 (pow.f64 (hypot.f64 y x) 2))
(*.f64 (hypot.f64 y x) (hypot.f64 y x))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 2))
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)))
(/.f64 (-.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (*.f64 y y) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 y y) (*.f64 x x)))))
(pow.f64 (pow.f64 (hypot.f64 y x) 2) 1)
(pow.f64 (hypot.f64 y x) 2)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 3)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3) 1/3)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 2))
(log.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3))
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 y x) 2)))
(exp.f64 (log.f64 (pow.f64 (hypot.f64 y x) 2)))
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 y x) 2)))
Outputs
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 (*.f64 y y) 1) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(-.f64 (+.f64 1 (pow.f64 (hypot.f64 y x) 2)) 1)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(*.f64 (pow.f64 (hypot.f64 y x) 2) 1)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(*.f64 1 (pow.f64 (hypot.f64 y x) 2))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(*.f64 (hypot.f64 y x) (hypot.f64 y x))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 2))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(/.f64 (-.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (fma.f64 (*.f64 y y) (*.f64 y y) (neg.f64 (pow.f64 x 4))) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (fma.f64 x x (*.f64 y y)) 1)
(/.f64 (+.f64 (pow.f64 (*.f64 y y) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 y y) (*.f64 x x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 y y) 3) (pow.f64 (*.f64 x x) 3)) (fma.f64 (*.f64 y y) (*.f64 y y) (-.f64 (pow.f64 x 4) (*.f64 y (*.f64 y (*.f64 x x))))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x (*.f64 y y))))))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (fma.f64 (*.f64 x x) (-.f64 (*.f64 x x) (*.f64 y y)) (pow.f64 y 4)))
(pow.f64 (pow.f64 (hypot.f64 y x) 2) 1)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(pow.f64 (hypot.f64 y x) 2)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 3)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3) 1/3)
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 2))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(log.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 y x) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(exp.f64 (log.f64 (pow.f64 (hypot.f64 y x) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 y x) 2)))
(+.f64 1 (-.f64 (pow.f64 (hypot.f64 y x) 2) 1))
(+.f64 (pow.f64 (hypot.f64 y x) 2) 0)
(pow.f64 (hypot.f64 y x) 2)

eval7.0ms (0.4%)

Compiler

Compiled 366 to 172 computations (53% saved)

prune5.0ms (0.3%)

Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New35035
Fresh000
Picked011
Done044
Total35540
Error
0b
Counts
40 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(fma.f64 y y (*.f64 x x))
0.0b
(fma.f64 x x (*.f64 y y))
0.0b
(+.f64 (*.f64 x x) (*.f64 y y))
24.9b
(*.f64 y y)
29.8b
(*.f64 x x)
Compiler

Compiled 35 to 19 computations (45.7% saved)

regimes19.0ms (1.2%)

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

5 calls:

5.0ms
x
4.0ms
y
4.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
3.0ms
(*.f64 x x)
3.0ms
(*.f64 y y)
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(+.f64 (*.f64 x x) (*.f64 y y))
0.0b1(*.f64 x x)
0.0b1(*.f64 y y)
Compiler

Compiled 52 to 22 computations (57.7% saved)

regimes17.0ms (1%)

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

5 calls:

5.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
3.0ms
x
3.0ms
y
3.0ms
(*.f64 y y)
2.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(+.f64 (*.f64 x x) (*.f64 y y))
0.0b1(*.f64 x x)
0.0b1(*.f64 y y)
Compiler

Compiled 40 to 20 computations (50% saved)

regimes43.0ms (2.6%)

Accuracy

Total -48.8b remaining (-954.4%)

Threshold costs -48.8b (-954.4%)

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

4 calls:

18.0ms
x
9.0ms
(*.f64 x x)
9.0ms
(*.f64 y y)
6.0ms
y
Results
ErrorSegmentsBranch
5.1b6x
6.5b2y
9.2b4(*.f64 x x)
10.6b4(*.f64 y y)
Compiler

Compiled 24 to 14 computations (41.7% saved)

bsearch53.0ms (3.2%)

Algorithm
binary-search
Steps
TimeLeftRight
12.0ms
-1.5311705879328997e-151
-1.3422302273708197e-154
11.0ms
-3.967241366540744e-137
-1.2861866699652298e-138
12.0ms
-6.267896972813178e-122
-7.920023198201316e-125
7.0ms
-2.3251107172487927e-79
-1.1176820818500455e-79
11.0ms
-2.4692372188143472e-42
-1.0055709304126662e-43
Results
47.0ms560×body256valid
Compiler

Compiled 434 to 289 computations (33.4% saved)

simplify10.0ms (0.6%)

Algorithm
egg-herbie
Rules
12×not-or
10×not-not
10×if-not
if-if-or-not
not-and
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
027128
133128
236128
342124
449124
556120
660120
762120
863120
Stop Event
done
saturated
Calls
Call 1
Inputs
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(if (<=.f64 x -1318191364431203/12554203470773361527671578846415332832204710888928069025792) (*.f64 x x) (if (<=.f64 x -1376710394245899/8343699359066055009355553539724812947666814540455674882605631280555545803830627148527195652096) (*.f64 y y) (if (<=.f64 x -8484824531937197/744282853678701455922507579277316643178128753343813693728245963960974631028119473486019635930893891134220822124816566203939432067701407744) (*.f64 x x) (if (<=.f64 x -272346098576959/209496998905353079680844140596966345741865090946756146526930647558152562969899171512529285908857866057656747784163844544589904418936665155413025765720064) (*.f64 y y) (if (<=.f64 x -6368561591886351/235872651551346334515097161311766805682307576276027526773512893765351510149509303255382920323603672971341773439422740306235661539370299539535089640714543502728087207936) (*.f64 x x) (*.f64 y y))))))
(*.f64 x x)
Outputs
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x x))
(if (<=.f64 x -1318191364431203/12554203470773361527671578846415332832204710888928069025792) (*.f64 x x) (if (<=.f64 x -1376710394245899/8343699359066055009355553539724812947666814540455674882605631280555545803830627148527195652096) (*.f64 y y) (if (<=.f64 x -8484824531937197/744282853678701455922507579277316643178128753343813693728245963960974631028119473486019635930893891134220822124816566203939432067701407744) (*.f64 x x) (if (<=.f64 x -272346098576959/209496998905353079680844140596966345741865090946756146526930647558152562969899171512529285908857866057656747784163844544589904418936665155413025765720064) (*.f64 y y) (if (<=.f64 x -6368561591886351/235872651551346334515097161311766805682307576276027526773512893765351510149509303255382920323603672971341773439422740306235661539370299539535089640714543502728087207936) (*.f64 x x) (*.f64 y y))))))
(if (<=.f64 x -1318191364431203/12554203470773361527671578846415332832204710888928069025792) (*.f64 x x) (if (<=.f64 x -1376710394245899/8343699359066055009355553539724812947666814540455674882605631280555545803830627148527195652096) (*.f64 y y) (if (or (<=.f64 x -8484824531937197/744282853678701455922507579277316643178128753343813693728245963960974631028119473486019635930893891134220822124816566203939432067701407744) (and (not (<=.f64 x -272346098576959/209496998905353079680844140596966345741865090946756146526930647558152562969899171512529285908857866057656747784163844544589904418936665155413025765720064)) (<=.f64 x -6368561591886351/235872651551346334515097161311766805682307576276027526773512893765351510149509303255382920323603672971341773439422740306235661539370299539535089640714543502728087207936))) (*.f64 x x) (*.f64 y y))))
(if (or (<=.f64 x -1318191364431203/12554203470773361527671578846415332832204710888928069025792) (and (not (<=.f64 x -1376710394245899/8343699359066055009355553539724812947666814540455674882605631280555545803830627148527195652096)) (or (<=.f64 x -8484824531937197/744282853678701455922507579277316643178128753343813693728245963960974631028119473486019635930893891134220822124816566203939432067701407744) (and (not (<=.f64 x -272346098576959/209496998905353079680844140596966345741865090946756146526930647558152562969899171512529285908857866057656747784163844544589904418936665155413025765720064)) (<=.f64 x -6368561591886351/235872651551346334515097161311766805682307576276027526773512893765351510149509303255382920323603672971341773439422740306235661539370299539535089640714543502728087207936))))) (*.f64 x x) (*.f64 y y))
(*.f64 x x)
Compiler

Compiled 52 to 33 computations (36.5% saved)

soundness147.0ms (8.9%)

Algorithm
egg-herbie
Rules
1282×distribute-lft-in
1282×distribute-lft-in
1084×associate-*r*
1084×associate-*r*
952×associate-+r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
11015
21115
0921500
12231368
28851278
341911278
0921500
12231368
28851278
341911278
Stop Event
node limit
node limit
saturated
Compiler

Compiled 31 to 16 computations (48.4% saved)

end29.0ms (1.8%)

Remove

(sort x y)

Compiler

Compiled 62 to 31 computations (50% saved)

Profiling

Loading profile data...