math.square on complex, imaginary part

Time bar (total: 8.0s)

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 10 to 6 computations (40% saved)

sample7.7s (96.4%)

Results
690.0ms8244×0valid-sollya
1.0s8244×0valid-rival
Bogosity

preprocess149.0ms (1.9%)

Algorithm
egg-herbie
Rules
223×fma-define
93×fma-neg
34×distribute-lft-neg-in
30×associate-*r*
28×unsub-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022205
150141
292133
3239133
4465133
5718133
6720133
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
(+.f64 (*.f64 re im) (*.f64 im re))
(+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re)))
(+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re))
(neg.f64 (+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re))))
(neg.f64 (+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re)))
(+.f64 (*.f64 im re) (*.f64 re im))
Outputs
(+.f64 (*.f64 re im) (*.f64 im re))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 im (*.f64 re #s(literal 2 binary64)))
(+.f64 (*.f64 re im) (*.f64 im re))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 im (*.f64 re #s(literal 2 binary64)))
(+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re)))
(fma.f64 re (neg.f64 im) (*.f64 re (neg.f64 im)))
(*.f64 #s(literal 2 binary64) (*.f64 re (neg.f64 im)))
(*.f64 re (*.f64 im #s(literal -2 binary64)))
(+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re))
(fma.f64 re (neg.f64 im) (*.f64 re (neg.f64 im)))
(*.f64 #s(literal 2 binary64) (*.f64 re (neg.f64 im)))
(*.f64 re (*.f64 im #s(literal -2 binary64)))
(neg.f64 (+.f64 (*.f64 (neg.f64 re) im) (*.f64 im (neg.f64 re))))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 im (*.f64 re #s(literal 2 binary64)))
(neg.f64 (+.f64 (*.f64 re (neg.f64 im)) (*.f64 (neg.f64 im) re)))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 im (*.f64 re #s(literal 2 binary64)))
(+.f64 (*.f64 im re) (*.f64 re im))
(fma.f64 re im (*.f64 re im))
(*.f64 #s(literal 2 binary64) (*.f64 re im))
(*.f64 re (*.f64 #s(literal 2 binary64) im))
(*.f64 im (*.f64 re #s(literal 2 binary64)))
Symmetry

(negabs re)

(negabs im)

(sort re im)

Compiler

Compiled 9 to 5 computations (44.4% 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 (*.f64 re im) (*.f64 im re))
Compiler

Compiled 18 to 10 computations (44.4% saved)

simplify20.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
11231
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 re im) (*.f64 im re))
Outputs
(+.f64 (*.f64 re im) (*.f64 im re))
(+.f64 (*.f64 re im) (*.f64 re im))

soundness1.0ms (0%)

Stop Event
fuel
Compiler

Compiled 9 to 4 computations (55.6% saved)

preprocess112.0ms (1.4%)

Remove

(sort re im)

(negabs im)

(negabs re)

Compiler

Compiled 144 to 66 computations (54.2% saved)

end0.0ms (0%)

Profiling

Loading profile data...