Details

Time bar (total: 2.9s)

analyze74.0ms (2.6%)

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
12.5%12.5%87.4%0.1%0%0%0%5
26.7%25%68.7%0.1%0%6.2%0%6
39.3%34.3%53.1%0.1%0%12.5%0%7
54.5%46.8%39%0.1%0%14%0%8
64.8%53.1%28.9%0.1%0%18%0%9
74.4%60.1%20.7%0.1%0%19.1%0%10
80.9%63.6%15%0.1%0%21.3%0%11
86.4%67.3%10.6%0.1%0%22%0%12
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.1s (36.6%)

Results
1.0s8256×body256valid
33.0ms347×body256invalid
Bogosity

preprocess72.0ms (2.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11314
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
(sqrt.f64 (+.f64 (*.f64 y y) x))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
(sqrt.f64 (fma.f64 x x y))
(sqrt.f64 (+.f64 (*.f64 y y) x))
(sqrt.f64 (fma.f64 y y x))
Compiler

Compiled 10 to 7 computations (30% saved)

simplify7.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
067
187
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) y))
(sqrt.f64 (fma.f64 x x y))

eval1.0ms (0%)

Compiler

Compiled 13 to 7 computations (46.2% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
20.8b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
20.8b
(sqrt.f64 (+.f64 (*.f64 x x) y))
Compiler

Compiled 8 to 5 computations (37.5% saved)

localize48.0ms (1.6%)

Local error

Found 2 expressions with local error:

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

Compiled 18 to 5 computations (72.2% saved)

series7.0ms (0.2%)

Counts
2 → 40
Calls

12 calls:

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

rewrite217.0ms (7.5%)

Algorithm
batch-egg-rewrite
Rules
662×pow1_binary64
619×add-log-exp_binary64
619×log1p-expm1-u_binary64
619×expm1-log1p-u_binary64
602×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify71.0ms (2.5%)

Algorithm
egg-herbie
Rules
759×times-frac_binary64
599×associate-/l*_binary64
502×unswap-sqr_binary64
498×fma-neg_binary64
427×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
060454
1161416
2444416
31586414
45763414
Stop Event
node limit
Counts
102 → 88
Calls
Call 1
Inputs
(sqrt.f64 y)
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)))
(+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6))) (+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y))))
x
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)))
(*.f64 -1 x)
(+.f64 (*.f64 -1/2 (/.f64 y x)) (*.f64 -1 x))
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3)))))
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))))))
x
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)))
y
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
y
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
y
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
(+.f64 y (pow.f64 x 2))
Outputs
(sqrt.f64 y)
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y))
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y))
(+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y)))
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y)))
(fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 (*.f64 x x)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 -1/8 (pow.f64 x 4)) (sqrt.f64 y)))
(+.f64 (*.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6))) (+.f64 (*.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4))) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (pow.f64 x 2))) (sqrt.f64 y))))
(fma.f64 1/16 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (pow.f64 x 6)) (fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (pow.f64 x 4)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y))))
(fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (*.f64 1/16 (pow.f64 x 6)) (fma.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 (*.f64 x x)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 -1/8 (pow.f64 x 4)) (sqrt.f64 y))))
(fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 -1/8 (pow.f64 x 4)) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 5))) (*.f64 1/16 (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 x x)) (sqrt.f64 y))))
x
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
(fma.f64 1/2 (/.f64 y x) x)
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x))
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 y (/.f64 (pow.f64 x 3) y)) x))
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) x))
(fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) (fma.f64 1/2 (/.f64 y x) x))
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)))
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x)))
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 y (/.f64 (pow.f64 x 3) y)) x)))
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (/.f64 y (/.f64 (pow.f64 x 3) y)) x)))
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) x)))
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) (fma.f64 1/2 (/.f64 y x) x)))
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1/2 (/.f64 y x)) (*.f64 -1 x))
(fma.f64 -1/2 (/.f64 y x) (neg.f64 x))
(-.f64 (*.f64 (/.f64 y x) -1/2) x)
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3)))))
(fma.f64 -1/2 (/.f64 y x) (fma.f64 -1 x (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8)))
(fma.f64 (/.f64 y x) -1/2 (-.f64 (*.f64 (/.f64 y (/.f64 (pow.f64 x 3) y)) 1/8) x))
(-.f64 (fma.f64 (/.f64 y x) -1/2 (*.f64 (/.f64 y (/.f64 (pow.f64 x 3) y)) 1/8)) x)
(-.f64 (*.f64 (/.f64 y x) (+.f64 -1/2 (*.f64 (/.f64 y x) (/.f64 1/8 x)))) x)
(fma.f64 (/.f64 y x) (+.f64 -1/2 (*.f64 (/.f64 y x) (/.f64 1/8 x))) (neg.f64 x))
(+.f64 (*.f64 -1/2 (/.f64 y x)) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 -1 x) (*.f64 1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))))))
(fma.f64 -1/2 (/.f64 y x) (fma.f64 -1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1 x (*.f64 (/.f64 (*.f64 y y) (pow.f64 x 3)) 1/8))))
(fma.f64 (/.f64 y x) -1/2 (fma.f64 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) -1/16 (-.f64 (*.f64 (/.f64 y (/.f64 (pow.f64 x 3) y)) 1/8) x)))
(fma.f64 (/.f64 y x) -1/2 (fma.f64 (/.f64 y (/.f64 (pow.f64 x 3) y)) 1/8 (-.f64 (/.f64 (*.f64 (pow.f64 y 3) -1/16) (pow.f64 x 5)) x)))
(fma.f64 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) -1/16 (-.f64 (*.f64 (/.f64 y x) (+.f64 -1/2 (*.f64 (/.f64 y x) (/.f64 1/8 x)))) x))
(fma.f64 (pow.f64 y 3) (/.f64 -1/16 (pow.f64 x 5)) (fma.f64 (/.f64 y x) (+.f64 -1/2 (*.f64 (/.f64 y x) (/.f64 1/8 x))) (neg.f64 x)))
x
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
(fma.f64 1/2 (/.f64 y x) x)
(+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x))
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x))
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 y (/.f64 (pow.f64 x 3) y)) x))
(fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) x))
(fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) (fma.f64 1/2 (/.f64 y x) x))
(+.f64 (*.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 y x)) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 y 2) (pow.f64 x 3))) x)))
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 (*.f64 y y) (pow.f64 x 3)) x)))
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 1/2 (/.f64 y x) (fma.f64 -1/8 (/.f64 y (/.f64 (pow.f64 x 3) y)) x)))
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (/.f64 y (/.f64 (pow.f64 x 3) y)) x)))
(fma.f64 1/2 (/.f64 y x) (fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) x)))
(fma.f64 1/16 (/.f64 (pow.f64 y 3) (pow.f64 x 5)) (fma.f64 -1/8 (*.f64 y (/.f64 y (pow.f64 x 3))) (fma.f64 1/2 (/.f64 y x) x)))
y
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
y
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
y
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)
(+.f64 y (pow.f64 x 2))
(+.f64 y (*.f64 x x))
(fma.f64 x x y)

eval21.0ms (0.7%)

Compiler

Compiled 1056 to 523 computations (50.5% saved)

prune15.0ms (0.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New83588
Fresh000
Picked011
Done000
Total83689
Error
0b
Counts
89 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
43.4b
(neg.f64 x)
20.8b
(sqrt.f64 (+.f64 (*.f64 x x) y))
42.7b
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
42.5b
x
39.3b
(sqrt.f64 y)
43.6b
(-.f64 (*.f64 (/.f64 y x) -1/2) x)
Compiler

Compiled 37 to 25 computations (32.4% saved)

localize3.0ms (0.1%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize3.0ms (0.1%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 20 to 9 computations (55% saved)

series5.0ms (0.2%)

Counts
1 → 0
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
(*.f64 1/2 (/.f64 y x))
1.0ms
y
@0
(*.f64 1/2 (/.f64 y x))
1.0ms
x
@0
(*.f64 1/2 (/.f64 y x))
1.0ms
x
@inf
(*.f64 1/2 (/.f64 y x))
1.0ms
y
@-inf
(*.f64 1/2 (/.f64 y x))

rewrite55.0ms (1.9%)

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

Useful iterations: 0 (0.0ms)

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

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
20 → 20
Calls
Call 1
Inputs
Outputs

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (/.f64 y x) -1/2)
Compiler

Compiled 20 to 9 computations (55% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite53.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
655×pow1_binary64
608×add-log-exp_binary64
608×log1p-expm1-u_binary64
608×expm1-log1p-u_binary64
596×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify13.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-/l*_binary64
associate-*r/_binary64
associate-*l/_binary64
associate-/r/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06168
19168
213168
317168
418168
Stop Event
saturated
Counts
45 → 22
Calls
Call 1
Inputs
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
Outputs
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))

eval12.0ms (0.4%)

Compiler

Compiled 396 to 229 computations (42.2% saved)

prune9.0ms (0.3%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New39342
Fresh011
Picked101
Done044
Total40848
Error
0b
Counts
48 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
43.4b
(neg.f64 x)
42.7b
(+.f64 (/.f64 1/2 (/.f64 x y)) x)
20.8b
(sqrt.f64 (+.f64 (*.f64 x x) y))
42.7b
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
42.5b
x
39.3b
(sqrt.f64 y)
43.6b
(-.f64 (/.f64 (*.f64 y -1/2) x) x)
43.6b
(-.f64 (/.f64 -1/2 (/.f64 x y)) x)
Compiler

Compiled 55 to 37 computations (32.7% saved)

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.6b
(/.f64 1/2 (/.f64 x y))
Compiler

Compiled 20 to 9 computations (55% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@-inf
(/.f64 1/2 (/.f64 x y))
0.0ms
x
@0
(/.f64 1/2 (/.f64 x y))
0.0ms
x
@inf
(/.f64 1/2 (/.f64 x y))
0.0ms
y
@inf
(/.f64 1/2 (/.f64 x y))
0.0ms
x
@-inf
(/.f64 1/2 (/.f64 x y))

rewrite56.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
699×pow1_binary64
652×add-log-exp_binary64
652×log1p-expm1-u_binary64
652×expm1-log1p-u_binary64
639×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify14.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-/l*_binary64
associate-*r/_binary64
associate-*l/_binary64
associate-/r/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06168
19168
213168
317168
418168
Stop Event
saturated
Counts
50 → 26
Calls
Call 1
Inputs
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
Outputs
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.6b
(/.f64 -1/2 (/.f64 x y))
Compiler

Compiled 20 to 9 computations (55% saved)

series3.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(/.f64 -1/2 (/.f64 x y))
0.0ms
x
@inf
(/.f64 -1/2 (/.f64 x y))
0.0ms
y
@-inf
(/.f64 -1/2 (/.f64 x y))
0.0ms
y
@inf
(/.f64 -1/2 (/.f64 x y))
0.0ms
x
@-inf
(/.f64 -1/2 (/.f64 x y))

rewrite54.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
697×pow1_binary64
651×add-log-exp_binary64
650×log1p-expm1-u_binary64
650×expm1-log1p-u_binary64
638×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify13.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-/l*_binary64
associate-*r/_binary64
associate-*l/_binary64
associate-/r/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06168
19168
213168
317168
418168
Stop Event
saturated
Counts
50 → 26
Calls
Call 1
Inputs
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
Outputs
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))

localize10.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (*.f64 y -1/2) x)
Compiler

Compiled 20 to 12 computations (40% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite60.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
673×pow1_binary64
627×add-log-exp_binary64
627×log1p-expm1-u_binary64
627×expm1-log1p-u_binary64
615×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11277
216567
Stop Event
node limit
Counts
1 → 41
Calls
Call 1
Inputs
(/.f64 (*.f64 y -1/2) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/2 (/.f64 y x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 y (/.f64 1 (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 y (*.f64 -1/2 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/2 (/.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/2 (*.f64 y (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 y -1/2) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/2 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -1/2 (/.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) (pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 2) (cbrt.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 y -1/2)) 2) (*.f64 (cbrt.f64 (*.f64 y -1/2)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) (sqrt.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 y -1/2)) (*.f64 (sqrt.f64 (*.f64 y -1/2)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 y 1/2) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (*.f64 y -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y 1) (/.f64 -1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y x) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 y -1/2)) 2) 1) (/.f64 (cbrt.f64 (*.f64 y -1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 y -1/2)) 1) (/.f64 (sqrt.f64 (*.f64 y -1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y (pow.f64 (cbrt.f64 x) 2)) (/.f64 -1/2 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1/2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 y (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (*.f64 y -1/2) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 y -1/2)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 y -1/2)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (*.f64 y -1/2)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 y (sqrt.f64 x)) (/.f64 -1/2 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1/2 (sqrt.f64 x)) (/.f64 y (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (*.f64 y -1/2) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 y -1/2)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (*.f64 y -1/2)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/2 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/2 (/.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (*.f64 y -1/2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 y -1/2) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/2 (/.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 y -1/2) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/2 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (/.f64 y x))))))))

simplify14.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-/l*_binary64
associate-*r/_binary64
associate-*l/_binary64
associate-/r/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06168
19168
213168
317168
418168
Stop Event
saturated
Counts
65 → 41
Calls
Call 1
Inputs
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
Outputs
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))

eval24.0ms (0.8%)

Compiler

Compiled 1008 to 598 computations (40.7% saved)

prune18.0ms (0.6%)

Pruning

9 alts after pruning (3 fresh and 6 done)

PrunedKeptTotal
New91293
Fresh011
Picked011
Done156
Total929101
Error
0b
Counts
101 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
43.6b
(-.f64 (*.f64 (/.f64 -1/2 x) y) x)
42.5b
x
43.4b
(neg.f64 x)
42.7b
(+.f64 (*.f64 (/.f64 1/2 x) y) x)
20.8b
(sqrt.f64 (+.f64 (*.f64 x x) y))
42.7b
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
39.3b
(sqrt.f64 y)
43.6b
(-.f64 (/.f64 (*.f64 y -1/2) x) x)
43.6b
(-.f64 (/.f64 -1/2 (/.f64 x y)) x)
Compiler

Compiled 64 to 43 computations (32.8% saved)

localize9.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (/.f64 1/2 x) y)
Compiler

Compiled 20 to 12 computations (40% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite50.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
617×pow1_binary64
573×add-log-exp_binary64
573×log1p-expm1-u_binary64
573×expm1-log1p-u_binary64
562×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify15.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-/l*_binary64
associate-*r/_binary64
associate-*l/_binary64
associate-/r/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06168
19168
213168
317168
418168
Stop Event
saturated
Counts
45 → 22
Calls
Call 1
Inputs
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
Outputs
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))
(*.f64 1/2 (/.f64 y x))

localize9.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (/.f64 -1/2 x) y)
Compiler

Compiled 20 to 12 computations (40% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite52.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
615×pow1_binary64
572×add-log-exp_binary64
571×log1p-expm1-u_binary64
571×expm1-log1p-u_binary64
561×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify14.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-/l*_binary64
associate-*r/_binary64
associate-*l/_binary64
associate-/r/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06168
19168
213168
317168
418168
Stop Event
saturated
Counts
45 → 22
Calls
Call 1
Inputs
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
Outputs
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))
(*.f64 -1/2 (/.f64 y x))

eval10.0ms (0.3%)

Compiler

Compiled 406 to 236 computations (41.9% saved)

prune10.0ms (0.3%)

Pruning

9 alts after pruning (1 fresh and 8 done)

PrunedKeptTotal
New44044
Fresh011
Picked011
Done077
Total44953
Error
0b
Counts
53 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
43.6b
(-.f64 (*.f64 (/.f64 -1/2 x) y) x)
42.5b
x
43.4b
(neg.f64 x)
42.7b
(+.f64 (*.f64 (/.f64 1/2 x) y) x)
20.8b
(sqrt.f64 (+.f64 (*.f64 x x) y))
42.7b
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
39.3b
(sqrt.f64 y)
43.6b
(-.f64 (/.f64 (*.f64 y -1/2) x) x)
43.6b
(-.f64 (/.f64 -1/2 (/.f64 x y)) x)
Compiler

Compiled 64 to 43 computations (32.8% saved)

regimes129.0ms (4.4%)

Counts
11 → 3
Calls
Call 1
Inputs
x
(neg.f64 x)
(-.f64 (*.f64 (/.f64 -1/2 x) y) x)
(+.f64 (*.f64 (/.f64 1/2 x) y) x)
(+.f64 (/.f64 1/2 (/.f64 x y)) x)
(-.f64 (/.f64 (*.f64 y -1/2) x) x)
(-.f64 (/.f64 -1/2 (/.f64 x y)) x)
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
(-.f64 (*.f64 (/.f64 y x) -1/2) x)
(sqrt.f64 y)
(sqrt.f64 (+.f64 (*.f64 x x) y))
Outputs
(neg.f64 x)
(sqrt.f64 (+.f64 (*.f64 x x) y))
x
Calls

6 calls:

49.0ms
y
21.0ms
x
17.0ms
(*.f64 x x)
14.0ms
(+.f64 (*.f64 x x) y)
11.0ms
(sqrt.f64 (+.f64 (*.f64 x x) y))
Results
ErrorSegmentsBranch
0b3x
13.0b7y
9.5b2(sqrt.f64 (+.f64 (*.f64 x x) y))
9.5b2(+.f64 (*.f64 x x) y)
9.5b2(*.f64 x x)
9.5b2(*.f64 x x)
Compiler

Compiled 93 to 52 computations (44.1% saved)

bsearch39.0ms (1.4%)

Algorithm
binary-search
Steps
TimeLeftRight
20.0ms
5.171418177625172e+141
2.9376518277432765e+144
19.0ms
-7.899036816626704e+155
-8.51693700430968e+152
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes75.0ms (2.6%)

Counts
10 → 3
Calls
Call 1
Inputs
x
(neg.f64 x)
(-.f64 (*.f64 (/.f64 -1/2 x) y) x)
(+.f64 (*.f64 (/.f64 1/2 x) y) x)
(+.f64 (/.f64 1/2 (/.f64 x y)) x)
(-.f64 (/.f64 (*.f64 y -1/2) x) x)
(-.f64 (/.f64 -1/2 (/.f64 x y)) x)
(+.f64 (*.f64 1/2 (/.f64 y x)) x)
(-.f64 (*.f64 (/.f64 y x) -1/2) x)
(sqrt.f64 y)
Outputs
(-.f64 (*.f64 (/.f64 -1/2 x) y) x)
(sqrt.f64 y)
(+.f64 (*.f64 (/.f64 1/2 x) y) x)
Calls

2 calls:

47.0ms
y
25.0ms
x
Results
ErrorSegmentsBranch
5.9b3x
23.0b7y
Compiler

Compiled 62 to 34 computations (45.2% saved)

bsearch126.0ms (4.3%)

Algorithm
binary-search
Steps
TimeLeftRight
61.0ms
2.929148978625365e-53
2.4474571258671627e-49
64.0ms
-2.600254508645673e-37
-9.019422927276407e-41
Compiler

Compiled 253 to 185 computations (26.9% saved)

regimes63.0ms (2.2%)

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

2 calls:

49.0ms
y
12.0ms
x
Results
ErrorSegmentsBranch
22.7b2x
34.3b9y
Compiler

Compiled 60 to 33 computations (45% saved)

bsearch35.0ms (1.2%)

Algorithm
binary-search
Steps
TimeLeftRight
34.0ms
-8.460396099054195e-171
-4.550503120581928e-194
Compiler

Compiled 167 to 119 computations (28.7% saved)

regimes37.0ms (1.3%)

Accuracy

Total -40.5b remaining (-178.2%)

Threshold costs -40.5b (-178.2%)

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

2 calls:

29.0ms
y
7.0ms
x
Results
ErrorSegmentsBranch
22.7b2x
34.3b9y
Compiler

Compiled 11 to 7 computations (36.4% saved)

bsearch31.0ms (1.1%)

Algorithm
binary-search
Steps
TimeLeftRight
31.0ms
-2.1416743694971464e-302
7.074395051301774e-302
Compiler

Compiled 103 to 79 computations (23.3% saved)

simplify9.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03588
14388
24688
34788
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(if (<=.f64 x -789903681662670416843819891423776443832388474878442016213178624802792148358913520322358476391278046851920539470177872819538308415346582124391281219134816256) (neg.f64 x) (if (<=.f64 x 5171418177625171814103938018063750790695010403888883751423724952401816543398371790504201281028513256113073717140249593300052799829582523924480) (sqrt.f64 (+.f64 (*.f64 x x) y)) x))
(if (<=.f64 x -4511666872309177/49039857307708443467467104868809893875799651909875269632) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) (if (<=.f64 x 3235193600058077/107839786668602559178668060348078522694548577690162289924414440996864) (sqrt.f64 y) (+.f64 (*.f64 (/.f64 1/2 x) y) x)))
(if (<=.f64 x -142769892469147/16996415770136547158066822609678996074546979767265021542382212422412913915547271767653200072487337141404458543559888032491090538804886631661104639320530795262202600666732583009015300096) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) x)
(if (<=.f64 x 0) (neg.f64 x) x)
x
Outputs
(if (<=.f64 x -789903681662670416843819891423776443832388474878442016213178624802792148358913520322358476391278046851920539470177872819538308415346582124391281219134816256) (neg.f64 x) (if (<=.f64 x 5171418177625171814103938018063750790695010403888883751423724952401816543398371790504201281028513256113073717140249593300052799829582523924480) (sqrt.f64 (+.f64 (*.f64 x x) y)) x))
(if (<=.f64 x -4511666872309177/49039857307708443467467104868809893875799651909875269632) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) (if (<=.f64 x 3235193600058077/107839786668602559178668060348078522694548577690162289924414440996864) (sqrt.f64 y) (+.f64 (*.f64 (/.f64 1/2 x) y) x)))
(if (<=.f64 x -4511666872309177/49039857307708443467467104868809893875799651909875269632) (-.f64 (*.f64 y (/.f64 -1/2 x)) x) (if (<=.f64 x 3235193600058077/107839786668602559178668060348078522694548577690162289924414440996864) (sqrt.f64 y) (+.f64 x (*.f64 y (/.f64 1/2 x)))))
(if (<=.f64 x -142769892469147/16996415770136547158066822609678996074546979767265021542382212422412913915547271767653200072487337141404458543559888032491090538804886631661104639320530795262202600666732583009015300096) (-.f64 (*.f64 (/.f64 -1/2 x) y) x) x)
(if (<=.f64 x -142769892469147/16996415770136547158066822609678996074546979767265021542382212422412913915547271767653200072487337141404458543559888032491090538804886631661104639320530795262202600666732583009015300096) (-.f64 (*.f64 y (/.f64 -1/2 x)) x) x)
(if (<=.f64 x 0) (neg.f64 x) x)
x
Compiler

Compiled 71 to 46 computations (35.2% saved)

soundness79.0ms (2.7%)

Algorithm
egg-herbie
Rules
759×times-frac_binary64
599×associate-/l*_binary64
502×unswap-sqr_binary64
498×fma-neg_binary64
427×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
060454
1161416
2444416
31586414
45763414
Stop Event
node limit
Compiler

Compiled 9 to 7 computations (22.2% saved)

end45.0ms (1.5%)

Compiler

Compiled 63 to 37 computations (41.3% saved)

Profiling

Loading profile data...