math.log/1 on complex, real part

Time bar (total: 2.0s)

analyze80.0ms (3.9%)

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
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
18.8%18.7%81.2%0.1%0%0%0%5
34.4%34.3%65.6%0.1%0%0%0%6
54.7%54.6%45.3%0.1%0%0%0%7
64.8%64.8%35.1%0.1%0%0%0%8
76.2%76.1%23.8%0.1%0%0%0%9
81.8%81.8%18.1%0.1%0%0%0%10
87.8%87.7%12.2%0.1%0%0%0%11
90.8%90.7%9.2%0.1%0%0%0%12
Compiler

Compiled 12 to 8 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 43.0ms
Operation ival-mult, time spent: 12.0ms, 28.0% of total-time
Operation ival-sqrt, time spent: 11.0ms, 25.0% of total-time
Operation ival-add, time spent: 10.0ms, 23.0% of total-time
Operation ival-log, time spent: 9.0ms, 21.0% of total-time
Operation const, time spent: 1.0ms, 2.0% of total-time

sample1.4s (69.1%)

Results
1.3s8255×256valid
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 602.0ms
Operation ival-log, time spent: 220.0ms, 37.0% of total-time
Operation ival-add, time spent: 148.0ms, 25.0% of total-time
Operation ival-mult, time spent: 142.0ms, 24.0% of total-time
Operation ival-sqrt, time spent: 83.0ms, 14.0% of total-time
Operation const, time spent: 9.0ms, 1.0% of total-time
Bogosity

preprocess434.0ms (21.3%)

Algorithm
egg-herbie
Rules
104×fma-neg
90×fma-define
30×neg-sub0
28×distribute-lft-neg-in
28×unsub-neg
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1240-0-(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
00-0-(+.f64 (*.f64 re re) (*.f64 im im))
00-0-(*.f64 re re)
00-0-re
00-0-(*.f64 im im)
01(1.7622578680317014e-266 0.9970819787108864)0-(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
00-0-im
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))oflow-rescue1100
(+.f64 (*.f64 re re) (*.f64 im im))overflow110
(*.f64 re re)overflow19
(*.f64 im im)overflow110
log.f64(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))sensitivity10
sqrt.f64(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))uflow-rescue140
(+.f64 (*.f64 re re) (*.f64 im im))underflow14
(*.f64 re re)underflow103
(*.f64 im im)underflow14
Confusion
Predicted +Predicted -
+1240
-1131
Precision
0.992
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+12400
-10131
Precision?
0.992
Recall?
1.0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028127
155127
2102127
3187127
4284127
5323127
6333127
Stop Event
saturated
Calls
Call 1
Inputs
(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
(log.f64 (sqrt.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im))))
(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im)))))
(neg.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im)))))
(neg.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im))))))
(log.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))))
Outputs
(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
(log.f64 (hypot.f64 re im))
(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
(log.f64 (hypot.f64 re im))
(log.f64 (sqrt.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im))))
(log.f64 (hypot.f64 re im))
(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im)))))
(log.f64 (hypot.f64 re im))
(neg.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 im im)))))
(neg.f64 (log.f64 (hypot.f64 re im)))
(neg.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 (neg.f64 im) (neg.f64 im))))))
(neg.f64 (log.f64 (hypot.f64 re im)))
(log.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))))
(log.f64 (hypot.f64 re im))
Symmetry

(abs re)

(abs im)

(sort re im)

Compiler

Compiled 92 to 30 computations (67.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 28.0ms
Operation ival-log, time spent: 12.0ms, 43.0% of total-time
Operation ival-mult, time spent: 8.0ms, 28.0% of total-time
Operation ival-sqrt, time spent: 5.0ms, 18.0% of total-time
Operation ival-add, time spent: 3.0ms, 11.0% of total-time
Operation const, time spent: 1.0ms, 4.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log.f64 (hypot.f64 re im))
Compiler

Compiled 6 to 4 computations (33.3% saved)

localize36.0ms (1.8%)

Compiler

Compiled 12 to 5 computations (58.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 23.0ms
Operation composed, time spent: 9.0ms, 39.0% of total-time
Operation ival-log, time spent: 6.0ms, 26.0% of total-time
Operation ival-mult, time spent: 4.0ms, 17.0% of total-time
Operation ival-sqrt, time spent: 2.0ms, 9.0% of total-time
Operation ival-add, time spent: 2.0ms, 9.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

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
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(log.f64 (hypot.f64 re im))
Compiler

Compiled 21 to 13 computations (38.1% saved)

regimes19.0ms (0.9%)

Accuracy

Total -30.0b remaining (-∞%)

Threshold costs -30b (-∞%)

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

7 calls:

4.0ms
im
3.0ms
re
3.0ms
(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
2.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
2.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Results
AccuracySegmentsBranch
100.0%1re
100.0%1im
100.0%1(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
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 46 to 28 computations (39.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 6 to 4 computations (33.3% saved)

soundness22.0ms (1.1%)

Rules
104×fma-neg
90×fma-define
30×neg-sub0
28×distribute-lft-neg-in
28×unsub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028127
155127
2102127
3187127
4284127
5323127
6333127
Stop Event
saturated
Compiler

Compiled 15 to 9 computations (40% saved)

end0.0ms (0%)

preprocess35.0ms (1.7%)

Remove

(sort re im)

(abs im)

(abs re)

Compiler

Compiled 106 to 70 computations (34% saved)

Profiling

Loading profile data...