pow(4,x)

Time bar (total: 940.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0.1%)

Memory
0.1MiB live, 0.1MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%0%100%0%0%0%0
100%0%0%100%0%0%0%1
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample454.0ms (48.3%)

Memory
2.9MiB live, 160.7MiB allocated
Samples
282.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 146.0ms
ival-pow: 81.0ms (55.4% of total)
ival-<=: 42.0ms (28.7% of total)
ival-and: 11.0ms (7.5% of total)
exact: 10.0ms (6.8% of total)
ival-assert: 3.0ms (2.1% of total)
Bogosity

explain31.0ms (3.3%)

Memory
6.5MiB live, 14.3MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-#s(literal 4 binary64)
00-0-(pow.f64 #s(literal 4 binary64) x)
00-0-x
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
15.0ms512×0valid
Compiler

Compiled 18 to 13 computations (27.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-pow: 5.0ms (90.9% of total)
exact: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess14.0ms (1.5%)

Memory
-2.1MiB live, 5.7MiB allocated
Algorithm
egg-herbie
Rules
12×sub-neg
+-commutative
*-commutative
associate--r+
--rgt-identity
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059
1119
2159
3189
4229
5299
6369
033
043
043
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(pow.f64 #s(literal 4 binary64) x)
Outputs
(pow.f64 #s(literal 4 binary64) x)
Compiler

Compiled 4 to 3 computations (25% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 #s(literal 4 binary64) x)
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.0ms (0.4%)

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

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(pow.f64 #s(literal 4 binary64) x)
Rules
lift-pow.f64
lower-pow.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035
045
045
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(pow.f64 #s(literal 4 binary64) x)
#s(literal 4 binary64)
x
Outputs
(pow.f64 #s(literal 4 binary64) x)
#s(literal 4 binary64)
x

localize14.0ms (1.5%)

Memory
-5.2MiB live, 4.4MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0
(pow.f64 #s(literal 4 binary64) x)
Samples
9.0ms256×0valid
Compiler

Compiled 7 to 5 computations (28.6% saved)

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

series1.0ms (0.1%)

Memory
0.3MiB live, 0.3MiB allocated
Counts
1 → 12
Calls
Call 1
Inputs
#<alt (pow.f64 #s(literal 4 binary64) x)>
Outputs
#<alt 1>
#<alt (+ 1 (* x (log 4)))>
#<alt (+ 1 (* x (+ (log 4) (* 1/2 (* x (pow (log 4) 2))))))>
#<alt (+ 1 (* x (+ (log 4) (* x (+ (* 1/6 (* x (pow (log 4) 3))) (* 1/2 (pow (log 4) 2)))))))>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(pow 4 x)
0.0ms
x
@-inf
(pow 4 x)
0.0ms
x
@inf
(pow 4 x)

simplify65.0ms (6.9%)

Memory
1.5MiB live, 16.7MiB allocated
Algorithm
egg-herbie
Rules
1 908×lower-fma.f64
1 908×lower-fma.f32
1 014×lower-*.f64
1 014×lower-*.f32
928×associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02670
16670
216468
333668
470168
5110168
6115268
7116368
8116868
9116968
10116968
11140768
12141668
13142968
14142968
0142962
Stop Event
iter limit
saturated
Counts
12 → 12
Calls
Call 1
Inputs
1
(+ 1 (* x (log 4)))
(+ 1 (* x (+ (log 4) (* 1/2 (* x (pow (log 4) 2))))))
(+ 1 (* x (+ (log 4) (* x (+ (* 1/6 (* x (pow (log 4) 3))) (* 1/2 (pow (log 4) 2)))))))
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
Outputs
1
#s(literal 1 binary64)
(+ 1 (* x (log 4)))
(fma.f64 x (log.f64 #s(literal 4 binary64)) #s(literal 1 binary64))
(+ 1 (* x (+ (log 4) (* 1/2 (* x (pow (log 4) 2))))))
(fma.f64 (log.f64 #s(literal 4 binary64)) (fma.f64 x (*.f64 (*.f64 x (log.f64 #s(literal 4 binary64))) #s(literal 1/2 binary64)) x) #s(literal 1 binary64))
(+ 1 (* x (+ (log 4) (* x (+ (* 1/6 (* x (pow (log 4) 3))) (* 1/2 (pow (log 4) 2)))))))
(fma.f64 (log.f64 #s(literal 4 binary64)) (fma.f64 (fma.f64 (*.f64 x (log.f64 #s(literal 4 binary64))) #s(literal 1/6 binary64) #s(literal 1/2 binary64)) (*.f64 x (*.f64 x (log.f64 #s(literal 4 binary64)))) x) #s(literal 1 binary64))
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)

rewrite100.0ms (10.6%)

Memory
1.0MiB live, 17.4MiB allocated
Rules
426×lower-fma.f64
426×lower-fma.f32
292×lower-/.f64
292×lower-/.f32
272×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
043
1113
2373
31953
020603
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
1 → 24
Calls
Call 1
Inputs
(pow.f64 #s(literal 4 binary64) x)
Outputs
(exp.f64 (*.f64 x (log.f64 #s(literal 4 binary64))))
(exp.f64 (*.f64 (log.f64 (exp.f64 x)) (log.f64 #s(literal 4 binary64))))
(sqrt.f64 (pow.f64 #s(literal 4 binary64) x))
(/.f64 #s(literal 1 binary64) (pow.f64 #s(literal 16 binary64) (neg.f64 x)))
(/.f64 #s(literal 1 binary64) (pow.f64 #s(literal 4 binary64) (neg.f64 x)))
(pow.f64 #s(literal 4 binary64) x)
(pow.f64 #s(literal 16 binary64) x)
(pow.f64 (exp.f64 x) (log.f64 #s(literal 4 binary64)))
(pow.f64 (exp.f64 x) (*.f64 (log.f64 #s(literal 4 binary64)) #s(literal 1/2 binary64)))
(pow.f64 (pow.f64 #s(literal 4 binary64) x) #s(literal 4 binary64))
(pow.f64 (pow.f64 #s(literal 4 binary64) x) #s(literal 2 binary64))
(pow.f64 (pow.f64 #s(literal 4 binary64) x) #s(literal 1 binary64))
(pow.f64 (pow.f64 #s(literal 4 binary64) x) #s(literal 1/2 binary64))
(pow.f64 (pow.f64 #s(literal 4 binary64) x) #s(literal 3 binary64))
(pow.f64 (pow.f64 #s(literal 4 binary64) x) #s(literal 1/4 binary64))
(pow.f64 (pow.f64 #s(literal 4 binary64) #s(literal 1/2 binary64)) x)
(pow.f64 (pow.f64 #s(literal 16 binary64) (neg.f64 x)) #s(literal -1/2 binary64))
(pow.f64 (pow.f64 #s(literal 16 binary64) #s(literal 1/2 binary64)) x)
(pow.f64 (pow.f64 #s(literal 4 binary64) (neg.f64 x)) #s(literal -1/2 binary64))
(pow.f64 #s(literal 64 binary64) x)
(pow.f64 #s(literal 256 binary64) x)
(pow.f64 (exp.f64 (log.f64 #s(literal 16 binary64))) x)
(*.f64 (pow.f64 #s(literal 4 binary64) x) (pow.f64 #s(literal 4 binary64) x))
(*.f64 (pow.f64 (exp.f64 x) (/.f64 (log.f64 #s(literal 4 binary64)) #s(literal 2 binary64))) (pow.f64 (exp.f64 x) (/.f64 (log.f64 #s(literal 4 binary64)) #s(literal 2 binary64))))

eval4.0ms (0.4%)

Memory
-5.2MiB live, 2.6MiB allocated
Compiler

Compiled 206 to 59 computations (71.4% saved)

prune3.0ms (0.3%)

Memory
2.3MiB live, 2.3MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New35136
Fresh000
Picked011
Done000
Total35237
Accuracy
100.0%
Counts
37 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 #s(literal 4 binary64) x)
3.1%
#s(approx (pow 4 x) #s(literal 1 binary64))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify5.0ms (0.5%)

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

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (pow 4 x) #s(literal 1 binary64))
Rules
lower-pow.f64
1-exp
lower-pow.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
056
176
076
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
#s(approx (pow 4 x) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (pow 4 x) #s(literal 1 binary64))
#s(literal 1 binary64)

localize11.0ms (1.2%)

Memory
4.4MiB live, 4.4MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy61.99859042974503
#s(approx (pow 4 x) #s(literal 1 binary64))
Samples
7.0ms256×0valid
Compiler

Compiled 6 to 6 computations (0% saved)

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

series0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Counts
1 → 12
Calls
Call 1
Inputs
#<alt #s(approx (pow 4 x) #s(literal 1 binary64))>
Outputs
#<alt 1>
#<alt (+ 1 (* x (log 4)))>
#<alt (+ 1 (* x (+ (log 4) (* 1/2 (* x (pow (log 4) 2))))))>
#<alt (+ 1 (* x (+ (log 4) (* x (+ (* 1/6 (* x (pow (log 4) 3))) (* 1/2 (pow (log 4) 2)))))))>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
#<alt (pow 4 x)>
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(pow 4 x)
0.0ms
x
@inf
(pow 4 x)
0.0ms
x
@-inf
(pow 4 x)

simplify63.0ms (6.7%)

Memory
-7.2MiB live, 16.8MiB allocated
Algorithm
egg-herbie
Rules
1 908×lower-fma.f64
1 908×lower-fma.f32
1 014×lower-*.f64
1 014×lower-*.f32
928×associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02670
16670
216468
333668
470168
5110168
6115268
7116368
8116868
9116968
10116968
11140768
12141668
13142968
14142968
0142962
Stop Event
iter limit
saturated
Counts
12 → 12
Calls
Call 1
Inputs
1
(+ 1 (* x (log 4)))
(+ 1 (* x (+ (log 4) (* 1/2 (* x (pow (log 4) 2))))))
(+ 1 (* x (+ (log 4) (* x (+ (* 1/6 (* x (pow (log 4) 3))) (* 1/2 (pow (log 4) 2)))))))
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
(pow 4 x)
Outputs
1
#s(literal 1 binary64)
(+ 1 (* x (log 4)))
(fma.f64 x (log.f64 #s(literal 4 binary64)) #s(literal 1 binary64))
(+ 1 (* x (+ (log 4) (* 1/2 (* x (pow (log 4) 2))))))
(fma.f64 (log.f64 #s(literal 4 binary64)) (fma.f64 x (*.f64 (*.f64 x (log.f64 #s(literal 4 binary64))) #s(literal 1/2 binary64)) x) #s(literal 1 binary64))
(+ 1 (* x (+ (log 4) (* x (+ (* 1/6 (* x (pow (log 4) 3))) (* 1/2 (pow (log 4) 2)))))))
(fma.f64 (log.f64 #s(literal 4 binary64)) (fma.f64 (fma.f64 (*.f64 x (log.f64 #s(literal 4 binary64))) #s(literal 1/6 binary64) #s(literal 1/2 binary64)) (*.f64 x (*.f64 x (log.f64 #s(literal 4 binary64)))) x) #s(literal 1 binary64))
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)
(pow 4 x)
(pow.f64 #s(literal 4 binary64) x)

rewrite84.0ms (8.9%)

Memory
2.7MiB live, 10.5MiB allocated
Rules
426×lower-fma.f64
426×lower-fma.f32
292×lower-/.f64
292×lower-/.f32
272×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055
055
1145
2395
31955
020595
Stop Event
iter limit
iter limit
iter limit
unsound
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (pow 4 x) #s(literal 1 binary64))
Outputs
#s(approx (pow 4 x) #s(literal 1 binary64))

eval1.0ms (0.1%)

Memory
1.1MiB live, 1.1MiB allocated
Compiler

Compiled 77 to 16 computations (79.2% saved)

prune1.0ms (0.1%)

Memory
1.3MiB live, 1.3MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New13013
Fresh000
Picked011
Done011
Total13215
Accuracy
100.0%
Counts
15 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(pow.f64 #s(literal 4 binary64) x)
3.1%
#s(approx (pow 4 x) #s(literal 1 binary64))
Compiler

Compiled 13 to 9 computations (30.8% saved)

regimes2.0ms (0.2%)

Memory
1.9MiB live, 1.9MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (pow 4 x) #s(literal 1 binary64))
(pow.f64 #s(literal 4 binary64) x)
Outputs
(pow.f64 #s(literal 4 binary64) x)
Calls

2 calls:

1.0ms
(pow.f64 #s(literal 4 binary64) x)
1.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(pow.f64 #s(literal 4 binary64) x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

regimes2.0ms (0.2%)

Memory
-6.0MiB live, 1.9MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (pow 4 x) #s(literal 1 binary64))
Outputs
#s(approx (pow 4 x) #s(literal 1 binary64))
Calls

2 calls:

1.0ms
(pow.f64 #s(literal 4 binary64) x)
1.0ms
x
Results
AccuracySegmentsBranch
3.1%1x
3.1%1(pow.f64 #s(literal 4 binary64) x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify6.0ms (0.7%)

Memory
3.9MiB live, 3.9MiB allocated
Algorithm
egg-herbie
Rules
1-exp_binary64
1-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
198
Stop Event
saturated
Calls
Call 1
Inputs
(pow.f64 #s(literal 4 binary64) x)
#s(approx (pow 4 x) #s(literal 1 binary64))
Outputs
(pow.f64 #s(literal 4 binary64) x)
#s(approx (pow 4 x) #s(literal 1 binary64))

soundness51.0ms (5.5%)

Memory
1.3MiB live, 1.3MiB allocated
Rules
1 908×lower-fma.f64
1 908×lower-fma.f32
1 014×lower-*.f64
1 014×lower-*.f32
928×associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02670
16670
216468
333668
470168
5110168
6115268
7116368
8116868
9116968
10116968
11140768
12141668
13142968
14142968
0142962
Stop Event
done
iter limit
saturated
Compiler

Compiled 8 to 6 computations (25% saved)

preprocess24.0ms (2.5%)

Memory
-3.4MiB live, 21.6MiB allocated
Compiler

Compiled 20 to 14 computations (30% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...