Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, B

Time bar (total: 1.5s)

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)

sample626.0ms (41%)

Results
540.0ms7250×body256valid
76.0ms1006×body256infinite
Bogosity

preprocess40.0ms (2.6%)

Algorithm
egg-herbie
Rules
746×fma-def
92×unsub-neg
82×distribute-lft-in
66×distribute-rgt-in
62×fma-neg
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01560
15044
210844
320744
431744
543844
664744
789744
894244
994444
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 x (+.f64 y 1))
(*.f64 (neg.f64 x) (+.f64 y 1))
(*.f64 x (+.f64 (neg.f64 y) 1))
(*.f64 y (+.f64 x 1))
Outputs
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (neg.f64 x) (+.f64 y 1))
(*.f64 (+.f64 y 1) (neg.f64 x))
(neg.f64 (fma.f64 x y x))
(*.f64 x (-.f64 -1 y))
(*.f64 x (+.f64 (neg.f64 y) 1))
(*.f64 x (+.f64 1 (neg.f64 y)))
(*.f64 x (-.f64 1 y))
(-.f64 x (*.f64 x y))
(*.f64 y (+.f64 x 1))
(fma.f64 x y y)
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify4.0ms (0.3%)

Algorithm
egg-herbie
Rules
20×fma-def
associate-*r*
associate-*l*
*-rgt-identity
distribute-rgt-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0713
1189
2279
3429
4469
5489
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 x (+.f64 y 1))
Outputs
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)

eval0.0ms (0%)

Compiler

Compiled 11 to 6 computations (45.5% saved)

prune2.0ms (0.1%)

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 x)
100.0%
(*.f64 x (+.f64 y 1))
100.0%
(fma.f64 x y x)
100.0%
(*.f64 x (+.f64 y 1))
Compiler

Compiled 26 to 16 computations (38.5% saved)

localize323.0ms (21.1%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 20 to 10 computations (50% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
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))
0.0ms
y
@0
(*.f64 x (+.f64 y 1))

rewrite116.0ms (7.6%)

Algorithm
batch-egg-rewrite
Rules
1466×pow1
1358×log1p-expm1-u
1358×expm1-log1p-u
1356×add-exp-log
1332×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0713
11479
219139
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(*.f64 x (+.f64 y 1))
Outputs
(+.f64 x (*.f64 x y))
(+.f64 (*.f64 x y) x)
(+.f64 (*.f64 (*.f64 x y) 1) x)
(-.f64 (+.f64 1 (fma.f64 x y x)) 1)
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x y) x))))
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 x x)) (-.f64 (*.f64 x y) x))
(/.f64 (*.f64 x (+.f64 1 (pow.f64 y 3))) (fma.f64 y y (-.f64 1 y)))
(/.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 y)))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y -1))
(pow.f64 (fma.f64 x y x) 1)
(pow.f64 (cbrt.f64 (fma.f64 x y x)) 3)
(pow.f64 (pow.f64 (fma.f64 x y x) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 x y x)) 2)
(sqrt.f64 (pow.f64 (fma.f64 x y x) 2))
(log.f64 (exp.f64 (fma.f64 x y x)))
(cbrt.f64 (pow.f64 (fma.f64 x y x) 3))
(expm1.f64 (log1p.f64 (fma.f64 x y x)))
(exp.f64 (log.f64 (fma.f64 x y x)))
(log1p.f64 (expm1.f64 (fma.f64 x y x)))
(fma.f64 x y x)
(fma.f64 y x x)

simplify62.0ms (4.1%)

Algorithm
egg-herbie
Rules
1848×fma-neg
978×times-frac
750×associate-*r*
652×associate-*l*
648×log-prod
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
068522
1172520
2595508
33014498
47293498
Stop Event
node limit
Counts
46 → 33
Calls
Call 1
Inputs
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
x
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 x (*.f64 x y))
(+.f64 (*.f64 x y) x)
(+.f64 (*.f64 (*.f64 x y) 1) x)
(-.f64 (+.f64 1 (fma.f64 x y x)) 1)
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x y) x))))
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 x x)) (-.f64 (*.f64 x y) x))
(/.f64 (*.f64 x (+.f64 1 (pow.f64 y 3))) (fma.f64 y y (-.f64 1 y)))
(/.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 y)))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y -1))
(pow.f64 (fma.f64 x y x) 1)
(pow.f64 (cbrt.f64 (fma.f64 x y x)) 3)
(pow.f64 (pow.f64 (fma.f64 x y x) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 x y x)) 2)
(sqrt.f64 (pow.f64 (fma.f64 x y x) 2))
(log.f64 (exp.f64 (fma.f64 x y x)))
(cbrt.f64 (pow.f64 (fma.f64 x y x) 3))
(expm1.f64 (log1p.f64 (fma.f64 x y x)))
(exp.f64 (log.f64 (fma.f64 x y x)))
(log1p.f64 (expm1.f64 (fma.f64 x y x)))
(fma.f64 x y x)
(fma.f64 y x x)
Outputs
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
x
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 x (*.f64 x y))
(fma.f64 y x x)
(+.f64 (*.f64 x y) x)
(fma.f64 y x x)
(+.f64 (*.f64 (*.f64 x y) 1) x)
(fma.f64 y x x)
(-.f64 (+.f64 1 (fma.f64 x y x)) 1)
(fma.f64 y x x)
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (-.f64 (*.f64 x x) (*.f64 (*.f64 x y) x))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 (*.f64 y x) (*.f64 y x) (*.f64 x (-.f64 x (*.f64 y x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (*.f64 x (+.f64 (*.f64 y (*.f64 y x)) (-.f64 x (*.f64 y x)))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 y 3)) (pow.f64 x 3)) (*.f64 x (fma.f64 (*.f64 y y) x (*.f64 x (-.f64 1 y)))))
(*.f64 1 (/.f64 (*.f64 x (fma.f64 x (pow.f64 y 3) x)) (*.f64 x (-.f64 (fma.f64 y y 1) y))))
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 x x)) (-.f64 (*.f64 x y) x))
(fma.f64 y x x)
(/.f64 (*.f64 x (+.f64 1 (pow.f64 y 3))) (fma.f64 y y (-.f64 1 y)))
(/.f64 x (/.f64 (fma.f64 y y (-.f64 1 y)) (+.f64 1 (pow.f64 y 3))))
(/.f64 (fma.f64 x (pow.f64 y 3) x) (fma.f64 y y (-.f64 1 y)))
(/.f64 (fma.f64 x (pow.f64 y 3) x) (-.f64 (fma.f64 y y 1) y))
(/.f64 (*.f64 x (fma.f64 y y -1)) (+.f64 y -1))
(fma.f64 y x x)
(/.f64 (*.f64 (+.f64 1 (pow.f64 y 3)) x) (fma.f64 y y (-.f64 1 y)))
(/.f64 x (/.f64 (fma.f64 y y (-.f64 1 y)) (+.f64 1 (pow.f64 y 3))))
(/.f64 (fma.f64 x (pow.f64 y 3) x) (fma.f64 y y (-.f64 1 y)))
(/.f64 (fma.f64 x (pow.f64 y 3) x) (-.f64 (fma.f64 y y 1) y))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y -1))
(fma.f64 y x x)
(pow.f64 (fma.f64 x y x) 1)
(fma.f64 y x x)
(pow.f64 (cbrt.f64 (fma.f64 x y x)) 3)
(fma.f64 y x x)
(pow.f64 (pow.f64 (fma.f64 x y x) 3) 1/3)
(fma.f64 y x x)
(pow.f64 (sqrt.f64 (fma.f64 x y x)) 2)
(fma.f64 y x x)
(sqrt.f64 (pow.f64 (fma.f64 x y x) 2))
(fma.f64 y x x)
(log.f64 (exp.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(cbrt.f64 (pow.f64 (fma.f64 x y x) 3))
(fma.f64 y x x)
(expm1.f64 (log1p.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(exp.f64 (log.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(log1p.f64 (expm1.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(fma.f64 x y x)
(fma.f64 y x x)
(fma.f64 y x x)

eval6.0ms (0.4%)

Compiler

Compiled 335 to 155 computations (53.7% saved)

prune12.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New30333
Fresh000
Picked202
Done000
Total32335
Accurracy
100.0%
Counts
35 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 y x) x)
49.9%
(*.f64 y x)
52.5%
x
100.0%
(+.f64 (*.f64 y x) x)
49.9%
(*.f64 y x)
52.5%
x
Compiler

Compiled 30 to 18 computations (40% saved)

localize23.0ms (1.5%)

Compiler

Compiled 18 to 5 computations (72.2% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked022
Done000
Total033
Accurracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 y x) x)
49.9%
(*.f64 y x)
52.5%
x
100.0%
(+.f64 (*.f64 y x) x)
49.9%
(*.f64 y x)
52.5%
x
Compiler

Compiled 30 to 18 computations (40% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Accurracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 y x) x)
49.9%
(*.f64 y x)
52.5%
x
100.0%
(+.f64 (*.f64 y x) x)
49.9%
(*.f64 y x)
52.5%
x
Compiler

Compiled 30 to 18 computations (40% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Accurracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 y x) x)
49.9%
(*.f64 y x)
52.5%
x
Compiler

Compiled 35 to 17 computations (51.4% saved)

regimes40.0ms (2.6%)

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

4 calls:

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

Compiled 38 to 21 computations (44.7% saved)

regimes14.0ms (0.9%)

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

4 calls:

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

Compiled 29 to 19 computations (34.5% saved)

regimes79.0ms (5.1%)

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

2 calls:

48.0ms
y
30.0ms
x
Results
AccuracySegmentsBranch
64.9%9x
98.5%3y
Compiler

Compiled 12 to 7 computations (41.7% saved)

regimes3.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:

2.0ms
y
Results
AccuracySegmentsBranch
52.5%1y
Compiler

Compiled 6 to 4 computations (33.3% saved)

bsearch27.0ms (1.7%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
16.0ms
6.880427895458848e-9
88388561810778900.0
10.0ms
-88.98781979993589
-0.3873762924544863
Results
24.0ms288×body256valid
Compiler

Compiled 192 to 135 computations (29.7% saved)

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Rules
+-commutative
*-commutative
1-exp
if-if-or-not
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01760
12960
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 y x) x)
(*.f64 x (+.f64 y 1))
(if (<=.f64 y -1) (*.f64 y x) (if (<=.f64 y 1) x (*.f64 y x)))
x
Outputs
(+.f64 (*.f64 y x) x)
(+.f64 x (*.f64 y x))
(*.f64 x (+.f64 y 1))
(if (<=.f64 y -1) (*.f64 y x) (if (<=.f64 y 1) x (*.f64 y x)))
x
Compiler

Compiled 34 to 20 computations (41.2% saved)

soundness0.0ms (0%)

end0.0ms (0%)

preprocess136.0ms (8.9%)

Compiler

Compiled 84 to 44 computations (47.6% saved)

Profiling

Loading profile data...