math.log10 on complex, imaginary part

Time bar (total: 1.7s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze8.0ms (0.5%)

Memory
-43.0MiB live, 10.5MiB allocated
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
50%50%50%0.1%0%0%0%2
75%74.9%25%0.1%0%0%0%3
87.5%87.4%12.5%0.1%0%0%0%4
93.8%93.7%6.2%0.1%0%0%0%5
96.9%96.8%3.1%0.1%0%0%0%6
98.4%98.3%1.6%0.1%0%0%0%7
99.2%99.1%0.8%0.1%0%0%0%8
99.6%99.5%0.4%0.1%0%0%0%9
99.8%99.7%0.2%0.1%0%0%0%10
99.9%99.8%0.1%0.1%0%0%0%11
100%99.9%0%0.1%0%0%0%12
Compiler

Compiled 8 to 8 computations (0% saved)

sample1000.0ms (59.6%)

Memory
44.8MiB live, 1 561.5MiB allocated
Samples
712.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 384.0ms
ival-div: 167.0ms (43.5% of total)
ival-atan2: 108.0ms (28.1% of total)
ival-log: 91.0ms (23.7% of total)
ival-true: 6.0ms (1.6% of total)
exact: 6.0ms (1.6% of total)
ival-assert: 3.0ms (0.8% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

explain164.0ms (9.8%)

Memory
8.0MiB live, 100.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
00-0-(log.f64 #s(literal 10 binary64))
00-0-re
00-0-(atan2.f64 im re)
00-0-im
00-0-#s(literal 10 binary64)
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
120.0ms512×0valid
Compiler

Compiled 38 to 22 computations (42.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 106.0ms
ival-log: 98.0ms (92.2% of total)
ival-atan2: 4.0ms (3.8% of total)
ival-div: 3.0ms (2.8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess13.0ms (0.8%)

Memory
18.7MiB live, 18.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01436
12136
066
096
096
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Outputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Compiler

Compiled 6 to 6 computations (0% saved)

eval75.0ms (4.5%)

Memory
-44.3MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
2.2MiB live, 2.2MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
98.7%
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Compiler

Compiled 6 to 6 computations (0% saved)

simplify3.0ms (0.2%)

Memory
6.7MiB live, 6.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(log.f64 #s(literal 10 binary64))
cost-diff0
(atan2.f64 im re)
cost-diff0
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0614
0914
0914
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
(atan2.f64 im re)
im
re
(log.f64 #s(literal 10 binary64))
#s(literal 10 binary64)
Outputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
(atan2.f64 im re)
im
re
(log.f64 #s(literal 10 binary64))
#s(literal 10 binary64)

localize19.0ms (1.1%)

Memory
25.1MiB live, 25.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(atan2.f64 im re)
accuracy0.0
(log.f64 #s(literal 10 binary64))
accuracy0.828125
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Samples
14.0ms256×0valid
Compiler

Compiled 16 to 8 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-atan2: 2.0ms (29.2% of total)
ival-div: 2.0ms (29.2% of total)
ival-log: 2.0ms (29.2% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series104.0ms (6.2%)

Memory
-22.2MiB live, 79.3MiB allocated
Counts
3 → 2
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
(atan2.f64 im re)
(log.f64 #s(literal 10 binary64))
Outputs
(/ (atan2 im re) (log 10))
(atan2 im re)
Calls

6 calls:

TimeVariablePointExpression
48.0ms
re
@0
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
31.0ms
im
@inf
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
6.0ms
im
@-inf
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
6.0ms
re
@-inf
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
6.0ms
re
@inf
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))

simplify3.0ms (0.2%)

Memory
2.6MiB live, 2.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
069
Stop Event
iter limit
saturated
Counts
2 → 2
Calls
Call 1
Inputs
(/ (atan2 im re) (log 10))
(atan2 im re)
Outputs
(/ (atan2 im re) (log 10))
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
(atan2 im re)
(atan2.f64 im re)

rewrite14.0ms (0.8%)

Memory
18.0MiB live, 18.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
0911
11211
22311
33311
43411
03411
Stop Event
iter limit
saturated
iter limit
Counts
3 → 7
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
(atan2.f64 im re)
(log.f64 #s(literal 10 binary64))
Outputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 #s(literal 1/10 binary64)))
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 #s(literal 1/10 binary64))))
(atan2.f64 im re)
(neg.f64 (neg.f64 (atan2.f64 im re)))
(neg.f64 (log.f64 #s(literal 1/10 binary64)))
(log.f64 #s(literal 10 binary64))

eval1.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated
Compiler

Compiled 70 to 23 computations (67.1% saved)

prune1.0ms (0.1%)

Memory
3.2MiB live, 3.2MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New819
Fresh000
Picked011
Done000
Total8210
Accuracy
99.9%
Counts
10 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
98.7%
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Compiler

Compiled 13 to 13 computations (0% saved)

simplify3.0ms (0.2%)

Memory
4.8MiB live, 4.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(log.f64 #s(literal 1/10 binary64))
cost-diff0
(neg.f64 (log.f64 #s(literal 1/10 binary64)))
cost-diff0
(atan2.f64 im re)
cost-diff0
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0718
01118
11318
21518
01518
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
(atan2.f64 im re)
im
re
(neg.f64 (log.f64 #s(literal 1/10 binary64)))
(log.f64 #s(literal 1/10 binary64))
#s(literal 1/10 binary64)
Outputs
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
(atan2.f64 im re)
im
re
(neg.f64 (log.f64 #s(literal 1/10 binary64)))
(log.f64 #s(literal 1/10 binary64))
#s(literal 1/10 binary64)

localize68.0ms (4%)

Memory
-9.6MiB live, 35.1MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(atan2.f64 im re)
accuracy0.0
(neg.f64 (log.f64 #s(literal 1/10 binary64)))
accuracy0.828125
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
accuracy1.0
(log.f64 #s(literal 1/10 binary64))
Samples
21.0ms256×0valid
Compiler

Compiled 20 to 9 computations (55% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
const: 4.0ms (32.1% of total)
ival-atan2: 3.0ms (24.1% of total)
ival-log: 3.0ms (24.1% of total)
ival-div: 2.0ms (16% of total)
ival-neg: 1.0ms (8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series83.0ms (4.9%)

Memory
-8.6MiB live, 87.7MiB allocated
Counts
4 → 2
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
(atan2.f64 im re)
(neg.f64 (log.f64 #s(literal 1/10 binary64)))
(log.f64 #s(literal 1/10 binary64))
Outputs
(* -1 (/ (atan2 im re) (log 1/10)))
(atan2 im re)
Calls

6 calls:

TimeVariablePointExpression
33.0ms
re
@0
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
21.0ms
im
@0
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
7.0ms
im
@inf
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
7.0ms
im
@-inf
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
7.0ms
re
@-inf
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))

simplify3.0ms (0.2%)

Memory
5.3MiB live, 5.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11210
21810
32010
42110
02110
Stop Event
iter limit
saturated
Counts
2 → 2
Calls
Call 1
Inputs
(* -1 (/ (atan2 im re) (log 1/10)))
(atan2 im re)
Outputs
(* -1 (/ (atan2 im re) (log 1/10)))
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 #s(literal 1/10 binary64)))
(atan2 im re)
(atan2.f64 im re)

rewrite7.0ms (0.4%)

Memory
8.1MiB live, 8.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
01113
12013
22813
33313
03313
Stop Event
iter limit
saturated
iter limit
Counts
4 → 9
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
(atan2.f64 im re)
(neg.f64 (log.f64 #s(literal 1/10 binary64)))
(log.f64 #s(literal 1/10 binary64))
Outputs
(/.f64 (neg.f64 (atan2.f64 im re)) (log.f64 #s(literal 1/10 binary64)))
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
(neg.f64 (/.f64 (atan2.f64 im re) (log.f64 #s(literal 1/10 binary64))))
(atan2.f64 im re)
(neg.f64 (neg.f64 (atan2.f64 im re)))
(neg.f64 (log.f64 #s(literal 1/10 binary64)))
(log.f64 #s(literal 10 binary64))
(neg.f64 (log.f64 #s(literal 10 binary64)))
(log.f64 #s(literal 1/10 binary64))

eval1.0ms (0.1%)

Memory
1.9MiB live, 1.9MiB allocated
Compiler

Compiled 90 to 27 computations (70% saved)

prune2.0ms (0.1%)

Memory
3.3MiB live, 3.3MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New11011
Fresh000
Picked011
Done011
Total11213
Accuracy
99.9%
Counts
13 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
98.7%
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Compiler

Compiled 26 to 23 computations (11.5% saved)

regimes42.0ms (2.5%)

Memory
-33.3MiB live, 12.6MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
Outputs
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
Calls

4 calls:

36.0ms
im
2.0ms
re
1.0ms
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
1.0ms
(atan2.f64 im re)
Results
AccuracySegmentsBranch
99.7%1(atan2.f64 im re)
99.7%1(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
99.7%1re
99.7%1im
Compiler

Compiled 11 to 13 computations (-18.2% saved)

regimes4.0ms (0.2%)

Memory
9.3MiB live, 9.3MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Outputs
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Calls

4 calls:

1.0ms
im
1.0ms
re
1.0ms
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
1.0ms
(atan2.f64 im re)
Results
AccuracySegmentsBranch
98.7%1(atan2.f64 im re)
98.7%1(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
98.7%1re
98.7%1im
Compiler

Compiled 11 to 13 computations (-18.2% saved)

simplify10.0ms (0.6%)

Memory
16.1MiB live, 16.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11713
22313
32713
42813
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Outputs
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))

derivations7.0ms (0.4%)

Memory
9.0MiB live, 9.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
0911
11211
22311
33311
43411
03411
Stop Event
done
iter limit
saturated
iter limit
Compiler

Compiled 13 to 10 computations (23.1% saved)

preprocess40.0ms (2.4%)

Memory
-11.4MiB live, 34.3MiB allocated
Compiler

Compiled 38 to 32 computations (15.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...