math.log10 on complex, imaginary part

Time bar (total: 1.8s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze2.0ms (0.1%)

Memory
3.8MiB live, 3.8MiB allocated; 0ms collecting garbage
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)

sample1.2s (66.5%)

Memory
-73.6MiB live, 984.6MiB allocated; 895ms collecting garbage
Samples
641.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 368.0ms
ival-atan2: 185.0ms (50.2% of total)
ival-log: 102.0ms (27.7% of total)
ival-div: 65.0ms (17.6% of total)
ival-true: 5.0ms (1.4% of total)
exact: 5.0ms (1.4% of total)
ival-assert: 3.0ms (0.8% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

explain94.0ms (5.1%)

Memory
-13.5MiB live, 77.5MiB allocated; 15ms collecting garbage
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
32.0ms512×0valid
Compiler

Compiled 38 to 22 computations (42.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-log: 6.0ms (43.6% of total)
ival-atan2: 4.0ms (29.1% of total)
ival-div: 3.0ms (21.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)

preprocess12.0ms (0.7%)

Memory
16.0MiB live, 16.0MiB allocated; 0ms collecting garbage
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)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
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
3.1MiB live, 3.1MiB allocated; 0ms collecting garbage
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)

localize26.0ms (1.4%)

Memory
-22.9MiB live, 33.0MiB allocated; 15ms collecting garbage
Localize:

Found 3 expressions of interest:

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

Compiled 16 to 8 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-atan2: 10.0ms (69.2% of total)
ival-div: 2.0ms (13.8% of total)
ival-log: 2.0ms (13.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)

series93.0ms (5%)

Memory
28.0MiB live, 120.6MiB allocated; 9ms collecting garbage
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
43.0ms
re
@0
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
25.0ms
re
@-inf
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
6.0ms
im
@0
((/ (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
im
@inf
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))

simplify3.0ms (0.1%)

Memory
4.1MiB live, 4.1MiB allocated; 0ms collecting garbage
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)

rewrite36.0ms (1.9%)

Memory
-10.8MiB live, 33.7MiB allocated; 10ms collecting garbage
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
3.6MiB live, 3.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 70 to 23 computations (67.1% saved)

prune1.0ms (0.1%)

Memory
4.5MiB live, 4.5MiB allocated; 0ms collecting garbage
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)

simplify28.0ms (1.5%)

Memory
-42.2MiB live, 9.0MiB allocated; 17ms collecting garbage
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)

localize36.0ms (1.9%)

Memory
24.0MiB live, 66.0MiB allocated; 9ms collecting garbage
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.803066259768442
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
accuracy1.0
(log.f64 #s(literal 1/10 binary64))
Samples
29.0ms256×0valid
Compiler

Compiled 20 to 9 computations (55% saved)

Precisions
Click to see histograms. Total time spent on operations: 21.0ms
const: 14.0ms (65.8% of total)
ival-log: 3.0ms (14.1% of total)
ival-atan2: 2.0ms (9.4% of total)
ival-div: 2.0ms (9.4% of total)
ival-neg: 1.0ms (4.7% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series152.0ms (8.3%)

Memory
1.1MiB live, 147.1MiB allocated; 24ms collecting garbage
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
59.0ms
re
@0
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
38.0ms
im
@inf
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
34.0ms
re
@-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
7.9MiB live, 7.9MiB allocated; 0ms collecting garbage
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)

rewrite35.0ms (1.9%)

Memory
-22.6MiB live, 20.2MiB allocated; 6ms collecting garbage
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
6.2MiB live, 6.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 90 to 27 computations (70% saved)

prune2.0ms (0.1%)

Memory
8.2MiB live, 8.2MiB allocated; 0ms collecting garbage
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)

regimes5.0ms (0.3%)

Memory
18.9MiB live, 18.9MiB allocated; 0ms collecting garbage
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:

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
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)

regimes38.0ms (2.1%)

Memory
-31.3MiB live, 14.5MiB allocated; 2ms collecting garbage
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:

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

Compiled 11 to 13 computations (-18.2% saved)

simplify10.0ms (0.5%)

Memory
28.5MiB live, 28.5MiB allocated; 0ms collecting garbage
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
14.2MiB live, 14.2MiB allocated; 0ms collecting garbage
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)

preprocess29.0ms (1.6%)

Memory
-5.9MiB live, 41.2MiB allocated; 2ms collecting garbage
Compiler

Compiled 38 to 32 computations (15.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...