Data.Histogram.Bin.LogBinD:$cbinSizeN from histogram-fill-0.8.4.1

Time bar (total: 3.6s)

analyze1.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%199.8%-99.8%0%0%0%1
0%0%399.6%-299.6%0%0%0%2
100%399.6%0%-299.6%0%0%0%3
Compiler

Compiled 8 to 5 computations (37.5% saved)

sample2.3s (62.7%)

Results
960.0ms4180×body256valid
776.0ms2093×body1024valid
253.0ms1006×body512valid
184.0ms972×body256infinite
2.0msbody2048valid
Bogosity

preprocess116.0ms (3.2%)

Algorithm
egg-herbie
Rules
678×fma-def
106×associate-*r*
92×unsub-neg
76×distribute-rgt-in
66×associate-*l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01564
13856
28952
324552
456952
583052
689452
798252
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) x)
(-.f64 (*.f64 (neg.f64 x) y) (neg.f64 x))
(-.f64 (*.f64 x (neg.f64 y)) x)
(-.f64 (*.f64 y x) y)
Outputs
(-.f64 (*.f64 x y) x)
(-.f64 (*.f64 (neg.f64 x) y) (neg.f64 x))
(fma.f64 (neg.f64 x) y (neg.f64 (neg.f64 x)))
(fma.f64 x (neg.f64 y) x)
(-.f64 x (*.f64 x y))
(-.f64 (*.f64 x (neg.f64 y)) x)
(fma.f64 x (neg.f64 y) (neg.f64 x))
(neg.f64 (fma.f64 x y x))
(*.f64 x (-.f64 -1 y))
(-.f64 (*.f64 y x) y)
(-.f64 (*.f64 x y) y)
Compiler

Compiled 9 to 6 computations (33.3% saved)

simplify41.0ms (1.1%)

Algorithm
egg-herbie
Rules
390×fma-def
42×cancel-sign-sub-inv
40×distribute-lft-neg-in
32×sub-neg
30×distribute-rgt-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
11213
21813
32913
44613
57013
615313
729613
843813
947313
1047513
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) x)
Outputs
(-.f64 (*.f64 x y) x)
(fma.f64 x y (neg.f64 x))

eval0.0ms (0%)

Compiler

Compiled 12 to 6 computations (50% saved)

prune63.0ms (1.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Accurracy
100.0%
Counts
3 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x y (neg.f64 x))
100.0%
(-.f64 (*.f64 x y) x)
100.0%
(fma.f64 x y (neg.f64 x))
100.0%
(-.f64 (*.f64 x y) x)
Compiler

Compiled 28 to 16 computations (42.9% saved)

localize69.0ms (1.9%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 22 to 7 computations (68.2% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite62.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
1470×pow1
1360×add-exp-log
1360×log1p-expm1-u
1360×expm1-log1p-u
1332×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
113213
2183913
Stop Event
node limit
Counts
1 → 38
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) x)
Outputs
(+.f64 (*.f64 x y) (neg.f64 x))
(+.f64 (*.f64 x y) (*.f64 (neg.f64 x) 1))
(+.f64 (-.f64 (*.f64 x y) x) (fma.f64 (neg.f64 x) 1 x))
(+.f64 (-.f64 (*.f64 x y) x) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))
(+.f64 (-.f64 (*.f64 x y) x) (fma.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x) x))
(+.f64 (neg.f64 x) (*.f64 x y))
(*.f64 x (-.f64 y 1))
(*.f64 (-.f64 (*.f64 x y) x) 1)
(*.f64 1 (-.f64 (*.f64 x y) x))
(*.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 2) (cbrt.f64 (-.f64 (*.f64 x y) x)))
(*.f64 (sqrt.f64 (-.f64 (*.f64 x y) x)) (sqrt.f64 (-.f64 (*.f64 x y) x)))
(*.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x)))))
(*.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (/.f64 1 (fma.f64 x y x)))
(*.f64 (+.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 x)))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x))) (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))))
(/.f64 1 (/.f64 (fma.f64 x y x) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (fma.f64 x y x))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))) (neg.f64 (fma.f64 x y x)))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (neg.f64 x) 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 x y) (neg.f64 x)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (neg.f64 x) (neg.f64 x))) (-.f64 (*.f64 x y) (neg.f64 x)))
(pow.f64 (-.f64 (*.f64 x y) x) 1)
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 3)
(pow.f64 (pow.f64 (-.f64 (*.f64 x y) x) 3) 1/3)
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x y) x)) 2)
(sqrt.f64 (pow.f64 (-.f64 (*.f64 x y) x) 2))
(log.f64 (exp.f64 (-.f64 (*.f64 x y) x)))
(cbrt.f64 (pow.f64 (-.f64 (*.f64 x y) x) 3))
(expm1.f64 (log1p.f64 (-.f64 (*.f64 x y) x)))
(exp.f64 (log.f64 (-.f64 (*.f64 x y) x)))
(log1p.f64 (expm1.f64 (-.f64 (*.f64 x y) x)))
(fma.f64 x y (neg.f64 x))
(fma.f64 y x (neg.f64 x))
(fma.f64 1 (*.f64 x y) (neg.f64 x))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) (neg.f64 x))
(fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (neg.f64 x))

simplify70.0ms (2%)

Algorithm
egg-herbie
Rules
1332×fma-neg
1014×fma-def
606×distribute-lft-neg-in
504×distribute-rgt-neg-in
456×distribute-frac-neg
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01091226
12771146
210231146
346281046
Stop Event
node limit
Counts
62 → 51
Calls
Call 1
Inputs
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(*.f64 -1 x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 x y) (neg.f64 x))
(+.f64 (*.f64 x y) (*.f64 (neg.f64 x) 1))
(+.f64 (-.f64 (*.f64 x y) x) (fma.f64 (neg.f64 x) 1 x))
(+.f64 (-.f64 (*.f64 x y) x) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))
(+.f64 (-.f64 (*.f64 x y) x) (fma.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x) x))
(+.f64 (neg.f64 x) (*.f64 x y))
(*.f64 x (-.f64 y 1))
(*.f64 (-.f64 (*.f64 x y) x) 1)
(*.f64 1 (-.f64 (*.f64 x y) x))
(*.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 2) (cbrt.f64 (-.f64 (*.f64 x y) x)))
(*.f64 (sqrt.f64 (-.f64 (*.f64 x y) x)) (sqrt.f64 (-.f64 (*.f64 x y) x)))
(*.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x)))))
(*.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (/.f64 1 (fma.f64 x y x)))
(*.f64 (+.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 x)))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x))) (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))))
(/.f64 1 (/.f64 (fma.f64 x y x) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (fma.f64 x y x))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))) (neg.f64 (fma.f64 x y x)))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (neg.f64 x) 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 x y) (neg.f64 x)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (neg.f64 x) (neg.f64 x))) (-.f64 (*.f64 x y) (neg.f64 x)))
(pow.f64 (-.f64 (*.f64 x y) x) 1)
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 3)
(pow.f64 (pow.f64 (-.f64 (*.f64 x y) x) 3) 1/3)
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x y) x)) 2)
(sqrt.f64 (pow.f64 (-.f64 (*.f64 x y) x) 2))
(log.f64 (exp.f64 (-.f64 (*.f64 x y) x)))
(cbrt.f64 (pow.f64 (-.f64 (*.f64 x y) x) 3))
(expm1.f64 (log1p.f64 (-.f64 (*.f64 x y) x)))
(exp.f64 (log.f64 (-.f64 (*.f64 x y) x)))
(log1p.f64 (expm1.f64 (-.f64 (*.f64 x y) x)))
(fma.f64 x y (neg.f64 x))
(fma.f64 y x (neg.f64 x))
(fma.f64 1 (*.f64 x y) (neg.f64 x))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) (neg.f64 x))
(fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (neg.f64 x))
Outputs
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 (*.f64 (+.f64 1 (*.f64 -1 y)) x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 x y) (neg.f64 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (*.f64 x y) (*.f64 (neg.f64 x) 1))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (-.f64 (*.f64 x y) x) (fma.f64 (neg.f64 x) 1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (-.f64 (*.f64 x y) x) (fma.f64 (neg.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (-.f64 (*.f64 x y) x) (fma.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x) x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(+.f64 (neg.f64 x) (*.f64 x y))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (-.f64 y 1))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 (*.f64 x y) x) 1)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 1 (-.f64 (*.f64 x y) x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 2))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 2) (cbrt.f64 (-.f64 (*.f64 x y) x)))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (sqrt.f64 (-.f64 (*.f64 x y) x)) (sqrt.f64 (-.f64 (*.f64 x y) x)))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x)))))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) 1) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (fma.f64 x y x))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (fma.f64 y x x) (pow.f64 (*.f64 y x) 2)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y x) (fma.f64 y x x))))
(*.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (/.f64 1 (fma.f64 x y x)))
(*.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (/.f64 1 (fma.f64 x y x)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (fma.f64 y x x))
(/.f64 (-.f64 (*.f64 y x) x) 1)
(*.f64 (+.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 x)) (-.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 x)))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x))) (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) 1) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (fma.f64 x y x))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (fma.f64 y x x) (pow.f64 (*.f64 y x) 2)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y x) (fma.f64 y x x))))
(/.f64 1 (/.f64 (fma.f64 x y x) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))))
(*.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (/.f64 1 (fma.f64 x y x)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (fma.f64 y x x))
(/.f64 (-.f64 (*.f64 y x) x) 1)
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x))))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) 1) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (fma.f64 x y x))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (fma.f64 y x x) (pow.f64 (*.f64 y x) 2)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y x) (fma.f64 y x x))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (fma.f64 x y x))
(*.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (/.f64 1 (fma.f64 x y x)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (fma.f64 y x x))
(/.f64 (-.f64 (*.f64 y x) x) 1)
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (fma.f64 x y x)))))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) 1) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (fma.f64 x y x))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (fma.f64 y x x) (pow.f64 (*.f64 y x) 2)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y x) (fma.f64 y x x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))) (neg.f64 (fma.f64 x y x)))
(*.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (/.f64 1 (fma.f64 x y x)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (fma.f64 y x x))
(/.f64 (-.f64 (*.f64 y x) x) 1)
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (neg.f64 x) 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 x y) (neg.f64 x)))))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) 1) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (fma.f64 x y x))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (fma.f64 y x x) (pow.f64 (*.f64 y x) 2)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y x) (fma.f64 y x x))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (neg.f64 x) (neg.f64 x))) (-.f64 (*.f64 x y) (neg.f64 x)))
(*.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (/.f64 1 (fma.f64 x y x)))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (fma.f64 y x x))
(/.f64 (-.f64 (*.f64 y x) x) 1)
(pow.f64 (-.f64 (*.f64 x y) x) 1)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) x)) 3)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(pow.f64 (pow.f64 (-.f64 (*.f64 x y) x) 3) 1/3)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x y) x)) 2)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(sqrt.f64 (pow.f64 (-.f64 (*.f64 x y) x) 2))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(log.f64 (exp.f64 (-.f64 (*.f64 x y) x)))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(cbrt.f64 (pow.f64 (-.f64 (*.f64 x y) x) 3))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(expm1.f64 (log1p.f64 (-.f64 (*.f64 x y) x)))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(exp.f64 (log.f64 (-.f64 (*.f64 x y) x)))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(log1p.f64 (expm1.f64 (-.f64 (*.f64 x y) x)))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(fma.f64 x y (neg.f64 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(fma.f64 y x (neg.f64 x))
(-.f64 (*.f64 y x) x)
(fma.f64 1 (*.f64 x y) (neg.f64 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) (neg.f64 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (neg.f64 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))

eval12.0ms (0.3%)

Compiler

Compiled 595 to 218 computations (63.4% saved)

prune9.0ms (0.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New48351
Fresh000
Picked112
Done000
Total49453
Accurracy
100.0%
Counts
53 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x y) x)
100.0%
(*.f64 (-.f64 y 1) x)
46.0%
(*.f64 y x)
56.0%
(neg.f64 x)
100.0%
(-.f64 (*.f64 x y) x)
100.0%
(*.f64 (-.f64 y 1) x)
46.0%
(*.f64 y x)
56.0%
(neg.f64 x)
Compiler

Compiled 46 to 30 computations (34.8% saved)

localize108.0ms (3%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 22 to 11 computations (50% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

6 calls:

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

rewrite72.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
1396×pow1
1290×add-exp-log
1288×log1p-expm1-u
1288×expm1-log1p-u
1266×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
114413
2179313
Stop Event
node limit
Counts
1 → 17
Calls
Call 1
Inputs
(*.f64 (-.f64 y 1) x)
Outputs
(+.f64 (*.f64 x y) (*.f64 x -1))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (+.f64 1 (*.f64 (+.f64 y -1) x)) 1)
(/.f64 (*.f64 x (+.f64 (pow.f64 y 3) -1)) (fma.f64 y y (+.f64 y 1)))
(/.f64 (*.f64 x (fma.f64 y y -1)) (+.f64 y 1))
(/.f64 (*.f64 (+.f64 (pow.f64 y 3) -1) x) (fma.f64 y y (+.f64 y 1)))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y 1))
(pow.f64 (*.f64 (+.f64 y -1) x) 1)
(pow.f64 (cbrt.f64 (*.f64 (+.f64 y -1) x)) 3)
(pow.f64 (pow.f64 (*.f64 (+.f64 y -1) x) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 (+.f64 y -1) x)) 2)
(sqrt.f64 (pow.f64 (*.f64 (+.f64 y -1) x) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 y -1)))
(cbrt.f64 (pow.f64 (*.f64 (+.f64 y -1) x) 3))
(expm1.f64 (log1p.f64 (*.f64 (+.f64 y -1) x)))
(exp.f64 (log.f64 (*.f64 (+.f64 y -1) x)))
(log1p.f64 (expm1.f64 (*.f64 (+.f64 y -1) x)))

simplify129.0ms (3.6%)

Algorithm
egg-herbie
Rules
1074×log-prod
986×fma-def
676×*-commutative
600×associate-*r*
530×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
053409
1125409
2389409
32389409
45239409
Stop Event
node limit
Counts
29 → 26
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(+.f64 (*.f64 x y) (*.f64 x -1))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (+.f64 1 (*.f64 (+.f64 y -1) x)) 1)
(/.f64 (*.f64 x (+.f64 (pow.f64 y 3) -1)) (fma.f64 y y (+.f64 y 1)))
(/.f64 (*.f64 x (fma.f64 y y -1)) (+.f64 y 1))
(/.f64 (*.f64 (+.f64 (pow.f64 y 3) -1) x) (fma.f64 y y (+.f64 y 1)))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y 1))
(pow.f64 (*.f64 (+.f64 y -1) x) 1)
(pow.f64 (cbrt.f64 (*.f64 (+.f64 y -1) x)) 3)
(pow.f64 (pow.f64 (*.f64 (+.f64 y -1) x) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 (+.f64 y -1) x)) 2)
(sqrt.f64 (pow.f64 (*.f64 (+.f64 y -1) x) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 y -1)))
(cbrt.f64 (pow.f64 (*.f64 (+.f64 y -1) x) 3))
(expm1.f64 (log1p.f64 (*.f64 (+.f64 y -1) x)))
(exp.f64 (log.f64 (*.f64 (+.f64 y -1) x)))
(log1p.f64 (expm1.f64 (*.f64 (+.f64 y -1) x)))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(*.f64 y x)
(*.f64 x y)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(*.f64 y x)
(*.f64 x y)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(+.f64 (*.f64 x y) (*.f64 x -1))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(-.f64 (+.f64 1 (*.f64 (+.f64 y -1) x)) 1)
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(/.f64 (*.f64 x (+.f64 (pow.f64 y 3) -1)) (fma.f64 y y (+.f64 y 1)))
(/.f64 x (/.f64 (fma.f64 y y (+.f64 y 1)) (+.f64 -1 (pow.f64 y 3))))
(*.f64 (/.f64 x (fma.f64 y y (+.f64 y 1))) (+.f64 -1 (pow.f64 y 3)))
(/.f64 (+.f64 -1 (pow.f64 y 3)) (/.f64 (+.f64 y (fma.f64 y y 1)) x))
(/.f64 (*.f64 x (fma.f64 y y -1)) (+.f64 y 1))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(/.f64 (*.f64 (+.f64 (pow.f64 y 3) -1) x) (fma.f64 y y (+.f64 y 1)))
(/.f64 x (/.f64 (fma.f64 y y (+.f64 y 1)) (+.f64 -1 (pow.f64 y 3))))
(*.f64 (/.f64 x (fma.f64 y y (+.f64 y 1))) (+.f64 -1 (pow.f64 y 3)))
(/.f64 (+.f64 -1 (pow.f64 y 3)) (/.f64 (+.f64 y (fma.f64 y y 1)) x))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y 1))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(pow.f64 (*.f64 (+.f64 y -1) x) 1)
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(pow.f64 (cbrt.f64 (*.f64 (+.f64 y -1) x)) 3)
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(pow.f64 (pow.f64 (*.f64 (+.f64 y -1) x) 3) 1/3)
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(pow.f64 (sqrt.f64 (*.f64 (+.f64 y -1) x)) 2)
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(sqrt.f64 (pow.f64 (*.f64 (+.f64 y -1) x) 2))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(log.f64 (pow.f64 (exp.f64 x) (+.f64 y -1)))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(cbrt.f64 (pow.f64 (*.f64 (+.f64 y -1) x) 3))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(expm1.f64 (log1p.f64 (*.f64 (+.f64 y -1) x)))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(exp.f64 (log.f64 (*.f64 (+.f64 y -1) x)))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)
(log1p.f64 (expm1.f64 (*.f64 (+.f64 y -1) x)))
(*.f64 x (+.f64 -1 y))
(-.f64 (*.f64 x y) x)

eval10.0ms (0.3%)

Compiler

Compiled 212 to 137 computations (35.4% saved)

prune11.0ms (0.3%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New26026
Fresh000
Picked033
Done011
Total26430
Accurracy
100.0%
Counts
30 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x y) x)
100.0%
(*.f64 (-.f64 y 1) x)
46.0%
(*.f64 y x)
56.0%
(neg.f64 x)
Compiler

Compiled 45 to 25 computations (44.4% saved)

regimes31.0ms (0.9%)

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

3 calls:

12.0ms
x
9.0ms
y
8.0ms
(-.f64 (*.f64 x y) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(-.f64 (*.f64 x y) x)
Compiler

Compiled 35 to 18 computations (48.6% saved)

regimes31.0ms (0.9%)

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

3 calls:

11.0ms
x
8.0ms
y
8.0ms
(-.f64 (*.f64 x y) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(-.f64 (*.f64 x y) x)
Compiler

Compiled 30 to 17 computations (43.3% saved)

regimes97.0ms (2.7%)

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

2 calls:

78.0ms
x
18.0ms
y
Results
AccuracySegmentsBranch
64.9%5x
98.2%3y
Compiler

Compiled 13 to 8 computations (38.5% saved)

regimes14.0ms (0.4%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

2 calls:

8.0ms
y
5.0ms
x
Results
AccuracySegmentsBranch
56.0%1x
56.0%1y
Compiler

Compiled 10 to 7 computations (30% saved)

bsearch107.0ms (3%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
29.0ms
1.2488722273699824e-9
52.29941933615847
78.0ms
-3.656788404971335
-2.385659775801548e-5
Results
101.0ms304×body256valid
Compiler

Compiled 221 to 160 computations (27.6% saved)

simplify10.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02068
13368
23868
34468
Stop Event
done
saturated
Calls
Call 1
Inputs
(fma.f64 x y (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(if (<=.f64 y -1) (*.f64 y x) (if (<=.f64 y 1) (neg.f64 x) (*.f64 y x)))
(neg.f64 x)
Outputs
(fma.f64 x y (neg.f64 x))
(*.f64 (-.f64 y 1) x)
(*.f64 x (-.f64 y 1))
(*.f64 x (+.f64 y -1))
(if (<=.f64 y -1) (*.f64 y x) (if (<=.f64 y 1) (neg.f64 x) (*.f64 y x)))
(if (<=.f64 y -1) (*.f64 x y) (if (<=.f64 y 1) (neg.f64 x) (*.f64 x y)))
(neg.f64 x)
Compiler

Compiled 36 to 22 computations (38.9% saved)

soundness205.0ms (5.7%)

Rules
1332×fma-neg
1014×fma-def
606×distribute-lft-neg-in
504×distribute-rgt-neg-in
456×distribute-frac-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
11213
21813
32913
44613
57013
615313
729613
843813
947313
1047513
01091226
12771146
210231146
346281046
Stop Event
node limit
saturated
Compiler

Compiled 19 to 11 computations (42.1% saved)

end0.0ms (0%)

preprocess65.0ms (1.8%)

Compiler

Compiled 74 to 36 computations (51.4% saved)

Profiling

Loading profile data...