Details

Time bar (total: 1.4s)

analyze38.0ms (2.8%)

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)

sample656.0ms (48.4%)

Results
646.0ms8256×body256valid
0.0msbody256infinite
Bogosity

preprocess6.0ms (0.4%)

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.9%)

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.4%)

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
y
@-inf
(+.f64 (*.f64 x x) (*.f64 y y))

rewrite54.0ms (4%)

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

simplify61.0ms (4.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.4%)

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

rewrite50.0ms (3.7%)

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

simplify48.0ms (3.5%)

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.2%)

Compiler

Compiled 915 to 476 computations (48% saved)

prune10.0ms (0.7%)

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.8b
(*.f64 y y)
30.5b
(*.f64 x x)
Compiler

Compiled 35 to 19 computations (45.7% saved)

localize5.0ms (0.4%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize3.0ms (0.2%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize5.0ms (0.4%)

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

rewrite49.0ms (3.6%)

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

simplify76.0ms (5.6%)

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)

eval6.0ms (0.5%)

Compiler

Compiled 366 to 172 computations (53% saved)

prune5.0ms (0.4%)

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.8b
(*.f64 y y)
30.5b
(*.f64 x x)
Compiler

Compiled 35 to 19 computations (45.7% saved)

regimes21.0ms (1.5%)

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
(*.f64 y y)
4.0ms
y
4.0ms
x
4.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
3.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 52 to 22 computations (57.7% saved)

regimes20.0ms (1.4%)

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
x
3.0ms
y
3.0ms
(+.f64 (*.f64 x x) (*.f64 y 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)

regimes40.0ms (3%)

Accuracy

Total -47.6b remaining (-691.4%)

Threshold costs -47.6b (-691.4%)

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

4 calls:

14.0ms
y
12.0ms
(*.f64 y y)
9.0ms
x
4.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
7.2b2x
6.9b4y
9.9b2(*.f64 x x)
9.9b4(*.f64 y y)
Compiler

Compiled 24 to 14 computations (41.7% saved)

bsearch69.0ms (5.1%)

Algorithm
binary-search
Steps
TimeLeftRight
10.0ms
1.9649726060876463e-109
8.052523293791104e-108
45.0ms
3.2462459672076714e-123
3.2446511932076004e-117
13.0ms
2.9162855492967928e-170
9.733296754538138e-167
Results
65.0ms384×body256valid
Compiler

Compiled 302 to 201 computations (33.4% saved)

simplify6.0ms (0.5%)

Algorithm
egg-herbie
Rules
not-or
if-if-or-not
+-commutative
not-not
if-not
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02196
12796
23096
33392
43492
53592
Stop Event
done
saturated
Calls
Call 1
Inputs
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(if (<=.f64 y 6307263664699109/66392249102095887336198525819058578416199139715878990399930517275050444982606530342395312783153660708611166185780812626918322417206588404926189997345823418992978908854424152378966016) (*.f64 x x) (if (<=.f64 y 8484824531937197/1488565707357402911845015158554633286356257506687627387456491927921949262056238946972039271861787782268441644249633132407878864135402815488) (*.f64 y y) (if (<=.f64 y 2379801487644895/2644223875160994395807661232131084159313618731857124877138595181097623164945245383300756841758861139390364848100093433217024) (*.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 y 6307263664699109/66392249102095887336198525819058578416199139715878990399930517275050444982606530342395312783153660708611166185780812626918322417206588404926189997345823418992978908854424152378966016) (*.f64 x x) (if (<=.f64 y 8484824531937197/1488565707357402911845015158554633286356257506687627387456491927921949262056238946972039271861787782268441644249633132407878864135402815488) (*.f64 y y) (if (<=.f64 y 2379801487644895/2644223875160994395807661232131084159313618731857124877138595181097623164945245383300756841758861139390364848100093433217024) (*.f64 x x) (*.f64 y y))))
(if (or (<=.f64 y 6307263664699109/66392249102095887336198525819058578416199139715878990399930517275050444982606530342395312783153660708611166185780812626918322417206588404926189997345823418992978908854424152378966016) (and (not (<=.f64 y 8484824531937197/1488565707357402911845015158554633286356257506687627387456491927921949262056238946972039271861787782268441644249633132407878864135402815488)) (<=.f64 y 2379801487644895/2644223875160994395807661232131084159313618731857124877138595181097623164945245383300756841758861139390364848100093433217024))) (*.f64 x x) (*.f64 y y))
(*.f64 x x)
Compiler

Compiled 43 to 26 computations (39.5% saved)

soundness32.0ms (2.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
11015
21115
Stop Event
saturated
Compiler

Compiled 15 to 6 computations (60% saved)

end52.0ms (3.8%)

Remove

(sort x y)

Compiler

Compiled 53 to 24 computations (54.7% saved)

Profiling

Loading profile data...