ENA, Section 1.4, Exercise 4b, n=2

Time bar (total: 4.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%25.7%74.3%0%0%0%0
100%25.7%0%74.3%0%0%0%1
Compiler

Compiled 25 to 18 computations (28% saved)

sample1.9s (46.3%)

Memory
38.0MiB live, 2 068.9MiB allocated; 560ms collecting garbage
Samples
650.0ms2 593×1valid
604.0ms5 087×0valid
229.0ms576×2valid
Precisions
Click to see histograms. Total time spent on operations: 1.1s
ival-pow2: 550.0ms (50.7% of total)
ival-add: 160.0ms (14.8% of total)
adjust: 130.0ms (12% of total)
ival-<=: 109.0ms (10.1% of total)
ival-sub: 94.0ms (8.7% of total)
ival-and: 22.0ms (2% of total)
exact: 16.0ms (1.5% of total)
ival-assert: 3.0ms (0.3% of total)
Bogosity

explain124.0ms (3%)

Memory
-7.8MiB live, 186.3MiB allocated; 32ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
701(-7.203167070245203e-55 2.1045649201803313e-269)0-(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
00-0-eps
00-0-(pow.f64 x #s(literal 2 binary64))
00-0-#s(literal 2 binary64)
00-0-(pow.f64 (+.f64 x eps) #s(literal 2 binary64))
00-0-(+.f64 x eps)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))cancellation710
Confusion
Predicted +Predicted -
+700
-1185
Precision
0.9859154929577465
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+7000
-10185
Precision?
0.9859154929577465
Recall?
1.0
Freqs
test
numberfreq
0185
171
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
27.0ms158×1valid
19.0ms316×0valid
7.0ms38×2valid
Compiler

Compiled 59 to 25 computations (57.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 36.0ms
ival-pow2: 21.0ms (58.2% of total)
adjust: 6.0ms (16.6% of total)
ival-add: 4.0ms (11.1% of total)
ival-sub: 3.0ms (8.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess184.0ms (4.5%)

Memory
25.5MiB live, 223.3MiB allocated; 57ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01955
13051
211051
348649
4152137
5431237
079
0119
1169
2449
31579
45707
518127
085886
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Outputs
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.9MiB live, 1.9MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.2%
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify137.0ms (3.3%)

Memory
-4.0MiB live, 189.5MiB allocated; 14ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(pow.f64 x #s(literal 2 binary64))
cost-diff0
(+.f64 x eps)
cost-diff0
(pow.f64 (+.f64 x eps) #s(literal 2 binary64))
cost-diff3
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0723
01123
11623
24423
315723
457021
5181221
0858820
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
(pow.f64 (+.f64 x eps) #s(literal 2 binary64))
(+.f64 x eps)
x
eps
#s(literal 2 binary64)
(pow.f64 x #s(literal 2 binary64))
Outputs
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(pow.f64 (+.f64 x eps) #s(literal 2 binary64))
(pow.f64 (+.f64 eps x) #s(literal 2 binary64))
(+.f64 x eps)
(+.f64 eps x)
x
eps
#s(literal 2 binary64)
(pow.f64 x #s(literal 2 binary64))
(*.f64 x x)

localize32.0ms (0.8%)

Memory
6.3MiB live, 51.8MiB allocated; 4ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(pow.f64 x #s(literal 2 binary64))
accuracy0.0
(+.f64 x eps)
accuracy0.03125
(pow.f64 (+.f64 x eps) #s(literal 2 binary64))
accuracy15.844288863975782
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Samples
13.0ms79×1valid
9.0ms158×0valid
3.0ms19×2valid
Compiler

Compiled 25 to 9 computations (64% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-pow2: 7.0ms (48.8% of total)
adjust: 3.0ms (20.9% of total)
ival-add: 2.0ms (13.9% of total)
ival-sub: 2.0ms (13.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series25.0ms (0.6%)

Memory
-41.2MiB live, 5.4MiB allocated; 4ms collecting garbage
Counts
4 → 23
Calls
Call 1
Inputs
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
(pow.f64 (+.f64 x eps) #s(literal 2 binary64))
(+.f64 x eps)
(pow.f64 x #s(literal 2 binary64))
Outputs
(pow eps 2)
(+ (* 2 (* eps x)) (pow eps 2))
(+ (* x (+ x (* 2 eps))) (pow eps 2))
eps
(+ eps x)
(pow x 2)
(* 2 (* eps x))
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(* (pow x 2) (+ 1 (* 2 (/ eps x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ eps x)) (/ (pow eps 2) (pow x 2)))))
x
(* x (+ 1 (/ eps x)))
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -2 eps) (* -1 (/ (pow eps 2) x))) x))))
(* -1 (* x (- (* -1 (/ eps x)) 1)))
(* eps (+ eps (* 2 x)))
(+ (* 2 (* eps x)) (pow x 2))
(+ (* eps (+ eps (* 2 x))) (pow x 2))
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
(* (pow eps 2) (+ 1 (+ (* 2 (/ x eps)) (/ (pow x 2) (pow eps 2)))))
(* eps (+ 1 (/ x eps)))
(* (pow eps 2) (+ 1 (* -1 (/ (+ (* -2 x) (* -1 (/ (pow x 2) eps))) eps))))
(* -1 (* eps (- (* -1 (/ x eps)) 1)))
Calls

6 calls:

TimeVariablePointExpression
21.0ms
x
@0
((- (pow (+ x eps) 2) (pow x 2)) (pow (+ x eps) 2) (+ x eps) (pow x 2))
1.0ms
x
@inf
((- (pow (+ x eps) 2) (pow x 2)) (pow (+ x eps) 2) (+ x eps) (pow x 2))
1.0ms
x
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (pow (+ x eps) 2) (+ x eps) (pow x 2))
1.0ms
eps
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (pow (+ x eps) 2) (+ x eps) (pow x 2))
1.0ms
eps
@inf
((- (pow (+ x eps) 2) (pow x 2)) (pow (+ x eps) 2) (+ x eps) (pow x 2))

simplify217.0ms (5.3%)

Memory
13.6MiB live, 188.3MiB allocated; 40ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069215
1239203
2874191
33924183
08175172
Stop Event
iter limit
node limit
Counts
23 → 21
Calls
Call 1
Inputs
(pow eps 2)
(+ (* 2 (* eps x)) (pow eps 2))
(+ (* x (+ x (* 2 eps))) (pow eps 2))
eps
(+ eps x)
(pow x 2)
(* 2 (* eps x))
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(* (pow x 2) (+ 1 (* 2 (/ eps x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ eps x)) (/ (pow eps 2) (pow x 2)))))
x
(* x (+ 1 (/ eps x)))
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -2 eps) (* -1 (/ (pow eps 2) x))) x))))
(* -1 (* x (- (* -1 (/ eps x)) 1)))
(* eps (+ eps (* 2 x)))
(+ (* 2 (* eps x)) (pow x 2))
(+ (* eps (+ eps (* 2 x))) (pow x 2))
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
(* (pow eps 2) (+ 1 (+ (* 2 (/ x eps)) (/ (pow x 2) (pow eps 2)))))
(* eps (+ 1 (/ x eps)))
(* (pow eps 2) (+ 1 (* -1 (/ (+ (* -2 x) (* -1 (/ (pow x 2) eps))) eps))))
(* -1 (* eps (- (* -1 (/ x eps)) 1)))
Outputs
(pow eps 2)
(*.f64 eps eps)
(+ (* 2 (* eps x)) (pow eps 2))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(+ (* x (+ x (* 2 eps))) (pow eps 2))
(*.f64 (+.f64 eps x) (+.f64 eps x))
eps
(+ eps x)
(+.f64 eps x)
(pow x 2)
(*.f64 x x)
(* 2 (* eps x))
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)))
(* (pow x 2) (+ 1 (* 2 (/ eps x))))
(*.f64 (*.f64 (fma.f64 (/.f64 eps x) #s(literal 2 binary64) #s(literal 1 binary64)) x) x)
(* (pow x 2) (+ 1 (+ (* 2 (/ eps x)) (/ (pow eps 2) (pow x 2)))))
(*.f64 (*.f64 (fma.f64 (/.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)) #s(literal 1 binary64)) x) x)
x
(* x (+ 1 (/ eps x)))
(fma.f64 (/.f64 eps x) x x)
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)))
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -2 eps) (* -1 (/ (pow eps 2) x))) x))))
(*.f64 (*.f64 (fma.f64 (/.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)) #s(literal 1 binary64)) x) x)
(* -1 (* x (- (* -1 (/ eps x)) 1)))
(*.f64 (neg.f64 x) (-.f64 (/.f64 (neg.f64 eps) x) #s(literal 1 binary64)))
(* eps (+ eps (* 2 x)))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(+ (* 2 (* eps x)) (pow x 2))
(*.f64 (fma.f64 #s(literal 2 binary64) eps x) x)
(+ (* eps (+ eps (* 2 x))) (pow x 2))
(*.f64 (+.f64 eps x) (+.f64 eps x))
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
(*.f64 (*.f64 (fma.f64 (/.f64 x eps) #s(literal 2 binary64) #s(literal 1 binary64)) eps) eps)
(* (pow eps 2) (+ 1 (+ (* 2 (/ x eps)) (/ (pow x 2) (pow eps 2)))))
(*.f64 (*.f64 (fma.f64 (/.f64 x eps) (-.f64 (/.f64 x eps) #s(literal -2 binary64)) #s(literal 1 binary64)) eps) eps)
(* eps (+ 1 (/ x eps)))
(fma.f64 (/.f64 x eps) eps eps)
(* (pow eps 2) (+ 1 (* -1 (/ (+ (* -2 x) (* -1 (/ (pow x 2) eps))) eps))))
(*.f64 (*.f64 (fma.f64 (/.f64 x eps) (-.f64 (/.f64 x eps) #s(literal -2 binary64)) #s(literal 1 binary64)) eps) eps)
(* -1 (* eps (- (* -1 (/ x eps)) 1)))
(*.f64 (neg.f64 eps) (-.f64 (/.f64 (neg.f64 x) eps) #s(literal 1 binary64)))

rewrite68.0ms (1.6%)

Memory
9.7MiB live, 70.8MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
01120
15120
038620
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 60
Calls
Call 1
Inputs
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
(pow.f64 (+.f64 x eps) #s(literal 2 binary64))
(+.f64 x eps)
(pow.f64 x #s(literal 2 binary64))
Outputs
(*.f64 (+.f64 (+.f64 eps x) x) (-.f64 (+.f64 eps x) x))
(/.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 eps x) #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (fma.f64 x x (pow.f64 (+.f64 eps x) #s(literal 2 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 eps x) #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 x x) (fma.f64 x x (pow.f64 (+.f64 eps x) #s(literal 2 binary64))) (pow.f64 (+.f64 eps x) #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 (+.f64 eps x) #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x (pow.f64 (+.f64 eps x) #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 (+.f64 eps x) #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 x x) (fma.f64 x x (pow.f64 (+.f64 eps x) #s(literal 2 binary64))) (pow.f64 (+.f64 eps x) #s(literal 4 binary64))))
(fma.f64 (neg.f64 (+.f64 eps x)) (neg.f64 (+.f64 eps x)) (*.f64 (neg.f64 x) x))
(fma.f64 (fabs.f64 (+.f64 eps x)) (fabs.f64 (+.f64 eps x)) (*.f64 (neg.f64 x) x))
(fma.f64 (exp.f64 (log.f64 (+.f64 eps x))) (exp.f64 (log.f64 (+.f64 eps x))) (*.f64 (neg.f64 x) x))
(fma.f64 (+.f64 eps x) (+.f64 eps x) (*.f64 (neg.f64 x) x))
(-.f64 (/.f64 (pow.f64 (+.f64 eps x) #s(literal 4 binary64)) (fma.f64 x x (pow.f64 (+.f64 eps x) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x (pow.f64 (+.f64 eps x) #s(literal 2 binary64)))))
(-.f64 (/.f64 (pow.f64 (+.f64 eps x) #s(literal 6 binary64)) (fma.f64 (*.f64 x x) (fma.f64 x x (pow.f64 (+.f64 eps x) #s(literal 2 binary64))) (pow.f64 (+.f64 eps x) #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 x x) (fma.f64 x x (pow.f64 (+.f64 eps x) #s(literal 2 binary64))) (pow.f64 (+.f64 eps x) #s(literal 4 binary64)))))
(-.f64 (pow.f64 (+.f64 eps x) #s(literal 2 binary64)) (*.f64 x x))
(+.f64 (pow.f64 (+.f64 eps x) #s(literal 2 binary64)) (*.f64 (neg.f64 x) x))
(*.f64 (neg.f64 (+.f64 eps x)) (neg.f64 (+.f64 eps x)))
(*.f64 (fabs.f64 (+.f64 eps x)) (fabs.f64 (+.f64 eps x)))
(*.f64 (exp.f64 (log.f64 (+.f64 eps x))) (exp.f64 (log.f64 (+.f64 eps x))))
(*.f64 (+.f64 eps x) (+.f64 eps x))
(pow.f64 (exp.f64 (log.f64 (+.f64 eps x))) #s(literal 2 binary64))
(pow.f64 (pow.f64 (+.f64 eps x) #s(literal 2 binary64)) #s(literal 1 binary64))
(pow.f64 (+.f64 eps x) #s(literal 2 binary64))
(/.f64 (*.f64 (*.f64 (+.f64 eps x) (-.f64 x eps)) (+.f64 eps x)) (-.f64 x eps))
(/.f64 (*.f64 (+.f64 (pow.f64 eps #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (+.f64 eps x)) (fma.f64 eps (-.f64 eps x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 eps x) (*.f64 (+.f64 eps x) (-.f64 x eps))) (-.f64 x eps))
(/.f64 (*.f64 (+.f64 eps x) (+.f64 (pow.f64 eps #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 eps (-.f64 eps x) (*.f64 x x)))
(/.f64 (*.f64 (*.f64 (+.f64 eps x) (-.f64 x eps)) (*.f64 (+.f64 eps x) (-.f64 x eps))) (*.f64 (-.f64 x eps) (-.f64 x eps)))
(/.f64 (*.f64 (*.f64 (+.f64 eps x) (-.f64 x eps)) (+.f64 (pow.f64 eps #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (-.f64 x eps) (fma.f64 eps (-.f64 eps x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 (pow.f64 eps #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (+.f64 eps x) (-.f64 x eps))) (*.f64 (fma.f64 eps (-.f64 eps x) (*.f64 x x)) (-.f64 x eps)))
(/.f64 (*.f64 (+.f64 (pow.f64 eps #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (+.f64 (pow.f64 eps #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 eps (-.f64 eps x) (*.f64 x x)) (fma.f64 eps (-.f64 eps x) (*.f64 x x))))
(fma.f64 (+.f64 eps x) eps (*.f64 (+.f64 eps x) x))
(fma.f64 (+.f64 eps x) x (*.f64 (+.f64 eps x) eps))
(fma.f64 eps (+.f64 eps x) (*.f64 x (+.f64 eps x)))
(fma.f64 x (+.f64 eps x) (*.f64 eps (+.f64 eps x)))
(exp.f64 (*.f64 (log.f64 (+.f64 eps x)) #s(literal 2 binary64)))
(+.f64 (*.f64 eps (+.f64 eps x)) (*.f64 x (+.f64 eps x)))
(+.f64 (*.f64 x (+.f64 eps x)) (*.f64 eps (+.f64 eps x)))
(+.f64 (*.f64 (+.f64 eps x) eps) (*.f64 (+.f64 eps x) x))
(+.f64 (*.f64 (+.f64 eps x) x) (*.f64 (+.f64 eps x) eps))
(+.f64 (cosh.f64 (*.f64 (log.f64 (+.f64 eps x)) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 (+.f64 eps x)) #s(literal 2 binary64))))
(*.f64 (pow.f64 (+.f64 eps x) #s(literal 1/2 binary64)) (pow.f64 (+.f64 eps x) #s(literal 1/2 binary64)))
(pow.f64 (+.f64 eps x) #s(literal 1 binary64))
(/.f64 (-.f64 (*.f64 eps eps) (*.f64 x x)) (-.f64 eps x))
(/.f64 (neg.f64 (*.f64 (+.f64 eps x) (-.f64 x eps))) (neg.f64 (-.f64 x eps)))
(/.f64 (neg.f64 (+.f64 (pow.f64 eps #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 eps (-.f64 eps x) (*.f64 x x))))
(/.f64 (*.f64 (+.f64 eps x) (-.f64 x eps)) (-.f64 x eps))
(/.f64 (+.f64 (pow.f64 eps #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 eps eps (-.f64 (*.f64 x x) (*.f64 eps x))))
(/.f64 (+.f64 (pow.f64 eps #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 eps (-.f64 eps x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x eps)) (/.f64 (*.f64 eps eps) (-.f64 x eps)))
(exp.f64 (*.f64 (log.f64 (+.f64 eps x)) #s(literal 1 binary64)))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 eps (-.f64 eps x) (*.f64 x x))) (/.f64 (pow.f64 eps #s(literal 3 binary64)) (fma.f64 eps (-.f64 eps x) (*.f64 x x))))
(+.f64 eps x)
(+.f64 x eps)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 x x)
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))

eval8.0ms (0.2%)

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

Compiled 1 308 to 265 computations (79.7% saved)

prune5.0ms (0.1%)

Memory
-34.3MiB live, 11.7MiB allocated; 4ms collecting garbage
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New72476
Fresh000
Picked101
Done000
Total73477
Accuracy
100.0%
Counts
77 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
91.5%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64))))
69.3%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
73.5%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Compiler

Compiled 63 to 44 computations (30.2% saved)

simplify111.0ms (2.7%)

Memory
26.1MiB live, 118.6MiB allocated; 6ms collecting garbage
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 #s(literal 2 binary64) x eps)
cost-diff0
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
cost-diff0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
cost-diff0
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
cost-diff0
(*.f64 eps x)
cost-diff0
(*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)))
cost-diff0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64))))
cost-diff0
(*.f64 eps x)
cost-diff0
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
cost-diff0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
cost-diff0
(*.f64 eps eps)
cost-diff0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
020114
029114
149114
2123114
3337110
4987102
53599102
08592102
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
(*.f64 eps eps)
eps
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(*.f64 eps x)
eps
x
#s(literal 2 binary64)
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64))))
(*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)))
(*.f64 eps x)
eps
x
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
(/.f64 eps x)
#s(literal -2 binary64)
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(fma.f64 #s(literal 2 binary64) x eps)
#s(literal 2 binary64)
x
eps
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
(*.f64 eps eps)
eps
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(*.f64 eps x)
eps
x
#s(literal 2 binary64)
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 (-.f64 (/.f64 eps x) #s(literal -2 binary64)) eps) x))
(*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)))
(*.f64 (*.f64 (-.f64 (/.f64 eps x) #s(literal -2 binary64)) eps) x)
(*.f64 eps x)
eps
x
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
(/.f64 eps x)
#s(literal -2 binary64)
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(fma.f64 #s(literal 2 binary64) x eps)
#s(literal 2 binary64)
x
eps

localize93.0ms (2.3%)

Memory
-14.2MiB live, 84.7MiB allocated; 20ms collecting garbage
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 #s(literal 2 binary64) x eps)
accuracy0.0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
accuracy0.0078125
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
accuracy0.0
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
accuracy0.0
(*.f64 eps x)
accuracy0.0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64))))
accuracy5.463366727446978
(*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)))
accuracy0.0
(*.f64 eps x)
accuracy0.02734375
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
accuracy19.647484102444718
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
accuracy0.0
(*.f64 eps eps)
accuracy16.935153593423106
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Samples
53.0ms158×0valid
18.0ms79×1valid
11.0ms19×2valid
Compiler

Compiled 91 to 19 computations (79.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 41.0ms
ival-pow2: 18.0ms (44.1% of total)
ival-mult: 8.0ms (19.6% of total)
adjust: 6.0ms (14.7% of total)
ival-add: 3.0ms (7.4% of total)
ival-sub: 3.0ms (7.4% of total)
ival-div: 2.0ms (4.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series12.0ms (0.3%)

Memory
22.6MiB live, 22.6MiB allocated; 0ms collecting garbage
Counts
11 → 20
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
(*.f64 eps eps)
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(*.f64 eps x)
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64))))
(*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)))
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(fma.f64 #s(literal 2 binary64) x eps)
Outputs
(pow eps 2)
(+ (* 2 (* eps x)) (pow eps 2))
(* 2 (* eps x))
(* eps x)
(/ eps x)
(/ (+ eps (* 2 x)) x)
eps
(+ eps (* 2 x))
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
2
(+ 2 (/ eps x))
(* 2 x)
(* x (+ 2 (/ eps x)))
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(* -1 (* x (- (* -1 (/ eps x)) 2)))
(* eps (+ eps (* 2 x)))
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
(* eps (+ (* 2 (/ 1 eps)) (/ 1 x)))
(* eps (+ 1 (* 2 (/ x eps))))
(* -1 (* eps (- (* -2 (/ x eps)) 1)))
Calls

6 calls:

TimeVariablePointExpression
3.0ms
eps
@0
((- (pow (+ x eps) 2) (pow x 2)) (* eps eps) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) 2) (* eps x) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) (- (/ eps x) -2)) (- (/ eps x) -2) (- (pow (+ x eps) 2) (pow x 2)) (* (+ (* 2 x) eps) eps) (+ (* 2 x) eps))
2.0ms
eps
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* eps eps) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) 2) (* eps x) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) (- (/ eps x) -2)) (- (/ eps x) -2) (- (pow (+ x eps) 2) (pow x 2)) (* (+ (* 2 x) eps) eps) (+ (* 2 x) eps))
2.0ms
x
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* eps eps) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) 2) (* eps x) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) (- (/ eps x) -2)) (- (/ eps x) -2) (- (pow (+ x eps) 2) (pow x 2)) (* (+ (* 2 x) eps) eps) (+ (* 2 x) eps))
2.0ms
x
@0
((- (pow (+ x eps) 2) (pow x 2)) (* eps eps) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) 2) (* eps x) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) (- (/ eps x) -2)) (- (/ eps x) -2) (- (pow (+ x eps) 2) (pow x 2)) (* (+ (* 2 x) eps) eps) (+ (* 2 x) eps))
2.0ms
eps
@inf
((- (pow (+ x eps) 2) (pow x 2)) (* eps eps) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) 2) (* eps x) (- (pow (+ x eps) 2) (pow x 2)) (* (* eps x) (- (/ eps x) -2)) (- (/ eps x) -2) (- (pow (+ x eps) 2) (pow x 2)) (* (+ (* 2 x) eps) eps) (+ (* 2 x) eps))

simplify102.0ms (2.5%)

Memory
3.4MiB live, 49.0MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044110
1148100
248294
3176094
4639294
0816284
Stop Event
iter limit
node limit
Counts
20 → 19
Calls
Call 1
Inputs
(pow eps 2)
(+ (* 2 (* eps x)) (pow eps 2))
(* 2 (* eps x))
(* eps x)
(/ eps x)
(/ (+ eps (* 2 x)) x)
eps
(+ eps (* 2 x))
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
2
(+ 2 (/ eps x))
(* 2 x)
(* x (+ 2 (/ eps x)))
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(* -1 (* x (- (* -1 (/ eps x)) 2)))
(* eps (+ eps (* 2 x)))
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
(* eps (+ (* 2 (/ 1 eps)) (/ 1 x)))
(* eps (+ 1 (* 2 (/ x eps))))
(* -1 (* eps (- (* -2 (/ x eps)) 1)))
Outputs
(pow eps 2)
(*.f64 eps eps)
(+ (* 2 (* eps x)) (pow eps 2))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* 2 (* eps x))
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(* eps x)
(*.f64 eps x)
(/ eps x)
(/.f64 eps x)
(/ (+ eps (* 2 x)) x)
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
eps
(+ eps (* 2 x))
(fma.f64 #s(literal 2 binary64) x eps)
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
2
#s(literal 2 binary64)
(+ 2 (/ eps x))
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 (/ eps x)))
(fma.f64 #s(literal 2 binary64) x eps)
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* -1 (* x (- (* -1 (/ eps x)) 2)))
(fma.f64 #s(literal 2 binary64) x eps)
(* eps (+ eps (* 2 x)))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* eps (+ (* 2 (/ 1 eps)) (/ 1 x)))
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
(* eps (+ 1 (* 2 (/ x eps))))
(fma.f64 #s(literal 2 binary64) x eps)
(* -1 (* eps (- (* -2 (/ x eps)) 1)))
(fma.f64 #s(literal 2 binary64) x eps)

rewrite51.0ms (1.2%)

Memory
-20.4MiB live, 25.7MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02098
02998
111098
075998
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
11 → 94
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
(*.f64 eps eps)
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(*.f64 eps x)
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64))))
(*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)))
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(fma.f64 #s(literal 2 binary64) x eps)
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
(*.f64 (neg.f64 (neg.f64 eps)) (neg.f64 (neg.f64 eps)))
(*.f64 (neg.f64 (fabs.f64 eps)) (neg.f64 (fabs.f64 eps)))
(*.f64 (fabs.f64 (fabs.f64 eps)) (fabs.f64 (fabs.f64 eps)))
(*.f64 (pow.f64 eps #s(literal 1 binary64)) (pow.f64 eps #s(literal 1 binary64)))
(*.f64 (pow.f64 eps #s(literal 1 binary64)) eps)
(*.f64 (neg.f64 eps) (neg.f64 eps))
(*.f64 (fabs.f64 eps) (fabs.f64 eps))
(*.f64 eps eps)
(pow.f64 (neg.f64 eps) #s(literal 2 binary64))
(pow.f64 (fabs.f64 eps) #s(literal 2 binary64))
(pow.f64 eps #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 eps) eps))
(neg.f64 (*.f64 eps (neg.f64 eps)))
(fabs.f64 (*.f64 eps eps))
(exp.f64 (*.f64 (log.f64 eps) #s(literal 2 binary64)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(*.f64 (*.f64 #s(literal 2 binary64) eps) x)
(*.f64 (*.f64 eps #s(literal 2 binary64)) x)
(*.f64 (*.f64 #s(literal 2 binary64) x) eps)
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (*.f64 eps x))
(*.f64 eps (*.f64 #s(literal 2 binary64) x))
(*.f64 x (*.f64 #s(literal 2 binary64) eps))
(*.f64 x (*.f64 eps #s(literal 2 binary64)))
(fma.f64 #s(literal 1 binary64) (*.f64 eps x) (*.f64 #s(literal 1 binary64) (*.f64 eps x)))
(fma.f64 (*.f64 eps x) #s(literal 1 binary64) (*.f64 (*.f64 eps x) #s(literal 1 binary64)))
(fma.f64 eps x (*.f64 eps x))
(fma.f64 x eps (*.f64 eps x))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 eps x)) (*.f64 #s(literal 1 binary64) (*.f64 eps x)))
(+.f64 (*.f64 (*.f64 eps x) #s(literal 1 binary64)) (*.f64 (*.f64 eps x) #s(literal 1 binary64)))
(+.f64 (*.f64 eps x) (*.f64 eps x))
(*.f64 eps x)
(*.f64 x eps)
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 (-.f64 (/.f64 eps x) #s(literal -2 binary64)) eps) x))
(*.f64 (*.f64 (-.f64 (/.f64 eps x) #s(literal -2 binary64)) eps) x)
(*.f64 (*.f64 (-.f64 (/.f64 eps x) #s(literal -2 binary64)) x) eps)
(*.f64 (-.f64 (/.f64 eps x) #s(literal -2 binary64)) (*.f64 eps x))
(*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)))
(*.f64 eps (*.f64 (-.f64 (/.f64 eps x) #s(literal -2 binary64)) x))
(*.f64 x (*.f64 eps (-.f64 (/.f64 eps x) #s(literal -2 binary64))))
(/.f64 (*.f64 (-.f64 (pow.f64 (/.f64 eps x) #s(literal 2 binary64)) #s(literal 4 binary64)) (*.f64 eps x)) (+.f64 #s(literal -2 binary64) (/.f64 eps x)))
(/.f64 (*.f64 (-.f64 (pow.f64 (/.f64 eps x) #s(literal 3 binary64)) #s(literal -8 binary64)) (*.f64 eps x)) (fma.f64 #s(literal -2 binary64) (+.f64 #s(literal -2 binary64) (/.f64 eps x)) (pow.f64 (/.f64 eps x) #s(literal 2 binary64))))
(/.f64 (*.f64 (*.f64 eps x) (-.f64 (pow.f64 (/.f64 eps x) #s(literal 2 binary64)) #s(literal 4 binary64))) (+.f64 #s(literal -2 binary64) (/.f64 eps x)))
(/.f64 (*.f64 (*.f64 eps x) (-.f64 (pow.f64 (/.f64 eps x) #s(literal 3 binary64)) #s(literal -8 binary64))) (fma.f64 #s(literal -2 binary64) (+.f64 #s(literal -2 binary64) (/.f64 eps x)) (pow.f64 (/.f64 eps x) #s(literal 2 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 eps x) #s(literal 2 binary64)) #s(literal 4 binary64))) (neg.f64 (+.f64 #s(literal -2 binary64) (/.f64 eps x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (/.f64 eps x) #s(literal 3 binary64)) #s(literal -8 binary64))) (neg.f64 (fma.f64 #s(literal -2 binary64) (+.f64 #s(literal -2 binary64) (/.f64 eps x)) (pow.f64 (/.f64 eps x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (/.f64 eps x) #s(literal 2 binary64)) #s(literal 4 binary64)) (+.f64 #s(literal -2 binary64) (/.f64 eps x)))
(/.f64 (-.f64 (pow.f64 (/.f64 eps x) #s(literal 3 binary64)) #s(literal -8 binary64)) (fma.f64 #s(literal -2 binary64) (+.f64 #s(literal -2 binary64) (/.f64 eps x)) (pow.f64 (/.f64 eps x) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (/.f64 eps x) #s(literal 2 binary64)) (+.f64 #s(literal -2 binary64) (/.f64 eps x))) (/.f64 #s(literal 4 binary64) (+.f64 #s(literal -2 binary64) (/.f64 eps x))))
(-.f64 (/.f64 (pow.f64 (/.f64 eps x) #s(literal 3 binary64)) (fma.f64 #s(literal -2 binary64) (+.f64 #s(literal -2 binary64) (/.f64 eps x)) (pow.f64 (/.f64 eps x) #s(literal 2 binary64)))) (/.f64 #s(literal -8 binary64) (fma.f64 #s(literal -2 binary64) (+.f64 #s(literal -2 binary64) (/.f64 eps x)) (pow.f64 (/.f64 eps x) #s(literal 2 binary64)))))
(-.f64 (/.f64 eps x) #s(literal -2 binary64))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(*.f64 eps (fma.f64 #s(literal 2 binary64) x eps))
(/.f64 (*.f64 (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 (neg.f64 eps) eps)) eps) (-.f64 (*.f64 #s(literal 2 binary64) x) eps))
(/.f64 (*.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 eps #s(literal 3 binary64))) eps) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 eps (-.f64 eps (*.f64 #s(literal 2 binary64) x)))))
(/.f64 (*.f64 eps (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 (neg.f64 eps) eps))) (-.f64 (*.f64 #s(literal 2 binary64) x) eps))
(/.f64 (*.f64 eps (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 eps #s(literal 3 binary64)))) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 eps (-.f64 eps (*.f64 #s(literal 2 binary64) x)))))
(fma.f64 (*.f64 #s(literal 2 binary64) eps) x (*.f64 eps eps))
(fma.f64 (*.f64 eps #s(literal 2 binary64)) x (*.f64 eps eps))
(fma.f64 (neg.f64 (neg.f64 eps)) (neg.f64 (neg.f64 eps)) (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(fma.f64 (neg.f64 (fabs.f64 eps)) (neg.f64 (fabs.f64 eps)) (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(fma.f64 (fabs.f64 (fabs.f64 eps)) (fabs.f64 (fabs.f64 eps)) (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(fma.f64 (pow.f64 eps #s(literal 1 binary64)) (pow.f64 eps #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(fma.f64 (pow.f64 eps #s(literal 1 binary64)) eps (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(fma.f64 (neg.f64 eps) (neg.f64 eps) (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(fma.f64 (fabs.f64 eps) (fabs.f64 eps) (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(fma.f64 (*.f64 #s(literal 2 binary64) x) eps (*.f64 eps eps))
(fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps))
(fma.f64 #s(literal 2 binary64) (*.f64 eps x) (*.f64 eps eps))
(fma.f64 eps (*.f64 #s(literal 2 binary64) x) (*.f64 eps eps))
(fma.f64 eps eps (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(fma.f64 x (*.f64 #s(literal 2 binary64) eps) (*.f64 eps eps))
(fma.f64 x (*.f64 eps #s(literal 2 binary64)) (*.f64 eps eps))
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) eps) (*.f64 eps eps))
(+.f64 (*.f64 eps eps) (*.f64 (*.f64 #s(literal 2 binary64) x) eps))
(/.f64 (-.f64 (*.f64 eps eps) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (-.f64 eps (*.f64 #s(literal 2 binary64) x)))
(/.f64 (neg.f64 (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 (neg.f64 eps) eps))) (neg.f64 (-.f64 (*.f64 #s(literal 2 binary64) x) eps)))
(/.f64 (neg.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 eps #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 eps (-.f64 eps (*.f64 #s(literal 2 binary64) x))))))
(/.f64 (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 (neg.f64 eps) eps)) (-.f64 (*.f64 #s(literal 2 binary64) x) eps))
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 eps #s(literal 3 binary64))) (fma.f64 eps eps (-.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (*.f64 (*.f64 #s(literal 2 binary64) x) eps))))
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 eps #s(literal 3 binary64))) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 eps (-.f64 eps (*.f64 #s(literal 2 binary64) x)))))
(fma.f64 (pow.f64 (+.f64 eps x) #s(literal 1/2 binary64)) (pow.f64 (+.f64 eps x) #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal 2 binary64) x eps)
(fma.f64 x #s(literal 2 binary64) eps)
(-.f64 (/.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (-.f64 (*.f64 #s(literal 2 binary64) x) eps)) (/.f64 (*.f64 eps eps) (-.f64 (*.f64 #s(literal 2 binary64) x) eps)))
(-.f64 eps (*.f64 #s(literal -2 binary64) x))
(-.f64 eps (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 eps (-.f64 eps (*.f64 #s(literal 2 binary64) x))))) (/.f64 (pow.f64 eps #s(literal 3 binary64)) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (*.f64 eps (-.f64 eps (*.f64 #s(literal 2 binary64) x))))))
(+.f64 (*.f64 #s(literal 2 binary64) x) eps)
(+.f64 (+.f64 eps x) x)
(+.f64 eps (*.f64 #s(literal 2 binary64) x))
(+.f64 x (+.f64 eps x))

eval9.0ms (0.2%)

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

Compiled 2 169 to 314 computations (85.5% saved)

prune17.0ms (0.4%)

Memory
-35.8MiB live, 14.4MiB allocated; 9ms collecting garbage
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1022104
Fresh000
Picked224
Done000
Total1044108
Accuracy
100.0%
Counts
108 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
69.3%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
73.5%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Compiler

Compiled 62 to 43 computations (30.6% saved)

simplify116.0ms (2.8%)

Memory
20.4MiB live, 151.2MiB allocated; 16ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 eps eps)
cost-diff0
(*.f64 eps x)
cost-diff0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
cost-diff2
(fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps))
cost-diff0
(*.f64 eps #s(literal 2 binary64))
cost-diff0
(*.f64 (*.f64 eps #s(literal 2 binary64)) x)
cost-diff0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01461
02061
14059
211959
335859
495255
5349355
0828451
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
(*.f64 (*.f64 eps #s(literal 2 binary64)) x)
(*.f64 eps #s(literal 2 binary64))
eps
#s(literal 2 binary64)
x
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
(fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps))
(*.f64 eps x)
eps
x
#s(literal 2 binary64)
(*.f64 eps eps)
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(*.f64 (*.f64 eps #s(literal 2 binary64)) x)
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(*.f64 eps #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) eps)
eps
#s(literal 2 binary64)
x
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
(fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(*.f64 eps x)
eps
x
#s(literal 2 binary64)
(*.f64 eps eps)

localize67.0ms (1.6%)

Memory
-8.7MiB live, 93.2MiB allocated; 14ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 eps x)
accuracy0.0
(*.f64 eps eps)
accuracy0.0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
accuracy0.00390625
(fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps))
accuracy0.0
(*.f64 (*.f64 eps #s(literal 2 binary64)) x)
accuracy0.0
(*.f64 eps #s(literal 2 binary64))
accuracy19.647484102444718
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
Samples
24.0ms79×1valid
18.0ms19×2valid
15.0ms158×0valid
Compiler

Compiled 49 to 15 computations (69.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 38.0ms
ival-pow2: 19.0ms (50.7% of total)
ival-mult: 8.0ms (21.3% of total)
adjust: 4.0ms (10.7% of total)
ival-add: 4.0ms (10.7% of total)
ival-sub: 2.0ms (5.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.1%)

Memory
17.4MiB live, 17.4MiB allocated; 0ms collecting garbage
Counts
7 → 9
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
(*.f64 (*.f64 eps #s(literal 2 binary64)) x)
(*.f64 eps #s(literal 2 binary64))
(fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
(*.f64 eps x)
(*.f64 eps eps)
Outputs
(pow eps 2)
(+ (* 2 (* eps x)) (pow eps 2))
(* 2 (* eps x))
(* eps x)
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(* eps (+ eps (* 2 x)))
(* 2 eps)
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
eps
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* (* eps 2) x) (* eps 2) (+ (* (* eps x) 2) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps x) (* eps eps))
1.0ms
eps
@inf
((- (pow (+ x eps) 2) (pow x 2)) (* (* eps 2) x) (* eps 2) (+ (* (* eps x) 2) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps x) (* eps eps))
1.0ms
x
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* (* eps 2) x) (* eps 2) (+ (* (* eps x) 2) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps x) (* eps eps))
1.0ms
x
@inf
((- (pow (+ x eps) 2) (pow x 2)) (* (* eps 2) x) (* eps 2) (+ (* (* eps x) 2) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps x) (* eps eps))
1.0ms
eps
@0
((- (pow (+ x eps) 2) (pow x 2)) (* (* eps 2) x) (* eps 2) (+ (* (* eps x) 2) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps x) (* eps eps))

simplify108.0ms (2.6%)

Memory
11.2MiB live, 98.5MiB allocated; 14ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02659
18949
230649
3114849
4481849
0822444
Stop Event
iter limit
node limit
Counts
9 → 9
Calls
Call 1
Inputs
(pow eps 2)
(+ (* 2 (* eps x)) (pow eps 2))
(* 2 (* eps x))
(* eps x)
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(* eps (+ eps (* 2 x)))
(* 2 eps)
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
Outputs
(pow eps 2)
(*.f64 eps eps)
(+ (* 2 (* eps x)) (pow eps 2))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* 2 (* eps x))
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(* eps x)
(*.f64 eps x)
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* eps (+ eps (* 2 x)))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* 2 eps)
(*.f64 #s(literal 2 binary64) eps)
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)

rewrite55.0ms (1.3%)

Memory
-9.0MiB live, 44.6MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01455
02055
18753
065351
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
7 → 78
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
(*.f64 (*.f64 eps #s(literal 2 binary64)) x)
(*.f64 eps #s(literal 2 binary64))
(fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
(*.f64 eps x)
(*.f64 eps eps)
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(*.f64 (*.f64 #s(literal 2 binary64) x) eps)
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(*.f64 (*.f64 #s(literal 2 binary64) eps) x)
(*.f64 #s(literal 2 binary64) (*.f64 eps x))
(*.f64 eps (*.f64 #s(literal 2 binary64) x))
(*.f64 x (*.f64 #s(literal 2 binary64) eps))
(fma.f64 #s(literal 1 binary64) (*.f64 eps x) (*.f64 #s(literal 1 binary64) (*.f64 eps x)))
(fma.f64 (*.f64 eps x) #s(literal 1 binary64) (*.f64 (*.f64 eps x) #s(literal 1 binary64)))
(fma.f64 eps x (*.f64 eps x))
(fma.f64 x eps (*.f64 eps x))
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 eps x)) (*.f64 #s(literal 1 binary64) (*.f64 eps x)))
(+.f64 (*.f64 (*.f64 eps x) #s(literal 1 binary64)) (*.f64 (*.f64 eps x) #s(literal 1 binary64)))
(+.f64 (*.f64 eps x) (*.f64 eps x))
(*.f64 #s(literal 2 binary64) eps)
(*.f64 eps #s(literal 2 binary64))
(fma.f64 #s(literal 1 binary64) eps (*.f64 #s(literal 1 binary64) eps))
(fma.f64 eps #s(literal 1 binary64) (*.f64 eps #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) eps) (*.f64 #s(literal 1 binary64) eps))
(+.f64 (*.f64 eps #s(literal 1 binary64)) (*.f64 eps #s(literal 1 binary64)))
(+.f64 eps eps)
(*.f64 eps (fma.f64 #s(literal 2 binary64) x eps))
(*.f64 eps (+.f64 eps (*.f64 #s(literal 2 binary64) x)))
(/.f64 (-.f64 (pow.f64 eps #s(literal 4 binary64)) (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64))) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 eps x) #s(literal 2 binary64))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 eps) eps) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64)) (+.f64 (pow.f64 eps #s(literal 4 binary64)) (*.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) (*.f64 (neg.f64 eps) eps)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64)) (pow.f64 eps #s(literal 4 binary64)))) (neg.f64 (*.f64 eps (-.f64 (*.f64 #s(literal 2 binary64) x) eps))))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 eps x) #s(literal 3 binary64)) #s(literal 8 binary64) (pow.f64 eps #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 eps eps) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 eps x) #s(literal 2 binary64))) (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64)) (pow.f64 eps #s(literal 4 binary64))) (*.f64 eps (-.f64 (*.f64 #s(literal 2 binary64) x) eps)))
(/.f64 (fma.f64 (pow.f64 (*.f64 eps x) #s(literal 3 binary64)) #s(literal 8 binary64) (pow.f64 eps #s(literal 6 binary64))) (+.f64 (pow.f64 eps #s(literal 4 binary64)) (-.f64 (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) eps) eps))))
(/.f64 (fma.f64 (pow.f64 (*.f64 eps x) #s(literal 3 binary64)) #s(literal 8 binary64) (pow.f64 eps #s(literal 6 binary64))) (fma.f64 (*.f64 eps eps) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 eps x) #s(literal 2 binary64))) (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64))))
(fma.f64 (neg.f64 (neg.f64 eps)) (neg.f64 (neg.f64 eps)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(fma.f64 (neg.f64 (fabs.f64 eps)) (neg.f64 (fabs.f64 eps)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(fma.f64 (fabs.f64 (fabs.f64 eps)) (fabs.f64 (fabs.f64 eps)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(fma.f64 (pow.f64 eps #s(literal 1 binary64)) (pow.f64 eps #s(literal 1 binary64)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(fma.f64 (pow.f64 eps #s(literal 1 binary64)) eps (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(fma.f64 (*.f64 #s(literal 2 binary64) x) eps (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 (*.f64 #s(literal 2 binary64) x) eps (*.f64 eps eps))
(fma.f64 (neg.f64 eps) (neg.f64 eps) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(fma.f64 (fabs.f64 eps) (fabs.f64 eps) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps))
(fma.f64 (*.f64 #s(literal 2 binary64) eps) x (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 (*.f64 #s(literal 2 binary64) eps) x (*.f64 eps eps))
(fma.f64 #s(literal 2 binary64) (*.f64 eps x) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 #s(literal 2 binary64) (*.f64 eps x) (*.f64 eps eps))
(fma.f64 eps (*.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 eps (*.f64 #s(literal 2 binary64) x) (*.f64 eps eps))
(fma.f64 eps eps (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
(fma.f64 x (*.f64 #s(literal 2 binary64) eps) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 x (*.f64 #s(literal 2 binary64) eps) (*.f64 eps eps))
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64)) (*.f64 eps (-.f64 (*.f64 #s(literal 2 binary64) x) eps))) (/.f64 (pow.f64 eps #s(literal 4 binary64)) (*.f64 eps (-.f64 (*.f64 #s(literal 2 binary64) x) eps))))
(-.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) (*.f64 (neg.f64 (neg.f64 eps)) (neg.f64 eps)))
(-.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) (*.f64 (neg.f64 (fabs.f64 eps)) (fabs.f64 eps)))
(-.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) (*.f64 (neg.f64 eps) eps))
(-.f64 (*.f64 eps eps) (*.f64 (neg.f64 (*.f64 eps x)) #s(literal 2 binary64)))
(-.f64 (*.f64 eps eps) (*.f64 #s(literal -2 binary64) (*.f64 eps x)))
(-.f64 (*.f64 eps eps) (*.f64 (neg.f64 eps) (*.f64 #s(literal 2 binary64) x)))
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 eps eps) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 eps x) #s(literal 2 binary64))) (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64)))) (/.f64 (pow.f64 eps #s(literal 6 binary64)) (fma.f64 (*.f64 eps eps) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 eps x) #s(literal 2 binary64))) (pow.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) #s(literal 2 binary64)))))
(+.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(+.f64 (*.f64 (*.f64 eps x) #s(literal 2 binary64)) (*.f64 eps eps))
(+.f64 (*.f64 eps eps) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps (fma.f64 #s(literal 2 binary64) x eps)))
(*.f64 eps x)
(*.f64 x eps)
(*.f64 (neg.f64 (neg.f64 eps)) (neg.f64 (neg.f64 eps)))
(*.f64 (neg.f64 (fabs.f64 eps)) (neg.f64 (fabs.f64 eps)))
(*.f64 (fabs.f64 (fabs.f64 eps)) (fabs.f64 (fabs.f64 eps)))
(*.f64 (pow.f64 eps #s(literal 1 binary64)) (pow.f64 eps #s(literal 1 binary64)))
(*.f64 (pow.f64 eps #s(literal 1 binary64)) eps)
(*.f64 (neg.f64 eps) (neg.f64 eps))
(*.f64 (fabs.f64 eps) (fabs.f64 eps))
(*.f64 eps eps)
(pow.f64 (neg.f64 eps) #s(literal 2 binary64))
(pow.f64 (fabs.f64 eps) #s(literal 2 binary64))
(pow.f64 eps #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 eps) eps))
(fabs.f64 (*.f64 eps eps))
(exp.f64 (*.f64 (log.f64 eps) #s(literal 2 binary64)))

eval8.0ms (0.2%)

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

Compiled 1 752 to 249 computations (85.8% saved)

prune4.0ms (0.1%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New82183
Fresh000
Picked112
Done022
Total83487
Accuracy
100.0%
Counts
87 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
69.3%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
73.5%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Compiler

Compiled 62 to 42 computations (32.3% saved)

simplify138.0ms (3.3%)

Memory
4.3MiB live, 140.1MiB allocated; 15ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 eps eps)
cost-diff0
(*.f64 (+.f64 eps eps) x)
cost-diff0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
01225
11925
25525
319125
463423
5260823
0826922
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
(*.f64 (+.f64 eps eps) x)
(+.f64 eps eps)
eps
x
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(*.f64 (+.f64 eps eps) x)
(*.f64 (*.f64 #s(literal 2 binary64) eps) x)
(+.f64 eps eps)
(*.f64 #s(literal 2 binary64) eps)
eps
x

localize57.0ms (1.4%)

Memory
-34.0MiB live, 33.5MiB allocated; 13ms collecting garbage
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 eps eps)
accuracy0.0
(*.f64 (+.f64 eps eps) x)
accuracy19.647484102444718
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
Samples
38.0ms158×0valid
10.0ms79×1valid
4.0ms19×2valid
Compiler

Compiled 21 to 10 computations (52.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 23.0ms
ival-pow2: 13.0ms (57.2% of total)
adjust: 3.0ms (13.2% of total)
ival-add: 3.0ms (13.2% of total)
ival-mult: 2.0ms (8.8% of total)
ival-sub: 2.0ms (8.8% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
4.8MiB live, 4.8MiB allocated; 0ms collecting garbage
Counts
3 → 8
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
(*.f64 (+.f64 eps eps) x)
(+.f64 eps eps)
Outputs
(pow eps 2)
(+ (* 2 (* eps x)) (pow eps 2))
(* 2 (* eps x))
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(* eps (+ eps (* 2 x)))
(* 2 eps)
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
eps
@inf
((- (pow (+ x eps) 2) (pow x 2)) (* (+ eps eps) x) (+ eps eps))
1.0ms
eps
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* (+ eps eps) x) (+ eps eps))
1.0ms
x
@inf
((- (pow (+ x eps) 2) (pow x 2)) (* (+ eps eps) x) (+ eps eps))
1.0ms
x
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* (+ eps eps) x) (+ eps eps))
1.0ms
eps
@0
((- (pow (+ x eps) 2) (pow x 2)) (* (+ eps eps) x) (+ eps eps))

simplify118.0ms (2.9%)

Memory
-1.1MiB live, 85.6MiB allocated; 16ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02656
18946
230646
3114846
4481846
0822441
Stop Event
iter limit
node limit
Counts
8 → 8
Calls
Call 1
Inputs
(pow eps 2)
(+ (* 2 (* eps x)) (pow eps 2))
(* 2 (* eps x))
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(* eps (+ eps (* 2 x)))
(* 2 eps)
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
Outputs
(pow eps 2)
(*.f64 eps eps)
(+ (* 2 (* eps x)) (pow eps 2))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* 2 (* eps x))
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
(* x (+ (* 2 eps) (/ (pow eps 2) x)))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* eps (+ eps (* 2 x)))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(* 2 eps)
(*.f64 #s(literal 2 binary64) eps)
(* (pow eps 2) (+ 1 (* 2 (/ x eps))))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)

rewrite40.0ms (1%)

Memory
-4.1MiB live, 38.3MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01023
01223
16017
047517
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
3 → 13
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
(*.f64 (+.f64 eps eps) x)
(+.f64 eps eps)
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 #s(literal 2 binary64) x))
(*.f64 (*.f64 #s(literal 2 binary64) x) eps)
(*.f64 #s(literal 2 binary64) (*.f64 eps x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 0 binary64) x) #s(literal 0 binary64))
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 eps #s(literal 3 binary64))) x) (fma.f64 eps eps #s(literal 0 binary64)))
(/.f64 (*.f64 x #s(literal 0 binary64)) #s(literal 0 binary64))
(/.f64 (*.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 eps #s(literal 3 binary64)))) (fma.f64 eps eps #s(literal 0 binary64)))
(fma.f64 eps x (*.f64 eps x))
(fma.f64 x eps (*.f64 eps x))
(+.f64 (*.f64 eps x) (*.f64 eps x))
#s(literal 2 binary64)

eval1.0ms (0%)

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

Compiled 274 to 54 computations (80.3% saved)

prune3.0ms (0.1%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New16117
Fresh000
Picked011
Done033
Total16521
Accuracy
100.0%
Counts
21 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
69.3%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
5.3%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 x #s(literal 2 binary64)))
73.5%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Compiler

Compiled 208 to 87 computations (58.2% saved)

regimes9.0ms (0.2%)

Memory
7.3MiB live, 7.3MiB allocated; 0ms collecting garbage
Counts
9 → 1
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 x #s(literal 2 binary64)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64))))
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
Calls

3 calls:

3.0ms
eps
3.0ms
x
2.0ms
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
100.0%1(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
100.0%1x
100.0%1eps
Compiler

Compiled 11 to 11 computations (0% saved)

regimes7.0ms (0.2%)

Memory
6.3MiB live, 6.3MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 x #s(literal 2 binary64)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
Calls

3 calls:

2.0ms
eps
2.0ms
x
2.0ms
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
100.0%1(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
100.0%1x
100.0%1eps
Compiler

Compiled 11 to 11 computations (0% saved)

regimes6.0ms (0.1%)

Memory
5.7MiB live, 5.7MiB allocated; 0ms collecting garbage
Counts
5 → 2
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 x #s(literal 2 binary64)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Calls

3 calls:

2.0ms
eps
2.0ms
x
2.0ms
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
98.1%2(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
93.6%3x
86.4%3eps
Compiler

Compiled 11 to 11 computations (0% saved)

regimes4.0ms (0.1%)

Memory
4.6MiB live, 4.6MiB allocated; 0ms collecting garbage
Accuracy

Total -43.7b remaining (-258%)

Threshold costs -43.7b (-258%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 x #s(literal 2 binary64)))
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Calls

3 calls:

1.0ms
eps
1.0ms
x
1.0ms
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
73.5%1eps
73.5%1x
73.5%1(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Compiler

Compiled 11 to 11 computations (0% saved)

bsearch0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
2.98e-320
Compiler

Compiled 12 to 12 computations (0% saved)

simplify66.0ms (1.6%)

Memory
-41.2MiB live, 20.5MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02587
13287
26387
318287
460777
5208477
6787777
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
(if (<=.f64 (-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 0 binary64)) #s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x)) #s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps x) #s(literal 2 binary64) (*.f64 eps eps)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
(if (<=.f64 (-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 0 binary64)) #s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x)) #s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))

derivations183.0ms (4.4%)

Memory
-2.0MiB live, 132.9MiB allocated; 13ms collecting garbage
Stop Event
fuel
Compiler

Compiled 87 to 26 computations (70.1% saved)

preprocess20.0ms (0.5%)

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

Compiled 192 to 66 computations (65.6% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...