Data.Colour.SRGB:transferFunction from colour-2.3.3

Time bar (total: 1.9s)

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)

sample1.0s (55.4%)

Results
833.0ms7228×256valid
196.0ms1027×256infinite
0.0ms512valid
Bogosity

preprocess164.0ms (8.8%)

Algorithm
egg-herbie
Rules
2514×fma-def
248×distribute-rgt-in
232×unsub-neg
146×distribute-lft-in
144×fma-neg
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(+.f64 x 1)
00-0-y
00-0-(-.f64 (*.f64 (+.f64 x 1) y) x)
00-0-(*.f64 (+.f64 x 1) y)
00-0-1
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
024228
156204
2152185
3693182
41618176
52514176
62806176
72856176
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x 1) y) x)
(-.f64 (*.f64 (+.f64 x 1) y) x)
(-.f64 (*.f64 (+.f64 (neg.f64 x) 1) y) (neg.f64 x))
(-.f64 (*.f64 (+.f64 x 1) (neg.f64 y)) x)
(neg.f64 (-.f64 (*.f64 (+.f64 (neg.f64 x) 1) y) (neg.f64 x)))
(neg.f64 (-.f64 (*.f64 (+.f64 x 1) (neg.f64 y)) x))
(-.f64 (*.f64 (+.f64 y 1) x) y)
Outputs
(-.f64 (*.f64 (+.f64 x 1) y) x)
(fma.f64 (+.f64 x 1) y (neg.f64 x))
(-.f64 (fma.f64 x y y) x)
(fma.f64 x (+.f64 y -1) y)
(-.f64 (*.f64 (+.f64 x 1) y) x)
(fma.f64 (+.f64 x 1) y (neg.f64 x))
(-.f64 (fma.f64 x y y) x)
(fma.f64 x (+.f64 y -1) y)
(-.f64 (*.f64 (+.f64 (neg.f64 x) 1) y) (neg.f64 x))
(-.f64 (*.f64 y (+.f64 1 (neg.f64 x))) (neg.f64 x))
(fma.f64 y (-.f64 1 x) x)
(fma.f64 x (-.f64 1 y) y)
(-.f64 (*.f64 (+.f64 x 1) (neg.f64 y)) x)
(neg.f64 (fma.f64 (+.f64 x 1) y x))
(-.f64 (*.f64 y (-.f64 -1 x)) x)
(neg.f64 (-.f64 (*.f64 (+.f64 (neg.f64 x) 1) y) (neg.f64 x)))
(neg.f64 (-.f64 (*.f64 y (+.f64 1 (neg.f64 x))) (neg.f64 x)))
(neg.f64 (fma.f64 y (-.f64 1 x) x))
(-.f64 (*.f64 x (+.f64 y -1)) y)
(neg.f64 (fma.f64 x (-.f64 1 y) y))
(neg.f64 (-.f64 (*.f64 (+.f64 x 1) (neg.f64 y)) x))
(fma.f64 (+.f64 x 1) y x)
(-.f64 (*.f64 (+.f64 y 1) x) y)
(-.f64 (*.f64 x (+.f64 1 y)) y)
(-.f64 (fma.f64 x y x) y)
(fma.f64 y (+.f64 x -1) x)
Compiler

Compiled 51 to 32 computations (37.3% saved)

eval1.0ms (0%)

Compiler

Compiled 21 to 11 computations (47.6% saved)

prune1.0ms (0.1%)

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

Compiled 18 to 12 computations (33.3% saved)

localize31.0ms (1.7%)

Localize:

Found 1 expressions with local error:

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

Compiled 21 to 13 computations (38.1% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite282.0ms (15.1%)

Algorithm
batch-egg-rewrite
Rules
624×unpow-prod-down
442×log-prod
433×log1p-expm1-u
433×expm1-log1p-u
432×cbrt-prod
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01019
110219
2120518
Stop Event
node limit
Counts
1 → 41
Calls
Call 1
Inputs
(*.f64 (+.f64 x 1) y)
Outputs
(+.f64 y (*.f64 y x))
(+.f64 y (*.f64 x y))
(+.f64 0 (fma.f64 x y y))
(+.f64 (*.f64 y x) y)
(+.f64 (*.f64 x y) y)
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x y y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x y y)))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x y y)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x y y)))))
(-.f64 (+.f64 1 (fma.f64 x y y)) 1)
(/.f64 (*.f64 y (+.f64 1 (pow.f64 x 3))) (-.f64 (fma.f64 x x 1) x))
(/.f64 (*.f64 y (fma.f64 x x -1)) (+.f64 x -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) y) (-.f64 (fma.f64 x x 1) x))
(/.f64 (*.f64 (fma.f64 x x -1) y) (+.f64 x -1))
(pow.f64 (fma.f64 x y y) 1)
(pow.f64 (cbrt.f64 (fma.f64 x y y)) 3)
(pow.f64 (pow.f64 (fma.f64 x y y) 2) 1/2)
(pow.f64 (pow.f64 (fma.f64 x y y) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 x y y)) 2)
(pow.f64 (E.f64) (+.f64 (log1p.f64 x) (log.f64 y)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (+.f64 (log1p.f64 x) (log.f64 y))) 2)) (cbrt.f64 (+.f64 (log1p.f64 x) (log.f64 y))))
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 (log1p.f64 x) (log.f64 y)))) (sqrt.f64 (+.f64 (log1p.f64 x) (log.f64 y))))
(sqrt.f64 (pow.f64 (fma.f64 x y y) 2))
(log.f64 (exp.f64 (fma.f64 x y y)))
(cbrt.f64 (pow.f64 (fma.f64 x y y) 3))
(expm1.f64 (log1p.f64 (fma.f64 x y y)))
(exp.f64 (+.f64 (log1p.f64 x) (log.f64 y)))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x y y))) 3))
(exp.f64 (*.f64 (*.f64 3 (+.f64 (log1p.f64 x) (log.f64 y))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x y y))) 2))
(log1p.f64 (expm1.f64 (fma.f64 x y y)))
(fma.f64 x y y)
(fma.f64 1 y (*.f64 y x))
(fma.f64 1 y (*.f64 x y))
(fma.f64 y x y)
(fma.f64 y 1 (*.f64 y x))
(fma.f64 y 1 (*.f64 x y))
(fma.f64 (cbrt.f64 y) (pow.f64 (cbrt.f64 y) 2) (*.f64 y x))
(fma.f64 (cbrt.f64 y) (pow.f64 (cbrt.f64 y) 2) (*.f64 x y))
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 y) (*.f64 y x))
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 y) (*.f64 x y))
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 y x))
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 x y))

simplify80.0ms (4.2%)

Algorithm
egg-herbie
Rules
1612×fma-neg
874×associate-+r+
764×associate-*r*
724×log-prod
692×associate-*l*
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01031419
12261384
26081382
335171352
469891352
Stop Event
node limit
Counts
65 → 53
Calls
Call 1
Inputs
y
(+.f64 y (*.f64 x y))
(+.f64 y (*.f64 x y))
(+.f64 y (*.f64 x y))
(*.f64 x y)
(+.f64 y (*.f64 x y))
(+.f64 y (*.f64 x y))
(+.f64 y (*.f64 x y))
(*.f64 x y)
(+.f64 y (*.f64 x y))
(+.f64 y (*.f64 x y))
(+.f64 y (*.f64 x y))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(*.f64 y (+.f64 1 x))
(+.f64 y (*.f64 y x))
(+.f64 y (*.f64 x y))
(+.f64 0 (fma.f64 x y y))
(+.f64 (*.f64 y x) y)
(+.f64 (*.f64 x y) y)
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x y y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x y y)))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x y y)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x y y)))))
(-.f64 (+.f64 1 (fma.f64 x y y)) 1)
(/.f64 (*.f64 y (+.f64 1 (pow.f64 x 3))) (-.f64 (fma.f64 x x 1) x))
(/.f64 (*.f64 y (fma.f64 x x -1)) (+.f64 x -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) y) (-.f64 (fma.f64 x x 1) x))
(/.f64 (*.f64 (fma.f64 x x -1) y) (+.f64 x -1))
(pow.f64 (fma.f64 x y y) 1)
(pow.f64 (cbrt.f64 (fma.f64 x y y)) 3)
(pow.f64 (pow.f64 (fma.f64 x y y) 2) 1/2)
(pow.f64 (pow.f64 (fma.f64 x y y) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 x y y)) 2)
(pow.f64 (E.f64) (+.f64 (log1p.f64 x) (log.f64 y)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (+.f64 (log1p.f64 x) (log.f64 y))) 2)) (cbrt.f64 (+.f64 (log1p.f64 x) (log.f64 y))))
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 (log1p.f64 x) (log.f64 y)))) (sqrt.f64 (+.f64 (log1p.f64 x) (log.f64 y))))
(sqrt.f64 (pow.f64 (fma.f64 x y y) 2))
(log.f64 (exp.f64 (fma.f64 x y y)))
(cbrt.f64 (pow.f64 (fma.f64 x y y) 3))
(expm1.f64 (log1p.f64 (fma.f64 x y y)))
(exp.f64 (+.f64 (log1p.f64 x) (log.f64 y)))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x y y))) 3))
(exp.f64 (*.f64 (*.f64 3 (+.f64 (log1p.f64 x) (log.f64 y))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x y y))) 2))
(log1p.f64 (expm1.f64 (fma.f64 x y y)))
(fma.f64 x y y)
(fma.f64 1 y (*.f64 y x))
(fma.f64 1 y (*.f64 x y))
(fma.f64 y x y)
(fma.f64 y 1 (*.f64 y x))
(fma.f64 y 1 (*.f64 x y))
(fma.f64 (cbrt.f64 y) (pow.f64 (cbrt.f64 y) 2) (*.f64 y x))
(fma.f64 (cbrt.f64 y) (pow.f64 (cbrt.f64 y) 2) (*.f64 x y))
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 y) (*.f64 y x))
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 y) (*.f64 x y))
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 y x))
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 x y))
Outputs
y
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(*.f64 x y)
(*.f64 y x)
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(*.f64 x y)
(*.f64 y x)
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(*.f64 y (+.f64 1 x))
(fma.f64 y x y)
(+.f64 y (*.f64 y x))
(fma.f64 y x y)
(+.f64 y (*.f64 x y))
(fma.f64 y x y)
(+.f64 0 (fma.f64 x y y))
(fma.f64 y x y)
(+.f64 (*.f64 y x) y)
(fma.f64 y x y)
(+.f64 (*.f64 x y) y)
(fma.f64 y x y)
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x y y))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x y y)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (fma.f64 y x y))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 y x y)))))
(*.f64 3 (log.f64 (cbrt.f64 (exp.f64 (fma.f64 y x y)))))
(*.f64 (log.f64 (cbrt.f64 (exp.f64 (fma.f64 y x y)))) 3)
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x y y)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x y y)))))
(*.f64 2 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y x y)))))
(-.f64 (+.f64 1 (fma.f64 x y y)) 1)
(fma.f64 y x y)
(/.f64 (*.f64 y (+.f64 1 (pow.f64 x 3))) (-.f64 (fma.f64 x x 1) x))
(/.f64 (+.f64 1 (pow.f64 x 3)) (/.f64 (-.f64 (fma.f64 x x 1) x) y))
(*.f64 (/.f64 y (-.f64 (fma.f64 x x 1) x)) (+.f64 1 (pow.f64 x 3)))
(/.f64 (fma.f64 y (pow.f64 x 3) y) (-.f64 (fma.f64 x x 1) x))
(/.f64 (*.f64 y (fma.f64 x x -1)) (+.f64 x -1))
(/.f64 (fma.f64 y x y) 1)
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) y) (-.f64 (fma.f64 x x 1) x))
(/.f64 (+.f64 1 (pow.f64 x 3)) (/.f64 (-.f64 (fma.f64 x x 1) x) y))
(*.f64 (/.f64 y (-.f64 (fma.f64 x x 1) x)) (+.f64 1 (pow.f64 x 3)))
(/.f64 (fma.f64 y (pow.f64 x 3) y) (-.f64 (fma.f64 x x 1) x))
(/.f64 (*.f64 (fma.f64 x x -1) y) (+.f64 x -1))
(/.f64 (*.f64 y (fma.f64 x x -1)) (+.f64 x -1))
(/.f64 (fma.f64 y x y) 1)
(pow.f64 (fma.f64 x y y) 1)
(fma.f64 y x y)
(pow.f64 (cbrt.f64 (fma.f64 x y y)) 3)
(fma.f64 y x y)
(pow.f64 (pow.f64 (fma.f64 x y y) 2) 1/2)
(fma.f64 y x y)
(pow.f64 (pow.f64 (fma.f64 x y y) 3) 1/3)
(fma.f64 y x y)
(pow.f64 (sqrt.f64 (fma.f64 x y y)) 2)
(fma.f64 y x y)
(pow.f64 (E.f64) (+.f64 (log1p.f64 x) (log.f64 y)))
(fma.f64 y x y)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (+.f64 (log1p.f64 x) (log.f64 y))) 2)) (cbrt.f64 (+.f64 (log1p.f64 x) (log.f64 y))))
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 (log1p.f64 x) (log.f64 y)))) (sqrt.f64 (+.f64 (log1p.f64 x) (log.f64 y))))
(sqrt.f64 (pow.f64 (fma.f64 x y y) 2))
(fma.f64 y x y)
(log.f64 (exp.f64 (fma.f64 x y y)))
(fma.f64 y x y)
(cbrt.f64 (pow.f64 (fma.f64 x y y) 3))
(fma.f64 y x y)
(expm1.f64 (log1p.f64 (fma.f64 x y y)))
(fma.f64 y x y)
(exp.f64 (+.f64 (log1p.f64 x) (log.f64 y)))
(fma.f64 y x y)
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x y y))) 3))
(fma.f64 y x y)
(exp.f64 (*.f64 (*.f64 3 (+.f64 (log1p.f64 x) (log.f64 y))) 1/3))
(fma.f64 y x y)
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x y y))) 2))
(fma.f64 y x y)
(log1p.f64 (expm1.f64 (fma.f64 x y y)))
(fma.f64 y x y)
(fma.f64 x y y)
(fma.f64 y x y)
(fma.f64 1 y (*.f64 y x))
(fma.f64 y x y)
(fma.f64 1 y (*.f64 x y))
(fma.f64 y x y)
(fma.f64 y x y)
(fma.f64 y 1 (*.f64 y x))
(fma.f64 y x y)
(fma.f64 y 1 (*.f64 x y))
(fma.f64 y x y)
(fma.f64 (cbrt.f64 y) (pow.f64 (cbrt.f64 y) 2) (*.f64 y x))
(fma.f64 y x y)
(fma.f64 (cbrt.f64 y) (pow.f64 (cbrt.f64 y) 2) (*.f64 x y))
(fma.f64 y x y)
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 y) (*.f64 y x))
(fma.f64 y x y)
(fma.f64 (pow.f64 (cbrt.f64 y) 2) (cbrt.f64 y) (*.f64 x y))
(fma.f64 y x y)
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 y x))
(fma.f64 y x y)
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) (*.f64 x y))
(fma.f64 y x y)

eval10.0ms (0.5%)

Compiler

Compiled 552 to 231 computations (58.2% saved)

prune12.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh000
Picked011
Done000
Total51354
Accuracy
100.0%
Counts
54 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (+.f64 x 1) y) x)
63.0%
(-.f64 (*.f64 y x) x)
74.2%
(-.f64 y x)
100.0%
(-.f64 (*.f64 (+.f64 x 1) y) x)
63.0%
(-.f64 (*.f64 y x) x)
74.2%
(-.f64 y x)
Compiler

Compiled 42 to 26 computations (38.1% saved)

localize26.0ms (1.4%)

Compiler

Compiled 18 to 6 computations (66.7% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked022
Done011
Total033
Accuracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (+.f64 x 1) y) x)
63.0%
(-.f64 (*.f64 y x) x)
74.2%
(-.f64 y x)
Compiler

Compiled 38 to 22 computations (42.1% saved)

regimes12.0ms (0.6%)

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

3 calls:

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

Compiled 32 to 19 computations (40.6% saved)

regimes22.0ms (1.2%)

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

2 calls:

12.0ms
y
9.0ms
x
Results
AccuracySegmentsBranch
99.4%3x
79.8%4y
Compiler

Compiled 16 to 9 computations (43.8% saved)

regimes6.0ms (0.3%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

2 calls:

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

Compiled 11 to 7 computations (36.4% saved)

bsearch36.0ms (1.9%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
18.0ms
2.000309003394912e-9
68263474775141820.0
18.0ms
-193465411124.60147
-3.3359769475602575e-13
Results
33.0ms352×256valid
Compiler

Compiled 322 to 208 computations (35.4% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
10×+-commutative
sub-neg
*-commutative
1-exp
neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022107
140107
245107
347107
448107
Stop Event
done
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x 1) y) x)
(if (<=.f64 x -1) (-.f64 (*.f64 y x) x) (if (<=.f64 x 1) (-.f64 y x) (-.f64 (*.f64 y x) x)))
(-.f64 y x)
Outputs
(-.f64 (*.f64 (+.f64 x 1) y) x)
(if (<=.f64 x -1) (-.f64 (*.f64 y x) x) (if (<=.f64 x 1) (-.f64 y x) (-.f64 (*.f64 y x) x)))
(if (or (<=.f64 x -1) (not (<=.f64 x 1))) (-.f64 (*.f64 x y) x) (-.f64 y x))
(-.f64 y x)
Compiler

Compiled 33 to 21 computations (36.4% saved)

soundness112.0ms (6%)

Rules
1612×fma-neg
874×associate-+r+
764×associate-*r*
724×log-prod
692×associate-*l*
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01031419
12261384
26081382
335171352
469891352
Stop Event
node limit
Compiler

Compiled 12 to 6 computations (50% saved)

end0.0ms (0%)

preprocess31.0ms (1.7%)

Compiler

Compiled 76 to 44 computations (42.1% saved)

Profiling

Loading profile data...