Details

Time bar (total: 2.0s)

analyze77.0ms (3.9%)

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)

sample796.0ms (40.7%)

Results
717.0ms8256×body256valid
36.0ms433×body256infinite
Bogosity

preprocess42.0ms (2.2%)

Algorithm
egg-herbie
Rules
1012×fma-def
96×distribute-lft-neg-in
92×distribute-lft-in
86×associate-*r*
84×distribute-rgt-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01138
12138
24138
38338
414738
520638
638738
766738
8106038
9116238
10118038
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))
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify54.0ms (2.8%)

Algorithm
egg-herbie
Rules
630×fma-def
76×distribute-lft-in
74×unsub-neg
68×distribute-rgt-in
56×distribute-lft-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11419
22519
34919
48419
511619
620719
734519
855819
972519
1082419
1184019
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%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Accurracy
100.0%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 1/2 (-.f64 (*.f64 x x) y))
Compiler

Compiled 9 to 6 computations (33.3% saved)

localize6.0ms (0.3%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(-.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)

rewrite106.0ms (5.4%)

Algorithm
batch-egg-rewrite
Rules
1408×pow1
1308×add-exp-log
1308×log1p-expm1-u
1308×expm1-log1p-u
1280×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
113213
2179913
Stop Event
node limit
Counts
1 → 35
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) y)
Outputs
(+.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 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) y))
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (sqrt.f64 y)) (sqrt.f64 y) y))
(+.f64 (neg.f64 y) (*.f64 x x))
(*.f64 (-.f64 (*.f64 x x) y) 1)
(*.f64 1 (-.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 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.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 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))
(*.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 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 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y 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 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 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (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 (pow.f64 x 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 y)))
(pow.f64 (-.f64 (*.f64 x x) y) 1)
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3)
(pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3)
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2)
(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)))
(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))

simplify113.0ms (5.7%)

Algorithm
egg-herbie
Rules
1348×div-sub
1026×fma-neg
790×fma-def
750×associate-*r*
680×associate-*l*
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0101965
1249915
2892915
34610915
Stop Event
node limit
Counts
59 → 43
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 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) y))
(+.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (sqrt.f64 y)) (sqrt.f64 y) y))
(+.f64 (neg.f64 y) (*.f64 x x))
(*.f64 (-.f64 (*.f64 x x) y) 1)
(*.f64 1 (-.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 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.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 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))
(*.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 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 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y 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 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 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (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 (pow.f64 x 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 y)))
(pow.f64 (-.f64 (*.f64 x x) y) 1)
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3)
(pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3)
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2)
(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)))
(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 (cbrt.f64 y)) (pow.f64 (cbrt.f64 y) 2) 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 (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 (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 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.f64 x x) y)))
(-.f64 (*.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 (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)) (/.f64 1 (fma.f64 x x y)))
(-.f64 (*.f64 x x) y)
(*.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y)))
(-.f64 (*.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 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 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 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y y))))
(-.f64 (*.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 6) (pow.f64 y 3)) (/.f64 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 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 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 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 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 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 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 x x) y)
(pow.f64 (-.f64 (*.f64 x x) y) 1)
(-.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)
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2)
(-.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)
(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)

eval9.0ms (0.4%)

Compiler

Compiled 536 to 264 computations (50.7% saved)

prune8.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh000
Picked011
Done000
Total40444
Accurracy
100.0%
Counts
44 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 1/2 (fma.f64 x x (neg.f64 y)))
100.0%
(*.f64 1/2 (-.f64 (*.f64 x x) y))
34.7%
(*.f64 1/2 (*.f64 x x))
67.0%
(*.f64 1/2 (neg.f64 y))
Compiler

Compiled 31 to 22 computations (29% saved)

localize4.0ms (0.2%)

Compiler

Compiled 10 to 6 computations (40% saved)

localize4.0ms (0.2%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(*.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))

rewrite49.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
1058×pow1
1024×add-sqr-sqrt
976×add-exp-log
976×log1p-expm1-u
976×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112213
2138313
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 1/2 (*.f64 x x))
Outputs
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1)
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(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))))

simplify90.0ms (4.6%)

Algorithm
egg-herbie
Rules
2120×log-prod
1106×distribute-rgt-in
1092×distribute-lft-in
768×associate-*r*
688×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038299
190299
2319299
32131299
47005299
Stop Event
node limit
Counts
23 → 13
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 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(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 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(*.f64 1/2 (pow.f64 x 2))
(*.f64 1/2 (*.f64 x x))
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)
(*.f64 1/2 (*.f64 x x))
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1)
(*.f64 1/2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)
(*.f64 1/2 (*.f64 x x))
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)
(*.f64 1/2 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)
(*.f64 1/2 (*.f64 x x))
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(*.f64 1/2 (*.f64 x x))
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))
(*.f64 1/2 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))
(*.f64 1/2 (*.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x))))
(*.f64 1/2 (*.f64 x x))

localize7.0ms (0.4%)

Compiler

Compiled 19 to 7 computations (63.2% saved)

eval2.0ms (0.1%)

Compiler

Compiled 93 to 61 computations (34.4% saved)

prune3.0ms (0.2%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New13013
Fresh000
Picked011
Done033
Total13417
Accurracy
100.0%
Counts
17 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 1/2 (fma.f64 x x (neg.f64 y)))
100.0%
(*.f64 1/2 (-.f64 (*.f64 x x) y))
34.7%
(*.f64 1/2 (*.f64 x x))
67.0%
(*.f64 1/2 (neg.f64 y))
Compiler

Compiled 31 to 22 computations (29% saved)

regimes35.0ms (1.8%)

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:

20.0ms
(-.f64 (*.f64 x x) y)
4.0ms
(*.f64 1/2 (-.f64 (*.f64 x x) y))
4.0ms
x
4.0ms
y
3.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(*.f64 1/2 (-.f64 (*.f64 x x) y))
100.0%1(-.f64 (*.f64 x x) y)
100.0%1(*.f64 x x)
Compiler

Compiled 52 to 31 computations (40.4% saved)

regimes51.0ms (2.6%)

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:

38.0ms
(*.f64 1/2 (-.f64 (*.f64 x x) y))
3.0ms
y
3.0ms
x
3.0ms
(-.f64 (*.f64 x x) y)
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(*.f64 1/2 (-.f64 (*.f64 x x) y))
100.0%1(-.f64 (*.f64 x x) y)
100.0%1(*.f64 x x)
Compiler

Compiled 45 to 28 computations (37.8% saved)

regimes71.0ms (3.6%)

Accuracy

Total -51.5b remaining (-509.2%)

Threshold costs -51.5b (-509.2%)

Counts
2 → 3
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))
Calls

3 calls:

58.0ms
y
8.0ms
x
4.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
84.2%3x
77.3%7y
83.9%2(*.f64 x x)
Compiler

Compiled 22 to 15 computations (31.8% saved)

bsearch24.0ms (1.2%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
4.703612863046725e-33
1.8132087833732732e-32
16.0ms
-1494173.4559796064
-11.30317949482651
Results
21.0ms224×body256valid
Compiler

Compiled 224 to 178 computations (20.5% saved)

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Rules
16×*-commutative
sub-neg
+-commutative
neg-mul-1
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02498
14098
24998
35598
45898
55998
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 -54) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x 1461501637330903/91343852333181432387730302044767688728495783936) (*.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 -54) (*.f64 1/2 (*.f64 x x)) (if (<=.f64 x 1461501637330903/91343852333181432387730302044767688728495783936) (*.f64 1/2 (neg.f64 y)) (*.f64 1/2 (*.f64 x x))))
(if (or (<=.f64 x -54) (not (<=.f64 x 1461501637330903/91343852333181432387730302044767688728495783936))) (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (neg.f64 y)))
(*.f64 1/2 (neg.f64 y))
Compiler

Compiled 44 to 32 computations (27.3% saved)

soundness356.0ms (18.2%)

Rules
1408×pow1
1348×div-sub
1348×div-sub
1308×add-exp-log
1308×log1p-expm1-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
113213
2179913
0101965
1249915
2892915
34610915
0101965
1249915
2892915
34610915
Stop Event
node limit
node limit
node limit
Compiler

Compiled 39 to 28 computations (28.2% saved)

end39.0ms (2%)

Compiler

Compiled 38 to 23 computations (39.5% saved)

Profiling

Loading profile data...