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

Time bar (total: 4.9s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample2.3s (47.5%)

Memory
-110.4MiB live, 1 905.7MiB allocated; 1.4s collecting garbage
Samples
1.4s5 137×0valid
391.0ms2 543×1valid
175.0ms576×2valid
Precisions
Click to see histograms. Total time spent on operations: 1.6s
ival-pow2: 1.3s (80.7% of total)
ival-add: 119.0ms (7.6% of total)
adjust: 117.0ms (7.5% of total)
ival-sub: 62.0ms (4% of total)
ival-assert: 3.0ms (0.2% of total)
Bogosity

explain166.0ms (3.4%)

Memory
-10.8MiB live, 241.6MiB allocated; 18ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
701(1.2256559543115053e-118 5.937451827388107e-121)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.0ms312×0valid
26.0ms176×1valid
5.0ms24×2valid
Compiler

Compiled 59 to 25 computations (57.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 35.0ms
ival-pow2: 19.0ms (54.5% of total)
adjust: 7.0ms (20.1% of total)
ival-add: 5.0ms (14.3% of total)
ival-sub: 4.0ms (11.5% of total)
ival-true: 1.0ms (2.9% of total)
ival-assert: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess243.0ms (5%)

Memory
33.1MiB live, 211.0MiB allocated; 42ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02264
13460
211860
355358
4177144
5531444
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.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
76.8%
(-.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)

simplify134.0ms (2.7%)

Memory
-16.2MiB live, 119.2MiB allocated; 21ms 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)

localize28.0ms (0.6%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(pow.f64 x #s(literal 2 binary64))
accuracy0.0
(+.f64 x eps)
accuracy0.029628759768442016
(pow.f64 (+.f64 x eps) #s(literal 2 binary64))
accuracy14.753625464374428
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Samples
11.0ms88×1valid
9.0ms156×0valid
2.0ms12×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 (51.5% of total)
adjust: 3.0ms (22.1% of total)
ival-add: 2.0ms (14.7% of total)
ival-sub: 2.0ms (14.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series27.0ms (0.6%)

Memory
-49.6MiB live, 9.5MiB allocated; 34ms collecting garbage
Counts
4 → 27
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
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (pow eps 2)))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* x (+ x (* 2 eps))) (pow eps 2))))
#s(approx (+ x eps) #s(hole binary64 eps))
#s(approx (+ x eps) #s(hole binary64 (+ eps x)))
#s(approx (pow x 2) #s(hole binary64 (pow x 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (pow x 2)))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ eps x))))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ eps x)) (/ (pow eps 2) (pow x 2)))))))
#s(approx (+ x eps) #s(hole binary64 x))
#s(approx (+ x eps) #s(hole binary64 (* x (+ 1 (/ eps x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -2 eps) (* -1 (/ (pow eps 2) x))) x))))))
#s(approx (+ x eps) #s(hole binary64 (* -1 (* x (- (* -1 (/ eps x)) 1)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* 2 (* eps x)) (pow x 2))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* eps (+ eps (* 2 x))) (pow x 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow eps 2) (+ 1 (+ (* 2 (/ x eps)) (/ (pow x 2) (pow eps 2)))))))
#s(approx (+ x eps) #s(hole binary64 (* eps (+ 1 (/ x eps)))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow eps 2) (+ 1 (* -1 (/ (+ (* -2 x) (* -1 (/ (pow x 2) eps))) eps))))))
#s(approx (+ x eps) #s(hole binary64 (* -1 (* eps (- (* -1 (/ x eps)) 1)))))
Calls

6 calls:

TimeVariablePointExpression
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
x
@0
((- (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))

simplify230.0ms (4.7%)

Memory
26.4MiB live, 300.9MiB allocated; 63ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099415
1271401
2924377
34052377
08199364
Stop Event
iter limit
node limit
Counts
27 → 27
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (pow eps 2)))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* x (+ x (* 2 eps))) (pow eps 2))))
#s(approx (+ x eps) #s(hole binary64 eps))
#s(approx (+ x eps) #s(hole binary64 (+ eps x)))
#s(approx (pow x 2) #s(hole binary64 (pow x 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (pow x 2)))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ eps x))))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ eps x)) (/ (pow eps 2) (pow x 2)))))))
#s(approx (+ x eps) #s(hole binary64 x))
#s(approx (+ x eps) #s(hole binary64 (* x (+ 1 (/ eps x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -2 eps) (* -1 (/ (pow eps 2) x))) x))))))
#s(approx (+ x eps) #s(hole binary64 (* -1 (* x (- (* -1 (/ eps x)) 1)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* 2 (* eps x)) (pow x 2))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* eps (+ eps (* 2 x))) (pow x 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow eps 2) (+ 1 (+ (* 2 (/ x eps)) (/ (pow x 2) (pow eps 2)))))))
#s(approx (+ x eps) #s(hole binary64 (* eps (+ 1 (/ x eps)))))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow eps 2) (+ 1 (* -1 (/ (+ (* -2 x) (* -1 (/ (pow x 2) eps))) eps))))))
#s(approx (+ x eps) #s(hole binary64 (* -1 (* eps (- (* -1 (/ x eps)) 1)))))
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#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) #s(hole binary64 (pow eps 2)))
#s(approx (pow (+ x eps) 2) (*.f64 eps eps))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (pow (+ x eps) 2) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* x (+ x (* 2 eps))) (pow eps 2))))
#s(approx (pow (+ x eps) 2) (pow.f64 (+.f64 eps x) #s(literal 2 binary64)))
#s(approx (+ x eps) #s(hole binary64 eps))
#s(approx (+ x eps) eps)
#s(approx (+ x eps) #s(hole binary64 (+ eps x)))
#s(approx (+ x eps) (+.f64 eps x))
#s(approx (pow x 2) #s(hole binary64 (pow x 2)))
#s(approx (pow x 2) (*.f64 x x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps 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)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#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) #s(hole binary64 (pow x 2)))
#s(approx (pow (+ x eps) 2) (*.f64 x x))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ eps x))))))
#s(approx (pow (+ x eps) 2) (*.f64 (*.f64 (fma.f64 (/.f64 eps x) #s(literal 2 binary64) #s(literal 1 binary64)) x) x))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ eps x)) (/ (pow eps 2) (pow x 2)))))))
#s(approx (pow (+ x eps) 2) (*.f64 (fma.f64 (/.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (+ x eps) #s(hole binary64 x))
#s(approx (+ x eps) x)
#s(approx (+ x eps) #s(hole binary64 (* x (+ 1 (/ eps x)))))
#s(approx (+ x eps) (fma.f64 (/.f64 eps x) x x))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#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) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -2 eps) (* -1 (/ (pow eps 2) x))) x))))))
#s(approx (pow (+ x eps) 2) (*.f64 (fma.f64 (/.f64 eps x) (-.f64 (/.f64 eps x) #s(literal -2 binary64)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (+ x eps) #s(hole binary64 (* -1 (* x (- (* -1 (/ eps x)) 1)))))
#s(approx (+ x eps) (*.f64 (neg.f64 x) (-.f64 (/.f64 (neg.f64 eps) x) #s(literal 1 binary64))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#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) #s(hole binary64 (+ (* 2 (* eps x)) (pow x 2))))
#s(approx (pow (+ x eps) 2) (*.f64 (fma.f64 #s(literal 2 binary64) eps x) x))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (+ (* eps (+ eps (* 2 x))) (pow x 2))))
#s(approx (pow (+ x eps) 2) (pow.f64 (+.f64 eps x) #s(literal 2 binary64)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 (fma.f64 (/.f64 x eps) #s(literal 2 binary64) #s(literal 1 binary64)) eps) eps))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (pow (+ x eps) 2) (*.f64 (*.f64 (fma.f64 (/.f64 x eps) #s(literal 2 binary64) #s(literal 1 binary64)) eps) eps))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow eps 2) (+ 1 (+ (* 2 (/ x eps)) (/ (pow x 2) (pow eps 2)))))))
#s(approx (pow (+ x eps) 2) (*.f64 (fma.f64 (/.f64 x eps) (-.f64 (/.f64 x eps) #s(literal -2 binary64)) #s(literal 1 binary64)) (*.f64 eps eps)))
#s(approx (+ x eps) #s(hole binary64 (* eps (+ 1 (/ x eps)))))
#s(approx (+ x eps) (fma.f64 (/.f64 x eps) eps eps))
#s(approx (pow (+ x eps) 2) #s(hole binary64 (* (pow eps 2) (+ 1 (* -1 (/ (+ (* -2 x) (* -1 (/ (pow x 2) eps))) eps))))))
#s(approx (pow (+ x eps) 2) (*.f64 (fma.f64 (/.f64 x eps) (-.f64 (/.f64 x eps) #s(literal -2 binary64)) #s(literal 1 binary64)) (*.f64 eps eps)))
#s(approx (+ x eps) #s(hole binary64 (* -1 (* eps (- (* -1 (/ x eps)) 1)))))
#s(approx (+ x eps) (*.f64 (neg.f64 eps) (-.f64 (/.f64 (neg.f64 x) eps) #s(literal 1 binary64))))

rewrite57.0ms (1.2%)

Memory
32.6MiB live, 79.0MiB allocated; 2ms 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))))

eval20.0ms (0.4%)

Memory
-29.8MiB live, 19.9MiB allocated; 14ms collecting garbage
Compiler

Compiled 1 390 to 277 computations (80.1% saved)

prune3.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh000
Picked101
Done000
Total80383
Accuracy
100.0%
Counts
83 → 3
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))
64.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
74.8%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Compiler

Compiled 44 to 31 computations (29.5% saved)

simplify124.0ms (2.5%)

Memory
14.5MiB live, 148.0MiB allocated; 17ms collecting garbage
Localize:

Found 8 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 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
01572
02172
13872
210672
331869
493863
5327463
0821263
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 (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 (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

localize99.0ms (2%)

Memory
-14.1MiB live, 173.8MiB allocated; 20ms collecting garbage
Localize:

Found 8 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.00390625
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
accuracy0.0
(*.f64 eps x)
accuracy0.02734375
(*.f64 (*.f64 eps x) #s(literal 2 binary64))
accuracy22.991792412081494
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
accuracy0.0
(*.f64 eps eps)
accuracy16.110001370322124
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Samples
20.0ms156×0valid
19.0ms88×1valid
3.0ms12×2valid
Compiler

Compiled 59 to 15 computations (74.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 28.0ms
ival-pow2: 10.0ms (36.3% of total)
ival-mult: 7.0ms (25.4% of total)
adjust: 4.0ms (14.5% of total)
ival-add: 3.0ms (10.9% of total)
ival-sub: 2.0ms (7.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series10.0ms (0.2%)

Memory
15.1MiB live, 15.1MiB allocated; 0ms collecting garbage
Counts
8 → 24
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 (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)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (* (* eps x) 2) #s(hole binary64 (* 2 (* eps x))))
#s(approx (* eps x) #s(hole binary64 (* eps x)))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (pow eps 2)))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 eps))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (+ eps (* 2 x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* 2 (* eps x))))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* 2 x)))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* x (+ 2 (/ eps x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* -1 (* x (- (* -1 (/ eps x)) 2)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (* eps eps) #s(hole binary64 (pow eps 2)))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* eps (+ 1 (* 2 (/ x eps))))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* -1 (* eps (- (* -2 (/ x eps)) 1)))))
Calls

6 calls:

TimeVariablePointExpression
3.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)) (* (+ (* 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)) (* (+ (* 2 x) eps) eps) (+ (* 2 x) eps))
1.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)) (* (+ (* 2 x) eps) eps) (+ (* 2 x) eps))
1.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)) (* (+ (* 2 x) eps) eps) (+ (* 2 x) eps))
1.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)) (* (+ (* 2 x) eps) eps) (+ (* 2 x) eps))

simplify154.0ms (3.1%)

Memory
5.8MiB live, 158.2MiB allocated; 51ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
070322
1170322
2508322
31811294
47985294
08051258
Stop Event
iter limit
node limit
Counts
24 → 24
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (* (* eps x) 2) #s(hole binary64 (* 2 (* eps x))))
#s(approx (* eps x) #s(hole binary64 (* eps x)))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (pow eps 2)))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 eps))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (+ eps (* 2 x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* 2 (* eps x))))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* 2 x)))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* x (+ 2 (/ eps x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* -1 (* x (- (* -1 (/ eps x)) 2)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (* eps eps) #s(hole binary64 (pow eps 2)))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* eps (+ 1 (* 2 (/ x eps))))))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* -1 (* eps (- (* -2 (/ x eps)) 1)))))
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* (* eps x) 2) #s(hole binary64 (* 2 (* eps x))))
#s(approx (* (* eps x) 2) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
#s(approx (* eps x) #s(hole binary64 (* eps x)))
#s(approx (* eps x) (*.f64 eps x))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (+ (* 2 x) eps) #s(hole binary64 eps))
#s(approx (+ (* 2 x) eps) eps)
#s(approx (+ (* 2 x) eps) #s(hole binary64 (+ eps (* 2 x))))
#s(approx (+ (* 2 x) eps) (fma.f64 #s(literal 2 binary64) x eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps 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)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* 2 x)))
#s(approx (+ (* 2 x) eps) (*.f64 #s(literal 2 binary64) x))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* x (+ 2 (/ eps x)))))
#s(approx (+ (* 2 x) eps) (fma.f64 #s(literal 2 binary64) x eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* -1 (* x (- (* -1 (/ eps x)) 2)))))
#s(approx (+ (* 2 x) eps) (fma.f64 #s(literal 2 binary64) x eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* eps eps) #s(hole binary64 (pow eps 2)))
#s(approx (* eps eps) (*.f64 eps eps))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#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)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* (+ (* 2 x) eps) eps) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* eps (+ 1 (* 2 (/ x eps))))))
#s(approx (+ (* 2 x) eps) (fma.f64 #s(literal 2 binary64) x eps))
#s(approx (+ (* 2 x) eps) #s(hole binary64 (* -1 (* eps (- (* -2 (/ x eps)) 1)))))
#s(approx (+ (* 2 x) eps) (fma.f64 #s(literal 2 binary64) x eps))

rewrite44.0ms (0.9%)

Memory
1.6MiB live, 46.0MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01565
02165
18365
059265
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
8 → 76
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 (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 eps (neg.f64 eps)))
(neg.f64 (*.f64 (neg.f64 eps) 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 (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 eps (neg.f64 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 eps (neg.f64 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 eps (neg.f64 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 eps (neg.f64 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))

eval16.0ms (0.3%)

Memory
-32.8MiB live, 24.0MiB allocated; 7ms collecting garbage
Compiler

Compiled 1 610 to 242 computations (85% saved)

prune4.0ms (0.1%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New81283
Fresh000
Picked123
Done000
Total82486
Accuracy
100.0%
Counts
86 → 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 #s(literal 2 binary64)) x (*.f64 eps eps)))
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
64.1%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
74.8%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Compiler

Compiled 62 to 43 computations (30.6% saved)

simplify116.0ms (2.4%)

Memory
38.9MiB live, 170.3MiB allocated; 22ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 eps eps)
cost-diff0
(*.f64 eps #s(literal 2 binary64))
cost-diff0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps #s(literal 2 binary64)) x (*.f64 eps eps)))
cost-diff2
(fma.f64 (*.f64 eps #s(literal 2 binary64)) x (*.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
01361
01761
13359
210559
334259
492755
5344355
0863351
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 #s(literal 2 binary64)) x (*.f64 eps eps)))
(fma.f64 (*.f64 eps #s(literal 2 binary64)) x (*.f64 eps eps))
(*.f64 eps #s(literal 2 binary64))
eps
#s(literal 2 binary64)
x
(*.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 #s(literal 2 binary64) eps) x))
(*.f64 (*.f64 eps #s(literal 2 binary64)) x)
(*.f64 (*.f64 #s(literal 2 binary64) eps) x)
(*.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 #s(literal 2 binary64)) x (*.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 #s(literal 2 binary64)) x (*.f64 eps eps))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(*.f64 eps #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) eps)
eps
#s(literal 2 binary64)
x
(*.f64 eps eps)

localize83.0ms (1.7%)

Memory
-35.8MiB live, 63.9MiB allocated; 15ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 (*.f64 eps #s(literal 2 binary64)) x (*.f64 eps eps))
accuracy0.0
(*.f64 eps eps)
accuracy0.0
(*.f64 eps #s(literal 2 binary64))
accuracy0.0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps #s(literal 2 binary64)) x (*.f64 eps eps)))
accuracy0.0
(*.f64 (*.f64 eps #s(literal 2 binary64)) x)
accuracy0.0
(*.f64 eps #s(literal 2 binary64))
accuracy22.991792412081494
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps #s(literal 2 binary64)) x))
Samples
38.0ms156×0valid
34.0ms88×1valid
3.0ms12×2valid
Compiler

Compiled 49 to 13 computations (73.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 46.0ms
ival-mult: 29.0ms (63.1% of total)
ival-pow2: 7.0ms (15.2% of total)
adjust: 4.0ms (8.7% of total)
ival-add: 4.0ms (8.7% of total)
ival-sub: 2.0ms (4.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
11.8MiB live, 11.8MiB allocated; 0ms collecting garbage
Counts
6 → 17
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 #s(literal 2 binary64)) x (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps #s(literal 2 binary64)) x (*.f64 eps eps)))
(*.f64 eps eps)
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (* (* eps 2) x) #s(hole binary64 (* 2 (* eps x))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (pow eps 2)))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (* eps 2) #s(hole binary64 (* 2 eps)))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (* eps eps) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* (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 2) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))
1.0ms
eps
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* (* eps 2) x) (* eps 2) (+ (* (* eps 2) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))
1.0ms
x
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* (* eps 2) x) (* eps 2) (+ (* (* eps 2) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))
1.0ms
x
@inf
((- (pow (+ x eps) 2) (pow x 2)) (* (* eps 2) x) (* eps 2) (+ (* (* eps 2) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))
1.0ms
eps
@0
((- (pow (+ x eps) 2) (pow x 2)) (* (* eps 2) x) (* eps 2) (+ (* (* eps 2) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))

simplify160.0ms (3.3%)

Memory
7.5MiB live, 197.1MiB allocated; 20ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051259
1132259
2421259
31632231
47079231
08290207
Stop Event
iter limit
node limit
Counts
17 → 17
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (* (* eps 2) x) #s(hole binary64 (* 2 (* eps x))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (pow eps 2)))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (* eps 2) #s(hole binary64 (* 2 eps)))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (* eps eps) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* (* eps 2) x) #s(hole binary64 (* 2 (* eps x))))
#s(approx (* (* eps 2) x) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#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)) #s(hole binary64 (* 2 (* eps 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)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#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)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#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)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* eps 2) #s(hole binary64 (* 2 eps)))
#s(approx (* eps 2) (*.f64 #s(literal 2 binary64) eps))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* eps eps) #s(hole binary64 (pow eps 2)))
#s(approx (* eps eps) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 (fma.f64 (/.f64 x eps) #s(literal 2 binary64) #s(literal 1 binary64)) eps) eps))
#s(approx (+ (* (* eps 2) x) (* eps eps)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 (fma.f64 (/.f64 x eps) #s(literal 2 binary64) #s(literal 1 binary64)) eps) eps))

rewrite46.0ms (0.9%)

Memory
-13.1MiB live, 33.0MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01352
01752
18050
064148
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
6 → 69
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 #s(literal 2 binary64)) x (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps #s(literal 2 binary64)) x (*.f64 eps eps)))
(*.f64 eps eps)
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(*.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))
(*.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 (+.f64 eps (*.f64 #s(literal 2 binary64) x)))
(*.f64 eps (fma.f64 #s(literal 2 binary64) x eps))
(/.f64 (-.f64 (pow.f64 eps #s(literal 4 binary64)) (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 2 binary64))) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 #s(literal 2 binary64) eps) x)))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 eps) eps) #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 2 binary64)) (+.f64 (pow.f64 eps #s(literal 4 binary64)) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) (*.f64 (neg.f64 eps) eps)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #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 (+.f64 (pow.f64 eps #s(literal 6 binary64)) (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 eps eps) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 #s(literal 2 binary64) eps) x)) (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 2 binary64)) (pow.f64 eps #s(literal 4 binary64))) (*.f64 eps (-.f64 (*.f64 #s(literal 2 binary64) x) eps)))
(/.f64 (+.f64 (pow.f64 eps #s(literal 6 binary64)) (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 3 binary64))) (+.f64 (pow.f64 eps #s(literal 4 binary64)) (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) eps) eps))))
(/.f64 (+.f64 (pow.f64 eps #s(literal 6 binary64)) (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 3 binary64))) (fma.f64 (*.f64 eps eps) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 #s(literal 2 binary64) eps) x)) (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 2 binary64))))
(fma.f64 (neg.f64 (neg.f64 eps)) (neg.f64 (neg.f64 eps)) (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(fma.f64 (neg.f64 (fabs.f64 eps)) (neg.f64 (fabs.f64 eps)) (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(fma.f64 (fabs.f64 (fabs.f64 eps)) (fabs.f64 (fabs.f64 eps)) (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(fma.f64 (pow.f64 eps #s(literal 1 binary64)) (pow.f64 eps #s(literal 1 binary64)) (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(fma.f64 (pow.f64 eps #s(literal 1 binary64)) eps (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(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 (*.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 (neg.f64 eps) (neg.f64 eps) (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(fma.f64 (fabs.f64 eps) (fabs.f64 eps) (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(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 #s(literal 2 binary64) eps) x))
(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 #s(literal 2 binary64) eps) x) #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 eps eps) (*.f64 (neg.f64 (*.f64 #s(literal 2 binary64) eps)) x))
(-.f64 (*.f64 eps eps) (*.f64 (neg.f64 eps) (*.f64 #s(literal 2 binary64) x)))
(-.f64 (*.f64 eps eps) (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) eps)))
(-.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) (*.f64 (neg.f64 (neg.f64 eps)) (neg.f64 eps)))
(-.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) (*.f64 (neg.f64 (fabs.f64 eps)) (fabs.f64 eps)))
(-.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) (*.f64 (neg.f64 eps) eps))
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 3 binary64)) (fma.f64 (*.f64 eps eps) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 #s(literal 2 binary64) eps) x)) (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 eps #s(literal 6 binary64)) (fma.f64 (*.f64 eps eps) (-.f64 (*.f64 eps eps) (*.f64 (*.f64 #s(literal 2 binary64) eps) x)) (pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 eps eps) (*.f64 (*.f64 #s(literal 2 binary64) eps) x))
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) eps) x) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps (fma.f64 #s(literal 2 binary64) 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
11.7MiB live, 11.7MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 786 to 247 computations (86.2% saved)

prune4.0ms (0.1%)

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New82284
Fresh000
Picked202
Done022
Total84488
Accuracy
100.0%
Counts
88 → 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 eps) x (*.f64 eps eps)))
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
64.1%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
74.8%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Compiler

Compiled 62 to 41 computations (33.9% saved)

simplify169.0ms (3.5%)

Memory
-4.8MiB live, 104.7MiB allocated; 72ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 eps eps)
cost-diff0
(+.f64 eps eps)
cost-diff0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (+.f64 eps eps) x (*.f64 eps eps)))
cost-diff2
(fma.f64 (+.f64 eps eps) x (*.f64 eps eps))
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
01359
01759
13159
29257
329557
487953
5303553
0819049
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
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (+.f64 eps eps) x (*.f64 eps eps)))
(fma.f64 (+.f64 eps eps) x (*.f64 eps eps))
(+.f64 eps eps)
eps
x
(*.f64 eps eps)
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
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (+.f64 eps eps) x (*.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 eps) x (*.f64 eps eps))
(*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps)
(+.f64 eps eps)
(*.f64 #s(literal 2 binary64) eps)
eps
x
(*.f64 eps eps)

localize51.0ms (1%)

Memory
-30.1MiB live, 60.1MiB allocated; 23ms collecting garbage
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(fma.f64 (+.f64 eps eps) x (*.f64 eps eps))
accuracy0.0
(+.f64 eps eps)
accuracy0.0
(*.f64 eps eps)
accuracy0.0
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (+.f64 eps eps) x (*.f64 eps eps)))
accuracy0.0
(+.f64 eps eps)
accuracy0.0
(*.f64 (+.f64 eps eps) x)
accuracy22.991792412081494
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
Samples
22.0ms88×1valid
18.0ms156×0valid
3.0ms12×2valid
Compiler

Compiled 47 to 12 computations (74.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 21.0ms
ival-pow2: 7.0ms (33% of total)
ival-add: 5.0ms (23.6% of total)
adjust: 4.0ms (18.9% of total)
ival-mult: 4.0ms (18.9% of total)
ival-sub: 2.0ms (9.4% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series6.0ms (0.1%)

Memory
10.4MiB live, 10.4MiB allocated; 0ms collecting garbage
Counts
6 → 17
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)
(fma.f64 (+.f64 eps eps) x (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (+.f64 eps eps) x (*.f64 eps eps)))
(*.f64 eps eps)
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (* (+ eps eps) x) #s(hole binary64 (* 2 (* eps x))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (pow eps 2)))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (+ eps eps) #s(hole binary64 (* 2 eps)))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (* eps eps) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* (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) (+ (* (+ eps eps) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))
1.0ms
eps
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* (+ eps eps) x) (+ eps eps) (+ (* (+ eps eps) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))
1.0ms
x
@inf
((- (pow (+ x eps) 2) (pow x 2)) (* (+ eps eps) x) (+ eps eps) (+ (* (+ eps eps) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))
1.0ms
x
@-inf
((- (pow (+ x eps) 2) (pow x 2)) (* (+ eps eps) x) (+ eps eps) (+ (* (+ eps eps) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))
1.0ms
eps
@0
((- (pow (+ x eps) 2) (pow x 2)) (* (+ eps eps) x) (+ eps eps) (+ (* (+ eps eps) x) (* eps eps)) (- (pow (+ x eps) 2) (pow x 2)) (* eps eps))

simplify197.0ms (4%)

Memory
23.9MiB live, 170.4MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051275
1130259
2420259
31628231
47099231
08314207
Stop Event
iter limit
node limit
Counts
17 → 17
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (* (+ eps eps) x) #s(hole binary64 (* 2 (* eps x))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (pow eps 2)))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (+ eps eps) #s(hole binary64 (* 2 eps)))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (* eps eps) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* (+ eps eps) x) #s(hole binary64 (* 2 (* eps x))))
#s(approx (* (+ eps eps) x) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (pow eps 2)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (+ (* 2 (* eps x)) (pow eps 2))))
#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)) #s(hole binary64 (* 2 (* eps 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)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* 2 (* eps x))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 eps x) #s(literal 2 binary64)))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* x (+ (* 2 eps) (/ (pow eps 2) x)))))
#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)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* -1 (* x (+ (* -2 eps) (* -1 (/ (pow eps 2) x)))))))
#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)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (+ eps eps) #s(hole binary64 (* 2 eps)))
#s(approx (+ eps eps) (*.f64 #s(literal 2 binary64) eps))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* eps (+ eps (* 2 x)))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
#s(approx (* eps eps) #s(hole binary64 (pow eps 2)))
#s(approx (* eps eps) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 (fma.f64 (/.f64 x eps) #s(literal 2 binary64) #s(literal 1 binary64)) eps) eps))
#s(approx (+ (* (+ eps eps) x) (* eps eps)) #s(hole binary64 (* (pow eps 2) (+ 1 (* 2 (/ x eps))))))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (*.f64 (fma.f64 (/.f64 x eps) #s(literal 2 binary64) #s(literal 1 binary64)) eps) eps))

rewrite63.0ms (1.3%)

Memory
-23.0MiB live, 65.0MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01352
01752
18442
074442
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
6 → 79
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)
(fma.f64 (+.f64 eps eps) x (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (+.f64 eps eps) x (*.f64 eps eps)))
(*.f64 eps eps)
Outputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 #s(literal 2 binary64) x))
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 eps)) (neg.f64 eps))
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fabs.f64 eps)) (fabs.f64 eps))
(*.f64 (*.f64 eps eps) (*.f64 #s(literal 2 binary64) x))
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 eps eps))
(*.f64 (*.f64 #s(literal 2 binary64) x) eps)
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 eps eps)))
(*.f64 #s(literal 2 binary64) (*.f64 eps x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x (*.f64 #s(literal 2 binary64) (*.f64 eps eps)))
(*.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)
(/.f64 (-.f64 (pow.f64 eps #s(literal 4 binary64)) (*.f64 #s(literal 4 binary64) (*.f64 x x))) (-.f64 (*.f64 eps eps) (*.f64 #s(literal 2 binary64) x)))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (neg.f64 eps) eps) #s(literal 3 binary64))) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (+.f64 (pow.f64 eps #s(literal 4 binary64)) (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 eps) eps)))))
(/.f64 (neg.f64 (-.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (pow.f64 eps #s(literal 4 binary64)))) (neg.f64 (fma.f64 #s(literal 2 binary64) x (*.f64 (neg.f64 eps) eps))))
(/.f64 (neg.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 eps #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(literal 4 binary64) (*.f64 x x) (-.f64 (pow.f64 eps #s(literal 4 binary64)) (*.f64 #s(literal 2 binary64) x)))))
(/.f64 (-.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (pow.f64 eps #s(literal 4 binary64))) (fma.f64 #s(literal 2 binary64) x (*.f64 (neg.f64 eps) eps)))
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 eps #s(literal 6 binary64))) (+.f64 (pow.f64 eps #s(literal 4 binary64)) (-.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) x))))
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) (pow.f64 eps #s(literal 6 binary64))) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (-.f64 (pow.f64 eps #s(literal 4 binary64)) (*.f64 #s(literal 2 binary64) x))))
(fma.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 eps)) (neg.f64 eps) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 eps)) (neg.f64 eps) (*.f64 eps eps))
(fma.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fabs.f64 eps)) (fabs.f64 eps) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fabs.f64 eps)) (fabs.f64 eps) (*.f64 eps eps))
(fma.f64 (neg.f64 (neg.f64 eps)) (neg.f64 (neg.f64 eps)) (*.f64 #s(literal 2 binary64) x))
(fma.f64 (neg.f64 (fabs.f64 eps)) (neg.f64 (fabs.f64 eps)) (*.f64 #s(literal 2 binary64) x))
(fma.f64 (fabs.f64 (fabs.f64 eps)) (fabs.f64 (fabs.f64 eps)) (*.f64 #s(literal 2 binary64) x))
(fma.f64 (pow.f64 eps #s(literal 1 binary64)) (pow.f64 eps #s(literal 1 binary64)) (*.f64 #s(literal 2 binary64) x))
(fma.f64 (pow.f64 eps #s(literal 1 binary64)) eps (*.f64 #s(literal 2 binary64) x))
(fma.f64 (neg.f64 eps) (neg.f64 eps) (*.f64 #s(literal 2 binary64) x))
(fma.f64 (fabs.f64 eps) (fabs.f64 eps) (*.f64 #s(literal 2 binary64) x))
(fma.f64 (*.f64 eps eps) (*.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 (*.f64 eps eps) (*.f64 #s(literal 2 binary64) x) (*.f64 eps eps))
(fma.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 eps eps) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 eps eps) (*.f64 eps eps))
(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 #s(literal 2 binary64) (*.f64 x (*.f64 eps eps)) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 #s(literal 2 binary64) (*.f64 x (*.f64 eps eps)) (*.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 #s(literal 2 binary64) x (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 #s(literal 2 binary64) x (*.f64 eps eps))
(fma.f64 eps eps (*.f64 #s(literal 2 binary64) x))
(fma.f64 x (*.f64 #s(literal 2 binary64) (*.f64 eps eps)) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 x (*.f64 #s(literal 2 binary64) (*.f64 eps eps)) (*.f64 eps eps))
(fma.f64 x #s(literal 2 binary64) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(fma.f64 x #s(literal 2 binary64) (*.f64 eps eps))
(-.f64 (/.f64 (*.f64 #s(literal 4 binary64) (*.f64 x x)) (fma.f64 #s(literal 2 binary64) x (*.f64 (neg.f64 eps) eps))) (/.f64 (pow.f64 eps #s(literal 4 binary64)) (fma.f64 #s(literal 2 binary64) x (*.f64 (neg.f64 eps) eps))))
(-.f64 (*.f64 eps eps) (*.f64 #s(literal -2 binary64) x))
(-.f64 (*.f64 eps eps) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(-.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 (neg.f64 eps)) (neg.f64 eps)))
(-.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 (fabs.f64 eps)) (fabs.f64 eps)))
(-.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 eps) eps))
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (-.f64 (pow.f64 eps #s(literal 4 binary64)) (*.f64 #s(literal 2 binary64) x)))) (/.f64 (pow.f64 eps #s(literal 6 binary64)) (fma.f64 #s(literal 4 binary64) (*.f64 x x) (-.f64 (pow.f64 eps #s(literal 4 binary64)) (*.f64 #s(literal 2 binary64) x)))))
(+.f64 (*.f64 eps eps) (*.f64 #s(literal 2 binary64) x))
(+.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 (neg.f64 (neg.f64 eps)) eps))
(+.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 eps eps))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 #s(literal 2 binary64) x (*.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))
(fabs.f64 (*.f64 eps eps))
(exp.f64 (*.f64 (log.f64 eps) #s(literal 2 binary64)))

eval9.0ms (0.2%)

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

Compiled 1 771 to 262 computations (85.2% saved)

prune5.0ms (0.1%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New87188
Fresh000
Picked022
Done022
Total87592
Accuracy
100.0%
Counts
92 → 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 eps) x (*.f64 eps eps)))
100.0%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (fma.f64 #s(literal 2 binary64) x eps) eps))
64.1%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 (+.f64 eps eps) x))
5.4%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 x #s(literal 2 binary64)))
74.8%
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (*.f64 eps eps))
Compiler

Compiled 207 to 83 computations (59.9% saved)

regimes15.0ms (0.3%)

Memory
-42.0MiB live, 15.7MiB allocated; 9ms 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 eps) x (*.f64 eps eps)))
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (*.f64 eps #s(literal 2 binary64)) x (*.f64 eps eps)))
(-.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 eps) x (*.f64 eps eps)))
Calls

3 calls:

9.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.1%)

Memory
18.9MiB live, 18.9MiB 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
15.7MiB live, 15.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
x
2.0ms
eps
2.0ms
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
97.5%2(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
92.2%3x
85.4%3eps
Compiler

Compiled 11 to 11 computations (0% saved)

regimes6.0ms (0.1%)

Memory
-34.2MiB live, 11.4MiB allocated; 3ms collecting garbage
Accuracy

Total -44.5b remaining (-276.1%)

Threshold costs -44.5b (-276.1%)

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:

3.0ms
(-.f64 (pow.f64 (+.f64 x eps) #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))
1.0ms
x
1.0ms
eps
Results
AccuracySegmentsBranch
74.8%1eps
74.8%1x
74.8%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.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
4.849497e-317
Compiler

Compiled 12 to 12 computations (0% saved)

simplify62.0ms (1.3%)

Memory
34.6MiB live, 34.6MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02487
13187
26287
318187
460677
5208177
6783677
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (- (pow (+ x eps) 2) (pow x 2)) (fma.f64 (+.f64 eps eps) x (*.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 eps) x (*.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))

derivations167.0ms (3.4%)

Memory
-44.7MiB live, 101.1MiB allocated; 14ms collecting garbage
Stop Event
fuel
Compiler

Compiled 87 to 25 computations (71.3% saved)

preprocess22.0ms (0.4%)

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

Compiled 192 to 64 computations (66.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...