Details

Time bar (total: 1.4s)

analyze63.0ms (4.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
37.5%37.5%62.4%0.1%0%0%0%6
56.3%56.2%43.7%0.1%0%0%0%7
63.2%56.2%32.8%0.1%10.9%0%0%8
74.3%65.6%22.6%0.1%11.7%0%0%9
79.6%65.6%16.8%0.1%17.6%0%0%10
85.9%70.2%11.5%0.1%18.1%0%0%11
89.2%70.2%8.5%0.1%21.2%0%0%12
Compiler

Compiled 10 to 7 computations (30% saved)

sample679.0ms (47.8%)

Results
637.0ms8255×body256valid
30.0ms412×body256infinite
0.0msbody512valid
Bogosity

preprocess44.0ms (3.1%)

Algorithm
egg-herbie
Rules
572×fma-def
214×associate-*r*
168×associate--r+
142×*-commutative
136×distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01138
12138
24138
38538
413738
520438
641138
783838
8124438
9133838
10135638
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(*.f64 1/2 (-.f64 (*.f64 y y) x))
Outputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(*.f64 1/2 (-.f64 (*.f64 y y) x))
(*.f64 1/2 (fma.f64 y y (neg.f64 x)))
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify31.0ms (2.2%)

Algorithm
egg-herbie
Rules
350×fma-def
124×associate--r+
120×associate-*r*
116×distribute-lft-in
90×associate-+r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11419
22519
35019
48019
511619
621919
740019
862719
982719
1089919
1191519
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))
Outputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))

eval0.0ms (0%)

Compiler

Compiled 9 to 6 computations (33.3% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 1/2 (-.f64 (*.f64 x x) y))
Compiler

Compiled 9 to 6 computations (33.3% saved)

localize13.0ms (0.9%)

Local error

Found 1 expressions with local error:

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

Compiled 20 to 7 computations (65% saved)

series1.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite55.0ms (3.9%)

Algorithm
batch-egg-rewrite
Rules
1428×add-sqr-sqrt
1408×*-un-lft-identity
1318×add-cube-cbrt
1306×add-cbrt-cube
1296×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify59.0ms (4.2%)

Algorithm
egg-herbie
Rules
1244×associate-+r+
1142×associate-*r*
896×associate-*l*
772×associate-+l+
570×fma-def
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01031122
12571042
210581042
347311042
Stop Event
node limit
Counts
60 → 45
Calls
Call 1
Inputs
(*.f64 -1 y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(*.f64 -1 y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(*.f64 -1 y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(+.f64 (*.f64 x x) (neg.f64 y))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) 1))
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 y) 1 y))
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (sqrt.f64 y)) (sqrt.f64 y) y))
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) y))
(+.f64 (neg.f64 y) (*.f64 x x))
(*.f64 (-.f64 (*.f64 x x) y) 1)
(*.f64 1 (-.f64 (*.f64 x x) y))
(*.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.f64 x x) y)))
(*.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2))
(*.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2) (cbrt.f64 (-.f64 (*.f64 x x) y)))
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))
(*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))))
(*.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y)))
(/.f64 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y y))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))) (-.f64 (pow.f64 x 6) (pow.f64 y 3))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y))
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 y)))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 (neg.f64 y) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (neg.f64 y) (neg.f64 y)) (*.f64 (*.f64 x x) (neg.f64 y)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (fma.f64 x x y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))))
(pow.f64 (-.f64 (*.f64 x x) y) 1)
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2)
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3)
(pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3)
(sqrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 2))
(log.f64 (exp.f64 (-.f64 (*.f64 x x) y)))
(cbrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3))
(expm1.f64 (log1p.f64 (-.f64 (*.f64 x x) y)))
(exp.f64 (log.f64 (-.f64 (*.f64 x x) y)))
(exp.f64 (*.f64 (log.f64 (-.f64 (*.f64 x x) y)) 1))
(log1p.f64 (expm1.f64 (-.f64 (*.f64 x x) y)))
(fma.f64 x x (neg.f64 y))
(fma.f64 1 (*.f64 x x) (neg.f64 y))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (neg.f64 y))
Outputs
(*.f64 -1 y)
(neg.f64 y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(*.f64 -1 y)
(neg.f64 y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(*.f64 -1 y)
(neg.f64 y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (pow.f64 x 2) (*.f64 -1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (*.f64 x x) (neg.f64 y))
(-.f64 (*.f64 x x) y)
(+.f64 (*.f64 x x) (*.f64 (neg.f64 y) 1))
(-.f64 (*.f64 x x) y)
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 y) 1 y))
(-.f64 (*.f64 x x) y)
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (sqrt.f64 y)) (sqrt.f64 y) y))
(-.f64 (*.f64 x x) y)
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) y))
(-.f64 (*.f64 x x) y)
(+.f64 (neg.f64 y) (*.f64 x x))
(-.f64 (*.f64 x x) y)
(*.f64 (-.f64 (*.f64 x x) y) 1)
(-.f64 (*.f64 x x) y)
(*.f64 1 (-.f64 (*.f64 x x) y))
(-.f64 (*.f64 x x) y)
(*.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.f64 x x) y)))
(-.f64 (*.f64 x x) y)
(*.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2))
(-.f64 (*.f64 x x) y)
(*.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2) (cbrt.f64 (-.f64 (*.f64 x x) y)))
(-.f64 (*.f64 x x) y)
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y))
(*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))))
(/.f64 (*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 1) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4)))
(*.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y)))
(/.f64 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y y))))
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))) (-.f64 (pow.f64 x 6) (pow.f64 y 3))))
(/.f64 (*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 1) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4)))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y))
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))
(/.f64 (*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 1) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4)))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 y)))
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 (neg.f64 y) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (neg.f64 y) (neg.f64 y)) (*.f64 (*.f64 x x) (neg.f64 y)))))
(/.f64 (*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 1) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4)))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (fma.f64 x x y)))
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))))
(/.f64 (*.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) 1) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))
(/.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (fma.f64 y (fma.f64 x x y) (pow.f64 x 4)))
(pow.f64 (-.f64 (*.f64 x x) y) 1)
(-.f64 (*.f64 x x) y)
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2)
(-.f64 (*.f64 x x) y)
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3)
(-.f64 (*.f64 x x) y)
(pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3)
(-.f64 (*.f64 x x) y)
(sqrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 2))
(-.f64 (*.f64 x x) y)
(log.f64 (exp.f64 (-.f64 (*.f64 x x) y)))
(-.f64 (*.f64 x x) y)
(cbrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3))
(-.f64 (*.f64 x x) y)
(expm1.f64 (log1p.f64 (-.f64 (*.f64 x x) y)))
(-.f64 (*.f64 x x) y)
(exp.f64 (log.f64 (-.f64 (*.f64 x x) y)))
(-.f64 (*.f64 x x) y)
(exp.f64 (*.f64 (log.f64 (-.f64 (*.f64 x x) y)) 1))
(-.f64 (*.f64 x x) y)
(log1p.f64 (expm1.f64 (-.f64 (*.f64 x x) y)))
(-.f64 (*.f64 x x) y)
(fma.f64 x x (neg.f64 y))
(-.f64 (*.f64 x x) y)
(fma.f64 1 (*.f64 x x) (neg.f64 y))
(-.f64 (*.f64 x x) y)
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (neg.f64 y))
(-.f64 (*.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x))) y)

eval8.0ms (0.6%)

Compiler

Compiled 569 to 282 computations (50.4% saved)

prune8.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42345
Fresh000
Picked011
Done000
Total42446
Error
0b
Counts
46 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(*.f64 1/2 (fma.f64 x x (neg.f64 y)))
0.0b
(*.f64 1/2 (-.f64 (*.f64 x x) y))
38.5b
(*.f64 1/2 (*.f64 x x))
24.1b
(*.f64 1/2 (neg.f64 y))
Compiler

Compiled 31 to 22 computations (29% saved)

localize4.0ms (0.3%)

Compiler

Compiled 10 to 6 computations (40% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 12 to 6 computations (50% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite113.0ms (8%)

Algorithm
batch-egg-rewrite
Rules
1076×add-sqr-sqrt
1058×*-un-lft-identity
1006×pow1
986×add-cube-cbrt
978×add-cbrt-cube
Iterations

Useful iterations: 0 (0.0ms)

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

simplify67.0ms (4.8%)

Algorithm
egg-herbie
Rules
1470×distribute-rgt-in
1446×distribute-lft-in
1164×log-prod
746×associate-*r*
698×associate-+r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038299
192299
2346299
31898299
Stop Event
node limit
Counts
23 → 14
Calls
Call 1
Inputs
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (pow.f64 x 2))
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1)
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))
Outputs
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(*.f64 x (*.f64 1/2 x))

localize7.0ms (0.5%)

Compiler

Compiled 19 to 7 computations (63.2% saved)

eval2.0ms (0.2%)

Compiler

Compiled 98 to 64 computations (34.7% saved)

prune3.0ms (0.2%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New14014
Fresh000
Picked011
Done033
Total14418
Error
0b
Counts
18 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(*.f64 1/2 (fma.f64 x x (neg.f64 y)))
0.0b
(*.f64 1/2 (-.f64 (*.f64 x x) y))
38.5b
(*.f64 1/2 (*.f64 x x))
24.1b
(*.f64 1/2 (neg.f64 y))
Compiler

Compiled 31 to 22 computations (29% saved)

regimes20.0ms (1.4%)

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

5 calls:

4.0ms
(*.f64 x x)
4.0ms
x
4.0ms
y
4.0ms
(*.f64 1/2 (-.f64 (*.f64 x x) y))
3.0ms
(-.f64 (*.f64 x x) y)
Results
ErrorSegmentsBranch
0b1x
0b1y
0b1(*.f64 1/2 (-.f64 (*.f64 x x) y))
0b1(-.f64 (*.f64 x x) y)
0b1(*.f64 x x)
Compiler

Compiled 52 to 31 computations (40.4% saved)

regimes18.0ms (1.3%)

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

5 calls:

3.0ms
(*.f64 1/2 (-.f64 (*.f64 x x) y))
3.0ms
(-.f64 (*.f64 x x) y)
3.0ms
y
3.0ms
x
3.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(*.f64 1/2 (-.f64 (*.f64 x x) y))
0.0b1(-.f64 (*.f64 x x) y)
0.0b1(*.f64 x x)
Compiler

Compiled 45 to 28 computations (37.8% saved)

regimes60.0ms (4.2%)

Accuracy

Total -54.2b remaining (-705.7%)

Threshold costs -54.2b (-705.7%)

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

3 calls:

32.0ms
(*.f64 x x)
15.0ms
x
12.0ms
y
Results
ErrorSegmentsBranch
7.7b5x
14.2b3y
7.9b4(*.f64 x x)
Compiler

Compiled 22 to 15 computations (31.8% saved)

bsearch104.0ms (7.3%)

Algorithm
binary-search
Steps
TimeLeftRight
12.0ms
141230337508.1758
1090371687305157.6
47.0ms
-7.336026618588483e-49
-2.939301197054659e-49
10.0ms
-3.067147109208238e-25
-1.390675817116631e-26
34.0ms
-0.00014705814253364227
-1.3492791445537379e-20
Results
58.0ms480×body256valid
Compiler

Compiled 464 to 370 computations (20.3% saved)

simplify9.0ms (0.7%)

Algorithm
egg-herbie
Rules
16×*-commutative
not-or
+-commutative
not-not
if-if-or-not
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
030140
146128
258122
368118
473118
577118
678118
779118
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 1/2 (fma.f64 x x (neg.f64 y)))
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(if (<=.f64 x -7378697629483821/590295810358705651712) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x -2439144006089287/174224571863520493293247799005065324265472) (*.f64 1/2 (neg.f64 y)) (if (<=.f64 x -4739053125085073/6582018229284824168619876730229402019930943462534319453394436096) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x 1700000000000) (*.f64 1/2 (neg.f64 y)) (*.f64 1/2 (*.f64 x x))))))
(*.f64 1/2 (neg.f64 y))
Outputs
(*.f64 1/2 (fma.f64 x x (neg.f64 y)))
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(if (<=.f64 x -7378697629483821/590295810358705651712) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x -2439144006089287/174224571863520493293247799005065324265472) (*.f64 1/2 (neg.f64 y)) (if (<=.f64 x -4739053125085073/6582018229284824168619876730229402019930943462534319453394436096) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x 1700000000000) (*.f64 1/2 (neg.f64 y)) (*.f64 1/2 (*.f64 x x))))))
(if (<=.f64 x -7378697629483821/590295810358705651712) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x -2439144006089287/174224571863520493293247799005065324265472) (*.f64 1/2 (neg.f64 y)) (if (or (<=.f64 x -4739053125085073/6582018229284824168619876730229402019930943462534319453394436096) (not (<=.f64 x 1700000000000))) (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (neg.f64 y)))))
(if (<=.f64 x -7378697629483821/590295810358705651712) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x -2439144006089287/174224571863520493293247799005065324265472) (*.f64 -1/2 y) (if (or (<=.f64 x -4739053125085073/6582018229284824168619876730229402019930943462534319453394436096) (not (<=.f64 x 1700000000000))) (*.f64 1/2 (*.f64 x x)) (*.f64 -1/2 y))))
(if (or (<=.f64 x -7378697629483821/590295810358705651712) (not (or (<=.f64 x -2439144006089287/174224571863520493293247799005065324265472) (not (or (<=.f64 x -4739053125085073/6582018229284824168619876730229402019930943462534319453394436096) (not (<=.f64 x 1700000000000))))))) (*.f64 1/2 (*.f64 x x)) (*.f64 y -1/2))
(if (or (<=.f64 x -7378697629483821/590295810358705651712) (not (or (<=.f64 x -2439144006089287/174224571863520493293247799005065324265472) (and (not (<=.f64 x -4739053125085073/6582018229284824168619876730229402019930943462534319453394436096)) (<=.f64 x 1700000000000))))) (*.f64 1/2 (*.f64 x x)) (*.f64 y -1/2))
(*.f64 1/2 (neg.f64 y))
(*.f64 -1/2 y)
(*.f64 y -1/2)
Compiler

Compiled 51 to 37 computations (27.5% saved)

soundness0.0ms (0%)

end42.0ms (2.9%)

Compiler

Compiled 45 to 30 computations (33.3% saved)

Profiling

Loading profile data...