Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, A

Time bar (total: 8.7s)

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%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample657.0ms (7.5%)

Memory
28.0MiB live, 220.7MiB allocated; 55ms collecting garbage
Samples
339.0ms8 254×0valid
0.0ms2valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 97.0ms
ival-mult!: 49.0ms (50.5% of total)
ival-add!: 29.0ms (29.9% of total)
ival-sub!: 17.0ms (17.5% of total)
adjust: 2.0ms (2.1% of total)
Bogosity

preprocess144.0ms (1.7%)

Memory
-31.8MiB live, 57.2MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01850
14147
210646
320244
427842
542142
668442
7281142
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x y) (*.f64 x y))
Symmetry

(sort x y)

Compiler

Compiled 10 to 10 computations (0% saved)

series5.0ms (0.1%)

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

6 calls:

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

rewrite1.7s (19.8%)

Memory
-28.0MiB live, 226.0MiB allocated; 78ms collecting garbage
Counts
27 → 96
Calls
Call 1
Inputs
(-.f64 (+.f64 x y) (*.f64 x y))
(+.f64 x y)
x
y
(*.f64 x y)
#s(approx (- (+ x y) (* x y)) #s(hole binary64 y))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ y (* x (- 1 y)))))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx x #s(hole binary64 x))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- 1 y))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- (+ 1 (/ y x)) y))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (+ 1 (* -1 y)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) (+ 1 (* -1 y)))))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 x))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ x (* y (- 1 x)))))
#s(approx y #s(hole binary64 y))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- 1 x))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- (+ 1 (/ x y)) x))))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (+ 1 (* -1 x)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (+ 1 (* -1 x)))))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
(+.f64 y (-.f64 x (*.f64 x y)))
(+.f64 (-.f64 x (*.f64 x y)) y)
(+.f64 (/.f64 (*.f64 y (*.f64 y y)) (fma.f64 (-.f64 x (*.f64 x y)) (-.f64 (-.f64 x (*.f64 x y)) y) (*.f64 y y))) (/.f64 (pow.f64 (-.f64 x (*.f64 x y)) #s(literal 3 binary64)) (fma.f64 (-.f64 x (*.f64 x y)) (-.f64 (-.f64 x (*.f64 x y)) y) (*.f64 y y))))
(+.f64 x (-.f64 y (*.f64 x y)))
(+.f64 (neg.f64 (*.f64 x y)) (+.f64 x y))
(+.f64 (+.f64 x y) (neg.f64 (*.f64 x y)))
(+.f64 (-.f64 y (*.f64 x y)) x)
(+.f64 (/.f64 (*.f64 x (*.f64 x x)) (fma.f64 (-.f64 y (*.f64 x y)) (-.f64 (-.f64 y (*.f64 x y)) x) (*.f64 x x))) (/.f64 (pow.f64 (-.f64 y (*.f64 x y)) #s(literal 3 binary64)) (fma.f64 (-.f64 y (*.f64 x y)) (-.f64 (-.f64 y (*.f64 x y)) x) (*.f64 x x))))
(-.f64 y (neg.f64 (-.f64 x (*.f64 x y))))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y (-.f64 x (*.f64 x y)))) (/.f64 (*.f64 (-.f64 x (*.f64 x y)) (-.f64 x (*.f64 x y))) (-.f64 y (-.f64 x (*.f64 x y)))))
(-.f64 y (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) y)) x))
(-.f64 (+.f64 x y) (*.f64 x y))
(-.f64 (/.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (fma.f64 x y (+.f64 x y))) (/.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (fma.f64 x y (+.f64 x y))))
(-.f64 (/.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 x y)) (fma.f64 (*.f64 x y) (fma.f64 x y (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y)))) (/.f64 (*.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 x y)) (fma.f64 (*.f64 x y) (fma.f64 x y (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y)))))
(-.f64 x (neg.f64 (-.f64 y (*.f64 x y))))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (-.f64 y (*.f64 x y)))) (/.f64 (*.f64 (-.f64 y (*.f64 x y)) (-.f64 y (*.f64 x y))) (-.f64 x (-.f64 y (*.f64 x y)))))
(-.f64 x (*.f64 (neg.f64 (-.f64 #s(literal 1 binary64) x)) y))
(/.f64 (*.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) x y) (-.f64 y (-.f64 x (*.f64 x y)))) (-.f64 y (-.f64 x (*.f64 x y))))
(/.f64 (-.f64 (*.f64 (-.f64 x (*.f64 x y)) (-.f64 x (*.f64 x y))) (*.f64 y y)) (-.f64 (-.f64 x (*.f64 x y)) y))
(/.f64 (fma.f64 (*.f64 y y) y (pow.f64 (-.f64 x (*.f64 x y)) #s(literal 3 binary64))) (fma.f64 (-.f64 x (*.f64 x y)) (-.f64 (-.f64 x (*.f64 x y)) y) (*.f64 y y)))
(/.f64 (fma.f64 (*.f64 y y) y (pow.f64 (-.f64 x (*.f64 x y)) #s(literal 3 binary64))) (fma.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 x (-.f64 x (*.f64 x y))) (-.f64 (*.f64 y y) (*.f64 y (-.f64 x (*.f64 x y))))))
(/.f64 (neg.f64 (*.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) x y) (-.f64 y (-.f64 x (*.f64 x y))))) (neg.f64 (-.f64 y (-.f64 x (*.f64 x y)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) y (pow.f64 (-.f64 x (*.f64 x y)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 x (*.f64 x y)) (-.f64 (-.f64 x (*.f64 x y)) y) (*.f64 y y))))
(/.f64 (-.f64 (*.f64 y (*.f64 y y)) (pow.f64 (neg.f64 (-.f64 x (*.f64 x y))) #s(literal 3 binary64))) (fma.f64 y y (fma.f64 (-.f64 #s(literal 1 binary64) y) (*.f64 x (-.f64 x (*.f64 x y))) (*.f64 y (neg.f64 (-.f64 x (*.f64 x y)))))))
(/.f64 (*.f64 (fma.f64 x y (+.f64 x y)) (fma.f64 (-.f64 #s(literal 1 binary64) y) x y)) (fma.f64 x y (+.f64 x y)))
(/.f64 (-.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 x y)) (*.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 x y))) (fma.f64 (*.f64 x y) (fma.f64 x y (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y))))
(/.f64 (neg.f64 (*.f64 (fma.f64 x y (+.f64 x y)) (fma.f64 (-.f64 #s(literal 1 binary64) y) x y))) (neg.f64 (fma.f64 x y (+.f64 x y))))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 x y)) (*.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 x y)))) (neg.f64 (fma.f64 (*.f64 x y) (fma.f64 x y (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y)))))
(/.f64 (fma.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (+.f64 x y) (pow.f64 (neg.f64 (*.f64 x y)) #s(literal 3 binary64))) (fma.f64 (+.f64 x y) (+.f64 x y) (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 (+.f64 x y) (neg.f64 (*.f64 x y))))))
(/.f64 (*.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) x y) (-.f64 x (-.f64 y (*.f64 x y)))) (-.f64 x (-.f64 y (*.f64 x y))))
(/.f64 (-.f64 (*.f64 (-.f64 y (*.f64 x y)) (-.f64 y (*.f64 x y))) (*.f64 x x)) (-.f64 (-.f64 y (*.f64 x y)) x))
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (-.f64 y (*.f64 x y)) #s(literal 3 binary64))) (fma.f64 (-.f64 y (*.f64 x y)) (-.f64 (-.f64 y (*.f64 x y)) x) (*.f64 x x)))
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (-.f64 y (*.f64 x y)) #s(literal 3 binary64))) (fma.f64 (-.f64 #s(literal 1 binary64) x) (*.f64 y (-.f64 y (*.f64 x y))) (-.f64 (*.f64 x x) (*.f64 x (-.f64 y (*.f64 x y))))))
(/.f64 (neg.f64 (*.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) x y) (-.f64 x (-.f64 y (*.f64 x y))))) (neg.f64 (-.f64 x (-.f64 y (*.f64 x y)))))
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x (pow.f64 (-.f64 y (*.f64 x y)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 y (*.f64 x y)) (-.f64 (-.f64 y (*.f64 x y)) x) (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x (*.f64 x x)) (pow.f64 (neg.f64 (-.f64 y (*.f64 x y))) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (-.f64 #s(literal 1 binary64) x) (*.f64 y (-.f64 y (*.f64 x y))) (*.f64 x (neg.f64 (-.f64 y (*.f64 x y)))))))
(fma.f64 (-.f64 #s(literal 1 binary64) y) x y)
(fma.f64 x (-.f64 #s(literal 1 binary64) y) y)
(fma.f64 #s(literal 1 binary64) y (-.f64 x (*.f64 x y)))
(fma.f64 y #s(literal 1 binary64) (-.f64 x (*.f64 x y)))
(fma.f64 #s(literal 1 binary64) x (-.f64 y (*.f64 x y)))
(fma.f64 x #s(literal 1 binary64) (-.f64 y (*.f64 x y)))
(fma.f64 (neg.f64 y) x (+.f64 x y))
(fma.f64 (neg.f64 x) y (+.f64 x y))
(fma.f64 y (neg.f64 x) (+.f64 x y))
(fma.f64 x (neg.f64 y) (+.f64 x y))
(fma.f64 #s(literal -1 binary64) (*.f64 x y) (+.f64 x y))
(fma.f64 (*.f64 x y) #s(literal -1 binary64) (+.f64 x y))
(fma.f64 (-.f64 #s(literal 1 binary64) x) y x)
(fma.f64 y (-.f64 #s(literal 1 binary64) x) x)
(+.f64 x y)
(+.f64 y x)
(+.f64 (/.f64 (*.f64 x (*.f64 x x)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (*.f64 y (*.f64 y y)) (fma.f64 y (-.f64 y x) (*.f64 x x))))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y)))
(/.f64 (*.f64 (+.f64 x y) (-.f64 x y)) (-.f64 x y))
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 x (*.f64 x x))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(/.f64 (fma.f64 (*.f64 y y) y (*.f64 x (*.f64 x x))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 x y))))
(/.f64 (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y))) (neg.f64 (-.f64 x y)))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) y (*.f64 x (*.f64 x x)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x))))
(fma.f64 #s(literal 1 binary64) y x)
(fma.f64 #s(literal 1 binary64) x y)
(fma.f64 y #s(literal 1 binary64) x)
(fma.f64 x #s(literal 1 binary64) y)
x
(*.f64 #s(literal 1 binary64) x)
(*.f64 x #s(literal 1 binary64))
(neg.f64 (neg.f64 x))
y
(*.f64 #s(literal 1 binary64) y)
(*.f64 y #s(literal 1 binary64))
(neg.f64 (neg.f64 y))
(*.f64 x y)
(*.f64 y x)
#s(approx (- (+ x y) (* x y)) y)
#s(approx (- (+ x y) (* x y)) (fma.f64 (-.f64 #s(literal 1 binary64) y) x y))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 x y))
#s(approx x x)
#s(approx (* x y) (*.f64 x y))
#s(approx (- (+ x y) (* x y)) (-.f64 x (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (+.f64 (/.f64 y x) (-.f64 #s(literal 1 binary64) y)) x))
#s(approx (+ x y) x)
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x))
#s(approx (- (+ x y) (* x y)) (-.f64 x (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 (neg.f64 (/.f64 y x)) (-.f64 #s(literal 1 binary64) y)) (neg.f64 x)))
#s(approx (+ x y) (*.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx (- (+ x y) (* x y)) x)
#s(approx (- (+ x y) (* x y)) (fma.f64 (-.f64 #s(literal 1 binary64) y) x y))
#s(approx y y)
#s(approx (- (+ x y) (* x y)) (-.f64 y (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (+.f64 (/.f64 x y) (-.f64 #s(literal 1 binary64) x)) y))
#s(approx (+ x y) (fma.f64 (/.f64 x y) y y))
#s(approx (- (+ x y) (* x y)) (-.f64 y (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 (neg.f64 (/.f64 x y)) (-.f64 #s(literal 1 binary64) x)) (neg.f64 y)))
#s(approx (+ x y) (*.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal 1 binary64)) (neg.f64 y)))

eval12.0ms (0.1%)

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

Compiled 693 to 266 computations (61.6% saved)

prune11.0ms (0.1%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New83588
Fresh000
Picked101
Done000
Total84589
Accuracy
100.0%
Counts
89 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 #s(literal 1 binary64) y) x y)
64.6%
(-.f64 #s(approx (+ x y) y) (*.f64 x y))
56.9%
(-.f64 #s(approx (+ x y) x) (*.f64 x y))
43.5%
#s(approx (- (+ x y) (* x y)) y)
36.6%
#s(approx (- (+ x y) (* x y)) x)
Compiler

Compiled 58 to 58 computations (0% saved)

series17.0ms (0.2%)

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

6 calls:

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

rewrite2.3s (26%)

Memory
5.9MiB live, 522.8MiB allocated; 78ms collecting garbage
Counts
50 → 102
Calls
Call 1
Inputs
(fma.f64 (-.f64 #s(literal 1 binary64) y) x y)
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
x
#s(approx (- (+ x y) (* x y)) x)
#s(approx (- (+ x y) (* x y)) y)
(-.f64 #s(approx (+ x y) x) (*.f64 x y))
#s(approx (+ x y) x)
(*.f64 x y)
(-.f64 #s(approx (+ x y) y) (*.f64 x y))
#s(approx (+ x y) y)
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 y))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (+ y (* x (- 1 y)))))
#s(approx x #s(hole binary64 x))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 y))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ y (* x (- 1 y)))))
#s(approx (+ x y) #s(hole binary64 y))
#s(approx (+ x y) #s(hole binary64 (+ x y)))
#s(approx (* x y) #s(hole binary64 (* x y)))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* x (- 1 y))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* x (- (+ 1 (/ y x)) y))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- 1 y))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- (+ 1 (/ y x)) y))))
#s(approx (+ x y) #s(hole binary64 x))
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* -1 (* x (+ (* -1 (- 1 y)) (* -1 (/ y x)))))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (+ 1 (* -1 y)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) (+ 1 (* -1 y)))))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 x))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (+ x (* y (+ 1 (* -1 x))))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx y #s(hole binary64 y))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 x))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ x (* y (- 1 x)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* y (+ 1 (* -1 x)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* y (+ 1 (+ (* -1 x) (/ x y))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- 1 x))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- (+ 1 (/ x y)) x))))
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* -1 (* y (- x 1)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* -1 (* y (- (+ x (* -1 (/ x y))) 1)))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (+ 1 (* -1 x)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (+ 1 (* -1 x)))))))
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1)))))
Outputs
(+.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x))
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)
(+.f64 (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y) (*.f64 y y))) (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) #s(literal 3 binary64)) (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y) (*.f64 y y))))
(+.f64 (/.f64 (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) y)) (*.f64 x x)))) (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) y)) (*.f64 x x)))))
(+.f64 y (*.f64 (neg.f64 (neg.f64 x)) (-.f64 #s(literal 1 binary64) y)))
(-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) (neg.f64 x)))
(-.f64 (/.f64 (*.f64 y y) (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x))) (/.f64 (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) y)) (*.f64 x x)) (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x))))
(-.f64 (/.f64 (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) y)) (*.f64 x x)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)))
(/.f64 (*.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) x y) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y))
(/.f64 (*.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) x y) (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x))) (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x)))
(/.f64 (fma.f64 (*.f64 y y) y (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y) (*.f64 y y)))
(/.f64 (fma.f64 (*.f64 y y) y (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) y)) (*.f64 x x))))
(/.f64 (neg.f64 (*.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) x y) (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x)))) (neg.f64 (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x))))
(/.f64 (neg.f64 (*.f64 (fma.f64 (-.f64 #s(literal 1 binary64) y) x y) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y))) (neg.f64 (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y)))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) y (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) (-.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) y) (*.f64 y y))))
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) y (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) x)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) y)) (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 (*.f64 y y) y) (pow.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (neg.f64 x)) #s(literal 3 binary64))) (fma.f64 y y (fma.f64 (*.f64 (-.f64 #s(literal 1 binary64) y) (-.f64 #s(literal 1 binary64) y)) (*.f64 x x) (*.f64 y (*.f64 (-.f64 #s(literal 1 binary64) y) (neg.f64 x))))))
(fma.f64 #s(literal 1 binary64) y (*.f64 (-.f64 #s(literal 1 binary64) y) x))
(fma.f64 y #s(literal 1 binary64) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
(fma.f64 (-.f64 #s(literal 1 binary64) y) x y)
(fma.f64 x (-.f64 #s(literal 1 binary64) y) y)
(fma.f64 #s(literal 1 binary64) y (*.f64 (neg.f64 (neg.f64 x)) (-.f64 #s(literal 1 binary64) y)))
(fma.f64 y #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (-.f64 #s(literal 1 binary64) y)))
(-.f64 #s(literal 1 binary64) y)
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y)) (/.f64 (*.f64 y y) (+.f64 #s(literal 1 binary64) y)))
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (+.f64 #s(literal 1 binary64) y))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y)) (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y))) (neg.f64 (+.f64 #s(literal 1 binary64) y)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (neg.f64 (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64))))
#s(literal 1 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 (fabs.f64 #s(literal 1 binary64)) (fabs.f64 #s(literal 1 binary64)))
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64)))
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
(+.f64 #s(literal 1 binary64) #s(literal 0 binary64))
(/.f64 (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 #s(literal 0 binary64)))) #s(literal 2 binary64))
(cosh.f64 #s(literal 0 binary64))
(cosh.f64 (neg.f64 #s(literal 0 binary64)))
(exp.f64 #s(literal 0 binary64))
(exp.f64 (*.f64 (log.f64 #s(literal 1 binary64)) #s(literal 3 binary64)))
(exp.f64 (*.f64 #s(literal 0 binary64) #s(literal 3 binary64)))
(exp.f64 (*.f64 #s(literal 0 binary64) #s(literal 2 binary64)))
(exp.f64 (+.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(fma.f64 (fabs.f64 #s(literal 1 binary64)) (fabs.f64 #s(literal 1 binary64)) #s(literal 0 binary64))
(fma.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64)) #s(literal 0 binary64))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) #s(literal 0 binary64))
(fma.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) #s(literal 0 binary64))
(pow.f64 #s(literal 1 binary64) #s(literal 3 binary64))
(pow.f64 #s(literal 1 binary64) #s(literal 2 binary64))
y
(*.f64 #s(literal 1 binary64) y)
(*.f64 y #s(literal 1 binary64))
x
(*.f64 #s(literal 1 binary64) x)
(*.f64 x #s(literal 1 binary64))
#s(approx (- (+ x y) (* x y)) x)
#s(approx (- (+ x y) (* x y)) y)
(-.f64 #s(approx (+ x y) x) (*.f64 x y))
#s(approx (+ x y) x)
(*.f64 x y)
(*.f64 y x)
(-.f64 #s(approx (+ x y) y) (*.f64 x y))
#s(approx (+ x y) y)
#s(approx (+ y (* x (- 1 y))) y)
#s(approx (+ y (* x (- 1 y))) (fma.f64 (-.f64 #s(literal 1 binary64) y) x y))
#s(approx x x)
#s(approx (- (+ x y) (* x y)) y)
#s(approx (- (+ x y) (* x y)) (fma.f64 (-.f64 #s(literal 1 binary64) y) x y))
#s(approx (+ x y) y)
#s(approx (+ x y) (+.f64 x y))
#s(approx (* x y) (*.f64 x y))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) (-.f64 y (/.f64 y x))) x))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) (-.f64 y (/.f64 y x))) x))
#s(approx (+ x y) x)
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 (neg.f64 (-.f64 #s(literal 1 binary64) y)) (/.f64 y x)) (neg.f64 x)))
#s(approx (- (+ x y) (* x y)) (-.f64 x (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) (neg.f64 y)) (neg.f64 x)))
#s(approx (+ x y) (*.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx (+ y (* x (- 1 y))) x)
#s(approx (+ y (* x (- 1 y))) (fma.f64 (-.f64 #s(literal 1 binary64) x) y x))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- 1 y) (+.f64 #s(literal 1 binary64) (neg.f64 y)))
#s(approx y y)
#s(approx (- (+ x y) (* x y)) x)
#s(approx (- (+ x y) (* x y)) (fma.f64 (-.f64 #s(literal 1 binary64) x) y x))
#s(approx (+ y (* x (- 1 y))) (-.f64 y (*.f64 x y)))
#s(approx (+ y (* x (- 1 y))) (*.f64 (+.f64 (-.f64 #s(literal 1 binary64) x) (/.f64 x y)) y))
#s(approx (- 1 y) (neg.f64 y))
#s(approx (- 1 y) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)) y))
#s(approx (- (+ x y) (* x y)) (-.f64 y (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (+.f64 (-.f64 #s(literal 1 binary64) x) (/.f64 x y)) y))
#s(approx (+ x y) (fma.f64 (/.f64 x y) y y))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 x #s(literal 1 binary64)) (neg.f64 y)))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 (-.f64 x (/.f64 x y)) #s(literal 1 binary64)) (neg.f64 y)))
#s(approx (- 1 y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) (neg.f64 y)))
#s(approx (- (+ x y) (* x y)) (-.f64 y (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 (neg.f64 (/.f64 x y)) (-.f64 #s(literal 1 binary64) x)) (neg.f64 y)))
#s(approx (+ x y) (*.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal 1 binary64)) (neg.f64 y)))

eval17.0ms (0.2%)

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

Compiled 665 to 301 computations (54.7% saved)

prune6.0ms (0.1%)

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

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New1032105
Fresh000
Picked055
Done000
Total1037110
Accuracy
100.0%
Counts
110 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 #s(literal 1 binary64) y) x y)
78.3%
(fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) x y)
64.6%
(-.f64 #s(approx (+ x y) y) (*.f64 x y))
56.9%
(-.f64 #s(approx (+ x y) x) (*.f64 x y))
56.8%
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
43.5%
#s(approx (- (+ x y) (* x y)) y)
36.6%
#s(approx (- (+ x y) (* x y)) x)
Compiler

Compiled 45 to 45 computations (0% saved)

series15.0ms (0.2%)

Memory
-49.0MiB live, 6.0MiB allocated; 20ms collecting garbage
Counts
8 → 36
Calls
Call 1
Inputs
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
(*.f64 (-.f64 #s(literal 1 binary64) y) x)
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
x
(fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) x y)
#s(approx (- 1 y) #s(literal 1 binary64))
Outputs
#s(approx (- (+ x y) (* x y)) #s(hole binary64 y))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ y (* x (- 1 y)))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* x (- 1 y))))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 y))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (+ y (* x (- 1 y)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- 1 y))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- (+ 1 (/ y x)) y))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* x (- 1 y))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* x (- (+ 1 (/ y x)) y))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (+ 1 (* -1 y)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) (+ 1 (* -1 y)))))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* -1 (* x (+ (* -1 (- 1 y)) (* -1 (/ y x)))))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 x))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ x (* y (- 1 x)))))
#s(approx (* (- 1 y) x) #s(hole binary64 x))
#s(approx (* (- 1 y) x) #s(hole binary64 (+ x (* -1 (* x y)))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx y #s(hole binary64 y))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 x))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (+ x (* y (+ 1 (* -1 x))))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- 1 x))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- (+ 1 (/ x y)) x))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* -1 (* x y))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* y (+ (* -1 x) (/ x y)))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* y (+ 1 (* -1 x)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* y (+ 1 (+ (* -1 x) (/ x y))))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (+ 1 (* -1 x)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (+ 1 (* -1 x)))))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y)))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* -1 (* y (- x 1)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* -1 (* y (- (+ x (* -1 (/ x y))) 1)))))
Calls

6 calls:

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

rewrite1.8s (21.1%)

Memory
48.5MiB live, 506.8MiB allocated; 132ms collecting garbage
Counts
44 → 78
Calls
Call 1
Inputs
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
(*.f64 (-.f64 #s(literal 1 binary64) y) x)
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
x
(fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) x y)
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 y))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ y (* x (- 1 y)))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* x (- 1 y))))
#s(approx x #s(hole binary64 x))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 y))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (+ y (* x (- 1 y)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- 1 y))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- (+ 1 (/ y x)) y))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* x (- 1 y))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* x (- (+ 1 (/ y x)) y))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (+ 1 (* -1 y)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) (+ 1 (* -1 y)))))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* -1 (* x (+ (* -1 (- 1 y)) (* -1 (/ y x)))))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 x))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ x (* y (- 1 x)))))
#s(approx (* (- 1 y) x) #s(hole binary64 x))
#s(approx (* (- 1 y) x) #s(hole binary64 (+ x (* -1 (* x y)))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx y #s(hole binary64 y))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 x))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (+ x (* y (+ 1 (* -1 x))))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- 1 x))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- (+ 1 (/ x y)) x))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* -1 (* x y))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* y (+ (* -1 x) (/ x y)))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* y (+ 1 (* -1 x)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* y (+ 1 (+ (* -1 x) (/ x y))))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (+ 1 (* -1 x)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (+ 1 (* -1 x)))))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y)))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* -1 (* y (- x 1)))))
#s(approx (+ (* (- 1 y) x) y) #s(hole binary64 (* -1 (* y (- (+ x (* -1 (/ x y))) 1)))))
Outputs
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
(*.f64 (-.f64 #s(literal 1 binary64) y) x)
(*.f64 x (-.f64 #s(literal 1 binary64) y))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) x) (+.f64 #s(literal 1 binary64) y))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 y y))) (+.f64 #s(literal 1 binary64) y))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y)) x) (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)))
(/.f64 (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)))
(-.f64 #s(literal 1 binary64) y)
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y)) (/.f64 (*.f64 y y) (+.f64 #s(literal 1 binary64) y)))
(-.f64 (/.f64 #s(literal 1 binary64) (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64))) (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (+.f64 #s(literal 1 binary64) y))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y)) (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y))) (neg.f64 (+.f64 #s(literal 1 binary64) y)))
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (neg.f64 (fma.f64 y (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64))))
#s(literal 1 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 (fabs.f64 #s(literal 1 binary64)) (fabs.f64 #s(literal 1 binary64)))
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64)))
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
(+.f64 #s(literal 1 binary64) #s(literal 0 binary64))
(/.f64 (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 #s(literal 0 binary64)))) #s(literal 2 binary64))
(cosh.f64 #s(literal 0 binary64))
(cosh.f64 (neg.f64 #s(literal 0 binary64)))
(exp.f64 #s(literal 0 binary64))
(exp.f64 (*.f64 (log.f64 #s(literal 1 binary64)) #s(literal 3 binary64)))
(exp.f64 (*.f64 #s(literal 0 binary64) #s(literal 3 binary64)))
(exp.f64 (*.f64 #s(literal 0 binary64) #s(literal 2 binary64)))
(exp.f64 (+.f64 #s(literal 0 binary64) #s(literal 0 binary64)))
(fma.f64 (fabs.f64 #s(literal 1 binary64)) (fabs.f64 #s(literal 1 binary64)) #s(literal 0 binary64))
(fma.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64)) #s(literal 0 binary64))
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) #s(literal 0 binary64))
(fma.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) #s(literal 0 binary64))
(pow.f64 #s(literal 1 binary64) #s(literal 3 binary64))
(pow.f64 #s(literal 1 binary64) #s(literal 2 binary64))
y
(*.f64 #s(literal 1 binary64) y)
(*.f64 y #s(literal 1 binary64))
x
(*.f64 #s(literal 1 binary64) x)
(*.f64 x #s(literal 1 binary64))
(fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) x y)
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- (+ x y) (* x y)) y)
#s(approx (- (+ x y) (* x y)) (fma.f64 (-.f64 #s(literal 1 binary64) y) x y))
#s(approx (* x (- 1 y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
#s(approx x x)
#s(approx (+ y (* x (- 1 y))) y)
#s(approx (+ y (* x (- 1 y))) (fma.f64 (-.f64 #s(literal 1 binary64) y) x y))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) (-.f64 y (/.f64 y x))) x))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) (-.f64 y (/.f64 y x))) x))
#s(approx (- (+ x y) (* x y)) (-.f64 x (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) (neg.f64 y)) (neg.f64 x)))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 (neg.f64 (-.f64 #s(literal 1 binary64) y)) (/.f64 y x)) (neg.f64 x)))
#s(approx (- (+ x y) (* x y)) x)
#s(approx (- (+ x y) (* x y)) (fma.f64 (-.f64 #s(literal 1 binary64) x) y x))
#s(approx (* x (- 1 y)) x)
#s(approx (* x (- 1 y)) (-.f64 x (*.f64 x y)))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- 1 y) (+.f64 #s(literal 1 binary64) (neg.f64 y)))
#s(approx y y)
#s(approx (+ y (* x (- 1 y))) x)
#s(approx (+ y (* x (- 1 y))) (fma.f64 (-.f64 #s(literal 1 binary64) x) y x))
#s(approx (- (+ x y) (* x y)) (-.f64 y (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (+.f64 (-.f64 #s(literal 1 binary64) x) (/.f64 x y)) y))
#s(approx (* x (- 1 y)) (neg.f64 (*.f64 x y)))
#s(approx (* x (- 1 y)) (*.f64 (+.f64 (/.f64 x y) (neg.f64 x)) y))
#s(approx (- 1 y) (neg.f64 y))
#s(approx (- 1 y) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)) y))
#s(approx (+ y (* x (- 1 y))) (-.f64 y (*.f64 x y)))
#s(approx (+ y (* x (- 1 y))) (*.f64 (+.f64 (-.f64 #s(literal 1 binary64) x) (/.f64 x y)) y))
#s(approx (- (+ x y) (* x y)) (-.f64 y (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 (neg.f64 (/.f64 x y)) (-.f64 #s(literal 1 binary64) x)) (neg.f64 y)))
#s(approx (* x (- 1 y)) (*.f64 (-.f64 x (/.f64 x y)) (neg.f64 y)))
#s(approx (- 1 y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) (neg.f64 y)))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 x #s(literal 1 binary64)) (neg.f64 y)))
#s(approx (+ y (* x (- 1 y))) (*.f64 (-.f64 (-.f64 x (/.f64 x y)) #s(literal 1 binary64)) (neg.f64 y)))

eval23.0ms (0.3%)

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

Compiled 510 to 298 computations (41.6% saved)

prune10.0ms (0.1%)

Memory
-39.4MiB live, 7.3MiB allocated; 4ms collecting garbage
Pruning

8 alts after pruning (1 fresh and 7 done)

PrunedKeptTotal
New89190
Fresh000
Picked022
Done055
Total89897
Accuracy
100.0%
Counts
97 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 #s(literal 1 binary64) y) x y)
78.3%
(fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) x y)
64.6%
(-.f64 #s(approx (+ x y) y) (*.f64 x y))
56.9%
(-.f64 #s(approx (+ x y) x) (*.f64 x y))
56.8%
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
22.9%
#s(approx (- (+ x y) (* x y)) (*.f64 #s(approx (- 1 y) (neg.f64 y)) x))
43.5%
#s(approx (- (+ x y) (* x y)) y)
36.6%
#s(approx (- (+ x y) (* x y)) x)
Compiler

Compiled 56 to 56 computations (0% saved)

series3.0ms (0%)

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

6 calls:

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

rewrite1.7s (19.6%)

Memory
0.3MiB live, 776.9MiB allocated; 238ms collecting garbage
Counts
32 → 41
Calls
Call 1
Inputs
#s(approx (- (+ x y) (* x y)) (*.f64 #s(approx (- 1 y) (neg.f64 y)) x))
(*.f64 #s(approx (- 1 y) (neg.f64 y)) x)
#s(approx (- 1 y) (neg.f64 y))
(neg.f64 y)
y
x
#s(approx (- (+ x y) (* x y)) #s(hole binary64 y))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ y (* x (- 1 y)))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* x (- 1 y))))
#s(approx x #s(hole binary64 x))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- 1 y))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (- (+ 1 (/ y x)) y))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* x (+ 1 (* -1 y)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) (+ 1 (* -1 y)))))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 x))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (+ x (* y (- 1 x)))))
#s(approx (* (- 1 y) x) #s(hole binary64 x))
#s(approx (* (- 1 y) x) #s(hole binary64 (+ x (* -1 (* x y)))))
#s(approx (- 1 y) #s(hole binary64 1))
#s(approx (- 1 y) #s(hole binary64 (+ 1 (* -1 y))))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx y #s(hole binary64 y))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- 1 x))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (- (+ 1 (/ x y)) x))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* -1 (* x y))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* y (+ (* -1 x) (/ x y)))))
#s(approx (- 1 y) #s(hole binary64 (* -1 y)))
#s(approx (- 1 y) #s(hole binary64 (* y (- (/ 1 y) 1))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* y (+ 1 (* -1 x)))))
#s(approx (- (+ x y) (* x y)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (+ 1 (* -1 x)))))))
#s(approx (* (- 1 y) x) #s(hole binary64 (* -1 (* y (+ x (* -1 (/ x y)))))))
#s(approx (- 1 y) #s(hole binary64 (* -1 (* y (- 1 (/ 1 y))))))
Outputs
#s(approx (- (+ x y) (* x y)) (*.f64 #s(approx (- 1 y) (neg.f64 y)) x))
(*.f64 #s(approx (- 1 y) (neg.f64 y)) x)
#s(approx (- 1 y) (neg.f64 y))
(*.f64 (neg.f64 y) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (neg.f64 y))
(*.f64 #s(literal -1 binary64) y)
(*.f64 y #s(literal -1 binary64))
(*.f64 (*.f64 #s(literal 1 binary64) #s(literal -1 binary64)) y)
(neg.f64 y)
y
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
x
(*.f64 x #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) x)
#s(approx (- (+ x y) (* x y)) y)
#s(approx (- (+ x y) (* x y)) (fma.f64 (-.f64 #s(literal 1 binary64) y) x y))
#s(approx (* x (- 1 y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
#s(approx x x)
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
#s(approx (- (+ x y) (* x y)) (*.f64 (+.f64 (/.f64 y x) (-.f64 #s(literal 1 binary64) y)) x))
#s(approx (- (+ x y) (* x y)) (-.f64 x (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) (neg.f64 y)) (neg.f64 x)))
#s(approx (- (+ x y) (* x y)) x)
#s(approx (- (+ x y) (* x y)) (fma.f64 (-.f64 #s(literal 1 binary64) x) y x))
#s(approx (* x (- 1 y)) x)
#s(approx (* x (- 1 y)) (-.f64 x (*.f64 x y)))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- 1 y) (+.f64 (neg.f64 y) #s(literal 1 binary64)))
#s(approx (neg y) (neg.f64 y))
#s(approx y y)
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) x) y))
#s(approx (- (+ x y) (* x y)) (*.f64 (+.f64 (/.f64 x y) (-.f64 #s(literal 1 binary64) x)) y))
#s(approx (* x (- 1 y)) (neg.f64 (*.f64 x y)))
#s(approx (* x (- 1 y)) (*.f64 (+.f64 (/.f64 x y) (neg.f64 x)) y))
#s(approx (- 1 y) (neg.f64 y))
#s(approx (- 1 y) (*.f64 (-.f64 (/.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)) y))
#s(approx (- (+ x y) (* x y)) (-.f64 y (*.f64 x y)))
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal 1 binary64)) (neg.f64 x)) (neg.f64 y)))
#s(approx (* x (- 1 y)) (*.f64 (-.f64 x (/.f64 x y)) (neg.f64 y)))
#s(approx (- 1 y) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) (neg.f64 y)))

eval3.0ms (0%)

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

Compiled 195 to 130 computations (33.3% saved)

prune4.0ms (0%)

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

8 alts after pruning (0 fresh and 8 done)

PrunedKeptTotal
New31031
Fresh000
Picked011
Done077
Total31839
Accuracy
100.0%
Counts
39 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 (-.f64 #s(literal 1 binary64) y) x y)
78.3%
(fma.f64 #s(approx (- 1 y) #s(literal 1 binary64)) x y)
64.6%
(-.f64 #s(approx (+ x y) y) (*.f64 x y))
56.9%
(-.f64 #s(approx (+ x y) x) (*.f64 x y))
56.8%
#s(approx (- (+ x y) (* x y)) (*.f64 (-.f64 #s(literal 1 binary64) y) x))
22.9%
#s(approx (- (+ x y) (* x y)) (*.f64 #s(approx (- 1 y) (neg.f64 y)) x))
43.5%
#s(approx (- (+ x y) (* x y)) y)
36.6%
#s(approx (- (+ x y) (* x y)) x)
Compiler

Compiled 93 to 83 computations (10.8% saved)

regimes14.0ms (0.2%)

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

3 calls:

7.0ms
x
3.0ms
y
3.0ms
(-.f64 (+.f64 x y) (*.f64 x y))
Results
AccuracySegmentsBranch
100.0%1(-.f64 (+.f64 x y) (*.f64 x y))
100.0%1x
100.0%1y
Compiler

Compiled 7 to 9 computations (-28.6% saved)

regimes11.0ms (0.1%)

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

3 calls:

5.0ms
(-.f64 (+.f64 x y) (*.f64 x y))
3.0ms
y
3.0ms
x
Results
AccuracySegmentsBranch
97.9%2(-.f64 (+.f64 x y) (*.f64 x y))
99.3%3x
99.6%3y
Compiler

Compiled 7 to 9 computations (-28.6% saved)

regimes7.0ms (0.1%)

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

3 calls:

2.0ms
x
2.0ms
y
2.0ms
(-.f64 (+.f64 x y) (*.f64 x y))
Results
AccuracySegmentsBranch
98.1%3x
94.5%3(-.f64 (+.f64 x y) (*.f64 x y))
83.7%2y
Compiler

Compiled 7 to 9 computations (-28.6% saved)

regimes2.0ms (0%)

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

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
98.0%3x
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes4.0ms (0%)

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

2 calls:

2.0ms
x
2.0ms
(-.f64 (+.f64 x y) (*.f64 x y))
Results
AccuracySegmentsBranch
89.2%3(-.f64 (+.f64 x y) (*.f64 x y))
82.6%2x
Compiler

Compiled 6 to 7 computations (-16.7% saved)

regimes2.0ms (0%)

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

1 calls:

1.0ms
(-.f64 (+.f64 x y) (*.f64 x y))
Results
AccuracySegmentsBranch
87.9%4(-.f64 (+.f64 x y) (*.f64 x y))
Compiler

Compiled 5 to 5 computations (0% saved)

regimes8.0ms (0.1%)

Memory
-35.4MiB live, 10.6MiB allocated; 4ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (+ x y) (* x y)) x)
#s(approx (- (+ x y) (* x y)) y)
Outputs
#s(approx (- (+ x y) (* x y)) x)
#s(approx (- (+ x y) (* x y)) y)
Calls

3 calls:

5.0ms
x
1.0ms
y
1.0ms
(-.f64 (+.f64 x y) (*.f64 x y))
Results
AccuracySegmentsBranch
67.7%2x
72.2%2y
77.3%2(-.f64 (+.f64 x y) (*.f64 x y))
Compiler

Compiled 7 to 9 computations (-28.6% saved)

regimes3.0ms (0%)

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

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

1.0ms
y
1.0ms
(-.f64 (+.f64 x y) (*.f64 x y))
1.0ms
x
Results
AccuracySegmentsBranch
36.6%1x
36.6%1y
36.6%1(-.f64 (+.f64 x y) (*.f64 x y))
Compiler

Compiled 7 to 9 computations (-28.6% saved)

bsearch21.0ms (0.2%)

Memory
10.0MiB live, 57.3MiB allocated; 1ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
10.0ms
1.4131328010008887e-9
0.01979264415200574
9.0ms
-7.132372926556829e-12
-2.471690010185167e-21
Samples
9.0ms288×0valid
Compiler

Compiled 244 to 280 computations (-14.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-sub!: 1.0ms (33.8% of total)
ival-add!: 1.0ms (33.8% of total)
ival-mult!: 1.0ms (33.8% of total)
adjust: 0.0ms (0% of total)

bsearch103.0ms (1.2%)

Memory
-15.0MiB live, 36.6MiB allocated; 19ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
21.0ms
0.08237806422524288
80.97442812184434
14.0ms
-4063.2123121949767
-0.427341228656001
Samples
21.0ms256×0valid
Compiler

Compiled 242 to 274 computations (-13.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-add!: 10.0ms (76.9% of total)
ival-mult!: 2.0ms (15.4% of total)
ival-sub!: 1.0ms (7.7% of total)
adjust: 0.0ms (0% of total)

bsearch2.0ms (0%)

Memory
4.5MiB live, 4.5MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
0.08237806422524288
80.97442812184434
1.0ms
-4063.2123121949767
-0.427341228656001
Compiler

Compiled 266 to 298 computations (-12% saved)

bsearch0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
8.951864121462442e+304
+inf
0.0ms
-inf
-7.913811488590422e+307
Compiler

Compiled 8 to 10 computations (-25% saved)

bsearch1.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
8.951864121462442e+304
+inf
0.0ms
-1.0899311496128274e-293
3.31972172993818e-275
0.0ms
-inf
-7.913811488590422e+307
Compiler

Compiled 8 to 10 computations (-25% saved)

bsearch0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-1.0899311496128274e-293
3.31972172993818e-275
Compiler

Compiled 8 to 10 computations (-25% saved)

derivations2.0ms (0%)

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

Compiled 73 to 51 computations (30.1% saved)

preprocess71.0ms (0.8%)

Memory
-13.7MiB live, 223.1MiB allocated; 13ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 366 to 316 computations (13.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...