Expanding a square

Time bar (total: 4.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 11 to 7 computations (36.4% saved)

sample767.0ms (18.3%)

Memory
38.7MiB live, 707.0MiB allocated
Samples
198.0ms2 436×1valid
170.0ms1 578×2valid
146.0ms4 242×0valid
Precisions
Click to see histograms. Total time spent on operations: 339.0ms
adjust: 96.0ms (28.4% of total)
ival-mult: 86.0ms (25.4% of total)
ival-add: 79.0ms (23.3% of total)
ival-sub: 64.0ms (18.9% of total)
ival-true: 5.0ms (1.5% of total)
exact: 5.0ms (1.5% of total)
ival-assert: 3.0ms (0.9% of total)
Bogosity

explain134.0ms (3.2%)

Memory
-16.9MiB live, 143.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1370-0-(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
00-0-(+.f64 x #s(literal 1 binary64))
00-0-(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
00-0-#s(literal 1 binary64)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))cancellation1370
Confusion
Predicted +Predicted -
+1370
-0119
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+13700
-00119
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0119
1137
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
15.0ms94×2valid
14.0ms168×1valid
10.0ms250×0valid
Compiler

Compiled 118 to 56 computations (52.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 20.0ms
adjust: 5.0ms (24.5% of total)
ival-add: 5.0ms (24.5% of total)
ival-mult: 5.0ms (24.5% of total)
ival-sub: 4.0ms (19.6% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess460.0ms (11%)

Memory
-17.1MiB live, 189.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0723
12619
28813
332810
4136110
5361010
6490710
7563410
8597210
9605310
10606310
11640710
12657510
13659610
14682710
15684110
16692310
17700310
18704010
19704010
20704010
21704410
22704410
059
089
1237
2525
31155
44875
516675
641465
759495
872925
081685
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
Compiler

Compiled 9 to 5 computations (44.4% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.7MiB live, 1.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.9%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Compiler

Compiled 9 to 5 computations (44.4% saved)

simplify147.0ms (3.5%)

Memory
25.8MiB live, 117.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x #s(literal 1 binary64))
cost-diff128
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
cost-diff256
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0521
0821
12319
25217
311517
448717
5166717
6414617
7594917
8729217
0816816
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
(fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64))
(+.f64 x #s(literal 1 binary64))
(-.f64 x #s(literal -1 binary64))
x
#s(literal 1 binary64)

localize24.0ms (0.6%)

Memory
7.6MiB live, 37.8MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x #s(literal 1 binary64))
accuracy0.015625
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
accuracy31.3828901511661
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Samples
7.0ms47×2valid
6.0ms84×1valid
5.0ms125×0valid
Compiler

Compiled 44 to 12 computations (72.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-add: 4.0ms (35% of total)
ival-mult: 3.0ms (26.3% of total)
adjust: 2.0ms (17.5% of total)
ival-sub: 2.0ms (17.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
-26.3MiB live, 4.9MiB allocated
Counts
3 → 36
Calls
Call 1
Inputs
#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())
#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt (* 2 x) (taylor 0 x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 2 x))) (taylor 0 x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 2 x))) (taylor 0 x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
((- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (+ x 1))
1.0ms
x
@-inf
((- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (+ x 1))
0.0ms
x
@inf
((- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (+ x 1))

simplify223.0ms (5.3%)

Memory
30.8MiB live, 148.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020148
158148
2115148
3290148
4561148
52376148
63744148
74603148
85228148
96074148
106411148
116675148
08086141
Stop Event
iter limit
node limit
Counts
36 → 34
Calls
Call 1
Inputs
(* 2 x)
(* x (+ 2 x))
(* x (+ 2 x))
(* x (+ 2 x))
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 x)))
(+ 1 (* x (+ 2 x)))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 2 x)))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 x)))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)

rewrite163.0ms (3.9%)

Memory
-18.5MiB live, 115.9MiB allocated
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0519
0815
14815
237913
3633413
0823713
Stop Event
iter limit
node limit
iter limit
Counts
3 → 600
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval170.0ms (4%)

Memory
-3.2MiB live, 100.3MiB allocated
Compiler

Compiled 14 600 to 1 684 computations (88.5% saved)

prune192.0ms (4.6%)

Memory
-0.9MiB live, 29.9MiB allocated
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New7235728
Fresh000
Picked101
Done000
Total7245729
Accuracy
100.0%
Counts
729 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
3.7%
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
100.0%
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
48.8%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
54.1%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
Compiler

Compiled 46 to 38 computations (17.4% saved)

simplify139.0ms (3.3%)

Memory
-0.9MiB live, 66.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 #s(literal 2 binary64) x)
cost-diff0
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
cost-diff0
(*.f64 x #s(literal 2 binary64))
cost-diff0
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
cost-diff0
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
cost-diff0
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
cost-diff0
(+.f64 #s(literal 1 binary64) x)
cost-diff64
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01677
02478
15072
27768
313368
450168
5168268
6416568
7596768
8731668
0819766
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 x x)
x
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
(+.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
Outputs
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(+.f64 #s(literal 1 binary64) x)
(-.f64 x #s(literal -1 binary64))
#s(literal 1 binary64)
x
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
#s(literal 1 binary64)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
x
#s(literal 2 binary64)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 x x)
x
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(+.f64 #s(literal 2 binary64) x)
(-.f64 x #s(literal -2 binary64))
#s(literal 2 binary64)
x

localize193.0ms (4.6%)

Memory
-12.6MiB live, 18.2MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 #s(literal 2 binary64) x)
accuracy0.00390625
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
accuracy0
(*.f64 x x)
accuracy32.7721937692759
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
accuracy0
(*.f64 x #s(literal 2 binary64))
accuracy29.407052234058035
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
accuracy29.286212549876847
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
accuracy31.3828901511661
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
accuracy0
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
accuracy0
(+.f64 #s(literal 1 binary64) x)
Samples
12.0ms84×1valid
11.0ms125×0valid
10.0ms47×2valid
Compiler

Compiled 113 to 28 computations (75.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 21.0ms
ival-mult: 8.0ms (38% of total)
ival-add: 6.0ms (28.5% of total)
adjust: 5.0ms (23.8% of total)
ival-sub: 2.0ms (9.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series7.0ms (0.2%)

Memory
3.5MiB live, 3.5MiB allocated
Counts
10 → 120
Calls
Call 1
Inputs
#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())
#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())
#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())
#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())
Outputs
#s(alt (* 2 x) (taylor 0 x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 2 x))) (taylor 0 x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 2 x))) (taylor 0 x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt 2 (taylor 0 x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 2 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 2 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 2 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor inf x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor inf x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) (patch (fma.f64 (+.f64 #s(literal 1 binary64) x) x x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) (patch (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (patch #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) (patch #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 2 binary64) x) x) (patch (*.f64 (+.f64 #s(literal 2 binary64) x) x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (+.f64 #s(literal 2 binary64) x) (patch (+.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((+ (* (+ 1 x) x) x) (+ 1 x) (- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (- (* (+ x 1) (+ x 1)) 1) (* x 2) (- (* (+ x 1) (+ x 1)) 1) (* x x) (* (+ 2 x) x) (+ 2 x))
1.0ms
x
@0
((+ (* (+ 1 x) x) x) (+ 1 x) (- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (- (* (+ x 1) (+ x 1)) 1) (* x 2) (- (* (+ x 1) (+ x 1)) 1) (* x x) (* (+ 2 x) x) (+ 2 x))
1.0ms
x
@inf
((+ (* (+ 1 x) x) x) (+ 1 x) (- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (- (* (+ x 1) (+ x 1)) 1) (* x 2) (- (* (+ x 1) (+ x 1)) 1) (* x x) (* (+ 2 x) x) (+ 2 x))

simplify262.0ms (6.3%)

Memory
2.7MiB live, 100.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021466
164466
2127466
3256466
4529466
52260466
63590466
74443466
85060466
95905466
106242466
116507466
127906466
08025459
Stop Event
iter limit
node limit
Counts
120 → 116
Calls
Call 1
Inputs
(* 2 x)
(* x (+ 2 x))
(* x (+ 2 x))
(* x (+ 2 x))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(* 2 x)
(* x (+ 2 x))
(* x (+ 2 x))
(* x (+ 2 x))
1
(+ 1 (* 2 x))
(+ 1 (* x (+ 2 x)))
(+ 1 (* x (+ 2 x)))
(* 2 x)
(* x (+ 2 x))
(* x (+ 2 x))
(* x (+ 2 x))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* x (+ 2 x))
(* x (+ 2 x))
(* x (+ 2 x))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 2 x)
(* x (+ 2 x))
(* x (+ 2 x))
(* x (+ 2 x))
2
(+ 2 x)
(+ 2 x)
(+ 2 x)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
x
(* x (+ 1 (* 2 (/ 1 x))))
(* x (+ 1 (* 2 (/ 1 x))))
(* x (+ 1 (* 2 (/ 1 x))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
x
(* x (+ 1 (* 2 (/ 1 x))))
(* x (+ 1 (* 2 (/ 1 x))))
(* x (+ 1 (* 2 (/ 1 x))))
Outputs
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
1
#s(literal 1 binary64)
(+ 1 (* 2 x))
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 2 x)))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 2 x)))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* x (+ 2 x))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
2
#s(literal 2 binary64)
(+ 2 x)
(+.f64 x #s(literal 2 binary64))
(+ 2 x)
(+.f64 x #s(literal 2 binary64))
(+ 2 x)
(+.f64 x #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
x
(* x (+ 1 (* 2 (/ 1 x))))
(+.f64 x #s(literal 2 binary64))
(* x (+ 1 (* 2 (/ 1 x))))
(+.f64 x #s(literal 2 binary64))
(* x (+ 1 (* 2 (/ 1 x))))
(+.f64 x #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))
(fma.f64 (+.f64 x #s(literal 2 binary64)) x #s(literal 1 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
(* (pow x 2) (+ 1 (* 2 (/ 1 x))))
(*.f64 (+.f64 x #s(literal 2 binary64)) x)
x
(* x (+ 1 (* 2 (/ 1 x))))
(+.f64 x #s(literal 2 binary64))
(* x (+ 1 (* 2 (/ 1 x))))
(+.f64 x #s(literal 2 binary64))
(* x (+ 1 (* 2 (/ 1 x))))
(+.f64 x #s(literal 2 binary64))

rewrite149.0ms (3.6%)

Memory
12.3MiB live, 98.2MiB allocated
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01669
02462
111460
286056
0840156
Stop Event
iter limit
node limit
iter limit
Counts
10 → 689
Calls
Call 1
Inputs
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
(+.f64 #s(literal 1 binary64) x)
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 x x)
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
(+.f64 #s(literal 2 binary64) x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval98.0ms (2.3%)

Memory
17.4MiB live, 112.7MiB allocated
Compiler

Compiled 15 173 to 1 166 computations (92.3% saved)

prune37.0ms (0.9%)

Memory
-28.7MiB live, 46.6MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New8050805
Fresh000
Picked055
Done000
Total8055810
Accuracy
100.0%
Counts
810 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
3.7%
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
100.0%
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
48.8%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
54.1%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
Compiler

Compiled 55 to 35 computations (36.4% saved)

regimes11.0ms (0.3%)

Memory
-7.4MiB live, 23.6MiB allocated
Counts
6 → 1
Calls
Call 1
Inputs
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Outputs
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
Calls

4 calls:

4.0ms
x
2.0ms
(+.f64 x #s(literal 1 binary64))
2.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
2.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
100.0%1(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
100.0%1(+.f64 x #s(literal 1 binary64))
Compiler

Compiled 20 to 13 computations (35% saved)

regimes8.0ms (0.2%)

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

4 calls:

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

Compiled 20 to 13 computations (35% saved)

regimes7.0ms (0.2%)

Memory
5.7MiB live, 5.7MiB allocated
Counts
3 → 2
Calls
Call 1
Inputs
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Calls

4 calls:

2.0ms
x
2.0ms
(+.f64 x #s(literal 1 binary64))
1.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
1.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
98.1%3x
98.1%2(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
98.1%2(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
98.1%3(+.f64 x #s(literal 1 binary64))
Compiler

Compiled 20 to 13 computations (35% saved)

regimes6.0ms (0.1%)

Memory
5.3MiB live, 5.3MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
Calls

4 calls:

1.0ms
x
1.0ms
(+.f64 x #s(literal 1 binary64))
1.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
1.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
54.1%1x
54.1%1(+.f64 x #s(literal 1 binary64))
54.1%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
54.1%1(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
Compiler

Compiled 20 to 13 computations (35% saved)

regimes5.0ms (0.1%)

Memory
5.0MiB live, 5.0MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

1.0ms
x
1.0ms
(+.f64 x #s(literal 1 binary64))
1.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
1.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
3.7%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
3.7%1(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
3.7%1x
3.7%1(+.f64 x #s(literal 1 binary64))
Compiler

Compiled 20 to 13 computations (35% saved)

bsearch0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.0000000000718865
50176.373888837115
Compiler

Compiled 12 to 10 computations (16.7% saved)

simplify180.0ms (4.3%)

Memory
-14.0MiB live, 17.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02071
12971
23371
33671
43971
54271
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
(if (<=.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 2 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
Outputs
(fma.f64 (+.f64 #s(literal 1 binary64) x) x x)
(fma.f64 (+.f64 x #s(literal 1 binary64)) x x)
(*.f64 (+.f64 #s(literal 2 binary64) x) x)
(if (<=.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 2 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64))) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)))
(if (<=.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 2 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x #s(literal 2 binary64)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x))
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))

soundness607.0ms (14.5%)

Memory
-3.0MiB live, 121.0MiB allocated
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
020148
158148
2115148
3290148
4561148
52376148
63744148
74603148
85228148
96074148
106411148
116675148
08086141
0519
0815
14815
237913
3633413
0823713
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 84 to 43 computations (48.8% saved)

preprocess198.0ms (4.7%)

Memory
4.7MiB live, 35.6MiB allocated
Compiler

Compiled 92 to 42 computations (54.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...