Data.Colour.SRGB:transferFunction from colour-2.3.3

Time bar (total: 3.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample1.0s (32.8%)

Memory
22.4MiB live, 1 252.0MiB allocated; 335ms collecting garbage
Samples
599.0ms8 253×0valid
0.0ms2valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 210.0ms
ival-mult: 95.0ms (45.2% of total)
ival-sub: 51.0ms (24.3% of total)
ival-add: 50.0ms (23.8% of total)
ival-true: 6.0ms (2.9% of total)
exact: 5.0ms (2.4% of total)
ival-assert: 3.0ms (1.4% of total)
adjust: 2.0ms (1% of total)
Bogosity

explain111.0ms (3.6%)

Memory
-29.7MiB live, 115.1MiB allocated; 30ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 x #s(literal 1 binary64))
00-0-(*.f64 (+.f64 x #s(literal 1 binary64)) y)
00-0-y
00-0-(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
00-0-#s(literal 1 binary64)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
74.0ms512×0valid
Compiler

Compiled 47 to 22 computations (53.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-add: 3.0ms (30.4% of total)
ival-mult: 3.0ms (30.4% of total)
ival-sub: 2.0ms (20.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess247.0ms (7.9%)

Memory
10.1MiB live, 235.2MiB allocated; 58ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01850
12850
26248
321546
480643
5249143
6747743
067
097
1137
2247
3727
42607
510777
082296
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(-.f64 (fma.f64 y x y) x)
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Compiler

Compiled 7 to 6 computations (14.3% saved)

series4.0ms (0.1%)

Memory
6.8MiB live, 6.8MiB allocated; 0ms collecting garbage
Counts
6 → 23
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
y
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#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) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
Calls

6 calls:

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

simplify140.0ms (4.5%)

Memory
14.1MiB live, 209.5MiB allocated; 29ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067238
1179238
2548238
31840238
45933238
08073210
Stop Event
iter limit
node limit
Counts
23 → 23
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#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) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) y)
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (+ x 1) #s(literal 1 binary64))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64)))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (*.f64 y x) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) (*.f64 y x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) x)
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (*.f64 y x) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))

rewrite72.0ms (2.3%)

Memory
-10.9MiB live, 148.6MiB allocated; 31ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0918
13718
027918
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
6 → 35
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
y
Outputs
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (fma.f64 y (-.f64 x #s(literal -1 binary64)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (*.f64 x x)) (fma.f64 y (-.f64 x #s(literal -1 binary64)) x))
(/.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) (fma.f64 y (-.f64 x #s(literal -1 binary64)) x)) (/.f64 (*.f64 x x) (fma.f64 y (-.f64 x #s(literal -1 binary64)) x)))
(-.f64 (/.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 3 binary64)) (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (fma.f64 y (-.f64 x #s(literal -1 binary64)) x) (pow.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)))))
(-.f64 (*.f64 y (-.f64 x #s(literal -1 binary64))) x)
(*.f64 y (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 x #s(literal -1 binary64)) y)
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) y) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 y (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 y (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(fma.f64 y #s(literal 1 binary64) (*.f64 y x))
(fma.f64 y x (*.f64 y #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) y (*.f64 x y))
(fma.f64 x y (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 x y))
(+.f64 (*.f64 x y) (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y x))
(+.f64 (*.f64 y x) (*.f64 y #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #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 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))))
(-.f64 x #s(literal -1 binary64))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (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 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
y

eval7.0ms (0.2%)

Memory
-24.0MiB live, 20.4MiB allocated; 3ms collecting garbage
Compiler

Compiled 632 to 147 computations (76.7% saved)

prune4.0ms (0.1%)

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New44650
Fresh000
Picked011
Done000
Total44751
Accuracy
100.0%
Counts
51 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
59.2%
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
100.0%
(-.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)
73.4%
(-.f64 #s(approx (* (+ x 1) y) y) x)
68.5%
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
33.8%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
42.2%
#s(approx (- (* (+ x 1) y) x) y)
Compiler

Compiled 129 to 96 computations (25.6% saved)

series6.0ms (0.2%)

Memory
18.4MiB live, 18.4MiB allocated; 0ms collecting garbage
Counts
11 → 27
Calls
Call 1
Inputs
(-.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)
#s(approx (* (+ x 1) y) (fma.f64 y x y))
(fma.f64 y x y)
y
x
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (* (+ x 1) y) y)
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (+ (* y x) y) #s(hole binary64 y))
#s(approx (+ (* y x) y) #s(hole binary64 (+ y (* x y))))
#s(approx x #s(hole binary64 x))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ (* y x) y) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (+ (* y x) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1)))))
Calls

6 calls:

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

simplify118.0ms (3.8%)

Memory
-25.9MiB live, 162.3MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074290
1181290
2553290
31633290
45687290
08010250
Stop Event
iter limit
node limit
Counts
27 → 27
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (+ (* y x) y) #s(hole binary64 y))
#s(approx (+ (* y x) y) #s(hole binary64 (+ y (* x y))))
#s(approx x #s(hole binary64 x))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ (* y x) y) #s(hole binary64 (* x y)))
#s(approx (+ (* y x) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (+ (* y x) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1)))))
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) y)
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ (* y x) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) y)
#s(approx (+ (* y x) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (neg x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x (neg.f64 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) (*.f64 y x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ (* y x) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) (*.f64 y x))
#s(approx (+ (* y x) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x (neg.f64 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx (+ (* y x) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (+ (* y x) y) #s(hole binary64 (* -1 (* y (- (* -1 x) 1)))))
#s(approx (* (+ x 1) y) (fma.f64 y x y))

rewrite45.0ms (1.4%)

Memory
8.5MiB live, 55.6MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01577
02077
18270
059970
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
11 → 52
Calls
Call 1
Inputs
(-.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)
#s(approx (* (+ x 1) y) (fma.f64 y x y))
(fma.f64 y x y)
y
x
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (* (+ x 1) y) y)
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
Outputs
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (+.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (+.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x) (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 2 binary64)) (*.f64 x x)) (+.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x))
(/.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (+.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x) (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 2 binary64)) (+.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)) (/.f64 (*.f64 x x) (+.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)))
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 3 binary64)) (fma.f64 x (+.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x) (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (+.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x) (pow.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) #s(literal 2 binary64)))))
(-.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)
#s(approx (* (+ x 1) y) (fma.f64 y x y))
(*.f64 y (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 x #s(literal -1 binary64)) y)
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) y) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 y (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 y (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 y (*.f64 y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 y x) y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 y x) y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 y x) y))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))
(fma.f64 y #s(literal 1 binary64) (*.f64 y x))
(fma.f64 y x (*.f64 #s(literal 1 binary64) y))
(fma.f64 y x (*.f64 y #s(literal 1 binary64)))
(fma.f64 y x y)
(fma.f64 #s(literal 1 binary64) y (*.f64 y x))
(fma.f64 x y (*.f64 #s(literal 1 binary64) y))
(fma.f64 x y (*.f64 y #s(literal 1 binary64)))
(fma.f64 x y y)
(-.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (*.f64 y x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 y x) y)))
(-.f64 y (*.f64 (neg.f64 y) x))
(-.f64 y (*.f64 (neg.f64 x) y))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 y x))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y x))
(+.f64 (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 y x)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))))
(+.f64 (*.f64 y x) (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 y x) (*.f64 y #s(literal 1 binary64)))
(+.f64 (*.f64 y x) y)
(+.f64 y (*.f64 y x))
y
x
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(neg.f64 x)
(/.f64 (neg.f64 (*.f64 (+.f64 #s(approx (* (+ x 1) y) y) x) (-.f64 #s(approx (* (+ x 1) y) y) x))) (neg.f64 (+.f64 #s(approx (* (+ x 1) y) y) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x)))))
(/.f64 (*.f64 (+.f64 #s(approx (* (+ x 1) y) y) x) (-.f64 #s(approx (* (+ x 1) y) y) x)) (+.f64 #s(approx (* (+ x 1) y) y) x))
(/.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x))))
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 2 binary64)) (+.f64 #s(approx (* (+ x 1) y) y) x)) (/.f64 (*.f64 x x) (+.f64 #s(approx (* (+ x 1) y) y) x)))
(-.f64 (/.f64 (pow.f64 #s(approx (* (+ x 1) y) y) #s(literal 3 binary64)) (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(approx (* (+ x 1) y) y) #s(approx (* (+ x 1) y) y) (*.f64 x (+.f64 #s(approx (* (+ x 1) y) y) x)))))
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (* (+ x 1) y) y)
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))

eval9.0ms (0.3%)

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

Compiled 2 030 to 245 computations (87.9% saved)

prune37.0ms (1.2%)

Memory
-25.1MiB live, 27.5MiB allocated; 12ms collecting garbage
Pruning

8 alts after pruning (2 fresh and 6 done)

PrunedKeptTotal
New1051106
Fresh011
Picked055
Done011
Total1058113
Accuracy
100.0%
Counts
113 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
59.2%
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
100.0%
(-.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)
73.4%
(-.f64 #s(approx (* (+ x 1) y) y) x)
68.5%
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
68.5%
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 x #s(literal -1 binary64)) y))
33.8%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
42.2%
#s(approx (- (* (+ x 1) y) x) y)
Compiler

Compiled 81 to 61 computations (24.7% saved)

series3.0ms (0.1%)

Memory
4.5MiB live, 4.5MiB allocated; 0ms collecting garbage
Counts
9 → 33
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 x #s(literal -1 binary64)) y))
(*.f64 (-.f64 x #s(literal -1 binary64)) y)
(-.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
y
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
(*.f64 #s(approx (+ x 1) x) y)
#s(approx (+ x 1) x)
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (- x -1) y) #s(hole binary64 y))
#s(approx (* (- x -1) y) #s(hole binary64 (+ y (* x y))))
#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) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (- x -1) y) #s(hole binary64 (* x y)))
#s(approx (* (- x -1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (- x -1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (- x -1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx y #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
Calls

6 calls:

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

simplify160.0ms (5.1%)

Memory
10.4MiB live, 96.1MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079322
1193322
2561322
31842322
45921322
08042284
Stop Event
iter limit
node limit
Counts
33 → 33
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (- x -1) y) #s(hole binary64 y))
#s(approx (* (- x -1) y) #s(hole binary64 (+ y (* x y))))
#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) y) #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (- x -1) y) #s(hole binary64 (* x y)))
#s(approx (* (- x -1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (- x -1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (- x -1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx y #s(hole binary64 y))
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (- x -1) y) #s(hole binary64 y))
#s(approx (* (- x -1) y) y)
#s(approx (* (- x -1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (* (+ x 1) y) #s(hole binary64 y))
#s(approx (* (- x -1) y) y)
#s(approx (* (+ x 1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (+ x 1) #s(hole binary64 1))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (+ x 1) #s(hole binary64 (+ 1 x)))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (*.f64 y x) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (- x -1) y) #s(hole binary64 (* x y)))
#s(approx (* (- x -1) y) (*.f64 y x))
#s(approx (* (- x -1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) x)
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x y)))
#s(approx (* (- x -1) y) (*.f64 y x))
#s(approx (* (+ x 1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (+ x 1) #s(hole binary64 x))
#s(approx (- x -1) x)
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (*.f64 y x) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (- x -1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (* (+ x 1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (* (- x -1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx (* (+ x 1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (- (* (+ x 1) y) x) (-.f64 (fma.f64 y x y) x))

rewrite129.0ms (4.1%)

Memory
12.2MiB live, 56.1MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01345
01745
16645
047545
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
9 → 44
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 x #s(literal -1 binary64)) y))
(*.f64 (-.f64 x #s(literal -1 binary64)) y)
(-.f64 x #s(literal -1 binary64))
x
#s(literal -1 binary64)
y
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
(*.f64 #s(approx (+ x 1) x) y)
#s(approx (+ x 1) x)
Outputs
#s(approx (- (* (+ x 1) y) x) (*.f64 y (-.f64 x #s(literal -1 binary64))))
(*.f64 y (-.f64 x #s(literal -1 binary64)))
(*.f64 (-.f64 x #s(literal -1 binary64)) y)
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) y) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))))
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) y) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 y (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64)))
(/.f64 (*.f64 y (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))))
(/.f64 (*.f64 y (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))
(fma.f64 y #s(literal 1 binary64) (*.f64 y x))
(fma.f64 y x (*.f64 y #s(literal 1 binary64)))
(fma.f64 #s(literal 1 binary64) y (*.f64 x y))
(fma.f64 x y (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 x y))
(+.f64 (*.f64 x y) (*.f64 #s(literal 1 binary64) y))
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y x))
(+.f64 (*.f64 y x) (*.f64 y #s(literal 1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #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 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (fma.f64 #s(literal -1 binary64) 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) x)))
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #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 x #s(literal -1 binary64))
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (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 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
x
#s(literal -1 binary64)
y
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (fma.f64 #s(approx (+ x 1) x) y x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (fma.f64 #s(approx (+ x 1) x) y x) (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 2 binary64)) (*.f64 x x)) (fma.f64 #s(approx (+ x 1) x) y x))
(/.f64 (-.f64 (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (fma.f64 #s(approx (+ x 1) x) y x) (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 2 binary64))))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 2 binary64)) (fma.f64 #s(approx (+ x 1) x) y x)) (/.f64 (*.f64 x x) (fma.f64 #s(approx (+ x 1) x) y x)))
(-.f64 (/.f64 (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 3 binary64)) (fma.f64 x (fma.f64 #s(approx (+ x 1) x) y x) (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (fma.f64 #s(approx (+ x 1) x) y x) (pow.f64 (*.f64 #s(approx (+ x 1) x) y) #s(literal 2 binary64)))))
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
(*.f64 #s(approx (+ x 1) x) y)
(*.f64 y #s(approx (+ x 1) x))
#s(approx (+ x 1) x)

eval41.0ms (1.3%)

Memory
-34.4MiB live, 23.9MiB allocated; 11ms collecting garbage
Compiler

Compiled 1 095 to 178 computations (83.7% saved)

prune3.0ms (0.1%)

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

9 alts after pruning (1 fresh and 8 done)

PrunedKeptTotal
New62163
Fresh000
Picked022
Done066
Total62971
Accuracy
100.0%
Counts
71 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
59.2%
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
100.0%
(-.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)
73.4%
(-.f64 #s(approx (* (+ x 1) y) y) x)
68.5%
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
68.5%
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 x #s(literal -1 binary64)) y))
28.6%
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
33.8%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
42.2%
#s(approx (- (* (+ x 1) y) x) y)
Compiler

Compiled 96 to 72 computations (25% saved)

series3.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB allocated; 0ms collecting garbage
Counts
5 → 23
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
(*.f64 #s(approx (- x -1) x) y)
#s(approx (- x -1) x)
x
y
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (- x -1) y) #s(hole binary64 y))
#s(approx (* (- x -1) y) #s(hole binary64 (+ y (* x y))))
#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) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (- x -1) y) #s(hole binary64 (* x y)))
#s(approx (* (- x -1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (- x -1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (- x -1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
Calls

6 calls:

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

simplify247.0ms (7.9%)

Memory
19.1MiB live, 214.9MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069238
1176238
2552238
31798238
45879238
08068210
Stop Event
iter limit
node limit
Counts
23 → 23
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (* (- x -1) y) #s(hole binary64 y))
#s(approx (* (- x -1) y) #s(hole binary64 (+ y (* x y))))
#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) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (* (- x -1) y) #s(hole binary64 (* x y)))
#s(approx (* (- x -1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (* (- x -1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (* (- x -1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
Outputs
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 y))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (+ y (* x (- y 1)))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (* (- x -1) y) #s(hole binary64 y))
#s(approx (* (- x -1) y) y)
#s(approx (* (- x -1) y) #s(hole binary64 (+ y (* x y))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (- x -1) #s(hole binary64 1))
#s(approx (- x -1) #s(literal 1 binary64))
#s(approx (- x -1) #s(hole binary64 (+ 1 x)))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx x #s(hole binary64 x))
#s(approx x x)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- y 1))))
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* x (- (+ y (/ y x)) 1))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (* (- x -1) y) #s(hole binary64 (* x y)))
#s(approx (* (- x -1) y) (*.f64 y x))
#s(approx (* (- x -1) y) #s(hole binary64 (* x (+ y (/ y x)))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (- x -1) #s(hole binary64 x))
#s(approx (- x -1) x)
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x)))))
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64)))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (* -1 y))))))
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 y #s(literal 1 binary64)) x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (* (- x -1) y) #s(hole binary64 (* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 x)))
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (- (* y (+ 1 x)) x)))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (* (- x -1) y) #s(hole binary64 (* y (+ 1 x))))
#s(approx (* (- x -1) y) (fma.f64 y x y))
#s(approx y #s(hole binary64 y))
#s(approx y y)
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 x))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* y (+ 1 (+ x (* -1 (/ x y)))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
#s(approx (- (* (+ x 1) y) x) #s(hole binary64 (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))))
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))

rewrite63.0ms (2%)

Memory
-15.8MiB live, 74.6MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01129
01229
15029
035829
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
5 → 6
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
(*.f64 #s(approx (- x -1) x) y)
#s(approx (- x -1) x)
x
y
Outputs
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
(*.f64 #s(approx (- x -1) x) y)
(*.f64 y #s(approx (- x -1) x))
#s(approx (- x -1) x)
x
y

eval2.0ms (0.1%)

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

Compiled 264 to 47 computations (82.2% saved)

prune4.0ms (0.1%)

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

8 alts after pruning (1 fresh and 7 done)

PrunedKeptTotal
New17118
Fresh000
Picked011
Done268
Total19827
Accuracy
100.0%
Counts
27 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
59.2%
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
73.4%
(-.f64 #s(approx (* (+ x 1) y) y) x)
100.0%
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
68.5%
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
68.5%
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 x #s(literal -1 binary64)) y))
28.6%
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
33.8%
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
42.2%
#s(approx (- (* (+ x 1) y) x) y)
Compiler

Compiled 201 to 102 computations (49.3% saved)

regimes13.0ms (0.4%)

Memory
-9.9MiB live, 36.2MiB allocated; 5ms collecting garbage
Counts
10 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 x #s(literal -1 binary64)) y))
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(-.f64 #s(approx (* (+ x 1) y) (fma.f64 y x y)) x)
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Outputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
Calls

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes17.0ms (0.5%)

Memory
-24.7MiB live, 28.3MiB allocated; 8ms collecting garbage
Counts
7 → 3
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
#s(approx (- (* (+ x 1) y) x) (*.f64 (-.f64 x #s(literal -1 binary64)) y))
(-.f64 (*.f64 #s(approx (+ x 1) x) y) x)
Outputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))
Calls

3 calls:

11.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
3.0ms
y
3.0ms
x
Results
AccuracySegmentsBranch
92.1%3(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
98.5%3x
99.3%3y
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes6.0ms (0.2%)

Memory
14.6MiB live, 14.6MiB allocated; 0ms collecting garbage
Counts
4 → 3
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
Outputs
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
(-.f64 #s(approx (* (+ x 1) y) y) x)
#s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))
Calls

3 calls:

2.0ms
y
2.0ms
x
2.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Results
AccuracySegmentsBranch
88.8%3(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
80.3%3x
77.5%2y
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes5.0ms (0.2%)

Memory
14.8MiB live, 14.8MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
(-.f64 #s(approx (* (+ x 1) y) y) x)
Outputs
(-.f64 #s(approx (* (+ x 1) y) y) x)
Calls

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes5.0ms (0.2%)

Memory
-34.3MiB live, 12.8MiB allocated; 1ms collecting garbage
Counts
2 → 3
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
Outputs
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
#s(approx (- (* (+ x 1) y) x) y)
#s(approx (- (* (+ x 1) y) x) (neg.f64 x))
Calls

3 calls:

1.0ms
y
1.0ms
x
1.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Results
AccuracySegmentsBranch
64.4%3x
49.9%4(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
61.9%3y
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes4.0ms (0.1%)

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

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) y)
Outputs
#s(approx (- (* (+ x 1) y) x) y)
Calls

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

bsearch40.0ms (1.3%)

Memory
10.0MiB live, 57.2MiB allocated; 2ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
5.307788964124372e-27
1.7299654504298998e-18
26.0ms
-15576331013286674000.0
-18.348798341922777
Samples
26.0ms304×0valid
Compiler

Compiled 409 to 334 computations (18.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-add: 2.0ms (33.6% of total)
ival-mult: 2.0ms (33.6% of total)
ival-sub: 1.0ms (16.8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch1.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.7959215225393058e+308
+inf
0.0ms
-inf
-4.171181975339143e+304
Compiler

Compiled 10 to 11 computations (-10% saved)

bsearch47.0ms (1.5%)

Memory
-1.5MiB live, 44.2MiB allocated; 6ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
32.0ms
2.063282791940298e-89
1.1105897072285903e-66
12.0ms
-1.9709401790121437e-35
-2.156106430362639e-45
Samples
32.0ms336×0valid
Compiler

Compiled 409 to 368 computations (10% saved)

Precisions
Click to see histograms. Total time spent on operations: 25.0ms
ival-sub: 20.0ms (79.9% of total)
ival-add: 2.0ms (8% of total)
ival-mult: 2.0ms (8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify46.0ms (1.5%)

Memory
-12.8MiB live, 33.6MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
042135
162135
277135
3129135
4390135
52153135
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(if (<=.f64 y #s(literal -19 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) (if (<=.f64 y #s(literal 8826904659509207/5192296858534827628530496329220096 binary64)) (-.f64 #s(approx (* (+ x 1) y) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))))
(if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #s(literal -inf.0 binary64)) #s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y)) (if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #s(literal +inf.0 binary64)) (-.f64 #s(approx (* (+ x 1) y) y) x) #s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))))
(-.f64 #s(approx (* (+ x 1) y) y) x)
(if (<=.f64 x #s(literal -7846377169233351/196159429230833773869868419475239575503198607639501078528 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (if (<=.f64 x #s(literal 8832460678637811/3978585891278293137243057985174566720803649206378781739523711815145275976100267004264448 binary64)) #s(approx (- (* (+ x 1) y) x) y) #s(approx (- (* (+ x 1) y) x) (neg.f64 x))))
#s(approx (- (* (+ x 1) y) x) y)
Outputs
#s(approx (- (* (+ x 1) y) x) (fma.f64 (-.f64 y #s(literal 1 binary64)) x y))
(if (<=.f64 y #s(literal -19 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) (if (<=.f64 y #s(literal 8826904659509207/5192296858534827628530496329220096 binary64)) (-.f64 #s(approx (* (+ x 1) y) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y))))
(if (or (<=.f64 y #s(literal -19 binary64)) (not (<=.f64 y #s(literal 8826904659509207/5192296858534827628530496329220096 binary64)))) #s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) (-.f64 #s(approx (* (+ x 1) y) y) x))
(if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #s(literal -inf.0 binary64)) #s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y)) (if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #s(literal +inf.0 binary64)) (-.f64 #s(approx (* (+ x 1) y) y) x) #s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y))))
(if (or (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #s(literal -inf.0 binary64)) (not (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #s(literal +inf.0 binary64)))) #s(approx (- (* (+ x 1) y) x) (*.f64 #s(approx (- x -1) x) y)) (-.f64 #s(approx (* (+ x 1) y) y) x))
(-.f64 #s(approx (* (+ x 1) y) y) x)
(if (<=.f64 x #s(literal -7846377169233351/196159429230833773869868419475239575503198607639501078528 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (if (<=.f64 x #s(literal 8832460678637811/3978585891278293137243057985174566720803649206378781739523711815145275976100267004264448 binary64)) #s(approx (- (* (+ x 1) y) x) y) #s(approx (- (* (+ x 1) y) x) (neg.f64 x))))
(if (or (<=.f64 x #s(literal -7846377169233351/196159429230833773869868419475239575503198607639501078528 binary64)) (not (<=.f64 x #s(literal 8832460678637811/3978585891278293137243057985174566720803649206378781739523711815145275976100267004264448 binary64)))) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) y))
#s(approx (- (* (+ x 1) y) x) y)

derivations405.0ms (13%)

Memory
11.2MiB live, 288.3MiB allocated; 54ms collecting garbage
Stop Event
fuel
Compiler

Compiled 135 to 46 computations (65.9% saved)

preprocess50.0ms (1.6%)

Memory
17.9MiB live, 64.2MiB allocated; 3ms collecting garbage
Compiler

Compiled 284 to 104 computations (63.4% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...