Expanding a square

Time bar (total: 1.4s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
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)

sample913.0ms (63.3%)

Memory
33.6MiB live, 485.9MiB allocated; 878ms collecting garbage
Samples
141.0ms1 759×2valid
123.0ms2 322×1valid
105.0ms4 175×0valid
Precisions
Click to see histograms. Total time spent on operations: 215.0ms
adjust: 85.0ms (39.5% of total)
ival-mult!: 58.0ms (26.9% of total)
ival-add!: 41.0ms (19% of total)
ival-sub!: 31.0ms (14.4% of total)
Bogosity

preprocess55.0ms (3.8%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
01032
14026
216616
387315
4351215
5617915
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
58.2%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Compiler

Compiled 16 to 10 computations (37.5% saved)

series2.0ms (0.1%)

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

3 calls:

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

rewrite115.0ms (8%)

Memory
-24.6MiB live, 116.7MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041206
045170
1223170
02171158
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
20 → 149
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)
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 1))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* 2 x))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* x (+ 2 x)))))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (pow x 2)))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
Outputs
(*.f64 (+.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (-.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (+.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (-.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (+.f64 x #s(literal 0 binary64)) (-.f64 x #s(literal -2 binary64)))
(*.f64 (-.f64 x #s(literal -2 binary64)) (+.f64 x #s(literal 0 binary64)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 6 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 (fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64))))
(fma.f64 (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))) #s(literal -1 binary64))
(fma.f64 (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) #s(literal -1 binary64))
(fma.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))
(fma.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64) #s(literal -1 binary64))
(fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal -1 binary64))
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64)))
(fma.f64 #s(literal 1 binary64) (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))
(fma.f64 x (-.f64 x #s(literal -1 binary64)) (+.f64 x #s(literal 0 binary64)))
(expm1.f64 (*.f64 (log.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))
(-.f64 (/.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) (fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))))
(-.f64 (/.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 6 binary64)) (+.f64 (fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)))))
(-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
(+.f64 (fma.f64 x x x) (+.f64 x #s(literal 0 binary64)))
(+.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64))
(*.f64 (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))))
(*.f64 (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))))
(*.f64 (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))))
(*.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (-.f64 x #s(literal -1 binary64)))
(*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64))))
(*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (fabs.f64 (-.f64 x #s(literal -1 binary64))))
(*.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 #s(literal 1 binary64) (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))))
(pow.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))
(pow.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))
(pow.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
(pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 x #s(literal -1 binary64))) (-.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (-.f64 x #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (-.f64 x #s(literal -1 binary64))) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (-.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 (fma.f64 x x x) (fma.f64 x x x)) (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)))) (-.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64))))
(/.f64 (+.f64 (pow.f64 (fma.f64 x x x) #s(literal 3 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (fma.f64 x x x) (fma.f64 x x x) (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) (*.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64))))))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 (-.f64 x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 (-.f64 x #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x x #s(literal -1 binary64))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 x #s(literal 1 binary64))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 (-.f64 #s(literal 1 binary64) x) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 (-.f64 #s(literal 1 binary64) x) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (*.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)) (-.f64 x #s(literal 1 binary64))))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (*.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(neg.f64 (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (-.f64 x #s(literal -1 binary64))))
(neg.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (neg.f64 (-.f64 x #s(literal -1 binary64)))))
(fma.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x (fma.f64 x x x))
(fma.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64) (fma.f64 x x x))
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (-.f64 x #s(literal -1 binary64)))
(fma.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)) (fma.f64 x x x))
(fma.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) (fma.f64 x x x))
(fma.f64 x (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)))
(-.f64 (fma.f64 x x x) (*.f64 #s(literal -1 binary64) (-.f64 x #s(literal -1 binary64))))
(-.f64 (fma.f64 x x x) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(fabs.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))))
(exp.f64 (*.f64 (log.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))
(+.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64)))
(+.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 x x x))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)
(*.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)))
(*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64)) x) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 #s(literal 2 binary64) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (-.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (-.f64 #s(literal 1 binary64) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (neg.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (*.f64 #s(literal 2 binary64) (fma.f64 x x #s(literal -1 binary64))) (*.f64 #s(literal 2 binary64) (-.f64 x #s(literal 1 binary64))))
(/.f64 (*.f64 #s(literal 2 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (*.f64 #s(literal 2 binary64) (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 #s(literal 2 binary64) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 #s(literal 2 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (*.f64 #s(literal 2 binary64) (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (*.f64 #s(literal 2 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 2 binary64)) (*.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 2 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 2 binary64)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) #s(literal 2 binary64)) (*.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)) #s(literal 2 binary64)))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) #s(literal 2 binary64)) (*.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) #s(literal 2 binary64)))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1 binary64) x)) x))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64)))
#s(approx (+ x 1) #s(literal 1 binary64))
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64)))
#s(approx x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) x) x))
#s(approx (* (+ x 1) (+ x 1)) (*.f64 x x))
#s(approx (* (+ x 1) (+ x 1)) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) x) x))
#s(approx (* (+ x 1) (+ x 1)) (*.f64 (*.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) (/.f64 #s(literal -2 binary64) x)) #s(literal -1 binary64)) x) x))
#s(approx (+ x 1) x)
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64)))

eval12.0ms (0.9%)

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

Compiled 1 262 to 464 computations (63.2% saved)

prune5.0ms (0.4%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1405145
Fresh000
Picked101
Done000
Total1415146
Accuracy
100.0%
Counts
146 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64)))
3.5%
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
46.8%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
100.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
56.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Compiler

Compiled 82 to 72 computations (12.2% saved)

series5.0ms (0.3%)

Memory
4.1MiB live, 4.1MiB allocated; 0ms collecting garbage
Counts
17 → 30
Calls
Call 1
Inputs
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64)))
(-.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
(+.f64 x #s(literal 0 binary64))
#s(literal 0 binary64)
(-.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 x))
(+.f64 x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(-.f64 x #s(literal -2 binary64))
#s(literal -2 binary64)
Outputs
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x)))
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ x 0) #s(hole binary64 x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 1))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* 2 x))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* x (+ 2 x)))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (- x -2) x) #s(hole binary64 (* 2 x)))
#s(approx (* (- x -2) x) #s(hole binary64 (* x (+ 2 x))))
#s(approx (- x -2) #s(hole binary64 2))
#s(approx (- x -2) #s(hole binary64 (+ 2 x)))
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (pow x 2)))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (- x -2) x) #s(hole binary64 (pow x 2)))
#s(approx (* (- x -2) x) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (- x -2) #s(hole binary64 x))
#s(approx (- x -2) #s(hole binary64 (* x (+ 1 (* 2 (/ 1 x))))))
Calls

3 calls:

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

rewrite40.0ms (2.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
076432
083374
0338372
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
47 → 69
Calls
Call 1
Inputs
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64)))
(-.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
(+.f64 x #s(literal 0 binary64))
#s(literal 0 binary64)
(-.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 x))
(+.f64 x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(-.f64 x #s(literal -2 binary64))
#s(literal -2 binary64)
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x)))
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ x 0) #s(hole binary64 x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 1))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* 2 x))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* x (+ 2 x)))))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* (- x -2) x) #s(hole binary64 (* 2 x)))
#s(approx (* (- x -2) x) #s(hole binary64 (* x (+ 2 x))))
#s(approx (- x -2) #s(hole binary64 2))
#s(approx (- x -2) #s(hole binary64 (+ 2 x)))
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (pow x 2)))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (* (- x -2) x) #s(hole binary64 (pow x 2)))
#s(approx (* (- x -2) x) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (- x -2) #s(hole binary64 x))
#s(approx (- x -2) #s(hole binary64 (* x (+ 1 (* 2 (/ 1 x))))))
Outputs
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) (*.f64 (-.f64 x #s(literal -1 binary64)) x)) (*.f64 x x)) (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) (*.f64 (-.f64 x #s(literal -1 binary64)) x) (-.f64 (*.f64 x x) (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x))))
(fma.f64 (-.f64 x #s(literal -1 binary64)) x x)
(fma.f64 x (-.f64 x #s(literal -1 binary64)) x)
(+.f64 (fma.f64 (-.f64 x #s(literal -1 binary64)) x x) #s(literal 0 binary64))
(+.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x)
(+.f64 x (*.f64 (-.f64 x #s(literal -1 binary64)) x))
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (+.f64 x #s(literal -1 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (+.f64 #s(literal 1 binary64) (*.f64 x #s(literal -1 binary64)))))
(-.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
x
#s(literal 0 binary64)
(/.f64 (-.f64 (*.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))) #s(literal 1 binary64)) (+.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)))))
(-.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 x))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 x #s(literal 2 binary64))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(*.f64 x (-.f64 x #s(literal -2 binary64)))
(/.f64 (-.f64 (*.f64 x x) #s(literal 4 binary64)) (+.f64 x #s(literal -2 binary64)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64)) (fma.f64 x x (+.f64 #s(literal 4 binary64) (*.f64 x #s(literal -2 binary64)))))
(-.f64 x #s(literal -2 binary64))
#s(literal -2 binary64)
#s(approx (+ (* (- x -1) x) (+ x 0)) (+.f64 x x))
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 (+.f64 #s(literal 2 binary64) x) x))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (- x -1) (+.f64 #s(literal 1 binary64) x))
#s(approx (+ x 0) x)
#s(approx (+ x 0) x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (+.f64 #s(literal 2 binary64) x) x))
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 (+.f64 #s(literal 2 binary64) x) x #s(literal 1 binary64)))
#s(approx (+ x x) (+.f64 x x))
#s(approx (* x x) (*.f64 x x))
#s(approx (* (- x -2) x) (+.f64 x x))
#s(approx (* (- x -2) x) (*.f64 (+.f64 #s(literal 2 binary64) x) x))
#s(approx (- x -2) #s(literal 2 binary64))
#s(approx (- x -2) (+.f64 #s(literal 2 binary64) x))
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 x x))
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 (+.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (- x -1) x)
#s(approx (- x -1) (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (+.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (* (+ x 1) (+ x 1)) (*.f64 x x))
#s(approx (* (+ x 1) (+ x 1)) (*.f64 (+.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (* (+ x 1) (+ x 1)) (*.f64 (+.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) (/.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (* (- x -2) x) (*.f64 x x))
#s(approx (* (- x -2) x) (*.f64 (+.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (- x -2) x)
#s(approx (- x -2) (*.f64 (+.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) x))

eval5.0ms (0.3%)

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

Compiled 351 to 183 computations (47.9% saved)

prune7.0ms (0.5%)

Memory
-42.4MiB live, 3.3MiB allocated; 5ms collecting garbage
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New51152
Fresh000
Picked145
Done000
Total52557
Accuracy
100.0%
Counts
57 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 x #s(literal -1 binary64)) x x)
3.5%
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
46.8%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
100.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
56.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Compiler

Compiled 39 to 34 computations (12.8% saved)

series1.0ms (0.1%)

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

3 calls:

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

rewrite54.0ms (3.7%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
02992
03086
114281
0111381
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
13 → 73
Calls
Call 1
Inputs
(fma.f64 (-.f64 x #s(literal -1 binary64)) x x)
(-.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
#s(approx (+ (* (- x -1) x) x) #s(hole binary64 (* 2 x)))
#s(approx (+ (* (- x -1) x) x) #s(hole binary64 (* x (+ 2 x))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (- x -1) x) x) #s(hole binary64 (pow x 2)))
#s(approx (+ (* (- x -1) x) x) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
Outputs
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(*.f64 x (-.f64 x #s(literal -2 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 4 binary64) (*.f64 x x)) x) (-.f64 #s(literal 2 binary64) x))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) x #s(literal 8 binary64)) x) (fma.f64 x (-.f64 x #s(literal 2 binary64)) #s(literal 4 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 4 binary64) (*.f64 x x))) (-.f64 #s(literal 2 binary64) x))
(/.f64 (*.f64 x (fma.f64 (*.f64 x x) x #s(literal 8 binary64))) (fma.f64 x (-.f64 x #s(literal 2 binary64)) #s(literal 4 binary64)))
(/.f64 (-.f64 (*.f64 (+.f64 x x) (+.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (+.f64 x x) (*.f64 x x)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x) (-.f64 x #s(literal -1 binary64)))) (-.f64 x (*.f64 (-.f64 x #s(literal -1 binary64)) x)))
(/.f64 (+.f64 (pow.f64 (+.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (+.f64 x x) (+.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (+.f64 x x) (*.f64 x x)))))
(/.f64 (neg.f64 (*.f64 (*.f64 (-.f64 x #s(literal -2 binary64)) x) (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x))) (neg.f64 (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x (pow.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x) (-.f64 x #s(literal -1 binary64)) (*.f64 x (-.f64 x (*.f64 (-.f64 x #s(literal -1 binary64)) x))))))
(/.f64 (*.f64 (*.f64 (-.f64 x #s(literal -2 binary64)) x) (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x)) (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x))
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x) (-.f64 x #s(literal -1 binary64))) (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x))))
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x) (-.f64 x #s(literal -1 binary64)) (*.f64 x (-.f64 x (*.f64 (-.f64 x #s(literal -1 binary64)) x)))))
(fma.f64 (*.f64 (*.f64 x x) #s(literal -1 binary64)) #s(literal -1 binary64) (+.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (+.f64 x x))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (+.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (+.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (+.f64 x x))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (+.f64 x x))
(fma.f64 (+.f64 x x) #s(literal 1 binary64) (*.f64 x x))
(fma.f64 #s(literal 2 binary64) x (*.f64 x x))
(fma.f64 (-.f64 x #s(literal -1 binary64)) x x)
(fma.f64 #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) (*.f64 x x)) (+.f64 x x))
(fma.f64 x #s(literal 2 binary64) (*.f64 x x))
(fma.f64 x (-.f64 x #s(literal -1 binary64)) x)
(fma.f64 x x (+.f64 x x))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x) (-.f64 x #s(literal -1 binary64))) (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x)))
(-.f64 (+.f64 x x) (*.f64 (neg.f64 x) x))
(-.f64 x (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) x))
(-.f64 x (*.f64 (neg.f64 x) (-.f64 x #s(literal -1 binary64))))
(+.f64 (/.f64 (pow.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x) (-.f64 x #s(literal -1 binary64)) (*.f64 x (-.f64 x (*.f64 (-.f64 x #s(literal -1 binary64)) x))))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x) (-.f64 x #s(literal -1 binary64)) (*.f64 x (-.f64 x (*.f64 (-.f64 x #s(literal -1 binary64)) x))))))
(+.f64 (*.f64 x x) (+.f64 x x))
(+.f64 (+.f64 x x) (*.f64 x x))
(+.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x)
(+.f64 x (+.f64 x (*.f64 x x)))
(+.f64 x (*.f64 (-.f64 x #s(literal -1 binary64)) x))
(*.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)
(*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64)) x) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 x (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x)) #s(literal 1 binary64))) (fma.f64 (/.f64 #s(literal 1 binary64) x) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (-.f64 #s(literal 1 binary64) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64))) (neg.f64 (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (+.f64 #s(literal -1 binary64) x)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64)))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (+.f64 #s(literal -1 binary64) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) x) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (fma.f64 (*.f64 x x) x #s(literal 1 binary64)) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)))
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal -1 binary64) x)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) x)))
(-.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal -1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))))
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1 binary64) x)) x))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 x (-.f64 x #s(literal 1 binary64)) #s(literal 1 binary64))))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
x
#s(literal -1 binary64)
#s(approx (+ (* (- x -1) x) x) (+.f64 x x))
#s(approx (+ (* (- x -1) x) x) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx x x)
#s(approx (+ (* (- x -1) x) x) (*.f64 x x))
#s(approx (+ (* (- x -1) x) x) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) x) x))
#s(approx (- x -1) x)
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))

eval6.0ms (0.4%)

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

Compiled 445 to 210 computations (52.8% saved)

prune3.0ms (0.2%)

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

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New67168
Fresh000
Picked011
Done044
Total67673
Accuracy
100.0%
Counts
73 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 x #s(literal -1 binary64)) x x)
61.9%
(fma.f64 #s(approx (- x -1) x) x x)
3.5%
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
46.8%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
100.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
56.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Compiler

Compiled 44 to 39 computations (11.4% saved)

series1.0ms (0.1%)

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

3 calls:

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

rewrite66.0ms (4.6%)

Memory
-23.6MiB live, 21.8MiB allocated; 3ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02899
03093
115685
0124185
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
12 → 27
Calls
Call 1
Inputs
(fma.f64 #s(approx (- x -1) x) x x)
#s(approx (- x -1) x)
x
#s(approx (+ (* (- x -1) x) x) #s(hole binary64 (* 2 x)))
#s(approx (+ (* (- x -1) x) x) #s(hole binary64 (* x (+ 2 x))))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (- x -1) x) x) #s(hole binary64 (pow x 2)))
#s(approx (+ (* (- x -1) x) x) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x))))))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
Outputs
(*.f64 (-.f64 #s(approx (- x -1) x) #s(literal -1 binary64)) x)
(*.f64 x (-.f64 #s(approx (- x -1) x) #s(literal -1 binary64)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x))) (-.f64 x (*.f64 #s(approx (- x -1) x) x)))
(/.f64 (neg.f64 (*.f64 (fma.f64 #s(approx (- x -1) x) x x) (-.f64 (*.f64 #s(approx (- x -1) x) x) x))) (neg.f64 (-.f64 (*.f64 #s(approx (- x -1) x) x) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x)) (*.f64 #s(approx (- x -1) x) x) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x) (*.f64 x (-.f64 x (*.f64 #s(approx (- x -1) x) x))))))
(/.f64 (*.f64 (fma.f64 #s(approx (- x -1) x) x x) (-.f64 (*.f64 #s(approx (- x -1) x) x) x)) (-.f64 (*.f64 #s(approx (- x -1) x) x) x))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x)) (*.f64 #s(approx (- x -1) x) x) (*.f64 (*.f64 x x) x)) (fma.f64 x x (-.f64 (*.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x)) (*.f64 (*.f64 #s(approx (- x -1) x) x) x))))
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x)) (*.f64 #s(approx (- x -1) x) x) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x) (*.f64 x (-.f64 x (*.f64 #s(approx (- x -1) x) x)))))
(fma.f64 #s(approx (- x -1) x) x x)
(fma.f64 x #s(approx (- x -1) x) x)
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x)) (-.f64 (*.f64 #s(approx (- x -1) x) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 #s(approx (- x -1) x) x) x)))
(-.f64 x (*.f64 (neg.f64 #s(approx (- x -1) x)) x))
(-.f64 x (*.f64 (neg.f64 x) #s(approx (- x -1) x)))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x)) (*.f64 #s(approx (- x -1) x) x)) (fma.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x) (*.f64 x (-.f64 x (*.f64 #s(approx (- x -1) x) x))))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 (*.f64 #s(approx (- x -1) x) x) x) #s(approx (- x -1) x) (*.f64 x (-.f64 x (*.f64 #s(approx (- x -1) x) x))))))
(+.f64 (*.f64 #s(approx (- x -1) x) x) x)
(+.f64 x (*.f64 #s(approx (- x -1) x) x))
#s(approx (- x -1) x)
x
#s(approx (+ (* (- x -1) x) x) (+.f64 x x))
#s(approx (+ (* (- x -1) x) x) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx x x)
#s(approx (+ (* (- x -1) x) x) (*.f64 x x))
#s(approx (+ (* (- x -1) x) x) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) x) x))
#s(approx (- x -1) x)
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))

eval2.0ms (0.1%)

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

Compiled 254 to 73 computations (71.3% saved)

prune3.0ms (0.2%)

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

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New22022
Fresh000
Picked011
Done055
Total22628
Accuracy
100.0%
Counts
28 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 x #s(literal -1 binary64)) x x)
61.9%
(fma.f64 #s(approx (- x -1) x) x x)
3.5%
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))
46.8%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
100.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
56.0%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Compiler

Compiled 89 to 68 computations (23.6% saved)

regimes10.0ms (0.7%)

Memory
9.6MiB live, 9.6MiB allocated; 0ms collecting garbage
Counts
8 → 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 x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(fma.f64 #s(approx (- x -1) x) x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
(fma.f64 (-.f64 x #s(literal -1 binary64)) x x)
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64)))
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Outputs
(fma.f64 (-.f64 x #s(literal -1 binary64)) x x)
Calls

4 calls:

3.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%1(+.f64 x #s(literal 1 binary64))
100.0%1(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
100.0%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
100.0%1x
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes7.0ms (0.5%)

Memory
8.0MiB live, 8.0MiB allocated; 0ms collecting garbage
Counts
5 → 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 x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(fma.f64 #s(approx (- x -1) x) x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x))
Calls

4 calls:

2.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))
1.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
Results
AccuracySegmentsBranch
100.0%1(+.f64 x #s(literal 1 binary64))
100.0%1(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
100.0%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
100.0%1x
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes6.0ms (0.4%)

Memory
7.5MiB live, 7.5MiB allocated; 0ms collecting garbage
Counts
4 → 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 x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(fma.f64 #s(approx (- x -1) x) x x)
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
(fma.f64 #s(approx (- x -1) x) x x)
Calls

4 calls:

2.0ms
x
2.0ms
(+.f64 x #s(literal 1 binary64))
1.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.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))
Results
AccuracySegmentsBranch
98.0%3(+.f64 x #s(literal 1 binary64))
98.0%2(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
98.0%2(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
98.0%3x
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes3.0ms (0.2%)

Memory
3.3MiB live, 3.3MiB allocated; 0ms collecting garbage
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 x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Calls

2 calls:

1.0ms
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.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))
Results
AccuracySegmentsBranch
98.0%2(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
98.0%2(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Compiler

Compiled 14 to 9 computations (35.7% saved)

regimes6.0ms (0.4%)

Memory
-35.7MiB live, 9.8MiB allocated; 2ms collecting garbage
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 x))
Outputs
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x))
Calls

4 calls:

3.0ms
(+.f64 x #s(literal 1 binary64))
1.0ms
x
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
46.8%1(+.f64 x #s(literal 1 binary64))
46.8%1x
46.8%1(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
46.8%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes4.0ms (0.3%)

Memory
9.2MiB live, 9.2MiB allocated; 0ms collecting garbage
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.5%1(+.f64 x #s(literal 1 binary64))
3.5%1x
3.5%1(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64)))
3.5%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
Compiler

Compiled 18 to 13 computations (27.8% saved)

bsearch0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.09756143787919358
9.846221414971541
Compiler

Compiled 11 to 9 computations (18.2% saved)

bsearch0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.09756143787919358
9.846221414971541
Compiler

Compiled 11 to 9 computations (18.2% saved)

derivations36.0ms (2.5%)

Memory
20.6MiB live, 20.6MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 47 to 30 computations (36.2% saved)

preprocess73.0ms (5.1%)

Memory
-3.3MiB live, 52.9MiB allocated; 91ms collecting garbage
Compiler

Compiled 55 to 35 computations (36.4% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...