Exp of sum of logs

Time bar (total: 1.3s)

analyze1.0ms (0%)

Memory
1.1MiB live, 1.1MiB 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
0%0%50%0.1%0%50%0%2
100%25%0%0.1%0%74.9%0%3
Compiler

Compiled 8 to 8 computations (0% saved)

sample1.0s (80.2%)

Memory
2.0MiB live, 1 273.7MiB allocated
Samples
797.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 514.0ms
ival-log: 289.0ms (56.3% of total)
ival-exp: 130.0ms (25.3% of total)
ival-add: 85.0ms (16.5% of total)
ival-true: 7.0ms (1.4% of total)
ival-assert: 3.0ms (0.6% of total)
Bogosity

preprocess15.0ms (1.2%)

Memory
24.4MiB live, 24.4MiB allocated
Algorithm
egg-herbie
Rules
28×distribute-lft-neg-in
18×neg-sub0
16×neg-mul-1
14×+-commutative
12×distribute-rgt-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01838
13820
27120
311220
416420
517020
066
1103
2133
0133
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(exp (+ (log a) (log b)))
Outputs
(exp (+ (log a) (log b)))
(*.f64 a b)
Call 2
Inputs
(exp (+ (log a) (log b)))
(exp (+ (log (neg a)) (log b)))
(exp (+ (log a) (log (neg b))))
(neg (exp (+ (log (neg a)) (log b))))
(neg (exp (+ (log a) (log (neg b)))))
(exp (+ (log b) (log a)))
Outputs
(exp (+ (log a) (log b)))
(* a b)
(exp (+ (log (neg a)) (log b)))
(* a (neg b))
(exp (+ (log a) (log (neg b))))
(* a (neg b))
(neg (exp (+ (log (neg a)) (log b))))
(* a b)
(neg (exp (+ (log a) (log (neg b)))))
(* a b)
(exp (+ (log b) (log a)))
(* a b)
Symmetry

(negabs a)

(negabs b)

(sort a b)

explain107.0ms (8.3%)

Memory
-40.9MiB live, 161.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
16120(8.4627883890485605e-224 1.5317945610124045e+298)14(8.016743000822829e-275 1.4529155868740446e+293)(exp.f64 (+.f64 (log.f64 a) (log.f64 b)))
20-0-(+.f64 (log.f64 a) (log.f64 b))
00-0-a
00-0-b
00-0-(log.f64 a)
00-0-(log.f64 b)
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
exp.f64(exp.f64 (+.f64 (log.f64 a) (log.f64 b)))sensitivity16726
+.f64(+.f64 (log.f64 a) (log.f64 b))cancellation23
Confusion
Predicted +Predicted -
+15431
-1556
Precision
0.9112426035502958
Recall
0.8324324324324325
Confusion?
Predicted +Predicted MaybePredicted -
+154274
-15254
Precision?
0.9141414141414141
Recall?
0.9783783783783784
Freqs
test
numberfreq
087
1169
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
51.0ms512×0valid
Compiler

Compiled 54 to 28 computations (48.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-log: 14.0ms (64.6% of total)
ival-exp: 5.0ms (23.1% of total)
ival-add: 2.0ms (9.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Compiler

Compiled 5 to 3 computations (40% saved)

prune1.0ms (0%)

Memory
1.7MiB live, 1.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 a b)
Compiler

Compiled 5 to 3 computations (40% saved)

simplify3.0ms (0.2%)

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

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 a b)
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035
145
045
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(* a b)
a
b
Outputs
(* a b)
(*.f64 a b)
a
b

localize10.0ms (0.8%)

Memory
19.0MiB live, 19.0MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 a b)
Samples
7.0ms256×0valid
Compiler

Compiled 7 to 5 computations (28.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-mult: 2.0ms (99.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.2%)

Memory
4.5MiB live, 4.5MiB allocated
Counts
1 → 24
Calls
Call 1
Inputs
#<alt (* a b)>
Outputs
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
#<alt (* a b)>
Calls

6 calls:

TimeVariablePointExpression
1.0ms
b
@-inf
(* a b)
0.0ms
a
@inf
(* a b)
0.0ms
a
@-inf
(* a b)
0.0ms
a
@0
(* a b)
0.0ms
b
@inf
(* a b)

rewrite17.0ms (1.3%)

Memory
-8.4MiB live, 30.5MiB allocated
Algorithm
batch-egg-rewrite
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
143
043
Stop Event
iter limit
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(* a b)
Outputs
(*.f64 a b)
(*.f64 b a)

simplify4.0ms (0.3%)

Memory
7.7MiB live, 7.7MiB allocated
Algorithm
egg-herbie
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0372
1472
0472
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
(* a b)
Outputs
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)
(* a b)
(*.f64 a b)

eval2.0ms (0.2%)

Memory
3.6MiB live, 3.6MiB allocated
Compiler

Compiled 80 to 4 computations (95% saved)

prune1.0ms (0.1%)

Memory
2.8MiB live, 2.8MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New26026
Fresh000
Picked011
Done000
Total26127
Accuracy
100.0%
Counts
27 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 a b)
Compiler

Compiled 16 to 10 computations (37.5% saved)

regimes11.0ms (0.9%)

Memory
-21.0MiB live, 17.9MiB allocated
Accuracy

Total -5.2b remaining (-∞%)

Threshold costs -5.2b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 a b)
(exp.f64 (+.f64 (log.f64 a) (log.f64 b)))
Outputs
(*.f64 a b)
Calls

6 calls:

3.0ms
(log.f64 b)
2.0ms
(log.f64 a)
1.0ms
(+.f64 (log.f64 a) (log.f64 b))
1.0ms
(exp.f64 (+.f64 (log.f64 a) (log.f64 b)))
1.0ms
b
Results
AccuracySegmentsBranch
100.0%1a
100.0%1b
100.0%1(exp.f64 (+.f64 (log.f64 a) (log.f64 b)))
100.0%1(+.f64 (log.f64 a) (log.f64 b))
100.0%1(log.f64 a)
100.0%1(log.f64 b)
Compiler

Compiled 29 to 21 computations (27.6% saved)

simplify6.0ms (0.5%)

Memory
8.5MiB live, 8.5MiB allocated
Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
143
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 a b)
Outputs
(*.f64 a b)

soundness3.0ms (0.3%)

Memory
3.8MiB live, 3.8MiB allocated
Rules
exp-lowering-exp.f32
exp-lowering-exp.f64
+-lowering-+.f64
log-lowering-log.f64
*-lowering-*.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
066
1103
2133
0133
Stop Event
done
iter limit
saturated
Compiler

Compiled 10 to 6 computations (40% saved)

preprocess70.0ms (5.4%)

Memory
-32.9MiB live, 57.1MiB allocated
Remove

(sort a b)

(negabs b)

(negabs a)

Compiler

Compiled 96 to 60 computations (37.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...