Expanding a square

Time bar (total: 1.4s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample994.0ms (70.9%)

Memory
19.6MiB live, 518.5MiB allocated; 904ms collecting garbage
Samples
436.0ms1 795×2valid
209.0ms2 300×1valid
104.0ms4 161×0valid
Precisions
Click to see histograms. Total time spent on operations: 589.0ms
ival-sub!: 315.0ms (53.5% of total)
ival-mult!: 142.0ms (24.1% of total)
adjust: 89.0ms (15.1% of total)
ival-add!: 43.0ms (7.3% of total)
Bogosity

preprocess58.0ms (4.1%)

Memory
-12.0MiB live, 30.9MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01023
15421
227415
3173515
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.9%
(-.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
1.5MiB live, 1.5MiB allocated; 0ms collecting garbage
Counts
5 → 11
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 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) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))))
#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)

rewrite94.0ms (6.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
037166
042136
1248134
02266133
17155133
Stop Event
saturated
iter-limit
node-limit
iter-limit
Counts
16 → 98
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 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) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2)))))))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
Outputs
(*.f64 (+.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) #s(literal 1 binary64)) (-.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) #s(literal 1 binary64)))
(*.f64 (+.f64 (-.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) (-.f64 (-.f64 #s(literal -1 binary64) x) #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)))
(neg.f64 (neg.f64 (*.f64 (-.f64 x #s(literal 0 binary64)) (-.f64 x #s(literal -2 binary64)))))
(fma.f64 (*.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) #s(literal 1 binary64)) (*.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (*.f64 (-.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) (*.f64 (-.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x))) (fabs.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x))) #s(literal -1 binary64))
(fma.f64 (neg.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x))) (neg.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x))) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) (*.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) (fabs.f64 (-.f64 #s(literal -1 binary64) 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))
(fma.f64 (-.f64 #s(literal -1 binary64) x) (-.f64 #s(literal -1 binary64) x) #s(literal -1 binary64))
(fma.f64 (fma.f64 (-.f64 x #s(literal -2 binary64)) 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) (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
(fma.f64 x (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal 0 binary64)))
(-.f64 (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64)) #s(literal 1 binary64))
(+.f64 (fma.f64 x x x) (-.f64 x #s(literal 0 binary64)))
(+.f64 #s(literal -1 binary64) (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64)))
(+.f64 (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64))
(*.f64 (*.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) #s(literal 1 binary64)) (*.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) #s(literal 1 binary64)))
(*.f64 (*.f64 (-.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) (*.f64 (-.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)))
(*.f64 (fabs.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x))) (fabs.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x))))
(*.f64 (neg.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x))) (neg.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x))))
(*.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) (*.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) #s(literal 1 binary64)))
(*.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) (fabs.f64 (-.f64 #s(literal -1 binary64) x)))
(*.f64 (-.f64 #s(literal -1 binary64) x) (*.f64 (-.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)))
(*.f64 (-.f64 #s(literal -1 binary64) x) (-.f64 #s(literal -1 binary64) x))
(*.f64 (fma.f64 (-.f64 x #s(literal -2 binary64)) 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) (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64)))
(pow.f64 (fabs.f64 (-.f64 #s(literal -1 binary64) x)) #s(literal 2 binary64))
(pow.f64 (-.f64 #s(literal -1 binary64) x) #s(literal 2 binary64))
(pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(neg.f64 (-.f64 (*.f64 (neg.f64 x) (-.f64 x #s(literal -2 binary64))) #s(literal 1 binary64)))
(neg.f64 (*.f64 (-.f64 #s(literal -1 binary64) x) (-.f64 x #s(literal -1 binary64))))
(neg.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 #s(literal -1 binary64) x)))
(fma.f64 (*.f64 #s(literal 1 binary64) (-.f64 x #s(literal -2 binary64))) 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 (-.f64 x #s(literal -2 binary64)) x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64))
(fma.f64 (+.f64 x x) #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64)))
(fma.f64 #s(literal 2 binary64) x (fma.f64 x x #s(literal 1 binary64)))
(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 (-.f64 x #s(literal -2 binary64)) x) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (+.f64 x x) (fma.f64 x 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 -2 binary64)) #s(literal 1 binary64))
(fma.f64 x #s(literal 2 binary64) (fma.f64 x x #s(literal 1 binary64)))
(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 (-.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)))
(-.f64 (fma.f64 x x x) (-.f64 #s(literal -1 binary64) x))
(-.f64 (*.f64 (-.f64 x #s(literal -2 binary64)) x) #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) (-.f64 x #s(literal -2 binary64))))
(fabs.f64 (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64)))
(+.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 1 binary64) (neg.f64 x)))) (*.f64 x x))
(+.f64 (-.f64 (*.f64 x x) (*.f64 #s(literal 2 binary64) (*.f64 x #s(literal -1 binary64)))) #s(literal 1 binary64))
(+.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64)))
(+.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)) (*.f64 x x))
(+.f64 (*.f64 (-.f64 x #s(literal -2 binary64)) x) #s(literal 1 binary64))
(+.f64 (+.f64 x x) (fma.f64 x x #s(literal 1 binary64)))
(+.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 x x x))
(+.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (-.f64 x #s(literal -2 binary64))))
(+.f64 #s(literal 1 binary64) (neg.f64 (*.f64 (neg.f64 x) (-.f64 x #s(literal -2 binary64)))))
(+.f64 #s(literal 1 binary64) (*.f64 (-.f64 x #s(literal -2 binary64)) 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 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))
(neg.f64 (-.f64 #s(literal -1 binary64) x))
(-.f64 #s(literal 1 binary64) (neg.f64 x))
(-.f64 x (*.f64 (/.f64 #s(literal -1 binary64) x) x))
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x)))
(-.f64 x #s(literal -1 binary64))
(+.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x)))
(+.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) (-.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 (*.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) (-.f64 x #s(literal -1 binary64)))

eval26.0ms (1.9%)

Memory
-39.7MiB live, 10.8MiB allocated; 20ms collecting garbage
Compiler

Compiled 494 to 238 computations (51.8% saved)

prune3.0ms (0.2%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New89594
Fresh000
Picked101
Done000
Total90595
Accuracy
100.0%
Counts
95 → 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))
52.0%
#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))
50.5%
#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.0MiB live, 4.0MiB allocated; 0ms collecting garbage
Counts
17 → 14
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 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 (pow x 2)))
#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) (+ 1 (* 2 (/ 1 x))))))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 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) #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)

rewrite41.0ms (2.9%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
059251
067217
0372215
1959215
Stop Event
saturated
iter-limit
iter-limit
unsound
iter-limit
Counts
31 → 59
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 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 (pow x 2)))
#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) (+ 1 (* 2 (/ 1 x))))))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 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) #s(hole binary64 (* x (+ 1 (* 2 (/ 1 x))))))
Outputs
(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) (neg.f64 x))
(+.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x)
(+.f64 x (*.f64 (-.f64 x #s(literal -1 binary64)) x))
(neg.f64 (-.f64 #s(literal -1 binary64) x))
(-.f64 #s(literal 1 binary64) (neg.f64 x))
(-.f64 x #s(literal -1 binary64))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
x
#s(literal -1 binary64)
x
#s(literal 0 binary64)
(neg.f64 (-.f64 #s(literal 1 binary64) #s(approx (* (+ x 1) (+ x 1)) #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 x (neg.f64 x))
(+.f64 x x)
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(fabs.f64 (*.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 (-.f64 x #s(literal -2 binary64)))
(fma.f64 #s(literal 2 binary64) x (*.f64 x x))
(fma.f64 x #s(literal 2 binary64) (*.f64 x x))
(+.f64 (+.f64 x x) (*.f64 x x))
(neg.f64 (-.f64 #s(literal -2 binary64) x))
(-.f64 #s(literal 2 binary64) (neg.f64 x))
(-.f64 x #s(literal -2 binary64))
(+.f64 #s(literal 2 binary64) x)
(+.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 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 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 x) (*.f64 x x))
#s(approx (- x -2) #s(literal 2 binary64))
#s(approx (- x -2) (-.f64 x #s(literal -2 binary64)))
#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) (*.f64 (+.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) 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) (*.f64 (+.f64 (/.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) x))

eval4.0ms (0.3%)

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

Compiled 214 to 136 computations (36.4% saved)

prune2.0ms (0.2%)

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New45146
Fresh000
Picked145
Done000
Total46551
Accuracy
100.0%
Counts
51 → 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))
52.0%
#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))
50.5%
#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 → 8
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 (+ 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)

rewrite68.0ms (4.9%)

Memory
-23.9MiB live, 22.4MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02887
02981
115976
0129876
1417276
Stop Event
saturated
iter-limit
node-limit
iter-limit
Counts
12 → 45
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 (+ 1 (/ 1 x)))))
Outputs
(*.f64 (-.f64 x #s(literal -2 binary64)) x)
(*.f64 x (-.f64 x #s(literal -2 binary64)))
(neg.f64 (-.f64 (neg.f64 x) (fma.f64 x x 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 (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 x x) (*.f64 (neg.f64 x) x))
(-.f64 (+.f64 x x) (neg.f64 (*.f64 x x)))
(-.f64 (fma.f64 x x x) (neg.f64 x))
(-.f64 x (*.f64 (-.f64 #s(literal -1 binary64) x) x))
(-.f64 x (*.f64 (neg.f64 x) (-.f64 x #s(literal -1 binary64))))
(-.f64 x (neg.f64 (fma.f64 x x x)))
(+.f64 (*.f64 x x) (+.f64 x x))
(+.f64 (+.f64 x x) (*.f64 x x))
(+.f64 (fma.f64 x x x) x)
(+.f64 x (fma.f64 x x 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)))
(neg.f64 (-.f64 (neg.f64 x) #s(literal 1 binary64)))
(neg.f64 (-.f64 #s(literal -1 binary64) x))
(-.f64 #s(literal 1 binary64) (neg.f64 x))
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1 binary64) x)))
(-.f64 x (*.f64 (/.f64 #s(literal -1 binary64) x) x))
(-.f64 x #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) (-.f64 x #s(literal -1 binary64)))

eval3.0ms (0.2%)

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

Compiled 145 to 88 computations (39.3% saved)

prune3.0ms (0.2%)

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

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New40040
Fresh000
Picked011
Done044
Total40545
Accuracy
100.0%
Counts
45 → 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))
52.0%
#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))
50.5%
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))
Compiler

Compiled 80 to 59 computations (26.3% saved)

regimes9.0ms (0.6%)

Memory
8.9MiB live, 8.9MiB allocated; 0ms collecting garbage
Counts
7 → 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))
#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:

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%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.5%)

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

regimes5.0ms (0.4%)

Memory
6.9MiB live, 6.9MiB 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

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

Compiled 18 to 13 computations (27.8% saved)

regimes5.0ms (0.3%)

Memory
6.3MiB live, 6.3MiB allocated; 0ms 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:

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

regimes5.0ms (0.4%)

Memory
-41.0MiB live, 5.7MiB allocated; 2ms 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:

2.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.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.1430021322715398
28511677.900037047
Compiler

Compiled 11 to 9 computations (18.2% saved)

derivations36.0ms (2.6%)

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

Compiled 40 to 25 computations (37.5% saved)

preprocess29.0ms (2.1%)

Memory
-8.6MiB live, 37.1MiB allocated; 3ms collecting garbage
Compiler

Compiled 48 to 30 computations (37.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...