math.log10 on complex, imaginary part

Time bar (total: 1.9s)

start0.0ms (0%)

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

analyze309.0ms (16.1%)

Memory
-147.7MiB live, 9.4MiB allocated; 704ms 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)

sample948.0ms (49.4%)

Memory
39.9MiB live, 1 180.8MiB allocated; 195ms collecting garbage
Samples
648.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 374.0ms
ival-log: 138.0ms (36.9% of total)
ival-div: 120.0ms (32.1% of total)
ival-atan2: 98.0ms (26.2% of total)
ival-true: 6.0ms (1.6% of total)
exact: 6.0ms (1.6% of total)
ival-assert: 4.0ms (1.1% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

explain100.0ms (5.2%)

Memory
-3.0MiB live, 99.7MiB allocated; 22ms 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
51.0ms512×0valid
Compiler

Compiled 38 to 22 computations (42.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 38.0ms
ival-log: 29.0ms (77.2% of total)
ival-atan2: 4.0ms (10.7% of total)
ival-div: 3.0ms (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)

preprocess52.0ms (2.7%)

Memory
-24.9MiB live, 20.1MiB allocated; 8ms collecting garbage
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)

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.7MiB live, 0.7MiB 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.4MiB live, 3.4MiB allocated; 0ms collecting garbage
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)

localize18.0ms (1%)

Memory
21.1MiB live, 21.1MiB allocated; 0ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(atan2.f64 im re)
accuracy0.0
(log.f64 #s(literal 10 binary64))
accuracy0.853847509768442
(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
Samples
13.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.7% of total)
ival-div: 2.0ms (29.7% of total)
ival-log: 2.0ms (29.7% 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)

series108.0ms (5.6%)

Memory
-2.1MiB live, 102.7MiB allocated; 31ms 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
58.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))
7.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
im
@0
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))

simplify3.0ms (0.1%)

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

rewrite29.0ms (1.5%)

Memory
-12.5MiB live, 31.2MiB allocated; 7ms 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
2.1MiB live, 2.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 70 to 23 computations (67.1% saved)

prune1.0ms (0.1%)

Memory
3.9MiB live, 3.9MiB 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.8%
(/.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
8.1MiB live, 8.1MiB allocated; 0ms collecting garbage
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)

localize61.0ms (3.2%)

Memory
6.4MiB live, 51.4MiB allocated; 5ms 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.853847509768442
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
accuracy1.0
(log.f64 #s(literal 1/10 binary64))
Samples
55.0ms256×0valid
Compiler

Compiled 20 to 9 computations (55% saved)

Precisions
Click to see histograms. Total time spent on operations: 47.0ms
ival-atan2: 37.0ms (79.5% of total)
ival-log: 3.0ms (6.4% of total)
const: 3.0ms (6.4% of total)
ival-div: 2.0ms (4.3% of total)
ival-neg: 1.0ms (2.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series128.0ms (6.7%)

Memory
-29.9MiB live, 122.6MiB allocated; 12ms 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
34.0ms
im
@inf
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
26.0ms
re
@-inf
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
17.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))
6.0ms
im
@0
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))

simplify3.0ms (0.2%)

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

rewrite30.0ms (1.6%)

Memory
-28.0MiB live, 18.3MiB allocated; 4ms 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))

eval2.0ms (0.1%)

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

Compiled 90 to 27 computations (70% saved)

prune2.0ms (0.1%)

Memory
10.0MiB live, 10.0MiB 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.8%
(/.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
21.5MiB live, 21.5MiB 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.8%1(atan2.f64 im re)
99.8%1(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
99.8%1re
99.8%1im
Compiler

Compiled 11 to 13 computations (-18.2% saved)

regimes30.0ms (1.6%)

Memory
-32.2MiB live, 15.5MiB allocated; 1ms 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:

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

simplify9.0ms (0.5%)

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

derivations34.0ms (1.7%)

Memory
-34.1MiB live, 16.9MiB allocated; 4ms 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.1%)

Memory
6.8MiB live, 50.7MiB allocated; 5ms 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...