System.Random.MWC.Distributions:standard from mwc-random-0.13.3.2

Time bar (total: 1.7s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 10 to 7 computations (30% saved)

sample687.0ms (39.7%)

Results
510.0ms6221×body256valid
165.0ms2034×body256infinite
0.0msbody1024valid
Bogosity

preprocess51.0ms (2.9%)

Algorithm
egg-herbie
Rules
894×fma-def
142×unsub-neg
130×associate-*r*
98×distribute-lft-in
78×associate-*l*
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01999
14291
210091
329191
464991
5105391
6120391
7121491
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(*.f64 1/2 (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) y))
(*.f64 1/2 (-.f64 (*.f64 x x) (neg.f64 y)))
(*.f64 1/2 (-.f64 (*.f64 y y) x))
Outputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(*.f64 1/2 (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) y))
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(*.f64 1/2 (-.f64 (*.f64 x x) (neg.f64 y)))
(*.f64 1/2 (fma.f64 x x y))
(*.f64 1/2 (-.f64 (*.f64 y y) x))
Symmetry

(abs x)

Compiler

Compiled 9 to 6 computations (33.3% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 1/2 (-.f64 (*.f64 x x) y))
100.0%
(*.f64 1/2 (-.f64 (*.f64 x x) y))
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize24.0ms (1.4%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(-.f64 (*.f64 x x) y)
Compiler

Compiled 21 to 8 computations (61.9% 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)

rewrite64.0ms (3.7%)

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))

simplify66.0ms (3.8%)

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.5%)

Compiler

Compiled 536 to 264 computations (50.7% saved)

prune9.0ms (0.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh000
Picked011
Done000
Total40444
Accuracy
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))
52.4%
(*.f64 1/2 (*.f64 x x))
49.6%
(*.f64 1/2 (neg.f64 y))
100.0%
(*.f64 1/2 (fma.f64 x x (neg.f64 y)))
100.0%
(*.f64 1/2 (-.f64 (*.f64 x x) y))
52.4%
(*.f64 1/2 (*.f64 x x))
49.6%
(*.f64 1/2 (neg.f64 y))
Compiler

Compiled 62 to 44 computations (29% saved)

localize41.0ms (2.4%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(*.f64 1/2 (*.f64 x x))
Compiler

Compiled 38 to 15 computations (60.5% 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))

rewrite51.0ms (3%)

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))))

simplify107.0ms (6.2%)

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))

eval3.0ms (0.1%)

Compiler

Compiled 93 to 61 computations (34.4% saved)

prune4.0ms (0.2%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New13013
Fresh000
Picked033
Done011
Total13417
Accuracy
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))
52.4%
(*.f64 1/2 (*.f64 x x))
49.6%
(*.f64 1/2 (neg.f64 y))
Compiler

Compiled 56 to 36 computations (35.7% saved)

regimes21.0ms (1.2%)

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:

5.0ms
(*.f64 1/2 (-.f64 (*.f64 x x) y))
4.0ms
y
4.0ms
x
4.0ms
(-.f64 (*.f64 x x) 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)

regimes44.0ms (2.5%)

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:

29.0ms
y
4.0ms
x
4.0ms
(*.f64 1/2 (-.f64 (*.f64 x x) y))
4.0ms
(-.f64 (*.f64 x x) 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 45 to 28 computations (37.8% saved)

regimes153.0ms (8.8%)

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

3 calls:

141.0ms
y
6.0ms
x
5.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
89.8%2x
62.6%3y
89.8%2(*.f64 x x)
Compiler

Compiled 22 to 15 computations (31.8% saved)

regimes6.0ms (0.3%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

2 calls:

3.0ms
x
3.0ms
y
Results
AccuracySegmentsBranch
49.6%1y
49.6%1x
Compiler

Compiled 12 to 9 computations (25% saved)

bsearch51.0ms (3%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
51.0ms
1.4047026711127849e-67
1.6703466390676721e-59
Results
49.0ms144×body256valid
Compiler

Compiled 131 to 109 computations (16.8% saved)

simplify9.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02188
13288
24188
34788
45088
55188
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 (*.f64 x x) 7463162001623895/452312848583266388373324160190187140051835877600158453279131187530910662656) (*.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 (*.f64 x x) 7463162001623895/452312848583266388373324160190187140051835877600158453279131187530910662656) (*.f64 1/2 (neg.f64 y)) (*.f64 1/2 (*.f64 x x)))
(*.f64 1/2 (neg.f64 y))
Compiler

Compiled 41 to 28 computations (31.7% saved)

soundness285.0ms (16.5%)

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)

end0.0ms (0%)

preprocess44.0ms (2.5%)

Remove

(abs x)

Compiler

Compiled 106 to 62 computations (41.5% saved)

Profiling

Loading profile data...