Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, A

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 14 to 11 computations (21.4% saved)

sample806.0ms (46.1%)

Results
673.0ms7206×body256valid
117.0ms1050×body256infinite
Bogosity

preprocess304.0ms (17.4%)

Algorithm
egg-herbie
Rules
4146×fma-def
1176×fma-neg
746×sub-neg
546×unsub-neg
452×associate-+l-
Iterations

Useful iterations: 12 (0.0ms)

IterNodesCost
028132
180114
220396
360692
4173486
5367586
6444886
7468886
8473886
9474286
10474486
11477486
12477484
13640184
14640184
15640184
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
(+.f64 (-.f64 (*.f64 (neg.f64 x) (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
(+.f64 (-.f64 (*.f64 x (-.f64 (neg.f64 y) 1)) (*.f64 (neg.f64 y) 1/2)) 918938533204673/1000000000000000)
(+.f64 (-.f64 (*.f64 y (-.f64 x 1)) (*.f64 x 1/2)) 918938533204673/1000000000000000)
Outputs
(+.f64 (-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
(-.f64 (*.f64 x (+.f64 y -1)) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
(+.f64 (fma.f64 x (+.f64 y -1) (*.f64 y -1/2)) 918938533204673/1000000000000000)
(fma.f64 x (+.f64 y -1) (fma.f64 y -1/2 918938533204673/1000000000000000))
(-.f64 918938533204673/1000000000000000 (fma.f64 y (-.f64 1/2 x) x))
(-.f64 (fma.f64 y (-.f64 x 1/2) 918938533204673/1000000000000000) x)
(+.f64 (-.f64 (*.f64 (neg.f64 x) (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
(+.f64 918938533204673/1000000000000000 (-.f64 (*.f64 (+.f64 y -1) (neg.f64 x)) (*.f64 y 1/2)))
(+.f64 918938533204673/1000000000000000 (fma.f64 (+.f64 y -1) (neg.f64 x) (*.f64 y -1/2)))
(-.f64 918938533204673/1000000000000000 (fma.f64 x (+.f64 y -1) (*.f64 y 1/2)))
(fma.f64 x (-.f64 1 y) (fma.f64 y -1/2 918938533204673/1000000000000000))
(+.f64 918938533204673/1000000000000000 (fma.f64 y (-.f64 -1/2 x) x))
(fma.f64 y (-.f64 -1/2 x) (+.f64 x 918938533204673/1000000000000000))
(+.f64 (-.f64 (*.f64 x (-.f64 (neg.f64 y) 1)) (*.f64 (neg.f64 y) 1/2)) 918938533204673/1000000000000000)
(+.f64 918938533204673/1000000000000000 (+.f64 (*.f64 x (+.f64 (neg.f64 y) -1)) (*.f64 y 1/2)))
(+.f64 918938533204673/1000000000000000 (fma.f64 x (fma.f64 -1 y -1) (*.f64 y 1/2)))
(fma.f64 x (-.f64 -1 y) (fma.f64 y 1/2 918938533204673/1000000000000000))
(-.f64 918938533204673/1000000000000000 (fma.f64 y (+.f64 x -1/2) x))
(-.f64 918938533204673/1000000000000000 (fma.f64 y (-.f64 x 1/2) x))
(-.f64 (fma.f64 y (-.f64 1/2 x) 918938533204673/1000000000000000) x)
(+.f64 (-.f64 (*.f64 y (-.f64 x 1)) (*.f64 x 1/2)) 918938533204673/1000000000000000)
(+.f64 918938533204673/1000000000000000 (-.f64 (*.f64 y (+.f64 x -1)) (*.f64 x 1/2)))
(+.f64 918938533204673/1000000000000000 (fma.f64 y (+.f64 x -1) (*.f64 x -1/2)))
(fma.f64 y (+.f64 x -1) (fma.f64 x -1/2 918938533204673/1000000000000000))
(fma.f64 x -1/2 (fma.f64 y (+.f64 x -1) 918938533204673/1000000000000000))
(fma.f64 x y (-.f64 918938533204673/1000000000000000 (fma.f64 x 1/2 y)))
(fma.f64 x (+.f64 y -1/2) (-.f64 918938533204673/1000000000000000 y))
Compiler

Compiled 15 to 12 computations (20% saved)

simplify66.0ms (3.8%)

Algorithm
egg-herbie
Rules
2372×fma-def
326×cancel-sign-sub-inv
288×fma-neg
264×associate-+l-
226×sub-neg
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01231
13027
26523
313423
427121
558021
6112921
7183121
8262821
9279321
10282021
Stop Event
saturated
Counts
1 → 5
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
Outputs
(+.f64 (-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
(-.f64 (*.f64 x (+.f64 y -1)) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
(+.f64 (fma.f64 x (-.f64 y 1) (*.f64 y -1/2)) 918938533204673/1000000000000000)
(fma.f64 x (-.f64 y 1) (fma.f64 y -1/2 918938533204673/1000000000000000))
(fma.f64 y (+.f64 x -1/2) (-.f64 918938533204673/1000000000000000 x))

eval1.0ms (0.1%)

Compiler

Compiled 51 to 36 computations (29.4% saved)

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New415
Fresh101
Picked000
Done000
Total516
Accurracy
100.0%
Counts
6 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x (+.f64 y -1)) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
100.0%
(-.f64 (*.f64 x (+.f64 y -1)) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
Compiler

Compiled 26 to 20 computations (23.1% saved)

localize40.0ms (2.3%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 35 to 25 computations (28.6% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite64.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
1594×pow1
1474×add-exp-log
1474×log1p-expm1-u
1474×expm1-log1p-u
1448×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

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

simplify53.0ms (3%)

Algorithm
egg-herbie
Rules
864×fma-neg
846×div-sub
634×distribute-lft-neg-out
562×fma-def
554×associate-+r+
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
075710
1218688
2795676
33451674
Stop Event
node limit
Counts
46 → 35
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 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) x)
(*.f64 (-.f64 y 1) 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 (neg.f64 x) (*.f64 x y))
(+.f64 (*.f64 (*.f64 x y) 1) (*.f64 (neg.f64 x) 1))
(-.f64 (+.f64 1 (*.f64 x (+.f64 y -1))) 1)
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (neg.f64 x) 3)) (+.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 x y) (neg.f64 x)))))
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 (neg.f64 x) (neg.f64 x))) (-.f64 (*.f64 x y) (neg.f64 x)))
(/.f64 (*.f64 x (+.f64 -1 (pow.f64 y 3))) (fma.f64 y y (-.f64 1 (*.f64 y -1))))
(/.f64 (*.f64 x (fma.f64 y y -1)) (+.f64 y 1))
(/.f64 (*.f64 (+.f64 -1 (pow.f64 y 3)) x) (fma.f64 y y (-.f64 1 (*.f64 y -1))))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y 1))
(pow.f64 (*.f64 x (+.f64 y -1)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 y -1))) 3)
(pow.f64 (pow.f64 (*.f64 x (+.f64 y -1)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 y -1))) 2)
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 y -1)) 2))
(log.f64 (pow.f64 (exp.f64 (+.f64 y -1)) x))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 y -1)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 y -1))))
(exp.f64 (log.f64 (*.f64 x (+.f64 y -1))))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 y -1))))
(fma.f64 x y (neg.f64 x))
(fma.f64 y x (neg.f64 x))
Outputs
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 (-.f64 y 1) x)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.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 x (+.f64 y -1))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(*.f64 y x)
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(+.f64 (*.f64 y x) (*.f64 -1 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(+.f64 (*.f64 x y) (neg.f64 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(+.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 (*.f64 x y) 1) (*.f64 (neg.f64 x) 1))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(-.f64 (+.f64 1 (*.f64 x (+.f64 y -1))) 1)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (neg.f64 x) 3)) (+.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 x y) (neg.f64 x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 (neg.f64 x) 3)) (fma.f64 (*.f64 y x) (*.f64 y x) (*.f64 (neg.f64 x) (-.f64 (neg.f64 x) (*.f64 y x)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (*.f64 (*.f64 y y) x) (fma.f64 x x (*.f64 y (*.f64 x x)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 y (*.f64 x (fma.f64 y x x)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (*.f64 x (*.f64 x (+.f64 y (fma.f64 y y 1)))))
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 (neg.f64 x) (neg.f64 x))) (-.f64 (*.f64 x y) (neg.f64 x)))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(/.f64 (*.f64 x (+.f64 -1 (pow.f64 y 3))) (fma.f64 y y (-.f64 1 (*.f64 y -1))))
(*.f64 (/.f64 x (fma.f64 y y (+.f64 y 1))) (+.f64 -1 (pow.f64 y 3)))
(*.f64 x (/.f64 (+.f64 -1 (pow.f64 y 3)) (+.f64 y (fma.f64 y y 1))))
(/.f64 (*.f64 x (fma.f64 y y -1)) (+.f64 y 1))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(/.f64 (*.f64 (+.f64 -1 (pow.f64 y 3)) x) (fma.f64 y y (-.f64 1 (*.f64 y -1))))
(/.f64 (*.f64 x (+.f64 -1 (pow.f64 y 3))) (fma.f64 y y (-.f64 1 (*.f64 y -1))))
(*.f64 (/.f64 x (fma.f64 y y (+.f64 y 1))) (+.f64 -1 (pow.f64 y 3)))
(*.f64 x (/.f64 (+.f64 -1 (pow.f64 y 3)) (+.f64 y (fma.f64 y y 1))))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y 1))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(pow.f64 (*.f64 x (+.f64 y -1)) 1)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 y -1))) 3)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(pow.f64 (pow.f64 (*.f64 x (+.f64 y -1)) 3) 1/3)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 y -1))) 2)
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 y -1)) 2))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(log.f64 (pow.f64 (exp.f64 (+.f64 y -1)) x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 y -1)) 3))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 y -1))))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(exp.f64 (log.f64 (*.f64 x (+.f64 y -1))))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 y -1))))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(fma.f64 x y (neg.f64 x))
(-.f64 (*.f64 y x) x)
(fma.f64 y x (neg.f64 x))
(*.f64 x (+.f64 y -1))
(fma.f64 y x (neg.f64 x))
(-.f64 (*.f64 y x) x)
(*.f64 x (+.f64 y -1))

eval10.0ms (0.5%)

Compiler

Compiled 583 to 372 computations (36.2% saved)

prune7.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New33235
Fresh000
Picked011
Done000
Total33336
Accurracy
100.0%
Counts
36 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
77.8%
(-.f64 (*.f64 y x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
100.0%
(-.f64 (*.f64 x (+.f64 y -1)) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
74.1%
(-.f64 (neg.f64 x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
77.8%
(-.f64 (*.f64 y x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
100.0%
(-.f64 (*.f64 x (+.f64 y -1)) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
74.1%
(-.f64 (neg.f64 x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
Compiler

Compiled 68 to 52 computations (23.5% saved)

localize54.0ms (3.1%)

Compiler

Compiled 49 to 31 computations (36.7% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune3.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked022
Done011
Total033
Accurracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
77.8%
(-.f64 (*.f64 y x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
100.0%
(-.f64 (*.f64 x (+.f64 y -1)) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
74.1%
(-.f64 (neg.f64 x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
Compiler

Compiled 75 to 56 computations (25.3% saved)

regimes14.0ms (0.8%)

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

4 calls:

3.0ms
(+.f64 (-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
3.0ms
x
3.0ms
y
3.0ms
(-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 (-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
100.0%1(-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2))
Compiler

Compiled 71 to 52 computations (26.8% saved)

regimes17.0ms (1%)

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

2 calls:

8.0ms
x
8.0ms
y
Results
AccuracySegmentsBranch
82.9%3x
98.9%3y
Compiler

Compiled 25 to 18 computations (28% saved)

regimes5.0ms (0.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
74.1%1x
74.1%1y
Compiler

Compiled 16 to 12 computations (25% saved)

bsearch31.0ms (1.8%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
17.0ms
0.01405171770912047
177386250658.16925
15.0ms
-3008.4164632176603
-0.061146960454246245
Results
27.0ms288×body256valid
Compiler

Compiled 432 to 338 computations (21.8% saved)

simplify9.0ms (0.5%)

Algorithm
egg-herbie
Rules
32×+-commutative
28×sub-neg
22×*-commutative
20×neg-mul-1
20×neg-sub0
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
026127
151127
277127
3105119
4118119
5121119
6122119
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
(if (<=.f64 y -1) (-.f64 (*.f64 y x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000)) (if (<=.f64 y 1) (-.f64 (neg.f64 x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000)) (-.f64 (*.f64 y x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))))
(-.f64 (neg.f64 x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
Outputs
(+.f64 (-.f64 (*.f64 x (-.f64 y 1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
(+.f64 (-.f64 (*.f64 x (+.f64 y -1)) (*.f64 y 1/2)) 918938533204673/1000000000000000)
(if (<=.f64 y -1) (-.f64 (*.f64 y x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000)) (if (<=.f64 y 1) (-.f64 (neg.f64 x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000)) (-.f64 (*.f64 y x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))))
(if (or (<=.f64 y -1) (not (<=.f64 y 1))) (-.f64 (*.f64 x y) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000)) (-.f64 (neg.f64 x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000)))
(if (or (<=.f64 y -1) (not (<=.f64 y 1))) (+.f64 (*.f64 x y) (-.f64 918938533204673/1000000000000000 (*.f64 y 1/2))) (-.f64 (-.f64 918938533204673/1000000000000000 (*.f64 y 1/2)) x))
(-.f64 (neg.f64 x) (-.f64 (*.f64 y 1/2) 918938533204673/1000000000000000))
(-.f64 (-.f64 918938533204673/1000000000000000 (*.f64 y 1/2)) x)
Compiler

Compiled 49 to 37 computations (24.5% saved)

soundness224.0ms (12.8%)

Rules
2372×fma-def
864×fma-neg
846×div-sub
634×distribute-lft-neg-out
562×fma-def
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01231
13027
26523
313423
427121
558021
6112921
7183121
8262821
9279321
10282021
075710
1218688
2795676
33451674
Stop Event
node limit
saturated
Compiler

Compiled 167 to 123 computations (26.3% saved)

end0.0ms (0%)

preprocess38.0ms (2.2%)

Compiler

Compiled 116 to 86 computations (25.9% saved)

Profiling

Loading profile data...