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

Time bar (total: 2.3s)

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)

sample1.5s (67.1%)

Results
1.4s7207×body256valid
78.0ms1049×body256infinite
Bogosity

preprocess40.0ms (1.8%)

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.2%)

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)

localize35.0ms (1.5%)

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))

rewrite56.0ms (2.5%)

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)

simplify64.0ms (2.8%)

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.3%)

Compiler

Compiled 335 to 155 computations (53.7% saved)

prune9.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New30333
Fresh000
Picked112
Done000
Total31435
Accurracy
100.0%
Counts
35 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 y x) x)
53.3%
(*.f64 y x)
100.0%
(*.f64 x (+.f64 y 1))
47.6%
x
100.0%
(+.f64 (*.f64 y x) x)
53.3%
(*.f64 y x)
100.0%
(*.f64 x (+.f64 y 1))
47.6%
x
Compiler

Compiled 44 to 28 computations (36.4% saved)

localize24.0ms (1.1%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 18 to 5 computations (72.2% saved)

series2.0ms (0.1%)

Counts
1 → 15
Calls

6 calls:

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

rewrite55.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
1480×pow1
1372×add-exp-log
1370×log1p-expm1-u
1370×expm1-log1p-u
1348×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

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

simplify55.0ms (2.4%)

Algorithm
egg-herbie
Rules
1068×div-sub
974×fma-neg
698×cancel-sign-sub-inv
608×fma-def
466×distribute-lft-neg-in
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0102991
1248753
2792753
33648743
Stop Event
node limit
Counts
55 → 49
Calls
Call 1
Inputs
x
(*.f64 y x)
(*.f64 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 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(-.f64 (+.f64 1 (fma.f64 y x x)) 1)
(-.f64 (/.f64 (pow.f64 (*.f64 y x) 2) (-.f64 (*.f64 y x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 y x) x)))
(*.f64 x (+.f64 y 1))
(*.f64 (fma.f64 y x x) 1)
(*.f64 1 (fma.f64 y x x))
(*.f64 (cbrt.f64 (fma.f64 y x x)) (pow.f64 (cbrt.f64 (fma.f64 y x x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 y x x)) 2) (cbrt.f64 (fma.f64 y x x)))
(*.f64 (sqrt.f64 (fma.f64 y x x)) (sqrt.f64 (fma.f64 y x x)))
(*.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x))))))
(*.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 y x) x)))
(*.f64 (+.f64 y 1) x)
(*.f64 (*.f64 (+.f64 y 1) 1) x)
(*.f64 (*.f64 (+.f64 y 1) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 (*.f64 (+.f64 y 1) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3))))
(/.f64 1 (/.f64 (-.f64 (*.f64 y x) x) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x)))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (*.f64 y x)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (-.f64 (*.f64 y x) x))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 y x) x)))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y x) 2)) (-.f64 x (*.f64 y x)))
(pow.f64 (fma.f64 y x x) 1)
(pow.f64 (cbrt.f64 (fma.f64 y x x)) 3)
(pow.f64 (pow.f64 (fma.f64 y x x) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 y x x)) 2)
(sqrt.f64 (pow.f64 (fma.f64 y x x) 2))
(log.f64 (exp.f64 (fma.f64 y x x)))
(cbrt.f64 (pow.f64 (fma.f64 y x x) 3))
(expm1.f64 (log1p.f64 (fma.f64 y x x)))
(exp.f64 (log.f64 (fma.f64 y x x)))
(log1p.f64 (expm1.f64 (fma.f64 y x x)))
(fma.f64 y x x)
(fma.f64 x y x)
(fma.f64 1 x (*.f64 y x))
(fma.f64 1 (*.f64 y x) x)
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (cbrt.f64 (*.f64 y x)) x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 y x))
(fma.f64 (sqrt.f64 (*.f64 y x)) (sqrt.f64 (*.f64 y x)) x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 y x))
Outputs
x
(*.f64 y x)
(*.f64 x y)
(*.f64 y x)
(*.f64 x y)
(*.f64 (+.f64 1 y) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(-.f64 (+.f64 1 (fma.f64 y x x)) 1)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(-.f64 (/.f64 (pow.f64 (*.f64 y x) 2) (-.f64 (*.f64 y x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 y x) x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (fma.f64 y x x) 1)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 1 (fma.f64 y x x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (cbrt.f64 (fma.f64 y x x)) (pow.f64 (cbrt.f64 (fma.f64 y x x)) 2))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 y x x)) 2) (cbrt.f64 (fma.f64 y x x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (sqrt.f64 (fma.f64 y x x)) (sqrt.f64 (fma.f64 y x x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x))))))
(*.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 x y)) (pow.f64 (*.f64 x y) 2)))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y (*.f64 x x)) (+.f64 -1 y))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (*.f64 x (+.f64 x (*.f64 (*.f64 x y) (+.f64 y -1)))))
(*.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 y x) x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (+.f64 y 1) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (*.f64 (+.f64 y 1) 1) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (*.f64 (+.f64 y 1) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(*.f64 (*.f64 (+.f64 y 1) (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3))))
(*.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 x y)) (pow.f64 (*.f64 x y) 2)))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y (*.f64 x x)) (+.f64 -1 y))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (*.f64 x (+.f64 x (*.f64 (*.f64 x y) (+.f64 y -1)))))
(/.f64 1 (/.f64 (-.f64 (*.f64 y x) x) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x))))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x)))))
(*.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 x y)) (pow.f64 (*.f64 x y) 2)))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y (*.f64 x x)) (+.f64 -1 y))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (*.f64 x (+.f64 x (*.f64 (*.f64 x y) (+.f64 y -1)))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (*.f64 y x)))))
(*.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 x y)) (pow.f64 (*.f64 x y) 2)))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y (*.f64 x x)) (+.f64 -1 y))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (*.f64 x (+.f64 x (*.f64 (*.f64 x y) (+.f64 y -1)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x)) (-.f64 (*.f64 y x) x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x))))))
(*.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 x y)) (pow.f64 (*.f64 x y) 2)))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y (*.f64 x x)) (+.f64 -1 y))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (*.f64 x (+.f64 x (*.f64 (*.f64 x y) (+.f64 y -1)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 y x) x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y x) 2)) (-.f64 x (*.f64 y x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(pow.f64 (fma.f64 y x x) 1)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(pow.f64 (cbrt.f64 (fma.f64 y x x)) 3)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(pow.f64 (pow.f64 (fma.f64 y x x) 3) 1/3)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(pow.f64 (sqrt.f64 (fma.f64 y x x)) 2)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(sqrt.f64 (pow.f64 (fma.f64 y x x) 2))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(log.f64 (exp.f64 (fma.f64 y x x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(cbrt.f64 (pow.f64 (fma.f64 y x x) 3))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(expm1.f64 (log1p.f64 (fma.f64 y x x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(exp.f64 (log.f64 (fma.f64 y x x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(log1p.f64 (expm1.f64 (fma.f64 y x x)))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(fma.f64 y x x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(fma.f64 x y x)
(*.f64 x (+.f64 y 1))
(fma.f64 1 x (*.f64 y x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(fma.f64 1 (*.f64 y x) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 y x)) 2) (cbrt.f64 (*.f64 y x)) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 y x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(fma.f64 (sqrt.f64 (*.f64 y x)) (sqrt.f64 (*.f64 y x)) x)
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 y x))
(*.f64 x (+.f64 y 1))
(fma.f64 x y x)

eval10.0ms (0.4%)

Compiler

Compiled 558 to 226 computations (59.5% saved)

prune8.0ms (0.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New49049
Fresh011
Picked022
Done011
Total49453
Accurracy
100.0%
Counts
53 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 y x) x)
53.3%
(*.f64 y x)
100.0%
(*.f64 x (+.f64 y 1))
47.6%
x
100.0%
(+.f64 (*.f64 y x) x)
53.3%
(*.f64 y x)
100.0%
(*.f64 x (+.f64 y 1))
47.6%
x
Compiler

Compiled 44 to 28 computations (36.4% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune70.0ms (3.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Accurracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 y x) x)
53.3%
(*.f64 y x)
100.0%
(*.f64 x (+.f64 y 1))
47.6%
x
100.0%
(+.f64 (*.f64 y x) x)
53.3%
(*.f64 y x)
100.0%
(*.f64 x (+.f64 y 1))
47.6%
x
Compiler

Compiled 44 to 28 computations (36.4% 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
Accurracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 y x) x)
53.3%
(*.f64 y x)
100.0%
(*.f64 x (+.f64 y 1))
47.6%
x
Compiler

Compiled 42 to 22 computations (47.6% saved)

regimes19.0ms (0.8%)

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
(fma.f64 x y x)
Calls

4 calls:

5.0ms
(+.f64 y 1)
4.0ms
x
4.0ms
y
4.0ms
(*.f64 x (+.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)

regimes67.0ms (2.9%)

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

4 calls:

5.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 34 to 20 computations (41.2% saved)

regimes87.0ms (3.8%)

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

2 calls:

78.0ms
x
9.0ms
y
Results
AccuracySegmentsBranch
66.4%9x
96.7%3y
Compiler

Compiled 12 to 7 computations (41.7% 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
47.6%1x
47.6%1y
Compiler

Compiled 9 to 6 computations (33.3% saved)

bsearch63.0ms (2.8%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
52.0ms
0.0010377660063991797
114781.1906707814
11.0ms
-12.942927547321046
-0.47301508057921826
Results
60.0ms256×body256valid
Compiler

Compiled 172 to 121 computations (29.7% saved)

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

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

Compiled 33 to 19 computations (42.4% saved)

soundness15.0ms (0.6%)

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
Compiler

Compiled 24 to 13 computations (45.8% saved)

end0.0ms (0%)

preprocess41.0ms (1.8%)

Compiler

Compiled 82 to 44 computations (46.3% saved)

Profiling

Loading profile data...