Details

Time bar (total: 1.3s)

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

sample673.0ms (50.7%)

Results
661.0ms8256×body256valid
0.0msbody256infinite
Bogosity

preprocess15.0ms (1.1%)

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)

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

localize7.0ms (0.5%)

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)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite54.0ms (4.1%)

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

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

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

rewrite48.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 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.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 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.3%)

Compiler

Compiled 915 to 476 computations (48% saved)

prune9.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))
28.7b
(*.f64 y y)
27.1b
(*.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.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))

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

simplify48.0ms (3.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)

eval7.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))
28.7b
(*.f64 y y)
27.1b
(*.f64 x x)
Compiler

Compiled 35 to 19 computations (45.7% saved)

regimes20.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 y y (*.f64 x x))
Calls

5 calls:

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

regimes18.0ms (1.4%)

Counts
4 → 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))
Outputs
(fma.f64 x x (*.f64 y y))
Calls

5 calls:

4.0ms
y
4.0ms
x
4.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
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 46 to 21 computations (54.3% saved)

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

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

regimes30.0ms (2.3%)

Accuracy

Total -48.4b remaining (-772.2%)

Threshold costs -48.4b (-772.2%)

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

4 calls:

12.0ms
(*.f64 y y)
6.0ms
y
6.0ms
(*.f64 x x)
6.0ms
x
Results
ErrorSegmentsBranch
6.3b2x
7.4b2y
9.8b2(*.f64 x x)
12.3b4(*.f64 y y)
Compiler

Compiled 24 to 14 computations (41.7% saved)

bsearch14.0ms (1%)

Algorithm
binary-search
Steps
TimeLeftRight
14.0ms
-2.3538946234119042e-150
-5.857891189736183e-156
Results
12.0ms144×body256valid
Compiler

Compiled 122 to 81 computations (33.6% saved)

simplify6.0ms (0.5%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01679
11779
Stop Event
done
saturated
Calls
Call 1
Inputs
(fma.f64 y y (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(if (<=.f64 x -4330474462075499/1842755090244893238399196572748178169393027939656465052918069482541808673043041431682679065028153695088607604995490158642466105776330465152617887818082371115063181312) (*.f64 x x) (*.f64 y y))
(*.f64 x x)
Outputs
(fma.f64 y y (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
(if (<=.f64 x -4330474462075499/1842755090244893238399196572748178169393027939656465052918069482541808673043041431682679065028153695088607604995490158642466105776330465152617887818082371115063181312) (*.f64 x x) (*.f64 y y))
(*.f64 x x)
Compiler

Compiled 42 to 23 computations (45.2% saved)

soundness75.0ms (5.7%)

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
Compiler

Compiled 29 to 14 computations (51.7% saved)

end38.0ms (2.8%)

Compiler

Compiled 50 to 18 computations (64% saved)

Profiling

Loading profile data...