Details

Time bar (total: 1.3s)

analyze44.0ms (3.3%)

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%87.4%0.1%0%12.5%0%4
7.7%6.2%74.9%0.1%0%18.7%0%5
17.4%12.5%59.3%0.1%0%28.1%0%6
34.9%23.4%43.7%0.1%0%32.8%0%7
45.6%28.1%33.6%0.1%0%38.2%0%8
60.3%35.5%23.4%0.1%0%41%0%9
68.3%38.2%17.8%0.1%0%43.9%0%10
77.8%42.4%12.1%0.1%0%45.4%0%11
82.8%43.9%9.1%0.1%0%46.9%0%12
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample698.0ms (52.1%)

Results
645.0ms8256×body256valid
41.0ms526×body256invalid
Bogosity

preprocess14.0ms (1%)

Algorithm
egg-herbie
Rules
swap-x-y
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
1922
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(sqrt.f64 (+.f64 x y))
(sqrt.f64 (+.f64 y x))
Outputs
(sqrt.f64 (+.f64 x y))
(sqrt.f64 (+.f64 y x))
(sqrt.f64 (+.f64 x y))
Symmetry

(sort x y)

Compiler

Compiled 8 to 6 computations (25% saved)

simplify11.0ms (0.8%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1811
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 x y))
Outputs
(sqrt.f64 (+.f64 x y))

eval0.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.01%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.01%
(sqrt.f64 (+.f64 x y))
Compiler

Compiled 6 to 4 computations (33.3% saved)

localize5.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.01%
(sqrt.f64 (+.f64 x y))
Compiler

Compiled 11 to 4 computations (63.6% saved)

series2.0ms (0.2%)

Counts
1 → 8
Calls

6 calls:

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

rewrite53.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
1552×add-sqr-sqrt
1534×*-un-lft-identity
1432×add-cube-cbrt
1418×add-cbrt-cube
1406×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify62.0ms (4.7%)

Algorithm
egg-herbie
Rules
1712×fma-def
1462×unswap-sqr
948×*-commutative
730×distribute-lft-in
634×associate-+r+
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01151096
1257960
2688844
31874804
44371804
Stop Event
node limit
Counts
34 → 72
Calls
Call 1
Inputs
(sqrt.f64 y)
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y)))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3))) (sqrt.f64 y))))
(sqrt.f64 x)
(+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))))
(-.f64 (+.f64 1 (sqrt.f64 (+.f64 x y))) 1)
(*.f64 (sqrt.f64 (+.f64 x y)) 1)
(*.f64 1 (sqrt.f64 (+.f64 x y)))
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
(*.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (sqrt.f64 (+.f64 x y))))
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) (cbrt.f64 (+.f64 x y)))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x y))))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 x y)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 x y)) 1/2))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y)))
(pow.f64 (+.f64 x y) 1/2)
(pow.f64 (sqrt.f64 (+.f64 x y)) 1)
(pow.f64 (pow.f64 (+.f64 x y) 1/4) 2)
(pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3)
(pow.f64 (pow.f64 (+.f64 x y) 3/2) 1/3)
(fabs.f64 (sqrt.f64 (+.f64 x y)))
(log.f64 (exp.f64 (sqrt.f64 (+.f64 x y))))
(cbrt.f64 (pow.f64 (+.f64 x y) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y))))
(hypot.f64 (sqrt.f64 y) (sqrt.f64 x))
(hypot.f64 (sqrt.f64 x) (sqrt.f64 y))
(exp.f64 (log.f64 (sqrt.f64 (+.f64 x y))))
(exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1))
(log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y))))
Outputs
(sqrt.f64 y)
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y))
(fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 x) (sqrt.f64 y))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y)))
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x x)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y)))
(fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y)))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x (*.f64 x -1/8)) (sqrt.f64 y)))
(fma.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 -1/8 (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3)))))) (sqrt.f64 y))
(fma.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x -1/8))) (sqrt.f64 y))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3))) (sqrt.f64 y))))
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x x)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y))))
(fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y))))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y))))
(fma.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 -1/8 (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3)))))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (*.f64 1/16 (pow.f64 x 3)) (sqrt.f64 y)))
(fma.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x -1/8))) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y)))
(sqrt.f64 x)
(+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))
(+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x))))
(fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))))
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x)))))
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)))
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x)))
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (*.f64 y (*.f64 y -1/8)) (sqrt.f64 x)))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))))
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (fma.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x))))))
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))))
(fma.f64 (pow.f64 y 3) (*.f64 1/16 (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x))))
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) (*.f64 (pow.f64 y 3) 1/16) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x))))
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) (*.f64 (pow.f64 y 3) 1/16) (sqrt.f64 x))))
(-.f64 (+.f64 1 (sqrt.f64 (+.f64 x y))) 1)
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(*.f64 (sqrt.f64 (+.f64 x y)) 1)
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(*.f64 1 (sqrt.f64 (+.f64 x y)))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(*.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (sqrt.f64 (+.f64 x y))))
(*.f64 (cbrt.f64 (+.f64 y x)) (cbrt.f64 (sqrt.f64 (+.f64 y x))))
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) (cbrt.f64 (+.f64 x y)))
(*.f64 (cbrt.f64 (+.f64 y x)) (cbrt.f64 (sqrt.f64 (+.f64 y x))))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x y))))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 y x))))
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 y x))) (sqrt.f64 (cbrt.f64 (+.f64 y x))))
(*.f64 (cbrt.f64 (+.f64 y x)) (sqrt.f64 (cbrt.f64 (+.f64 y x))))
(pow.f64 (cbrt.f64 (+.f64 y x)) 3/2)
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 x y)))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 x y)) 1/2))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 y x))))
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 y x))) (sqrt.f64 (cbrt.f64 (+.f64 y x))))
(*.f64 (cbrt.f64 (+.f64 y x)) (sqrt.f64 (cbrt.f64 (+.f64 y x))))
(pow.f64 (cbrt.f64 (+.f64 y x)) 3/2)
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 y y (*.f64 x (-.f64 x y)))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y)))
(/.f64 (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (sqrt.f64 (-.f64 x y)))
(pow.f64 (+.f64 x y) 1/2)
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(pow.f64 (sqrt.f64 (+.f64 x y)) 1)
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(pow.f64 (pow.f64 (+.f64 x y) 1/4) 2)
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3)
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(pow.f64 (pow.f64 (+.f64 x y) 3/2) 1/3)
(cbrt.f64 (pow.f64 (+.f64 y x) 3/2))
(fabs.f64 (sqrt.f64 (+.f64 x y)))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(log.f64 (exp.f64 (sqrt.f64 (+.f64 x y))))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(cbrt.f64 (pow.f64 (+.f64 x y) 3/2))
(cbrt.f64 (pow.f64 (+.f64 y x) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y))))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(hypot.f64 (sqrt.f64 y) (sqrt.f64 x))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(hypot.f64 (sqrt.f64 x) (sqrt.f64 y))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(exp.f64 (log.f64 (sqrt.f64 (+.f64 x y))))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))
(log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y))))
(+.f64 1 (-.f64 (sqrt.f64 (+.f64 y x)) 1))
(+.f64 (sqrt.f64 (+.f64 y x)) 0)
(sqrt.f64 (+.f64 y x))

eval19.0ms (1.4%)

Compiler

Compiled 1099 to 663 computations (39.7% saved)

prune10.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh000
Picked011
Done000
Total70373
Error
0%
Counts
73 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.82%
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
0.01%
(sqrt.f64 (+.f64 x y))
1.68%
(sqrt.f64 y)
Compiler

Compiled 23 to 15 computations (34.8% saved)

localize2.0ms (0.2%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize12.0ms (0.9%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.82%
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
Compiler

Compiled 24 to 11 computations (54.2% saved)

series1.0ms (0.1%)

Counts
1 → 8
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
0.0ms
x
@0
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
0.0ms
x
@-inf
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
0.0ms
y
@inf
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
0.0ms
y
@-inf
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))

rewrite54.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
1702×add-sqr-sqrt
1676×*-un-lft-identity
1580×add-cube-cbrt
1568×add-cbrt-cube
172×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

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

simplify82.0ms (6.1%)

Algorithm
egg-herbie
Rules
1660×distribute-rgt-in
1648×distribute-lft-in
1180×associate-*r*
1038×associate-*l*
940×unswap-sqr
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0109735
1254719
2824719
34798719
Stop Event
node limit
Counts
31 → 56
Calls
Call 1
Inputs
(sqrt.f64 y)
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y)))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3))) (sqrt.f64 y))))
(sqrt.f64 x)
(+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))))
(-.f64 (exp.f64 (log1p.f64 (sqrt.f64 (+.f64 x y)))) 1)
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y)))
(pow.f64 (+.f64 x y) 1/2)
(pow.f64 (pow.f64 (+.f64 x y) 1/4) 2)
(pow.f64 (sqrt.f64 (+.f64 x y)) 1)
(pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3)
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3) 1/3)
(pow.f64 (pow.f64 (+.f64 x y) 2) 1/4)
(sqrt.f64 (+.f64 x y))
(fabs.f64 (sqrt.f64 (+.f64 x y)))
(log.f64 (exp.f64 (sqrt.f64 (+.f64 x y))))
(log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 x y)))))
(cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3))
(expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y))))
(hypot.f64 (sqrt.f64 x) (sqrt.f64 y))
(hypot.f64 (sqrt.f64 y) (sqrt.f64 x))
(exp.f64 (log.f64 (sqrt.f64 (+.f64 x y))))
(exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2))
(exp.f64 (*.f64 (*.f64 1/4 (log.f64 (+.f64 x y))) 2))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1))
(exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 x y) 2)) 1/4))
(log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y))))
Outputs
(sqrt.f64 y)
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y))
(fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 x) (sqrt.f64 y))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (sqrt.f64 y)))
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x x)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y)))
(fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (sqrt.f64 y)))
(fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x (*.f64 x -1/8)) (fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 x) (sqrt.f64 y)))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x (*.f64 x -1/8)) (sqrt.f64 y)))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 2))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x)) (+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3))) (sqrt.f64 y))))
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x x)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y))))
(fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y))))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 x (*.f64 x -1/8)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (*.f64 1/16 (pow.f64 x 3)) (sqrt.f64 y))))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) x) (fma.f64 -1/8 (*.f64 x (*.f64 x (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 3)) (sqrt.f64 y))))
(sqrt.f64 x)
(+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))
(+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x))))
(fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))))))
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x)))))
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)))
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x)))
(fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (*.f64 y (*.f64 y -1/8)) (sqrt.f64 x)))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (sqrt.f64 x) (*.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))))))
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (fma.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (+.f64 (sqrt.f64 x) (*.f64 (*.f64 1/2 y) (sqrt.f64 (/.f64 1 x))))))
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (fma.f64 1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))))
(fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) (*.f64 (pow.f64 y 3) 1/16) (fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (sqrt.f64 x))))
(fma.f64 -1/8 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (pow.f64 x 3)))) (fma.f64 y (*.f64 1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) (*.f64 (pow.f64 y 3) 1/16) (sqrt.f64 x))))
(-.f64 (exp.f64 (log1p.f64 (sqrt.f64 (+.f64 x y)))) 1)
(sqrt.f64 (+.f64 y x))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 x x (*.f64 y (-.f64 y x)))))
(/.f64 (hypot.f64 (pow.f64 x 3/2) (pow.f64 y 3/2)) (sqrt.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (-.f64 x y)))
(pow.f64 (+.f64 x y) 1/2)
(sqrt.f64 (+.f64 y x))
(pow.f64 (pow.f64 (+.f64 x y) 1/4) 2)
(sqrt.f64 (+.f64 y x))
(pow.f64 (sqrt.f64 (+.f64 x y)) 1)
(sqrt.f64 (+.f64 y x))
(pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x y))) 3)
(sqrt.f64 (+.f64 y x))
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3) 1/3)
(sqrt.f64 (+.f64 y x))
(pow.f64 (pow.f64 (+.f64 x y) 2) 1/4)
(sqrt.f64 (+.f64 y x))
(sqrt.f64 (+.f64 x y))
(sqrt.f64 (+.f64 y x))
(fabs.f64 (sqrt.f64 (+.f64 x y)))
(sqrt.f64 (+.f64 y x))
(log.f64 (exp.f64 (sqrt.f64 (+.f64 x y))))
(sqrt.f64 (+.f64 y x))
(log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 x y)))))
(sqrt.f64 (+.f64 y x))
(cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 x y)) 3))
(sqrt.f64 (+.f64 y x))
(expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x y))))
(sqrt.f64 (+.f64 y x))
(hypot.f64 (sqrt.f64 x) (sqrt.f64 y))
(sqrt.f64 (+.f64 y x))
(hypot.f64 (sqrt.f64 y) (sqrt.f64 x))
(sqrt.f64 (+.f64 y x))
(exp.f64 (log.f64 (sqrt.f64 (+.f64 x y))))
(sqrt.f64 (+.f64 y x))
(exp.f64 (*.f64 (log.f64 (+.f64 x y)) 1/2))
(sqrt.f64 (+.f64 y x))
(exp.f64 (*.f64 (*.f64 1/4 (log.f64 (+.f64 x y))) 2))
(sqrt.f64 (+.f64 y x))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 x y))) 1))
(sqrt.f64 (+.f64 y x))
(exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 x y) 2)) 1/4))
(sqrt.f64 (+.f64 y x))
(log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x y))))
(sqrt.f64 (+.f64 y x))

eval16.0ms (1.2%)

Compiler

Compiled 877 to 558 computations (36.4% saved)

prune9.0ms (0.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New56056
Fresh000
Picked011
Done022
Total56359
Error
0%
Counts
59 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.82%
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
0.01%
(sqrt.f64 (+.f64 x y))
1.68%
(sqrt.f64 y)
Compiler

Compiled 23 to 15 computations (34.8% saved)

regimes61.0ms (4.6%)

Accuracy

Total -1.6b remaining (-40791.4%)

Threshold costs -1.6b (-40791.4%)

Counts
3 → 1
Calls
Call 1
Inputs
(sqrt.f64 y)
(sqrt.f64 (+.f64 x y))
(*.f64 (pow.f64 (+.f64 x y) 1/4) (pow.f64 (+.f64 x y) 1/4))
Outputs
(sqrt.f64 (+.f64 x y))
Calls

4 calls:

50.0ms
(sqrt.f64 (+.f64 x y))
3.0ms
x
3.0ms
y
3.0ms
(+.f64 x y)
Results
ErrorSegmentsBranch
0.01%1x
0.01%1y
0.01%1(sqrt.f64 (+.f64 x y))
0.01%1(+.f64 x y)
Compiler

Compiled 36 to 21 computations (41.7% saved)

simplify4.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
1916
Stop Event
done
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 x y))
(sqrt.f64 y)
Outputs
(sqrt.f64 (+.f64 x y))
(sqrt.f64 y)
Compiler

Compiled 10 to 7 computations (30% saved)

soundness0.0ms (0%)

end178.0ms (13.3%)

Remove

(sort x y)

Compiler

Compiled 20 to 13 computations (35% saved)

Profiling

Loading profile data...