Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, H

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 8 to 6 computations (25% saved)

sample980.0ms (56.4%)

Results
898.0ms7242×256valid
74.0ms1014×256infinite
Bogosity

preprocess108.0ms (6.2%)

Algorithm
egg-herbie
Rules
424×fma-define
172×fma-neg
104×distribute-lft-in
86×associate-*r*
82×unsub-neg
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(-.f64 1 y)
00-0-(*.f64 x (-.f64 1 y))
00-0-y
00-0-1
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
020149
150137
2116133
3360132
4670132
5932132
6939132
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 x (-.f64 1 y))
(*.f64 x (-.f64 1 y))
(*.f64 (neg.f64 x) (-.f64 1 y))
(*.f64 x (-.f64 1 (neg.f64 y)))
(neg.f64 (*.f64 (neg.f64 x) (-.f64 1 y)))
(neg.f64 (*.f64 x (-.f64 1 (neg.f64 y))))
(*.f64 y (-.f64 1 x))
Outputs
(*.f64 x (-.f64 1 y))
(*.f64 x (-.f64 1 y))
(*.f64 (neg.f64 x) (-.f64 1 y))
(*.f64 (-.f64 1 y) (neg.f64 x))
(*.f64 x (+.f64 -1 y))
(*.f64 x (+.f64 y -1))
(*.f64 x (-.f64 1 (neg.f64 y)))
(*.f64 x (+.f64 1 y))
(fma.f64 x y x)
(neg.f64 (*.f64 (neg.f64 x) (-.f64 1 y)))
(*.f64 x (-.f64 1 y))
(neg.f64 (*.f64 x (-.f64 1 (neg.f64 y))))
(*.f64 x (neg.f64 (-.f64 1 (neg.f64 y))))
(*.f64 x (neg.f64 (+.f64 1 y)))
(*.f64 x (-.f64 -1 y))
(*.f64 y (-.f64 1 x))
Symmetry

(negabs x)

Compiler

Compiled 35 to 23 computations (34.3% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0%)

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

Compiled 7 to 5 computations (28.6% saved)

localize25.0ms (1.4%)

Localize:

Found 1 expressions with local error:

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

Compiled 14 to 9 computations (35.7% saved)

series6.0ms (0.4%)

Counts
1 → 12
Calls

6 calls:

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

rewrite261.0ms (15%)

Algorithm
batch-egg-rewrite
Rules
634×unpow-prod-down
458×log-prod
452×cbrt-prod
452×log1p-expm1-u
452×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

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

simplify95.0ms (5.5%)

Algorithm
egg-herbie
Rules
1726×log-prod
770×associate-*r*
724×fma-neg
652×associate-*l*
388×fma-define
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01021322
12431130
26181130
335401130
477481130
Stop Event
node limit
Counts
49 → 52
Calls
Call 1
Inputs
x
(+.f64 x (*.f64 -1 (*.f64 x y)))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 -1 (*.f64 x y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 -1 (*.f64 x y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(+.f64 x (*.f64 x (neg.f64 y)))
(+.f64 x (*.f64 (neg.f64 y) x))
(+.f64 0 (*.f64 x (-.f64 1 y)))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))))
(-.f64 (+.f64 1 (*.f64 x (-.f64 1 y))) 1)
(/.f64 (*.f64 x (-.f64 1 (pow.f64 y 3))) (fma.f64 y (+.f64 1 y) 1))
(/.f64 (*.f64 x (-.f64 1 (pow.f64 y 2))) (+.f64 1 y))
(/.f64 (*.f64 (-.f64 1 (pow.f64 y 3)) x) (fma.f64 y (+.f64 1 y) 1))
(/.f64 (*.f64 (-.f64 1 (pow.f64 y 2)) x) (+.f64 1 y))
(pow.f64 (*.f64 x (-.f64 1 y)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (-.f64 1 y))) 3)
(pow.f64 (pow.f64 (*.f64 x (-.f64 1 y)) 2) 1/2)
(pow.f64 (pow.f64 (*.f64 x (-.f64 1 y)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (-.f64 1 y))) 2)
(pow.f64 (E.f64) (log.f64 (*.f64 x (-.f64 1 y))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (-.f64 1 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (-.f64 1 y)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (-.f64 1 y))))) (sqrt.f64 (log.f64 (*.f64 x (-.f64 1 y)))))
(sqrt.f64 (pow.f64 (*.f64 x (-.f64 1 y)) 2))
(log.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))
(cbrt.f64 (pow.f64 (*.f64 x (-.f64 1 y)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (-.f64 1 y))))
(log1p.f64 (expm1.f64 (*.f64 x (-.f64 1 y))))
(exp.f64 (log.f64 (*.f64 x (-.f64 1 y))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (-.f64 1 y)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (-.f64 1 y)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (-.f64 1 y)))) 2))
(fma.f64 x 1 (*.f64 x (neg.f64 y)))
(fma.f64 x 1 (*.f64 (neg.f64 y) x))
(fma.f64 1 x (*.f64 x (neg.f64 y)))
(fma.f64 1 x (*.f64 (neg.f64 y) x))
(fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 x (neg.f64 y)))
(fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 (neg.f64 y) x))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 x (neg.f64 y)))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 (neg.f64 y) x))
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x (neg.f64 y)))
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 (neg.f64 y) x))
Outputs
x
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(*.f64 -1 (*.f64 x y))
(*.f64 x (neg.f64 y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(*.f64 -1 (*.f64 x y))
(*.f64 x (neg.f64 y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 x (*.f64 -1 (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 x (*.f64 x (neg.f64 y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 x (*.f64 (neg.f64 y) x))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 0 (*.f64 x (-.f64 1 y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))))
(*.f64 3 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))))
(*.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))) 3)
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(-.f64 (+.f64 1 (*.f64 x (-.f64 1 y))) 1)
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(/.f64 (*.f64 x (-.f64 1 (pow.f64 y 3))) (fma.f64 y (+.f64 1 y) 1))
(/.f64 (-.f64 1 (pow.f64 y 3)) (/.f64 (fma.f64 y (+.f64 y 1) 1) x))
(*.f64 (/.f64 x (fma.f64 y (+.f64 y 1) 1)) (-.f64 1 (pow.f64 y 3)))
(*.f64 x (/.f64 (-.f64 1 (pow.f64 y 3)) (fma.f64 y (+.f64 y 1) 1)))
(/.f64 (*.f64 x (-.f64 1 (pow.f64 y 2))) (+.f64 1 y))
(/.f64 (-.f64 1 (pow.f64 y 2)) (/.f64 (+.f64 y 1) x))
(*.f64 (/.f64 x (+.f64 y 1)) (-.f64 1 (pow.f64 y 2)))
(*.f64 x (/.f64 (-.f64 1 (pow.f64 y 2)) (+.f64 y 1)))
(/.f64 (*.f64 (-.f64 1 (pow.f64 y 3)) x) (fma.f64 y (+.f64 1 y) 1))
(/.f64 (-.f64 1 (pow.f64 y 3)) (/.f64 (fma.f64 y (+.f64 y 1) 1) x))
(*.f64 (/.f64 x (fma.f64 y (+.f64 y 1) 1)) (-.f64 1 (pow.f64 y 3)))
(*.f64 x (/.f64 (-.f64 1 (pow.f64 y 3)) (fma.f64 y (+.f64 y 1) 1)))
(/.f64 (*.f64 (-.f64 1 (pow.f64 y 2)) x) (+.f64 1 y))
(/.f64 (-.f64 1 (pow.f64 y 2)) (/.f64 (+.f64 y 1) x))
(*.f64 (/.f64 x (+.f64 y 1)) (-.f64 1 (pow.f64 y 2)))
(*.f64 x (/.f64 (-.f64 1 (pow.f64 y 2)) (+.f64 y 1)))
(pow.f64 (*.f64 x (-.f64 1 y)) 1)
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(pow.f64 (cbrt.f64 (*.f64 x (-.f64 1 y))) 3)
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(pow.f64 (pow.f64 (*.f64 x (-.f64 1 y)) 2) 1/2)
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(pow.f64 (pow.f64 (*.f64 x (-.f64 1 y)) 3) 1/3)
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(pow.f64 (sqrt.f64 (*.f64 x (-.f64 1 y))) 2)
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(pow.f64 (E.f64) (log.f64 (*.f64 x (-.f64 1 y))))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (-.f64 1 y)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (-.f64 1 y)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (-.f64 1 y))))) (sqrt.f64 (log.f64 (*.f64 x (-.f64 1 y)))))
(sqrt.f64 (pow.f64 (*.f64 x (-.f64 1 y)) 2))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(log.f64 (pow.f64 (exp.f64 x) (-.f64 1 y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(cbrt.f64 (pow.f64 (*.f64 x (-.f64 1 y)) 3))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(expm1.f64 (log1p.f64 (*.f64 x (-.f64 1 y))))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(log1p.f64 (expm1.f64 (*.f64 x (-.f64 1 y))))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(exp.f64 (log.f64 (*.f64 x (-.f64 1 y))))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (-.f64 1 y)))) 3))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (-.f64 1 y)))) 1/3))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (-.f64 1 y)))) 2))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 x 1 (*.f64 x (neg.f64 y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 x 1 (*.f64 (neg.f64 y) x))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 1 x (*.f64 x (neg.f64 y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 1 x (*.f64 (neg.f64 y) x))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 x (neg.f64 y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 (neg.f64 y) x))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 x (neg.f64 y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 (neg.f64 y) x))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x (neg.f64 y)))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 (neg.f64 y) x))
(*.f64 (+.f64 (neg.f64 y) 1) x)
(*.f64 x (-.f64 1 y))

eval11.0ms (0.7%)

Compiler

Compiled 506 to 316 computations (37.5% saved)

prune7.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New50252
Fresh000
Picked011
Done000
Total50353
Accuracy
100.0%
Counts
53 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (-.f64 1 y))
47.8%
(*.f64 x (neg.f64 y))
53.5%
x
Compiler

Compiled 16 to 11 computations (31.3% saved)

localize24.0ms (1.4%)

Compiler

Compiled 12 to 5 computations (58.3% 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 x (-.f64 1 y))
47.8%
(*.f64 x (neg.f64 y))
53.5%
x
Compiler

Compiled 28 to 18 computations (35.7% saved)

regimes14.0ms (0.8%)

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

4 calls:

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

Compiled 18 to 13 computations (27.8% saved)

regimes21.0ms (1.2%)

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

2 calls:

12.0ms
x
9.0ms
y
Results
AccuracySegmentsBranch
57.9%4x
97.4%3y
Compiler

Compiled 6 to 4 computations (33.3% saved)

regimes4.0ms (0.2%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
x
Outputs
x
Calls

1 calls:

3.0ms
y
Results
AccuracySegmentsBranch
53.5%1y
Compiler

Compiled 3 to 2 computations (33.3% saved)

bsearch28.0ms (1.6%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
0.15493768544499661
61.44567293963986
16.0ms
-3487.138759529265
-2.3600725958166257e-30
Results
25.0ms304×256valid
Compiler

Compiled 221 to 161 computations (27.1% saved)

simplify5.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02175
13875
24775
35375
45675
55775
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 x (-.f64 1 y))
(if (<=.f64 y -1) (*.f64 x (neg.f64 y)) (if (<=.f64 y 1) x (*.f64 x (neg.f64 y))))
x
Outputs
(*.f64 x (-.f64 1 y))
(if (<=.f64 y -1) (*.f64 x (neg.f64 y)) (if (<=.f64 y 1) x (*.f64 x (neg.f64 y))))
(if (or (<=.f64 y -1) (not (<=.f64 y 1))) (*.f64 x (neg.f64 y)) x)
(if (or (<=.f64 y -1) (not (<=.f64 y 1))) (*.f64 (neg.f64 x) y) x)
(if (or (<=.f64 y -1) (not (<=.f64 y 1))) (*.f64 y (neg.f64 x)) x)
x
Compiler

Compiled 26 to 18 computations (30.8% saved)

soundness114.0ms (6.5%)

Rules
1726×log-prod
770×associate-*r*
724×fma-neg
652×associate-*l*
388×fma-define
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01021322
12431130
26181130
335401130
477481130
Stop Event
node limit
Compiler

Compiled 15 to 8 computations (46.7% saved)

end0.0ms (0%)

preprocess31.0ms (1.8%)

Remove

(negabs x)

Compiler

Compiled 100 to 68 computations (32% saved)

Profiling

Loading profile data...