Details

Time bar (total: 4.6s)

analyze112.0ms (2.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%62.4%12.6%6
25%43.7%31.3%7
31.2%31.2%37.6%8
39%23.4%37.6%9
42.9%16.4%40.7%10
47.2%12.1%40.7%11
49.4%8.4%42.2%12
Compiler

Compiled 14 to 9 computations (35.7% saved)

sample1.1s (23.5%)

Results
1.1s8256×body256valid
26.0ms229×body256invalid

preprocess21.0ms (0.4%)

Algorithm
egg-herbie
Rules
26×fma-def_binary64
11×+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01226
12822
26222
37622
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (+.f64 (*.f64 y 2) (*.f64 y y)) (*.f64 x x))
Outputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(fma.f64 x (+.f64 x 2) (*.f64 y y))
(+.f64 (+.f64 (*.f64 y 2) (*.f64 y y)) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y (+.f64 2 y)))
(fma.f64 x x (*.f64 y (+.f64 2 y)))
Compiler

Compiled 15 to 10 computations (33.3% saved)

simplify9.0ms (0.2%)

Algorithm
egg-herbie
Rules
14×fma-def_binary64
+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
*-commutative_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0913
11711
23411
34211
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
Outputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(fma.f64 x (+.f64 x 2) (*.f64 y y))

eval1.0ms (0%)

Compiler

Compiled 21 to 11 computations (47.6% saved)

prune1.0ms (0%)

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 (+.f64 x 2) (*.f64 y y))
0.0b
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
Compiler

Compiled 23 to 14 computations (39.1% saved)

localize13.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 32 to 14 computations (56.3% saved)

series5.0ms (0.1%)

Counts
2 → 36
Calls

9 calls:

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

rewrite80.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
577×fma-def_binary64
467×log-prod_binary64
356×pow-prod-down_binary64
280×fma-neg_binary64
262×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0920
120318
2290918
Stop Event
node limit
Counts
2 → 167
Calls
Call 1
Inputs
(+.f64 (*.f64 x 2) (*.f64 x x))
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (*.f64 x x) 4) (*.f64 x (-.f64 2 x))) (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 (+.f64 x x))) (hypot.f64 x (sqrt.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (/.f64 1 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (/.f64 1 (*.f64 x (-.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3))) (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (-.f64 2 x)) (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (*.f64 x (-.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))) (neg.f64 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4))) (neg.f64 (*.f64 x (-.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (fma.f64 x x (neg.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3))) (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (-.f64 2 x)) (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (+.f64 1 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (pow.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x x))) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (+.f64 x 2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (hypot.f64 x (sqrt.f64 (+.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (+.f64 x 2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x x) 1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (*.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 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x x)) (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (cbrt.f64 (+.f64 x x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 (+.f64 x x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (*.f64 x x))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) (pow.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 2) (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y (hypot.f64 x (sqrt.f64 (+.f64 x x)))) (hypot.f64 y (hypot.f64 x (sqrt.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (/.f64 1 (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))) (neg.f64 (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 3)) (fma.f64 (*.f64 x x) 4 (-.f64 (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2) (*.f64 (+.f64 x x) (pow.f64 (hypot.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 (pow.f64 (hypot.f64 x y) 2) 2)) (-.f64 (+.f64 x x) (pow.f64 (hypot.f64 x y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y (hypot.f64 x (sqrt.f64 (+.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (exp.f64 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (pow.f64 (exp.f64 1) (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))) (pow.f64 (exp.f64 y) y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)) (+.f64 1 (expm1.f64 (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))) (+.f64 1 (expm1.f64 (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 y y))) (pow.f64 (exp.f64 x) (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 y) y) (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 y y))) (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)) (pow.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (pow.f64 (hypot.f64 x y) 2)) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1) (pow.f64 (hypot.f64 x y) 2)) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (hypot.f64 y (hypot.f64 x (sqrt.f64 (+.f64 x x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 x 2) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x x) 1 (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x x) 1 (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (+.f64 x 2)) 1 (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 y y) 1 (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x x) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x x) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (hypot.f64 x y) 2) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 (pow.f64 y 4)) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x x)) (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x x)) (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (cbrt.f64 (+.f64 x x)) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2) (cbrt.f64 (+.f64 x x)) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x (sqrt.f64 (+.f64 x x))) (hypot.f64 x (sqrt.f64 (+.f64 x x))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 y) (pow.f64 y 3/2) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 (+.f64 x x)) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 (+.f64 x x)) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (/.f64 1 (-.f64 (fma.f64 (*.f64 x x) 4 (pow.f64 x 4)) (*.f64 2 (pow.f64 x 3)))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (/.f64 1 (*.f64 x (-.f64 2 x))) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 2) x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 y 3/2) (sqrt.f64 y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 x y) 2)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x y) (hypot.f64 x y) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 y) 5) (cbrt.f64 y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (fma.f64 x 2 (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (pow.f64 (hypot.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (pow.f64 (hypot.f64 x y) 2) 1))))))

simplify185.0ms (4%)

Algorithm
egg-herbie
Rules
1204×sqr-pow_binary64
666×cube-prod_binary64
661×fabs-mul_binary64
514×pow-sqr_binary64
511×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
011346
128304
255289
388289
4190289
5496289
61665289
72348289
82680289
92940289
103281289
113787289
124446289
135240289
146169289
156690289
167105289
177498289
187623289
197669289
Stop Event
node limit
Counts
203 → 178
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 9 computations (52.6% saved)

series3.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite60.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
742×pow1_binary64
690×add-log-exp_binary64
689×log1p-expm1-u_binary64
689×expm1-log1p-u_binary64
675×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify170.0ms (3.7%)

Algorithm
egg-herbie
Rules
796×sqr-pow_binary64
666×cube-prod_binary64
663×fabs-mul_binary64
514×pow-sqr_binary64
505×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014262
134214
259214
387214
4192214
5511214
61715214
72370214
82701214
92961214
103300214
113806214
124467214
135261214
146190214
156711214
167124214
177517214
187644214
197690214
Stop Event
node limit
Counts
45 → 33
Calls
Call 1
Inputs
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(*.f64 (+.f64 2 x) x)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
Outputs
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(*.f64 (+.f64 2 x) x)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 y y (*.f64 x (+.f64 2 x)))

eval427.0ms (9.2%)

Compiler

Compiled 3036 to 1583 computations (47.9% saved)

prune35.0ms (0.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2038211
Fresh000
Picked101
Done011
Total2049213
Error
0b
Counts
213 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y))
0.0b
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
20.5b
(+.f64 (*.f64 2 x) (*.f64 y y))
23.1b
(*.f64 (+.f64 2 x) x)
0.0b
(+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y))
42.1b
(*.f64 x x)
39.7b
(*.f64 y y)
20.5b
(fma.f64 y y (*.f64 2 x))
20.0b
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 145 to 88 computations (39.3% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 26 to 6 computations (76.9% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

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

rewrite58.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
824×pow1_binary64
770×add-log-exp_binary64
769×log1p-expm1-u_binary64
769×expm1-log1p-u_binary64
752×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify171.0ms (3.7%)

Algorithm
egg-herbie
Rules
796×sqr-pow_binary64
666×fabs-mul_binary64
666×cube-prod_binary64
514×pow-sqr_binary64
511×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
011262
128229
255214
388214
4189214
5492214
61678214
72350214
82682214
92942214
103281214
113787214
124450214
135246214
146179214
156702214
167117214
177514214
187637214
197683214
Stop Event
node limit
Counts
57 → 43
Calls
Call 1
Inputs
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
Outputs
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 2 x (fma.f64 x x (*.f64 y y)))
(fma.f64 y y (*.f64 x (+.f64 2 x)))
(fma.f64 x (+.f64 2 x) (*.f64 y y))

localize3.0ms (0.1%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 12 to 8 computations (33.3% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite53.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
583×pow1_binary64
547×add-log-exp_binary64
546×log1p-expm1-u_binary64
546×expm1-log1p-u_binary64
538×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11117
214337
Stop Event
node limit
Counts
1 → 17
Calls
Call 1
Inputs
(*.f64 (+.f64 2 x) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (+.f64 2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) x) (+.f64 4 (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 4 (*.f64 x x)) x) (-.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 8 (pow.f64 x 3))) (+.f64 4 (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 4 (*.f64 x x))) (-.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 2 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 2 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 2 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 2 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 2 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 2 x))))))))

simplify169.0ms (3.6%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
560×cube-prod_binary64
556×fabs-mul_binary64
523×pow-sqr_binary64
481×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0684
11475
22875
35075
410975
531175
6104275
7219275
8253975
9273175
10294175
11325175
12366075
13414575
14471775
15541375
16626175
17665475
18694275
19721875
20729075
21732675
Stop Event
node limit
Counts
29 → 22
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))

localize6.0ms (0.1%)

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

Counts
1 → 24
Calls

6 calls:

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

rewrite54.0ms (1.2%)

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

simplify162.0ms (3.5%)

Algorithm
egg-herbie
Rules
1204×sqr-pow_binary64
754×cube-prod_binary64
743×fabs-mul_binary64
514×pow-sqr_binary64
346×unpow3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
07204
116168
229168
347168
499168
5295168
61113168
71389168
81679168
91930168
102269168
112762168
123421168
134211168
145133168
155654168
166071168
176462168
186583168
196627168
207796168
Stop Event
node limit
Counts
57 → 38
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))
Outputs
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
(+.f64 (*.f64 y y) (*.f64 x x))
(fma.f64 y y (*.f64 x x))

localize7.0ms (0.1%)

Compiler

Compiled 14 to 8 computations (42.9% saved)

eval31.0ms (0.7%)

Compiler

Compiled 1229 to 729 computations (40.7% saved)

prune20.0ms (0.4%)

Pruning

10 alts after pruning (5 fresh and 5 done)

PrunedKeptTotal
New1003103
Fresh123
Picked011
Done145
Total10210112
Error
0b
Counts
112 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
20.5b
(+.f64 (*.f64 2 x) (*.f64 y y))
39.7b
(*.f64 y y)
23.1b
(*.f64 (+.f64 2 x) x)
23.1b
(+.f64 (*.f64 x x) (*.f64 2 x))
0.0b
(+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y))
42.1b
(*.f64 x x)
0.0b
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y))
43.3b
(*.f64 2 x)
20.5b
(fma.f64 y y (*.f64 2 x))
20.0b
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 119 to 76 computations (36.1% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 25 to 13 computations (48% saved)

series3.0ms (0.1%)

Counts
2 → 36
Calls

9 calls:

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

rewrite65.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
972×pow1_binary64
908×add-log-exp_binary64
907×log1p-expm1-u_binary64
907×expm1-log1p-u_binary64
94×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
118018
2247618
Stop Event
node limit
Counts
2 → 54
Calls
Call 1
Inputs
(*.f64 (+.f64 x 2) x)
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 8 (pow.f64 x 3))) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (+.f64 x 2) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 2) (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y (sqrt.f64 (*.f64 x (+.f64 x 2)))) (hypot.f64 y (sqrt.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 y y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4)) (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (-.f64 (*.f64 y y) (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y (sqrt.f64 (*.f64 x (+.f64 x 2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (+.f64 x 2) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 x 2) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 2) x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (+.f64 x 2)) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.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 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (sqrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 y y))))))

simplify181.0ms (3.9%)

Algorithm
egg-herbie
Rules
796×sqr-pow_binary64
666×cube-prod_binary64
662×fabs-mul_binary64
514×pow-sqr_binary64
505×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014346
134289
259289
387289
4191289
5516289
61699289
72368289
82699289
92959289
103298289
113802289
124463289
135255289
146186289
156711289
167126289
177521289
187646289
197690289
Stop Event
node limit
Counts
90 → 67
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(*.f64 (+.f64 2 x) x)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(*.f64 (+.f64 2 x) x)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (fma.f64 2 x (*.f64 y y)) (*.f64 x x))
(fma.f64 x (+.f64 2 x) (*.f64 y y))

localize3.0ms (0.1%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

localize3.0ms (0.1%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize7.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 18 to 9 computations (50% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

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

rewrite63.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
747×pow1_binary64
696×add-log-exp_binary64
695×log1p-expm1-u_binary64
695×expm1-log1p-u_binary64
680×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify173.0ms (3.7%)

Algorithm
egg-herbie
Rules
1366×sqr-pow_binary64
695×pow-sqr_binary64
617×cube-prod_binary64
611×fabs-mul_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07168
115168
225168
336168
465168
5167168
6587168
71453168
81637168
91821168
102029168
112324168
122717168
133202168
143768168
154456168
165297168
175691168
185979168
196255168
206329168
216363168
227304168
Stop Event
node limit
Counts
59 → 39
Calls
Call 1
Inputs
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
Outputs
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(pow.f64 y 2)
(*.f64 y y)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(fma.f64 2 x (*.f64 y y))
(fma.f64 y y (*.f64 2 x))

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 17 to 9 computations (47.1% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite59.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
683×pow1_binary64
641×add-log-exp_binary64
640×log1p-expm1-u_binary64
640×expm1-log1p-u_binary64
627×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11337
217937
Stop Event
node limit
Counts
1 → 39
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 2 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 x 2))) (/.f64 (*.f64 (*.f64 x x) 4) (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 (*.f64 x 2))) (hypot.f64 x (sqrt.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (/.f64 1 (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))) (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (-.f64 x 2)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (+.f64 (*.f64 (*.f64 x x) 4) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (*.f64 x (-.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))) (neg.f64 (*.f64 x (-.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (-.f64 (*.f64 x 2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 (*.f64 x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 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 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) (cbrt.f64 (*.f64 x 2)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 (*.f64 x 2)) (*.f64 x x))))))

simplify167.0ms (3.6%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
560×cube-prod_binary64
556×fabs-mul_binary64
523×pow-sqr_binary64
481×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0684
11475
22875
35075
410975
531175
6104275
7219275
8253975
9273175
10294175
11325175
12366075
13414575
14471775
15541375
16626175
17665475
18694275
19721875
20729075
21732675
Stop Event
node limit
Counts
51 → 44
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))

eval41.0ms (0.9%)

Compiler

Compiled 1943 to 1178 computations (39.4% saved)

prune27.0ms (0.6%)

Pruning

10 alts after pruning (1 fresh and 9 done)

PrunedKeptTotal
New1491150
Fresh000
Picked011
Done189
Total15010160
Error
0b
Counts
160 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y))
23.1b
(fma.f64 x x (*.f64 x 2))
20.5b
(+.f64 (*.f64 2 x) (*.f64 y y))
39.7b
(*.f64 y y)
23.1b
(*.f64 (+.f64 2 x) x)
23.1b
(+.f64 (*.f64 x x) (*.f64 2 x))
42.1b
(*.f64 x x)
43.3b
(*.f64 2 x)
20.5b
(fma.f64 y y (*.f64 2 x))
20.0b
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 76 to 49 computations (35.5% saved)

localize6.0ms (0.1%)

Compiler

Compiled 13 to 8 computations (38.5% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune5.0ms (0.1%)

Pruning

10 alts after pruning (0 fresh and 10 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done099
Total01010
Error
0b
Counts
10 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y))
23.1b
(fma.f64 x x (*.f64 x 2))
20.5b
(+.f64 (*.f64 2 x) (*.f64 y y))
39.7b
(*.f64 y y)
23.1b
(*.f64 (+.f64 2 x) x)
23.1b
(+.f64 (*.f64 x x) (*.f64 2 x))
42.1b
(*.f64 x x)
43.3b
(*.f64 2 x)
20.5b
(fma.f64 y y (*.f64 2 x))
20.0b
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 76 to 49 computations (35.5% saved)

regimes56.0ms (1.2%)

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

6 calls:

10.0ms
y
9.0ms
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
9.0ms
(+.f64 (*.f64 x 2) (*.f64 x x))
9.0ms
(+.f64 (*.f64 x 2) (*.f64 x x))
8.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
0.0b1(+.f64 (*.f64 x 2) (*.f64 x x))
0.0b1(+.f64 (*.f64 x 2) (*.f64 x x))
0.0b1(*.f64 y y)
Compiler

Compiled 132 to 63 computations (52.3% saved)

regimes143.0ms (3.1%)

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

6 calls:

41.0ms
x
26.0ms
(+.f64 (*.f64 x 2) (*.f64 x x))
9.0ms
y
9.0ms
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
8.0ms
(+.f64 (*.f64 x 2) (*.f64 x x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
0.0b1(+.f64 (*.f64 x 2) (*.f64 x x))
0.0b1(+.f64 (*.f64 x 2) (*.f64 x x))
0.0b1(*.f64 y y)
Compiler

Compiled 122 to 60 computations (50.8% saved)

regimes55.0ms (1.2%)

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

3 calls:

19.0ms
(*.f64 y y)
18.0ms
y
17.0ms
x
Results
ErrorSegmentsBranch
1.1b3x
3.8b3y
4.0b2(*.f64 y y)
Compiler

Compiled 51 to 23 computations (54.9% saved)

bsearch39.0ms (0.8%)

Algorithm
binary-search
Steps
TimeLeftRight
20.0ms
3.5424123580985696e-9
7.965377351381002e-8
19.0ms
-4241.626480952306
-0.1407740291980524
Compiler

Compiled 18 to 12 computations (33.3% saved)

regimes42.0ms (0.9%)

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

3 calls:

16.0ms
y
16.0ms
x
8.0ms
(*.f64 y y)
Results
ErrorSegmentsBranch
2.2b3x
8.1b3y
8.4b2(*.f64 y y)
Compiler

Compiled 44 to 22 computations (50% saved)

bsearch39.0ms (0.9%)

Algorithm
binary-search
Steps
TimeLeftRight
19.0ms
193093430665761.3
613411796788870.6
20.0ms
-0.1407740291980524
-7.632126129705398e-8
Compiler

Compiled 18 to 12 computations (33.3% saved)

regimes57.0ms (1.2%)

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

3 calls:

29.0ms
x
20.0ms
y
7.0ms
(*.f64 y y)
Results
ErrorSegmentsBranch
14.2b5x
9.3b3y
10.0b2(*.f64 y y)
Compiler

Compiled 37 to 19 computations (48.6% saved)

bsearch39.0ms (0.8%)

Algorithm
binary-search
Steps
TimeLeftRight
19.0ms
4.0980676314094463e-22
4.487878002147013e-22
19.0ms
-2.4314050255967086e-53
-2.8730700345784164e-54
Compiler

Compiled 18 to 12 computations (33.3% saved)

regimes81.0ms (1.8%)

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

3 calls:

34.0ms
y
26.0ms
x
20.0ms
(*.f64 y y)
Results
ErrorSegmentsBranch
15.2b7x
18.6b9y
19.6b6(*.f64 y y)
Compiler

Compiled 25 to 13 computations (48% saved)

bsearch114.0ms (2.5%)

Algorithm
binary-search
Steps
TimeLeftRight
19.0ms
7.965377351381002e-8
126.53639918345856
19.0ms
6.067852219149317e-104
3.24270920636231e-97
19.0ms
-1.406110734091365e-193
-8.857865062562158e-199
18.0ms
-6.818568398589132e-180
-6.145492354515646e-184
19.0ms
-1.1185350391973676e-131
-4.7312523912733636e-133
19.0ms
-4241.626480952306
-0.1407740291980524
Compiler

Compiled 18 to 12 computations (33.3% saved)

regimes48.0ms (1%)

Accuracy

Total -37.8b remaining (-157.5%)

Threshold costs -37.8b (-157.5%)

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

3 calls:

25.0ms
x
15.0ms
y
7.0ms
(*.f64 y y)
Results
ErrorSegmentsBranch
32.1b7x
24.0b3y
24.2b2(*.f64 y y)
Compiler

Compiled 19 to 12 computations (36.8% saved)

bsearch39.0ms (0.9%)

Algorithm
binary-search
Steps
TimeLeftRight
19.0ms
2.50103704432836e-38
4.479693435256385e-38
20.0ms
-9.089748169133919e-60
-1.2123225583954901e-63
Compiler

Compiled 18 to 12 computations (33.3% saved)

simplify12.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058224
167224
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y))
(if (<=.f64 x -4663717636489657/1099511627776) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 8565027526854609/2417851639229258349412352) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y))))
(if (<=.f64 x -2596822488841388544/18446744073709551616) (*.f64 (+.f64 2 x) x) (if (<=.f64 x 3089494890652181/16) (+.f64 (*.f64 2 x) (*.f64 y y)) (*.f64 (+.f64 2 x) x)))
(if (<=.f64 y -655505498163293/26959946667150639794667015087019630673637144422540572481103610249216) (*.f64 y y) (if (<=.f64 y 139450015341809040/340282366920938463463374607431768211456) (*.f64 (+.f64 2 x) x) (*.f64 y y)))
(if (<=.f64 x -4663717636489657/1099511627776) (*.f64 x x) (if (<=.f64 x -8938969950955581/799167628880894011233688890827050574271641124522232614619944181664095165137859998750798362384253944616915694367080095461234681773897801038410285056) (*.f64 2 x) (if (<=.f64 x -7963984234434095/1167984798111281975972139931059274579172666497855631342228273284582214442805421410945513679697247078343332431250840168271536308408672112127552681297848886832192510636636227827221215793215130566656) (*.f64 y y) (if (<=.f64 x -11834133686314444800/84162174424773976115855838126082058648805436845170781751972494449099714468753293153818664580441415219631727501698851483408310916002940861810045036330430093599283578738055113571066620126149163476340692027772502016) (*.f64 2 x) (if (<=.f64 x 4896472079108657/80695308690215893426747474125094121072803306025913234775958104891895238188026287332176417290004307232371974124148359168) (*.f64 y y) (if (<=.f64 x 6018468964411301/75557863725914323419136) (*.f64 2 x) (*.f64 x x)))))))
(if (<=.f64 y -1052520931145086208/115792089237316195423570985008687907853269984665640564039457584007913129639936) (*.f64 y y) (if (<=.f64 y 2395517573733509/95780971304118053647396689196894323976171195136475136) (*.f64 2 x) (*.f64 y y)))
(*.f64 y y)
Outputs
(+.f64 (fma.f64 x x (+.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 (+.f64 x 2) x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x (+.f64 x 2)))
(if (<=.f64 x -4663717636489657/1099511627776) (+.f64 (*.f64 x x) (*.f64 y y)) (if (<=.f64 x 8565027526854609/2417851639229258349412352) (+.f64 (*.f64 2 x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y))))
(if (<=.f64 x -4663717636489657/1099511627776) (+.f64 (*.f64 y y) (*.f64 x x)) (if (<=.f64 x 8565027526854609/2417851639229258349412352) (+.f64 (*.f64 y y) (*.f64 x 2)) (+.f64 (*.f64 y y) (*.f64 x x))))
(if (<=.f64 x -2596822488841388544/18446744073709551616) (*.f64 (+.f64 2 x) x) (if (<=.f64 x 3089494890652181/16) (+.f64 (*.f64 2 x) (*.f64 y y)) (*.f64 (+.f64 2 x) x)))
(if (<=.f64 x -5071918923518337/36028797018963968) (*.f64 x (+.f64 x 2)) (if (<=.f64 x 3089494890652181/16) (+.f64 (*.f64 y y) (*.f64 x 2)) (*.f64 x (+.f64 x 2))))
(if (<=.f64 y -655505498163293/26959946667150639794667015087019630673637144422540572481103610249216) (*.f64 y y) (if (<=.f64 y 139450015341809040/340282366920938463463374607431768211456) (*.f64 (+.f64 2 x) x) (*.f64 y y)))
(if (<=.f64 y -655505498163293/26959946667150639794667015087019630673637144422540572481103610249216) (*.f64 y y) (if (<=.f64 y 8715625958863065/21267647932558653966460912964485513216) (*.f64 x (+.f64 x 2)) (*.f64 y y)))
(if (<=.f64 x -4663717636489657/1099511627776) (*.f64 x x) (if (<=.f64 x -8938969950955581/799167628880894011233688890827050574271641124522232614619944181664095165137859998750798362384253944616915694367080095461234681773897801038410285056) (*.f64 2 x) (if (<=.f64 x -7963984234434095/1167984798111281975972139931059274579172666497855631342228273284582214442805421410945513679697247078343332431250840168271536308408672112127552681297848886832192510636636227827221215793215130566656) (*.f64 y y) (if (<=.f64 x -11834133686314444800/84162174424773976115855838126082058648805436845170781751972494449099714468753293153818664580441415219631727501698851483408310916002940861810045036330430093599283578738055113571066620126149163476340692027772502016) (*.f64 2 x) (if (<=.f64 x 4896472079108657/80695308690215893426747474125094121072803306025913234775958104891895238188026287332176417290004307232371974124148359168) (*.f64 y y) (if (<=.f64 x 6018468964411301/75557863725914323419136) (*.f64 2 x) (*.f64 x x)))))))
(if (<=.f64 x -4663717636489657/1099511627776) (*.f64 x x) (if (<=.f64 x -8938969950955581/799167628880894011233688890827050574271641124522232614619944181664095165137859998750798362384253944616915694367080095461234681773897801038410285056) (*.f64 x 2) (if (<=.f64 x -7963984234434095/1167984798111281975972139931059274579172666497855631342228273284582214442805421410945513679697247078343332431250840168271536308408672112127552681297848886832192510636636227827221215793215130566656) (*.f64 y y) (if (<=.f64 x -5778385589020725/41094811730846668025320233460001005199612029709556045777330319555224469955445943922763019814668659775210804444188892325882964314454560967680686052895717819140275184930690973423372373108471271228681978529185792) (*.f64 x 2) (if (<=.f64 x 4896472079108657/80695308690215893426747474125094121072803306025913234775958104891895238188026287332176417290004307232371974124148359168) (*.f64 y y) (if (<=.f64 x 6018468964411301/75557863725914323419136) (*.f64 x 2) (*.f64 x x)))))))
(if (<=.f64 y -1052520931145086208/115792089237316195423570985008687907853269984665640564039457584007913129639936) (*.f64 y y) (if (<=.f64 y 2395517573733509/95780971304118053647396689196894323976171195136475136) (*.f64 2 x) (*.f64 y y)))
(if (<=.f64 y -4111409887285493/452312848583266388373324160190187140051835877600158453279131187530910662656) (*.f64 y y) (if (<=.f64 y 2395517573733509/95780971304118053647396689196894323976171195136475136) (*.f64 x 2) (*.f64 y y)))
(*.f64 y y)
Compiler

Compiled 173 to 99 computations (42.8% saved)

soundness0.0ms (0%)

end70.0ms (1.5%)

Compiler

Compiled 159 to 77 computations (51.6% saved)

Profiling

Loading profile data...