math.log10 on complex, imaginary part

Time bar (total: 1.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze2.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB 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)

sample716.0ms (58.6%)

Memory
-8.0MiB live, 850.0MiB allocated
Samples
466.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 288.0ms
ival-log: 139.0ms (48.3% of total)
ival-atan2: 79.0ms (27.5% of total)
ival-div: 55.0ms (19.1% of total)
ival-true: 6.0ms (2.1% of total)
exact: 6.0ms (2.1% of total)
ival-assert: 3.0ms (1% of total)
Bogosity

explain65.0ms (5.3%)

Memory
33.1MiB live, 109.7MiB 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
28.0ms512×0valid
Compiler

Compiled 38 to 22 computations (42.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-log: 6.0ms (39.8% of total)
ival-atan2: 4.0ms (26.5% of total)
ival-div: 3.0ms (19.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess32.0ms (2.6%)

Memory
-42.6MiB live, 23.8MiB 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)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB 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
5.7MiB live, 5.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)

localize53.0ms (4.3%)

Memory
0.9MiB live, 39.8MiB allocated
Localize:

Found 3 expressions of interest:

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

Compiled 16 to 8 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 42.0ms
ival-div: 35.0ms (83.9% of total)
ival-atan2: 3.0ms (7.2% of total)
ival-log: 3.0ms (7.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series104.0ms (8.5%)

Memory
-16.8MiB live, 101.8MiB 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
40.0ms
re
@0
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
37.0ms
im
@-inf
((/ (atan2 im re) (log 10)) (atan2 im re) (log 10))
9.0ms
re
@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))

simplify3.0ms (0.2%)

Memory
3.5MiB live, 3.5MiB 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 (1.1%)

Memory
23.7MiB live, 23.7MiB 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
2.4MiB live, 2.4MiB allocated
Compiler

Compiled 70 to 23 computations (67.1% saved)

prune1.0ms (0.1%)

Memory
2.8MiB live, 2.8MiB 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)

simplify8.0ms (0.7%)

Memory
-35.0MiB live, 4.2MiB 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)

localize26.0ms (2.1%)

Memory
23.8MiB live, 23.8MiB 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.8466987793053261
(/.f64 (atan2.f64 im re) (neg.f64 (log.f64 #s(literal 1/10 binary64))))
accuracy1.0
(log.f64 #s(literal 1/10 binary64))
Samples
20.0ms256×0valid
Compiler

Compiled 20 to 9 computations (55% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-log: 3.0ms (24.5% of total)
const: 3.0ms (24.5% of total)
ival-atan2: 2.0ms (16.3% of total)
ival-div: 2.0ms (16.3% of total)
ival-neg: 1.0ms (8.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series69.0ms (5.7%)

Memory
-15.0MiB live, 59.4MiB 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
20.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))
13.0ms
im
@-inf
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
6.0ms
im
@inf
((/ (atan2 im re) (neg (log 1/10))) (atan2 im re) (neg (log 1/10)) (log 1/10))
6.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.0MiB live, 5.0MiB 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.5%)

Memory
9.1MiB live, 9.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.6MiB live, 1.6MiB allocated
Compiler

Compiled 90 to 27 computations (70% saved)

prune2.0ms (0.2%)

Memory
2.6MiB live, 2.6MiB 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)

regimes5.0ms (0.4%)

Memory
10.1MiB live, 10.1MiB 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:

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
99.7%1re
99.7%1im
99.7%1(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
99.7%1(atan2.f64 im re)
Compiler

Compiled 11 to 13 computations (-18.2% saved)

regimes20.0ms (1.7%)

Memory
-36.1MiB live, 9.2MiB 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:

17.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%1im
98.7%1(/.f64 (atan2.f64 im re) (log.f64 #s(literal 10 binary64)))
98.7%1(atan2.f64 im re)
Compiler

Compiled 11 to 13 computations (-18.2% saved)

simplify10.0ms (0.8%)

Memory
8.7MiB live, 8.7MiB 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)))

soundness7.0ms (0.6%)

Memory
5.8MiB live, 5.8MiB 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 26 to 20 computations (23.1% saved)

preprocess68.0ms (5.6%)

Memory
-7.1MiB live, 30.6MiB allocated
Compiler

Compiled 38 to 32 computations (15.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...