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

Time bar (total: 1.8s)

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)

sample805.0ms (44.4%)

Results
715.0ms7229×256valid
80.0ms1027×256infinite
Bogosity

preprocess225.0ms (12.4%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
020149
150137
2116133
3360132
4670132
5923132
6930132
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))
100.0%
(*.f64 x (-.f64 1 y))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize24.0ms (1.3%)

Localize:

Found 1 expressions with local error:

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

Compiled 14 to 9 computations (35.7% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

6 calls:

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

rewrite227.0ms (12.5%)

Algorithm
batch-egg-rewrite
Rules
634×unpow-prod-down
458×log-prod
453×log1p-expm1-u
453×expm1-log1p-u
452×cbrt-prod
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))))
(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))
(log1p.f64 (expm1.f64 (*.f64 x (-.f64 1 y))))
(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))

simplify85.0ms (4.7%)

Algorithm
egg-herbie
Rules
1616×log-prod
762×associate-*r*
648×associate-*l*
620×fma-neg
500×prod-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01021322
12361130
25911130
334151130
470871130
Stop Event
node limit
Counts
49 → 53
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))))
(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))
(log1p.f64 (expm1.f64 (*.f64 x (-.f64 1 y))))
(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 1 (pow.f64 y 2)) (/.f64 x (+.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)))
(*.f64 (-.f64 1 (pow.f64 y 2)) (/.f64 x (+.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))
(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))
(log1p.f64 (expm1.f64 (*.f64 x (-.f64 1 y))))
(*.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))

eval16.0ms (0.9%)

Compiler

Compiled 517 to 324 computations (37.3% saved)

prune8.0ms (0.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New50353
Fresh000
Picked011
Done000
Total50454
Accuracy
100.0%
Counts
54 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (neg.f64 y) x))
100.0%
(*.f64 x (-.f64 1 y))
53.8%
(*.f64 x (neg.f64 y))
48.7%
x
100.0%
(+.f64 x (*.f64 (neg.f64 y) x))
100.0%
(*.f64 x (-.f64 1 y))
53.8%
(*.f64 x (neg.f64 y))
48.7%
x
Compiler

Compiled 48 to 32 computations (33.3% saved)

localize34.0ms (1.9%)

Compiler

Compiled 25 to 7 computations (72% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune3.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked022
Done011
Total044
Accuracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (neg.f64 y) x))
100.0%
(*.f64 x (-.f64 1 y))
53.8%
(*.f64 x (neg.f64 y))
48.7%
x
100.0%
(+.f64 x (*.f64 (neg.f64 y) x))
100.0%
(*.f64 x (-.f64 1 y))
53.8%
(*.f64 x (neg.f64 y))
48.7%
x
Compiler

Compiled 48 to 32 computations (33.3% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Accuracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (neg.f64 y) x))
100.0%
(*.f64 x (-.f64 1 y))
53.8%
(*.f64 x (neg.f64 y))
48.7%
x
100.0%
(+.f64 x (*.f64 (neg.f64 y) x))
100.0%
(*.f64 x (-.f64 1 y))
53.8%
(*.f64 x (neg.f64 y))
48.7%
x
Compiler

Compiled 48 to 32 computations (33.3% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Accuracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (neg.f64 y) x))
100.0%
(*.f64 x (-.f64 1 y))
53.8%
(*.f64 x (neg.f64 y))
48.7%
x
Compiler

Compiled 42 to 25 computations (40.5% saved)

regimes17.0ms (1%)

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

4 calls:

5.0ms
(-.f64 1 y)
4.0ms
y
4.0ms
x
4.0ms
(*.f64 x (-.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 36 to 22 computations (38.9% saved)

regimes19.0ms (1.1%)

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:

6.0ms
(-.f64 1 y)
4.0ms
x
4.0ms
y
3.0ms
(*.f64 x (-.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 30 to 20 computations (33.3% saved)

regimes45.0ms (2.5%)

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:

35.0ms
x
9.0ms
y
Results
AccuracySegmentsBranch
64.7%10x
98.2%3y
Compiler

Compiled 13 to 8 computations (38.5% saved)

regimes6.0ms (0.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

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

Compiled 9 to 6 computations (33.3% saved)

bsearch32.0ms (1.8%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
17.0ms
1.1246156380668742e-20
1661387973.726049
15.0ms
-39352701.8417993
-0.41820590819822484
Results
29.0ms320×256valid
Compiler

Compiled 232 to 169 computations (27.2% saved)

simplify5.0ms (0.3%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
023101
14497
25697
36197
46497
56597
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 x (*.f64 (neg.f64 y) x))
(*.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 (neg.f64 y) x))
(+.f64 x (*.f64 x (neg.f64 y)))
(-.f64 x (*.f64 x y))
(*.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)
x
Compiler

Compiled 33 to 22 computations (33.3% saved)

soundness208.0ms (11.5%)

Rules
1616×log-prod
762×associate-*r*
648×associate-*l*
634×unpow-prod-down
620×fma-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
110319
2120919
01021322
12361130
25911130
334151130
470871130
Stop Event
node limit
node limit
Compiler

Compiled 42 to 22 computations (47.6% saved)

end0.0ms (0%)

preprocess46.0ms (2.6%)

Remove

(negabs x)

Compiler

Compiled 124 to 74 computations (40.3% saved)

Profiling

Loading profile data...