math.abs on complex

Time bar (total: 868.0ms)

analyze1.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
100%99.9%0%0.1%0%0%0%3
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample765.0ms (88.1%)

Results
753.0ms8256×body256valid
Bogosity

preprocess13.0ms (1.5%)

Algorithm
egg-herbie
Rules
fma-def
hypot-def
swap-re-im
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
11614
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))
Outputs
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
(hypot.f64 re im)
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))
(hypot.f64 re im)
Symmetry

(sort re im)

Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify13.0ms (1.5%)

Algorithm
egg-herbie
Rules
fma-def
hypot-def
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
097
1137
2157
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Outputs
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
(hypot.f64 re im)

eval0.0ms (0.1%)

Compiler

Compiled 13 to 7 computations (46.2% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Accurracy
100.0%
Counts
3 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 re im)
100.0%
(hypot.f64 re im)
Compiler

Compiled 10 to 6 computations (40% saved)

localize18.0ms (2.1%)

Compiler

Compiled 8 to 4 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accurracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 re im)
Compiler

Compiled 18 to 10 computations (44.4% saved)

regimes18.0ms (2%)

Accuracy

Total -28.7b remaining (-∞%)

Threshold costs -28.7b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(hypot.f64 re im)
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Outputs
(hypot.f64 re im)
Calls

6 calls:

5.0ms
re
3.0ms
im
2.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
2.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
2.0ms
(*.f64 re re)
Results
AccuracySegmentsBranch
100.0%1re
100.0%1im
100.0%1(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
100.0%1(+.f64 (*.f64 re re) (*.f64 im im))
100.0%1(*.f64 re re)
100.0%1(*.f64 im im)
Compiler

Compiled 48 to 28 computations (41.7% saved)

simplify3.0ms (0.4%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
Stop Event
done
saturated
Calls
Call 1
Inputs
(hypot.f64 re im)
Outputs
(hypot.f64 re im)
Compiler

Compiled 5 to 3 computations (40% saved)

soundness12.0ms (1.4%)

Rules
fma-def
hypot-def
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
097
1137
2157
Stop Event
saturated
Compiler

Compiled 13 to 7 computations (46.2% saved)

end23.0ms (2.6%)

Remove

(sort re im)

Compiler

Compiled 40 to 24 computations (40% saved)

Profiling

Loading profile data...