Details

Time bar (total: 1.6s)

analyze88.0ms (5.4%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
25%25%74.9%0.1%0%0%0%5
28.6%25%62.4%0.1%12.5%0%0%6
32%25%53.1%0.1%21.9%0%0%7
41.7%31.2%43.7%0.1%25%0%0%8
54.3%39%32.8%0.1%28.1%0%0%9
62.9%42.9%25.4%0.1%31.6%0%0%10
72.5%47.2%18%0.1%34.7%0%0%11
78.4%49.4%13.6%0.1%37%0%0%12
Compiler

Compiled 16 to 10 computations (37.5% saved)

sample1.1s (65.3%)

Results
962.0ms8256×body256valid
101.0ms1001×body256infinite
Bogosity

preprocess6.0ms (0.4%)

Algorithm
egg-herbie
Rules
64×fma-def
14×*-commutative
14×+-commutative
associate-+l+
distribute-lft-out
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01566
13154
26146
38146
48346
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
(+.f64 (+.f64 (*.f64 y y) (*.f64 (*.f64 y 2) x)) (*.f64 x x))
Outputs
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
(+.f64 (*.f64 x x) (fma.f64 y y (*.f64 x (*.f64 2 y))))
(fma.f64 x x (*.f64 y (+.f64 (*.f64 x 2) y)))
(fma.f64 x x (*.f64 y (fma.f64 x 2 y)))
(+.f64 (+.f64 (*.f64 y y) (*.f64 (*.f64 y 2) x)) (*.f64 x x))
(+.f64 (*.f64 x x) (fma.f64 y y (*.f64 x (*.f64 2 y))))
(fma.f64 x x (*.f64 y (+.f64 (*.f64 x 2) y)))
(fma.f64 x x (*.f64 y (fma.f64 x 2 y)))
Symmetry

(sort x y)

Compiler

Compiled 17 to 11 computations (35.3% saved)

simplify32.0ms (1.9%)

Algorithm
egg-herbie
Rules
64×fma-def
18×+-commutative
16×*-commutative
distribute-lft-out
associate-+l+
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01133
12127
24723
37423
47623
Stop Event
saturated
Counts
1 → 4
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
Outputs
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
(+.f64 (fma.f64 x x (*.f64 x (*.f64 2 y))) (*.f64 y y))
(fma.f64 y y (*.f64 x (+.f64 (*.f64 2 y) x)))
(fma.f64 y (fma.f64 x 2 y) (*.f64 x x))

eval1.0ms (0.1%)

Compiler

Compiled 46 to 22 computations (52.2% saved)

prune3.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 27 to 16 computations (40.7% saved)

localize13.0ms (0.8%)

Local error

Found 1 expressions with local error:

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

Compiled 41 to 19 computations (53.7% saved)

series33.0ms (2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite63.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
1998×add-sqr-sqrt
1976×*-un-lft-identity
1846×add-cube-cbrt
1830×add-cbrt-cube
194×pow1
Iterations

Useful iterations: 1 (0.0ms)

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

simplify64.0ms (3.9%)

Algorithm
egg-herbie
Rules
1132×associate-/r/
1032×times-frac
902×associate-+r+
772×associate-+l+
596×associate-/l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01051606
12801576
211451482
353291482
Stop Event
node limit
Counts
64 → 57
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 x (*.f64 2 y))))) 1)
(-.f64 (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 x (*.f64 2 y)))) (/.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 x (-.f64 x (*.f64 2 y)))))
(*.f64 x (+.f64 x (*.f64 2 y)))
(*.f64 x (+.f64 (*.f64 2 y) x))
(*.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 1)
(*.f64 1 (*.f64 x (+.f64 x (*.f64 2 y))))
(*.f64 (sqrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) (sqrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(*.f64 (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 2))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 2) (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(*.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x (*.f64 2 y)) 2)) (/.f64 1 (*.f64 x (-.f64 x (*.f64 2 y)))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 (pow.f64 x 3) (*.f64 2 y))))))
(/.f64 1 (/.f64 (*.f64 x (-.f64 x (*.f64 2 y))) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x (*.f64 2 y)) 2))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 (pow.f64 x 3) (*.f64 2 y)))) (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x (*.f64 2 y)) 2)) (*.f64 x (-.f64 x (*.f64 2 y))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 (pow.f64 x 3) (*.f64 2 y)))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3)) (+.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 3) (*.f64 2 y)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (pow.f64 x 4)) (-.f64 (*.f64 x (*.f64 2 y)) (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x (*.f64 2 y)) 2))) (neg.f64 (*.f64 x (-.f64 x (*.f64 2 y)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 (pow.f64 x 3) (*.f64 2 y))))))
(pow.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 1)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 2)
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 3)
(pow.f64 (pow.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 3) 1/3)
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 2))
(log.f64 (exp.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x (*.f64 2 y))))))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 3))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(exp.f64 (log.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 1))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(fma.f64 x x (*.f64 x (*.f64 2 y)))
(fma.f64 x (*.f64 2 y) (*.f64 x x))
(fma.f64 (*.f64 x 2) y (*.f64 x x))
(fma.f64 y (*.f64 x 2) (*.f64 x x))
(fma.f64 1 (*.f64 x x) (*.f64 x (*.f64 2 y)))
(fma.f64 1 (*.f64 x (*.f64 2 y)) (*.f64 x x))
(fma.f64 (sqrt.f64 (*.f64 x (*.f64 2 y))) (sqrt.f64 (*.f64 x (*.f64 2 y))) (*.f64 x x))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 2 y))) 2) (cbrt.f64 (*.f64 x (*.f64 2 y))) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 x (*.f64 2 y)))
Outputs
(*.f64 2 (*.f64 y x))
(*.f64 y (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(*.f64 2 (*.f64 y x))
(*.f64 y (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(*.f64 2 (*.f64 y x))
(*.f64 y (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 x (fma.f64 2 y x))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 x (*.f64 2 y))))) 1)
(*.f64 x (fma.f64 2 y x))
(-.f64 (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 x (*.f64 2 y)))) (/.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 x (-.f64 x (*.f64 2 y)))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (-.f64 x (*.f64 2 y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (+.f64 x (*.f64 y -2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(*.f64 x (+.f64 x (*.f64 2 y)))
(*.f64 x (fma.f64 2 y x))
(*.f64 x (+.f64 (*.f64 2 y) x))
(*.f64 x (fma.f64 2 y x))
(*.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 1)
(*.f64 x (fma.f64 2 y x))
(*.f64 1 (*.f64 x (+.f64 x (*.f64 2 y))))
(*.f64 x (fma.f64 2 y x))
(*.f64 (sqrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) (sqrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(*.f64 x (fma.f64 2 y x))
(*.f64 (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 2))
(*.f64 x (fma.f64 2 y x))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 2) (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(*.f64 x (fma.f64 2 y x))
(*.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x (*.f64 2 y)) 2)) (/.f64 1 (*.f64 x (-.f64 x (*.f64 2 y)))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (-.f64 x (*.f64 2 y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (+.f64 x (*.f64 y -2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 (pow.f64 x 3) (*.f64 2 y))))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 2 (*.f64 y x)) 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 2 (*.f64 y x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3))))))
(/.f64 (+.f64 (pow.f64 x 6) (*.f64 8 (pow.f64 (*.f64 y x) 3))) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3)))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (pow.f64 x 3) (fma.f64 y -2 x))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (*.f64 (*.f64 (*.f64 y x) -2) (*.f64 x (fma.f64 y -2 x)))))
(/.f64 1 (/.f64 (*.f64 x (-.f64 x (*.f64 2 y))) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x (*.f64 2 y)) 2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (-.f64 x (*.f64 2 y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (+.f64 x (*.f64 y -2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 (pow.f64 x 3) (*.f64 2 y)))) (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 2 (*.f64 y x)) 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 2 (*.f64 y x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3))))))
(/.f64 (+.f64 (pow.f64 x 6) (*.f64 8 (pow.f64 (*.f64 y x) 3))) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3)))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (pow.f64 x 3) (fma.f64 y -2 x))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (*.f64 (*.f64 (*.f64 y x) -2) (*.f64 x (fma.f64 y -2 x)))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x (*.f64 2 y)) 2)) (*.f64 x (-.f64 x (*.f64 2 y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (-.f64 x (*.f64 2 y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (+.f64 x (*.f64 y -2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 (pow.f64 x 3) (*.f64 2 y)))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 2 (*.f64 y x)) 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 2 (*.f64 y x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3))))))
(/.f64 (+.f64 (pow.f64 x 6) (*.f64 8 (pow.f64 (*.f64 y x) 3))) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3)))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (pow.f64 x 3) (fma.f64 y -2 x))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (*.f64 (*.f64 (*.f64 y x) -2) (*.f64 x (fma.f64 y -2 x)))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3)) (+.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 3) (*.f64 2 y)))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 2 (*.f64 y x)) 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 2 (*.f64 y x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3))))))
(/.f64 (+.f64 (pow.f64 x 6) (*.f64 8 (pow.f64 (*.f64 y x) 3))) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3)))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (pow.f64 x 3) (fma.f64 y -2 x))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (*.f64 (*.f64 (*.f64 y x) -2) (*.f64 x (fma.f64 y -2 x)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (pow.f64 x 4)) (-.f64 (*.f64 x (*.f64 2 y)) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (-.f64 x (*.f64 2 y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (+.f64 x (*.f64 y -2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x (*.f64 2 y)) 2))) (neg.f64 (*.f64 x (-.f64 x (*.f64 2 y)))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (-.f64 x (*.f64 2 y))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (+.f64 x (*.f64 y -2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y (*.f64 2 x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 (*.f64 y x)) 2)) (*.f64 x (fma.f64 y -2 x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x (*.f64 2 y)) 3))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x (*.f64 2 y)) 2) (*.f64 (pow.f64 x 3) (*.f64 2 y))))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 2 (*.f64 y x)) 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 2 (*.f64 y x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3))))))
(/.f64 (+.f64 (pow.f64 x 6) (*.f64 8 (pow.f64 (*.f64 y x) 3))) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (*.f64 2 y) (pow.f64 x 3)))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 (*.f64 y (*.f64 2 x)) 2) (*.f64 (pow.f64 x 3) (fma.f64 y -2 x))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (*.f64 (*.f64 (*.f64 y x) -2) (*.f64 x (fma.f64 y -2 x)))))
(pow.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 1)
(*.f64 x (fma.f64 2 y x))
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 2)
(*.f64 x (fma.f64 2 y x))
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 3)
(*.f64 x (fma.f64 2 y x))
(pow.f64 (pow.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 3) 1/3)
(*.f64 x (fma.f64 2 y x))
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 2))
(*.f64 x (fma.f64 2 y x))
(log.f64 (exp.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(*.f64 x (fma.f64 2 y x))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x (*.f64 2 y))))))
(*.f64 x (fma.f64 2 y x))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x (*.f64 2 y))) 3))
(*.f64 x (fma.f64 2 y x))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(*.f64 x (fma.f64 2 y x))
(exp.f64 (log.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(*.f64 x (fma.f64 2 y x))
(exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x (*.f64 2 y)))) 1))
(*.f64 x (fma.f64 2 y x))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x (*.f64 2 y)))))
(*.f64 x (fma.f64 2 y x))
(fma.f64 x x (*.f64 x (*.f64 2 y)))
(*.f64 x (fma.f64 2 y x))
(fma.f64 x (*.f64 2 y) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(fma.f64 (*.f64 x 2) y (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(fma.f64 y (*.f64 x 2) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(fma.f64 1 (*.f64 x x) (*.f64 x (*.f64 2 y)))
(*.f64 x (fma.f64 2 y x))
(fma.f64 1 (*.f64 x (*.f64 2 y)) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(fma.f64 (sqrt.f64 (*.f64 x (*.f64 2 y))) (sqrt.f64 (*.f64 x (*.f64 2 y))) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 2 y))) 2) (cbrt.f64 (*.f64 x (*.f64 2 y))) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 x (*.f64 2 y)))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 2 (*.f64 y x)))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 y (*.f64 2 x)))
(fma.f64 y (*.f64 2 x) (*.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x))))

localize12.0ms (0.7%)

Local error

Found 1 expressions with local error:

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

Compiled 30 to 17 computations (43.3% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite56.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
1860×add-sqr-sqrt
1840×*-un-lft-identity
1722×add-cube-cbrt
1700×add-cbrt-cube
176×pow1
Iterations

Useful iterations: 0 (0.0ms)

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

simplify52.0ms (3.1%)

Algorithm
egg-herbie
Rules
1596×associate-/r*
714×associate-+r+
640×associate-+l+
494×associate-*r/
440×fma-def
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0841118
1247864
2908840
33053840
Stop Event
node limit
Counts
48 → 36
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 x x) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 x x))
(+.f64 (*.f64 (*.f64 2 (*.f64 y x)) 1) (*.f64 (*.f64 x x) 1))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (fma.f64 2 y x)))) 1)
(/.f64 (*.f64 x (-.f64 (*.f64 (*.f64 y y) 4) (*.f64 x x))) (fma.f64 2 y (neg.f64 x)))
(/.f64 (*.f64 x (+.f64 (*.f64 (pow.f64 y 3) 8) (pow.f64 x 3))) (+.f64 (*.f64 (*.f64 y y) 4) (*.f64 x (-.f64 x (*.f64 2 y)))))
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 y y) 4) (*.f64 x x)) x) (fma.f64 2 y (neg.f64 x)))
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 y 3) 8) (pow.f64 x 3)) x) (+.f64 (*.f64 (*.f64 y y) 4) (*.f64 x (-.f64 x (*.f64 2 y)))))
(/.f64 (-.f64 (*.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (*.f64 y x))) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 2 (*.f64 y x)) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 (*.f64 2 (*.f64 y x)) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (*.f64 y x))) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 2 (*.f64 y x)) (*.f64 x x)))))
(pow.f64 (*.f64 x (fma.f64 2 y x)) 1)
(pow.f64 (sqrt.f64 (*.f64 x (fma.f64 2 y x))) 2)
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 2 y x))) 3)
(pow.f64 (pow.f64 (*.f64 x (fma.f64 2 y x)) 3) 1/3)
(sqrt.f64 (pow.f64 (*.f64 x (fma.f64 2 y x)) 2))
(log.f64 (pow.f64 (exp.f64 x) (fma.f64 2 y x)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 2 y x)))))
(cbrt.f64 (pow.f64 (*.f64 x (fma.f64 2 y x)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (fma.f64 2 y x))))
(exp.f64 (log.f64 (*.f64 x (fma.f64 2 y x))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 2 y x))) 1))
(log1p.f64 (expm1.f64 (*.f64 x (fma.f64 2 y x))))
(fma.f64 x (*.f64 2 y) (*.f64 x x))
(fma.f64 (*.f64 2 y) x (*.f64 x x))
Outputs
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 x x) (*.f64 2 (*.f64 y x)))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 x x))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(+.f64 (*.f64 (*.f64 2 (*.f64 y x)) 1) (*.f64 (*.f64 x x) 1))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (fma.f64 2 y x)))) 1)
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(/.f64 (*.f64 x (-.f64 (*.f64 (*.f64 y y) 4) (*.f64 x x))) (fma.f64 2 y (neg.f64 x)))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(/.f64 (*.f64 x (+.f64 (*.f64 (pow.f64 y 3) 8) (pow.f64 x 3))) (+.f64 (*.f64 (*.f64 y y) 4) (*.f64 x (-.f64 x (*.f64 2 y)))))
(/.f64 (fma.f64 (pow.f64 y 3) 8 (pow.f64 x 3)) (/.f64 (fma.f64 (*.f64 y y) 4 (*.f64 x (+.f64 x (*.f64 -2 y)))) x))
(/.f64 (*.f64 x (fma.f64 (pow.f64 y 3) 8 (pow.f64 x 3))) (fma.f64 y (*.f64 y 4) (*.f64 x (+.f64 x (*.f64 y -2)))))
(*.f64 (fma.f64 (pow.f64 y 3) 8 (pow.f64 x 3)) (/.f64 x (fma.f64 x (fma.f64 y -2 x) (*.f64 y (*.f64 y 4)))))
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 y y) 4) (*.f64 x x)) x) (fma.f64 2 y (neg.f64 x)))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 y 3) 8) (pow.f64 x 3)) x) (+.f64 (*.f64 (*.f64 y y) 4) (*.f64 x (-.f64 x (*.f64 2 y)))))
(/.f64 (fma.f64 (pow.f64 y 3) 8 (pow.f64 x 3)) (/.f64 (fma.f64 (*.f64 y y) 4 (*.f64 x (+.f64 x (*.f64 -2 y)))) x))
(/.f64 (*.f64 x (fma.f64 (pow.f64 y 3) 8 (pow.f64 x 3))) (fma.f64 y (*.f64 y 4) (*.f64 x (+.f64 x (*.f64 y -2)))))
(*.f64 (fma.f64 (pow.f64 y 3) 8 (pow.f64 x 3)) (/.f64 x (fma.f64 x (fma.f64 y -2 x) (*.f64 y (*.f64 y 4)))))
(/.f64 (-.f64 (*.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (*.f64 y x))) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 2 (*.f64 y x)) (*.f64 x x)))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(/.f64 (+.f64 (pow.f64 (*.f64 2 (*.f64 y x)) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (*.f64 y x))) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 2 (*.f64 y x)) (*.f64 x x)))))
(/.f64 (+.f64 (*.f64 8 (pow.f64 (*.f64 y x) 3)) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 4 (*.f64 (*.f64 y x) (*.f64 y x))) (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) (*.f64 2 (*.f64 y x))))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (fma.f64 (*.f64 x x) (*.f64 x (+.f64 x (*.f64 y -2))) (*.f64 (*.f64 4 (*.f64 y x)) (*.f64 y x))))
(/.f64 (fma.f64 8 (pow.f64 (*.f64 y x) 3) (pow.f64 x 6)) (*.f64 (*.f64 x x) (fma.f64 x (fma.f64 y -2 x) (*.f64 y (*.f64 y 4)))))
(pow.f64 (*.f64 x (fma.f64 2 y x)) 1)
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(pow.f64 (sqrt.f64 (*.f64 x (fma.f64 2 y x))) 2)
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 2 y x))) 3)
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(pow.f64 (pow.f64 (*.f64 x (fma.f64 2 y x)) 3) 1/3)
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(sqrt.f64 (pow.f64 (*.f64 x (fma.f64 2 y x)) 2))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(log.f64 (pow.f64 (exp.f64 x) (fma.f64 2 y x)))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 2 y x)))))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(cbrt.f64 (pow.f64 (*.f64 x (fma.f64 2 y x)) 3))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(expm1.f64 (log1p.f64 (*.f64 x (fma.f64 2 y x))))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(exp.f64 (log.f64 (*.f64 x (fma.f64 2 y x))))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(exp.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 2 y x))) 1))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(log1p.f64 (expm1.f64 (*.f64 x (fma.f64 2 y x))))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(fma.f64 x (*.f64 2 y) (*.f64 x x))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))
(fma.f64 (*.f64 2 y) x (*.f64 x x))
(fma.f64 2 (*.f64 y x) (*.f64 x x))
(*.f64 x (fma.f64 2 y x))

eval29.0ms (1.8%)

Compiler

Compiled 1725 to 942 computations (45.4% saved)

prune13.0ms (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New90393
Fresh000
Picked101
Done011
Total91495
Error
0b
Counts
95 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
31.2b
(+.f64 (*.f64 y (*.f64 2 x)) (*.f64 y y))
0.0b
(+.f64 (*.f64 x (+.f64 (*.f64 2 y) x)) (*.f64 y y))
0.8b
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 48 to 29 computations (39.6% saved)

localize6.0ms (0.4%)

Compiler

Compiled 17 to 5 computations (70.6% saved)

localize18.0ms (1.1%)

Local error

Found 1 expressions with local error:

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

Compiled 34 to 18 computations (47.1% saved)

localize9.0ms (0.6%)

Compiler

Compiled 25 to 13 computations (48% saved)

eval9.0ms (0.5%)

Compiler

Compiled 661 to 315 computations (52.3% saved)

prune6.0ms (0.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New36036
Fresh000
Picked011
Done033
Total36440
Error
0b
Counts
40 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
31.2b
(+.f64 (*.f64 y (*.f64 2 x)) (*.f64 y y))
0.0b
(+.f64 (*.f64 x (+.f64 (*.f64 2 y) x)) (*.f64 y y))
0.8b
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 48 to 29 computations (39.6% saved)

regimes14.0ms (0.8%)

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

3 calls:

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

Compiled 73 to 37 computations (49.3% saved)

regimes8.0ms (0.5%)

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

2 calls:

4.0ms
y
4.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
Compiler

Compiled 35 to 18 computations (48.6% saved)

regimes7.0ms (0.4%)

Accuracy

Total -30.6b remaining (-3981.7%)

Threshold costs -30.6b (-3981.7%)

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

2 calls:

3.0ms
x
3.0ms
y
Results
ErrorSegmentsBranch
0.8b1x
0.8b1y
Compiler

Compiled 24 to 13 computations (45.8% saved)

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Rules
10×+-commutative
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01687
12587
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 (*.f64 2 y) x)) (*.f64 y y))
(+.f64 (*.f64 x x) (*.f64 y y))
Outputs
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 (*.f64 2 y) x)) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x (+.f64 x (*.f64 2 y))))
(+.f64 (*.f64 x x) (*.f64 y y))
Compiler

Compiled 37 to 22 computations (40.5% saved)

soundness0.0ms (0%)

end21.0ms (1.3%)

Remove

(sort x y)

Compiler

Compiled 63 to 33 computations (47.6% saved)

Profiling

Loading profile data...