Details

Time bar (total: 1.5s)

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

sample839.0ms (57.8%)

Results
826.0ms8256×body256valid
0.0msbody256infinite
Bogosity

preprocess15.0ms (1.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
swap-x-y
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0716
1916
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)

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
188
298
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)

series3.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.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))

rewrite40.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
650×pow1_binary64
606×add-log-exp_binary64
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
589×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
068
11297
217517
Stop Event
node limit
Counts
1 → 33
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 (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 (hypot.f64 x y) (hypot.f64 x 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 (-.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 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 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 (+.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 x 4) (pow.f64 y 4)) (-.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 /.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 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))))) (#(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 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)))) (#(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 (hypot.f64 x y) 2)))) (#(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 log1p.f64 (expm1.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 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 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x x))))))

simplify43.0ms (3%)

Algorithm
egg-herbie
Rules
612×log-prod_binary64
556×fma-neg_binary64
524×div-sub_binary64
404×associate-*l*_binary64
381×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
088746
1219683
2747635
34639569
Stop Event
node limit
Counts
57 → 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 (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 (hypot.f64 x y) (hypot.f64 x 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 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x x) (*.f64 y y))))
(/.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 1 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))))
(/.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 x 4) (pow.f64 y 4)) (-.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)))))
(/.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 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)
(pow.f64 (hypot.f64 x y) 2)
(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)))
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))
(exp.f64 (log.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 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 y y))
(fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x x))
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 x x (neg.f64 (*.f64 y y))))
(*.f64 (fma.f64 x x (*.f64 y y)) 1)
(*.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 (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 (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 (+.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 (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 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 (*.f64 y x) 2) (pow.f64 x 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 x x (neg.f64 (*.f64 y y))))
(*.f64 (fma.f64 x x (*.f64 y y)) 1)
(/.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 (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 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 (*.f64 y x) 2) (pow.f64 x 4))))
(/.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 x x (neg.f64 (*.f64 y y))))
(*.f64 (fma.f64 x x (*.f64 y y)) 1)
(/.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 (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 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 (*.f64 y x) 2) (pow.f64 x 4))))
(/.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 (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 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 (*.f64 y x) 2) (pow.f64 x 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 x x (neg.f64 (*.f64 y y))))
(*.f64 (fma.f64 x x (*.f64 y y)) 1)
(/.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 (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 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 (*.f64 y x) 2) (pow.f64 x 4))))
(/.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 x x (neg.f64 (*.f64 y y))))
(*.f64 (fma.f64 x x (*.f64 y y)) 1)
(/.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 x x (neg.f64 (*.f64 y y))))
(*.f64 (fma.f64 x x (*.f64 y y)) 1)
(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 (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)
(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 (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)
(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)
(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)
(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)
(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 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 y y))
(fma.f64 y y (*.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2)))
(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)))

localize7.0ms (0.5%)

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)

series2.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.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))

rewrite35.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
437×pow1_binary64
418×add-sqr-sqrt_binary64
412×*-un-lft-identity_binary64
401×add-log-exp_binary64
401×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058
1987
211407
Stop Event
node limit
Counts
1 → 25
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 0 (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2))) (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))))) (#(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 (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 (hypot.f64 x y) (hypot.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x /.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 (*.f64 x x) (*.f64 y y)))))))) (#(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 pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)))) (#(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 pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x y) 2)))) (#(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 log.f64 (*.f64 (pow.f64 (exp.f64 y) y) (exp.f64 (*.f64 x x))))))) (#(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 log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (hypot.f64 x y))))))))

simplify51.0ms (3.5%)

Algorithm
egg-herbie
Rules
765×fma-neg_binary64
453×associate-*l*_binary64
434×associate-/l*_binary64
406×unswap-sqr_binary64
402×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071439
1179413
2639396
33833385
47939385
Stop Event
node limit
Counts
49 → 39
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 0 (pow.f64 (hypot.f64 x y) 2))
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 y y))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2))) (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))
(-.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 (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 (hypot.f64 x y) (hypot.f64 x 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 (*.f64 x x) (*.f64 y y)))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)
(pow.f64 (hypot.f64 x y) 2)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2))
(log.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))
(log.f64 (*.f64 (pow.f64 (exp.f64 y) y) (exp.f64 (*.f64 x x))))
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3))
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x y) 2)))
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x y) 2)))
(exp.f64 (*.f64 2 (log.f64 (hypot.f64 x y))))
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 0 (pow.f64 (hypot.f64 x y) 2))
(pow.f64 (hypot.f64 x y) 2)
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2))) (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))
(*.f64 3 (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)))))
(pow.f64 (hypot.f64 x y) 2)
(-.f64 (+.f64 1 (pow.f64 (hypot.f64 x y) 2)) 1)
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (pow.f64 (hypot.f64 x y) 2) 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 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2))
(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)))
(pow.f64 (hypot.f64 x y) 2)
(*.f64 (hypot.f64 x y) (hypot.f64 x y))
(pow.f64 (hypot.f64 x y) 2)
(/.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 (*.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 (-.f64 (pow.f64 y 4) (*.f64 y (*.f64 y (*.f64 x x)))) (pow.f64 x 4)))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (fma.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)) (pow.f64 x 4)))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (*.f64 (+.f64 y x) (-.f64 x 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)
(pow.f64 (pow.f64 (hypot.f64 x y) 2) 1)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3) 1/3)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 3)
(pow.f64 (hypot.f64 x y) 2)
(pow.f64 (hypot.f64 x y) 2)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2))
(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)
(log.f64 (*.f64 (pow.f64 (exp.f64 y) y) (exp.f64 (*.f64 x x))))
(fma.f64 y y (*.f64 x x))
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3))
(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)
(log1p.f64 (expm1.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)

eval21.0ms (1.4%)

Compiler

Compiled 980 to 526 computations (46.3% saved)

prune11.0ms (0.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New83386
Fresh000
Picked011
Done011
Total83588
Error
0b
Counts
88 → 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))
29.2b
(*.f64 y y)
28.4b
(*.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)

series4.0ms (0.3%)

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
x
@0
(fma.f64 y y (*.f64 x x))
0.0ms
y
@0
(fma.f64 y y (*.f64 x x))
0.0ms
x
@inf
(fma.f64 y y (*.f64 x x))

rewrite36.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
437×pow1_binary64
418×add-sqr-sqrt_binary64
412×*-un-lft-identity_binary64
401×add-log-exp_binary64
401×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058
1987
211407
Stop Event
node limit
Counts
1 → 25
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 0 (pow.f64 (hypot.f64 y x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 y y) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2))) (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))))))) (#(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 (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 (hypot.f64 y x) (hypot.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((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 (*.f64 y y) (*.f64 x x)))))))) (#(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 pow.f64 (pow.f64 (hypot.f64 y x) 2) 1)))) (#(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 pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y x) 2)))) (#(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 log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 (*.f64 y y))))))) (#(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 log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 y x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (hypot.f64 y x))))))))

simplify63.0ms (4.3%)

Algorithm
egg-herbie
Rules
765×fma-neg_binary64
453×associate-*l*_binary64
434×associate-/l*_binary64
406×unswap-sqr_binary64
402×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071439
1179413
2639396
33833385
47939385
Stop Event
node limit
Counts
49 → 39
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 0 (pow.f64 (hypot.f64 y x) 2))
(+.f64 (*.f64 (*.f64 y y) 1) (*.f64 x x))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2))) (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))))
(-.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 (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 (hypot.f64 y x) (hypot.f64 y 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 (*.f64 y y) (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))
(pow.f64 (pow.f64 (hypot.f64 y x) 2) 1)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3) 1/3)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 3)
(pow.f64 (hypot.f64 y x) 2)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 2))
(log.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))
(log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 (*.f64 y y))))
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3))
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 y x) 2)))
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 y x) 2)))
(exp.f64 (*.f64 2 (log.f64 (hypot.f64 y x))))
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 0 (pow.f64 (hypot.f64 y x) 2))
(pow.f64 (hypot.f64 y x) 2)
(+.f64 (*.f64 (*.f64 y y) 1) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2))) (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2))))) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))))
(*.f64 3 (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))))
(pow.f64 (hypot.f64 y x) 2)
(-.f64 (+.f64 1 (pow.f64 (hypot.f64 y x) 2)) 1)
(pow.f64 (hypot.f64 y x) 2)
(*.f64 (pow.f64 (hypot.f64 y x) 2) 1)
(pow.f64 (hypot.f64 y x) 2)
(*.f64 1 (pow.f64 (hypot.f64 y x) 2))
(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))
(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)))
(pow.f64 (hypot.f64 y x) 2)
(*.f64 (hypot.f64 y x) (hypot.f64 y x))
(pow.f64 (hypot.f64 y x) 2)
(/.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 (*.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 (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x (*.f64 y y)))) (pow.f64 y 4)))
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (fma.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y)) (pow.f64 y 4)))
(/.f64 (-.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (*.f64 (+.f64 x y) (-.f64 y 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)
(pow.f64 (pow.f64 (hypot.f64 y x) 2) 1)
(pow.f64 (hypot.f64 y x) 2)
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3) 1/3)
(pow.f64 (hypot.f64 y x) 2)
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) 3)
(pow.f64 (hypot.f64 y x) 2)
(pow.f64 (hypot.f64 y x) 2)
(sqrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 2))
(pow.f64 (hypot.f64 y x) 2)
(log.f64 (exp.f64 (pow.f64 (hypot.f64 y x) 2)))
(pow.f64 (hypot.f64 y x) 2)
(log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 (*.f64 y y))))
(fma.f64 x x (*.f64 y y))
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 3))
(pow.f64 (hypot.f64 y x) 2)
(expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 y x) 2)))
(pow.f64 (hypot.f64 y x) 2)
(log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 y x) 2)))
(pow.f64 (hypot.f64 y x) 2)
(exp.f64 (*.f64 2 (log.f64 (hypot.f64 y x))))
(pow.f64 (hypot.f64 y x) 2)

eval8.0ms (0.5%)

Compiler

Compiled 433 to 223 computations (48.5% saved)

prune8.0ms (0.5%)

Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New39039
Fresh000
Picked011
Done044
Total39544
Error
0b
Counts
44 → 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))
29.2b
(*.f64 y y)
28.4b
(*.f64 x x)
Compiler

Compiled 35 to 19 computations (45.7% saved)

regimes25.0ms (1.7%)

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

6 calls:

7.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
4.0ms
y
4.0ms
x
3.0ms
(*.f64 x x)
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 x x)
0.0b1(*.f64 y y)
Compiler

Compiled 57 to 25 computations (56.1% saved)

regimes19.0ms (1.3%)

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:

6.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
3.0ms
y
3.0ms
x
3.0ms
(*.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 40 to 20 computations (50% saved)

regimes63.0ms (4.3%)

Accuracy

Total -51.1b remaining (-882.9%)

Threshold costs -51.1b (-882.9%)

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:

39.0ms
(*.f64 x x)
11.0ms
y
8.0ms
x
4.0ms
(*.f64 y y)
Results
ErrorSegmentsBranch
7.7b2x
5.8b4y
11.1b2(*.f64 x x)
11.7b2(*.f64 y y)
Compiler

Compiled 24 to 14 computations (41.7% saved)

bsearch32.0ms (2.2%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
5.488429879176881e-81
5.868559173447863e-78
7.0ms
1.0619158744720323e-92
3.856922985771628e-92
10.0ms
1.5177658240149548e-148
1.04924075246869e-146
Results
29.0ms320×body256valid
Compiler

Compiled 254 to 169 computations (33.5% saved)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01756
11856
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 8278001381959481/899782758908639276562107701537196371773939423660383326620151114522367516134297574063808137220778171429984182126704179024641653211098859937801703036173032771026944) (*.f64 x x) (if (<=.f64 y 6458492102628041/587135645693458306972370149197334256843920637227079967676822742883052256278652110865924749596192175757983744) (*.f64 y y) (if (<=.f64 y 5736293309357913/1042962419883256876169444192465601618458351817556959360325703910069443225478828393565899456512) (*.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 8278001381959481/899782758908639276562107701537196371773939423660383326620151114522367516134297574063808137220778171429984182126704179024641653211098859937801703036173032771026944) (*.f64 x x) (if (<=.f64 y 6458492102628041/587135645693458306972370149197334256843920637227079967676822742883052256278652110865924749596192175757983744) (*.f64 y y) (if (<=.f64 y 5736293309357913/1042962419883256876169444192465601618458351817556959360325703910069443225478828393565899456512) (*.f64 x x) (*.f64 y y))))
(*.f64 x x)
Compiler

Compiled 48 to 25 computations (47.9% saved)

soundness9.0ms (0.6%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
188
298
Stop Event
saturated
Compiler

Compiled 17 to 9 computations (47.1% saved)

end51.0ms (3.5%)

Remove

(sort x y)

Compiler

Compiled 58 to 23 computations (60.3% saved)

Profiling

Loading profile data...