Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1, A

Time bar (total: 1.2s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample744.0ms (62.5%)

Results
605.0ms6214×body256valid
129.0ms2042×body256infinite
Bogosity

preprocess16.0ms (1.3%)

Algorithm
egg-herbie
Rules
1-exp
fma-def
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1129
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(+.f64 (*.f64 x x) 1)
Outputs
(+.f64 (*.f64 x x) 1)
(fma.f64 x x 1)
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify14.0ms (1.1%)

Algorithm
egg-herbie
Rules
1-exp
fma-def
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1129
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) 1)
Outputs
(+.f64 (*.f64 x x) 1)
(fma.f64 x x 1)

eval0.0ms (0%)

Compiler

Compiled 10 to 6 computations (40% 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 x 1)
100.0%
(+.f64 (*.f64 x x) 1)
100.0%
(fma.f64 x x 1)
100.0%
(+.f64 (*.f64 x x) 1)
Compiler

Compiled 22 to 14 computations (36.4% saved)

localize26.0ms (2.2%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 18 to 9 computations (50% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite72.0ms (6.1%)

Algorithm
batch-egg-rewrite
Rules
1148×pow1
1068×add-exp-log
1068×log1p-expm1-u
1068×expm1-log1p-u
1050×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11259
215339
Stop Event
node limit
Counts
1 → 30
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) 1)
Outputs
(-.f64 (+.f64 1 (fma.f64 x x 1)) 1)
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(*.f64 1 (fma.f64 x x 1))
(*.f64 (fma.f64 x x 1) 1)
(*.f64 (cbrt.f64 (fma.f64 x x 1)) (cbrt.f64 (pow.f64 (fma.f64 x x 1) 2)))
(*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x 1) 2)) (cbrt.f64 (fma.f64 x x 1)))
(*.f64 (hypot.f64 1 x) (hypot.f64 1 x))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(*.f64 (+.f64 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x x -1)))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))) (+.f64 1 (pow.f64 x 6))))
(/.f64 1 (/.f64 (fma.f64 x x -1) (+.f64 (pow.f64 x 4) -1)))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 1 (-.f64 (pow.f64 x 4) (*.f64 x x))))
(/.f64 (+.f64 (pow.f64 x 4) -1) (fma.f64 x x -1))
(/.f64 (neg.f64 (+.f64 1 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 4) -1)) (neg.f64 (fma.f64 x x -1)))
(/.f64 (-.f64 1 (pow.f64 x 4)) (-.f64 1 (*.f64 x x)))
(pow.f64 (fma.f64 x x 1) 1)
(pow.f64 (cbrt.f64 (fma.f64 x x 1)) 3)
(pow.f64 (pow.f64 (fma.f64 x x 1) 3) 1/3)
(pow.f64 (hypot.f64 1 x) 2)
(sqrt.f64 (pow.f64 (fma.f64 x x 1) 2))
(log.f64 (exp.f64 (fma.f64 x x 1)))
(cbrt.f64 (pow.f64 (fma.f64 x x 1) 3))
(expm1.f64 (log1p.f64 (fma.f64 x x 1)))
(exp.f64 (log1p.f64 (*.f64 x x)))
(log1p.f64 (expm1.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(fma.f64 1 (*.f64 x x) 1)
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) 1)

simplify55.0ms (4.6%)

Algorithm
egg-herbie
Rules
1296×associate-/l*
994×associate-/r*
624×*-commutative
546×associate-*r*
520×fma-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
077592
1170562
2522542
32723542
Stop Event
node limit
Counts
42 → 37
Calls
Call 1
Inputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(-.f64 (+.f64 1 (fma.f64 x x 1)) 1)
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(*.f64 1 (fma.f64 x x 1))
(*.f64 (fma.f64 x x 1) 1)
(*.f64 (cbrt.f64 (fma.f64 x x 1)) (cbrt.f64 (pow.f64 (fma.f64 x x 1) 2)))
(*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x 1) 2)) (cbrt.f64 (fma.f64 x x 1)))
(*.f64 (hypot.f64 1 x) (hypot.f64 1 x))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(*.f64 (+.f64 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x x -1)))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))) (+.f64 1 (pow.f64 x 6))))
(/.f64 1 (/.f64 (fma.f64 x x -1) (+.f64 (pow.f64 x 4) -1)))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 1 (-.f64 (pow.f64 x 4) (*.f64 x x))))
(/.f64 (+.f64 (pow.f64 x 4) -1) (fma.f64 x x -1))
(/.f64 (neg.f64 (+.f64 1 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 4) -1)) (neg.f64 (fma.f64 x x -1)))
(/.f64 (-.f64 1 (pow.f64 x 4)) (-.f64 1 (*.f64 x x)))
(pow.f64 (fma.f64 x x 1) 1)
(pow.f64 (cbrt.f64 (fma.f64 x x 1)) 3)
(pow.f64 (pow.f64 (fma.f64 x x 1) 3) 1/3)
(pow.f64 (hypot.f64 1 x) 2)
(sqrt.f64 (pow.f64 (fma.f64 x x 1) 2))
(log.f64 (exp.f64 (fma.f64 x x 1)))
(cbrt.f64 (pow.f64 (fma.f64 x x 1) 3))
(expm1.f64 (log1p.f64 (fma.f64 x x 1)))
(exp.f64 (log1p.f64 (*.f64 x x)))
(log1p.f64 (expm1.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(fma.f64 1 (*.f64 x x) 1)
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) 1)
Outputs
1
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(-.f64 (+.f64 1 (fma.f64 x x 1)) 1)
(fma.f64 x x 1)
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(fma.f64 x x 1)
(*.f64 1 (fma.f64 x x 1))
(fma.f64 x x 1)
(*.f64 (fma.f64 x x 1) 1)
(fma.f64 x x 1)
(*.f64 (cbrt.f64 (fma.f64 x x 1)) (cbrt.f64 (pow.f64 (fma.f64 x x 1) 2)))
(fma.f64 x x 1)
(*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x 1) 2)) (cbrt.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(*.f64 (hypot.f64 1 x) (hypot.f64 1 x))
(fma.f64 x x 1)
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (neg.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(/.f64 (-.f64 -1 (pow.f64 x 6)) (-.f64 (fma.f64 x x -1) (pow.f64 x 4)))
(*.f64 (+.f64 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x x -1)))
(fma.f64 x x 1)
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))) (+.f64 1 (pow.f64 x 6))))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (neg.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(/.f64 (-.f64 -1 (pow.f64 x 6)) (-.f64 (fma.f64 x x -1) (pow.f64 x 4)))
(/.f64 1 (/.f64 (fma.f64 x x -1) (+.f64 (pow.f64 x 4) -1)))
(fma.f64 x x 1)
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (neg.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(/.f64 (-.f64 -1 (pow.f64 x 6)) (-.f64 (fma.f64 x x -1) (pow.f64 x 4)))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 1 (-.f64 (pow.f64 x 4) (*.f64 x x))))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (neg.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(/.f64 (-.f64 -1 (pow.f64 x 6)) (-.f64 (fma.f64 x x -1) (pow.f64 x 4)))
(/.f64 (+.f64 (pow.f64 x 4) -1) (fma.f64 x x -1))
(fma.f64 x x 1)
(/.f64 (neg.f64 (+.f64 1 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (neg.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(/.f64 (-.f64 -1 (pow.f64 x 6)) (-.f64 (fma.f64 x x -1) (pow.f64 x 4)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 4) -1)) (neg.f64 (fma.f64 x x -1)))
(fma.f64 x x 1)
(/.f64 (-.f64 1 (pow.f64 x 4)) (-.f64 1 (*.f64 x x)))
(fma.f64 x x 1)
(pow.f64 (fma.f64 x x 1) 1)
(fma.f64 x x 1)
(pow.f64 (cbrt.f64 (fma.f64 x x 1)) 3)
(fma.f64 x x 1)
(pow.f64 (pow.f64 (fma.f64 x x 1) 3) 1/3)
(fma.f64 x x 1)
(pow.f64 (hypot.f64 1 x) 2)
(fma.f64 x x 1)
(sqrt.f64 (pow.f64 (fma.f64 x x 1) 2))
(fma.f64 x x 1)
(log.f64 (exp.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(cbrt.f64 (pow.f64 (fma.f64 x x 1) 3))
(fma.f64 x x 1)
(expm1.f64 (log1p.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(exp.f64 (log1p.f64 (*.f64 x x)))
(log1p.f64 (expm1.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(fma.f64 x x 1)
(fma.f64 1 (*.f64 x x) 1)
(fma.f64 x x 1)
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) 1)

eval9.0ms (0.8%)

Compiler

Compiled 345 to 240 computations (30.4% saved)

prune6.0ms (0.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New35237
Fresh000
Picked022
Done000
Total35439
Accurracy
100.0%
Counts
39 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x 1)
100.0%
(+.f64 (*.f64 x x) 1)
51.7%
(*.f64 x x)
50.9%
1
100.0%
(fma.f64 x x 1)
100.0%
(+.f64 (*.f64 x x) 1)
51.7%
(*.f64 x x)
50.9%
1
Compiler

Compiled 34 to 22 computations (35.3% saved)

localize14.0ms (1.2%)

Compiler

Compiled 6 to 3 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune35.0ms (2.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Accurracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x 1)
100.0%
(+.f64 (*.f64 x x) 1)
51.7%
(*.f64 x x)
50.9%
1
100.0%
(fma.f64 x x 1)
100.0%
(+.f64 (*.f64 x x) 1)
51.7%
(*.f64 x x)
50.9%
1
Compiler

Compiled 34 to 22 computations (35.3% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.2%)

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

Compiled 34 to 22 computations (35.3% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.2%)

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

Compiled 31 to 18 computations (41.9% saved)

regimes11.0ms (1%)

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

3 calls:

5.0ms
(*.f64 x x)
4.0ms
x
2.0ms
(+.f64 (*.f64 x x) 1)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(+.f64 (*.f64 x x) 1)
100.0%1(*.f64 x x)
Compiler

Compiled 26 to 14 computations (46.2% saved)

regimes10.0ms (0.8%)

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

3 calls:

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

Compiled 22 to 12 computations (45.5% saved)

regimes15.0ms (1.2%)

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

2 calls:

10.0ms
x
4.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
98.2%3x
98.2%2(*.f64 x x)
Compiler

Compiled 11 to 6 computations (45.5% saved)

regimes3.0ms (0.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

1 calls:

3.0ms
x
Results
AccuracySegmentsBranch
50.9%1x
Compiler

Compiled 4 to 3 computations (25% saved)

bsearch9.0ms (0.7%)

Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
9.0ms
0.017604761947187422
3.8046601569767167
Results
8.0ms112×body256valid
Compiler

Compiled 52 to 42 computations (19.2% saved)

simplify7.0ms (0.6%)

Algorithm
egg-herbie
Rules
1-exp
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01346
11746
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(fma.f64 x x 1)
(+.f64 (*.f64 x x) 1)
(if (<=.f64 (*.f64 x x) 1) 1 (*.f64 x x))
1
Outputs
(fma.f64 x x 1)
(+.f64 (*.f64 x x) 1)
(+.f64 1 (*.f64 x x))
(if (<=.f64 (*.f64 x x) 1) 1 (*.f64 x x))
1
Compiler

Compiled 24 to 15 computations (37.5% saved)

soundness91.0ms (7.7%)

Rules
1296×associate-/l*
994×associate-/r*
624×*-commutative
546×associate-*r*
520×fma-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1129
077592
1170562
2522542
32723542
Stop Event
node limit
saturated
Compiler

Compiled 17 to 10 computations (41.2% saved)

end44.0ms (3.7%)

Compiler

Compiled 54 to 30 computations (44.4% saved)

Profiling

Loading profile data...