math.log10 on complex, imaginary part

Time bar (total: 1.7s)

start0.0ms (0%)

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

analyze2.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB 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.1s (62.7%)

Memory
26.6MiB live, 960.2MiB allocated; 232ms collecting garbage
Samples
756.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 458.0ms
ival-atan2: 181.0ms (39.5% of total)
ival-log: 166.0ms (36.2% of total)
ival-div: 93.0ms (20.3% of total)
ival-true: 7.0ms (1.5% of total)
exact: 6.0ms (1.3% of total)
ival-assert: 3.0ms (0.7% of total)
adjust: 2.0ms (0.4% of total)
Bogosity

explain98.0ms (5.7%)

Memory
8.7MiB live, 102.1MiB allocated; 9ms 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
45.0ms512×0valid
Compiler

Compiled 38 to 22 computations (42.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.0ms
ival-log: 23.0ms (71.8% of total)
ival-atan2: 4.0ms (12.5% of total)
ival-div: 3.0ms (9.4% 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
21.0MiB live, 21.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.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB 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
4.1MiB live, 4.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)

localize38.0ms (2.2%)

Memory
-23.4MiB live, 21.2MiB allocated; 12ms collecting garbage
Localize:

Found 3 expressions of interest:

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

Compiled 16 to 8 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 3.0ms (38.4% of total)
ival-log: 3.0ms (38.4% of total)
ival-atan2: 2.0ms (25.6% 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)

series162.0ms (9.4%)

Memory
-5.3MiB live, 80.8MiB allocated; 95ms 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
112.0ms
re
@-inf
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
24.0ms
re
@0
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
7.0ms
im
@inf
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
7.0ms
im
@-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))

simplify47.0ms (2.7%)

Memory
-43.4MiB live, 5.4MiB allocated; 14ms 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)

rewrite14.0ms (0.8%)

Memory
18.0MiB live, 18.0MiB allocated; 0ms 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
1.5MiB live, 1.5MiB allocated; 0ms collecting garbage
Compiler

Compiled 70 to 23 computations (67.1% saved)

prune1.0ms (0.1%)

Memory
2.0MiB live, 2.0MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New819
Fresh000
Picked011
Done000
Total8210
Accuracy
100.0%
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
3.5MiB live, 3.5MiB allocated; 0ms 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)

localize37.0ms (2.2%)

Memory
-11.0MiB live, 32.8MiB allocated; 11ms 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.80859375
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
accuracy1.0
(log.f64 #s(literal 1/10 binary64))
Samples
31.0ms256×0valid
Compiler

Compiled 20 to 9 computations (55% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-log: 13.0ms (59% of total)
const: 4.0ms (18.2% of total)
ival-atan2: 2.0ms (9.1% of total)
ival-div: 2.0ms (9.1% of total)
ival-neg: 1.0ms (4.5% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series99.0ms (5.8%)

Memory
15.2MiB live, 118.3MiB allocated; 21ms 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
37.0ms
im
@0
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
35.0ms
re
@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
2.8MiB live, 2.8MiB 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)

rewrite7.0ms (0.4%)

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

eval18.0ms (1.1%)

Memory
-43.9MiB live, 3.3MiB allocated; 1ms collecting garbage
Compiler

Compiled 90 to 27 computations (70% saved)

prune2.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New11011
Fresh000
Picked011
Done011
Total11213
Accuracy
100.0%
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
11.8MiB live, 11.8MiB 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)

regimes4.0ms (0.3%)

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

1.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%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)

simplify33.0ms (1.9%)

Memory
-16.8MiB live, 27.8MiB allocated; 5ms 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
19.7MiB live, 19.7MiB 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)

preprocess40.0ms (2.3%)

Memory
18.1MiB live, 60.2MiB allocated; 6ms 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...