Graphics.Rasterific.QuadraticFormula:discriminant from Rasterific-0.6.1

Time bar (total: 5.3s)

analyze1.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 13 to 9 computations (30.8% saved)

sample5.1s (96.5%)

Results
1.1s8256×0valid-rival
850.0ms8254×0valid-sollya
10.0ms0exit-sollya
Bogosity

preprocess134.0ms (2.5%)

Algorithm
egg-herbie
Rules
425×fma-define
210×fma-neg
96×distribute-lft-neg-in
94×associate-*r*
94×cancel-sign-sub-inv
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
038435
1116375
2284375
3713375
41184375
51616375
61710375
71718375
81718375
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(-.f64 (*.f64 x x) (*.f64 (*.f64 (neg.f64 y) #s(literal 4 binary64)) z))
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (neg.f64 z)))
(neg.f64 (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 y #s(literal 4 binary64)) z)))
(neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (neg.f64 y) #s(literal 4 binary64)) z)))
(neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (neg.f64 z))))
(-.f64 (*.f64 y y) (*.f64 (*.f64 x #s(literal 4 binary64)) z))
(-.f64 (*.f64 z z) (*.f64 (*.f64 y #s(literal 4 binary64)) x))
(-.f64 (*.f64 x x) (*.f64 (*.f64 z #s(literal 4 binary64)) y))
Outputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(fma.f64 x x (*.f64 (*.f64 y #s(literal 4 binary64)) (neg.f64 z)))
(fma.f64 x x (*.f64 y (*.f64 z #s(literal -4 binary64))))
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(fma.f64 x x (*.f64 (*.f64 y #s(literal 4 binary64)) (neg.f64 z)))
(fma.f64 x x (*.f64 y (*.f64 z #s(literal -4 binary64))))
(-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(fma.f64 x x (*.f64 (*.f64 y #s(literal 4 binary64)) (neg.f64 z)))
(fma.f64 x x (*.f64 y (*.f64 z #s(literal -4 binary64))))
(-.f64 (*.f64 x x) (*.f64 (*.f64 (neg.f64 y) #s(literal 4 binary64)) z))
(-.f64 (*.f64 x x) (*.f64 z (neg.f64 (*.f64 y #s(literal 4 binary64)))))
(fma.f64 x x (*.f64 y (*.f64 #s(literal 4 binary64) z)))
(fma.f64 x x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (neg.f64 z)))
(-.f64 (*.f64 x x) (*.f64 z (neg.f64 (*.f64 y #s(literal 4 binary64)))))
(fma.f64 x x (*.f64 y (*.f64 #s(literal 4 binary64) z)))
(fma.f64 x x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(neg.f64 (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (*.f64 y #s(literal 4 binary64)) z)))
(neg.f64 (fma.f64 x x (*.f64 (*.f64 y #s(literal 4 binary64)) (neg.f64 z))))
(neg.f64 (fma.f64 x x (*.f64 y (*.f64 z #s(literal -4 binary64)))))
(-.f64 (*.f64 (*.f64 y #s(literal 4 binary64)) z) (*.f64 x x))
(neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (neg.f64 y) #s(literal 4 binary64)) z)))
(neg.f64 (-.f64 (*.f64 x x) (*.f64 z (neg.f64 (*.f64 y #s(literal 4 binary64))))))
(neg.f64 (fma.f64 x x (*.f64 y (*.f64 #s(literal 4 binary64) z))))
(-.f64 (*.f64 y (*.f64 z #s(literal -4 binary64))) (*.f64 x x))
(neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (neg.f64 z))))
(neg.f64 (-.f64 (*.f64 x x) (*.f64 z (neg.f64 (*.f64 y #s(literal 4 binary64))))))
(neg.f64 (fma.f64 x x (*.f64 y (*.f64 #s(literal 4 binary64) z))))
(-.f64 (*.f64 y (*.f64 z #s(literal -4 binary64))) (*.f64 x x))
(-.f64 (*.f64 y y) (*.f64 (*.f64 x #s(literal 4 binary64)) z))
(-.f64 (*.f64 y y) (*.f64 z (*.f64 x #s(literal 4 binary64))))
(fma.f64 y y (*.f64 x (*.f64 z #s(literal -4 binary64))))
(fma.f64 x (*.f64 z #s(literal -4 binary64)) (*.f64 y y))
(-.f64 (*.f64 z z) (*.f64 (*.f64 y #s(literal 4 binary64)) x))
(-.f64 (*.f64 z z) (*.f64 y (*.f64 x #s(literal 4 binary64))))
(fma.f64 z z (*.f64 x (*.f64 y #s(literal -4 binary64))))
(fma.f64 y (*.f64 x #s(literal -4 binary64)) (*.f64 z z))
(-.f64 (*.f64 x x) (*.f64 (*.f64 z #s(literal 4 binary64)) y))
(fma.f64 x x (*.f64 (*.f64 y #s(literal 4 binary64)) (neg.f64 z)))
(fma.f64 x x (*.f64 y (*.f64 z #s(literal -4 binary64))))
Symmetry

(abs x)

(sort y z)

Compiler

Compiled 12 to 8 computations (33.3% saved)

eval0.0ms (0%)

Compiler

Compiled 3 to 3 computations (0% saved)

prune2.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Compiler

Compiled 24 to 16 computations (33.3% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01437
12237
24037
35037
45837
56137
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Outputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) z))

soundness1.0ms (0%)

Stop Event
fuel
Compiler

Compiled 12 to 8 computations (33.3% saved)

preprocess41.0ms (0.8%)

Remove

(sort y z)

(abs x)

Compiler

Compiled 144 to 96 computations (33.3% saved)

end0.0ms (0%)

Profiling

Loading profile data...