Data.Colour.SRGB:transferFunction from colour-2.3.3

Time bar (total: 977.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample581.0ms (59.5%)

Memory
25.2MiB live, 910.6MiB allocated
Samples
341.0ms8 255×0valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 167.0ms
ival-mult: 59.0ms (35.3% of total)
ival-add: 51.0ms (30.5% of total)
ival-sub: 42.0ms (25.1% of total)
ival-true: 7.0ms (4.2% of total)
exact: 5.0ms (3% of total)
ival-assert: 4.0ms (2.4% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain73.0ms (7.5%)

Memory
18.7MiB live, 101.7MiB allocated
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
37.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

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

preprocess3.0ms (0.3%)

Memory
5.1MiB live, 5.1MiB allocated
Algorithm
egg-herbie
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)
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x #s(literal 1 binary64))
cost-diff0
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
cost-diff0
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
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 (*.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

localize22.0ms (2.3%)

Memory
-9.3MiB live, 27.6MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x #s(literal 1 binary64))
accuracy0.00390625
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
accuracy0.0078125
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
Samples
17.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-add: 8.0ms (72.3% of total)
ival-mult: 2.0ms (18.1% of total)
ival-sub: 1.0ms (9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.3%)

Memory
5.5MiB live, 5.5MiB allocated
Counts
3 → 19
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))
Outputs
y
(+ y (* x (- y 1)))
(+ y (* x y))
1
(+ 1 x)
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x y)
(* x (+ y (/ y x)))
x
(* x (+ 1 (/ 1 x)))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 x)
(- (* y (+ 1 x)) x)
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
Calls

6 calls:

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

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Counts
19 → 3
Calls
Call 1
Inputs
y
(+ y (* x (- y 1)))
(+ y (* x y))
1
(+ 1 x)
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x y)
(* x (+ y (/ y x)))
x
(* x (+ 1 (/ 1 x)))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 x)
(- (* y (+ 1 x)) x)
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
Outputs
y
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(+ y (* x (- y 1)))
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(+ y (* x y))
(+.f64 x #s(literal 1 binary64))

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
3 → 3
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))
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(+.f64 x #s(literal 1 binary64))

eval1.0ms (0.1%)

Memory
1.4MiB live, 1.4MiB allocated
Compiler

Compiled 60 to 14 computations (76.7% saved)

prune1.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New426
Fresh000
Picked011
Done000
Total437
Accuracy
100.0%
Counts
7 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
3.0%
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
63.8%
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x #s(literal 1 binary64))
cost-diff0
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
cost-diff0
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
cost-diff0
(+.f64 x #s(literal 1 binary64))
cost-diff0
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
cost-diff0
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))
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 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
Outputs
#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 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)

localize22.0ms (2.3%)

Memory
-5.8MiB live, 32.2MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 x #s(literal 1 binary64))
accuracy0.00390625
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
accuracy61.75320046498368
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
accuracy0.0
(+.f64 x #s(literal 1 binary64))
accuracy0.0078125
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
accuracy23.192685240213308
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))
Samples
16.0ms256×0valid
Compiler

Compiled 86 to 20 computations (76.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-sub: 5.0ms (58.5% of total)
ival-add: 2.0ms (23.4% of total)
ival-mult: 2.0ms (23.4% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.2%)

Memory
3.8MiB live, 3.8MiB allocated
Counts
5 → 19
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))
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
Outputs
y
(+ y (* x (- y 1)))
(+ y (* x y))
1
(+ 1 x)
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x y)
(* x (+ y (/ y x)))
x
(* x (+ 1 (/ 1 x)))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 x)
(- (* y (+ 1 x)) x)
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
Calls

6 calls:

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

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Counts
19 → 5
Calls
Call 1
Inputs
y
(+ y (* x (- y 1)))
(+ y (* x y))
1
(+ 1 x)
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x y)
(* x (+ y (/ y x)))
x
(* x (+ 1 (/ 1 x)))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 x)
(- (* y (+ 1 x)) x)
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
Outputs
y
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))
(+ y (* x (- y 1)))
(*.f64 (+.f64 x #s(literal 1 binary64)) y)
(+ y (* x y))
(+.f64 x #s(literal 1 binary64))
1
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
(+ 1 x)
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))

rewrite0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Counts
5 → 5
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))
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
Outputs
#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))
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))

eval1.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated
Compiler

Compiled 191 to 24 computations (87.4% saved)

prune142.0ms (14.5%)

Memory
-205.5MiB live, 5.2MiB allocated
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New9211
Fresh000
Picked022
Done011
Total9514
Accuracy
100.0%
Counts
14 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
3.0%
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
27.1%
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x)
63.8%
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))
3.0%
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
Compiler

Compiled 71 to 47 computations (33.8% saved)

simplify1.0ms (0.1%)

Memory
1.2MiB live, 1.2MiB allocated
Algorithm
egg-herbie
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
cost-diff0
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))
cost-diff0
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)))
cost-diff0
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x)
cost-diff0
(+.f64 x #s(literal 1 binary64))
cost-diff0
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
cost-diff0
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x)
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)))
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
Outputs
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x)
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)))
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)

localize20.0ms (2%)

Memory
34.9MiB live, 34.9MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.00390625
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x)
accuracy61.75320046498368
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
accuracy61.75320046498368
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)))
accuracy62.05781974203986
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))
accuracy0.0
(+.f64 x #s(literal 1 binary64))
accuracy23.192685240213308
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
accuracy61.75320046498368
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
Samples
13.0ms256×0valid
Compiler

Compiled 166 to 22 computations (86.7% saved)

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

series5.0ms (0.5%)

Memory
-38.1MiB live, 4.5MiB allocated
Counts
7 → 19
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x)
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)))
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
Outputs
y
(+ y (* x (- y 1)))
(+ y (* x y))
1
(+ 1 x)
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x y)
(* x (+ y (/ y x)))
x
(* x (+ 1 (/ 1 x)))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 x)
(- (* y (+ 1 x)) x)
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
Calls

6 calls:

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

simplify0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
egg-herbie
Counts
19 → 7
Calls
Call 1
Inputs
y
(+ y (* x (- y 1)))
(+ y (* x y))
1
(+ 1 x)
(* x (- y 1))
(* x (- (+ y (/ y x)) 1))
(* x y)
(* x (+ y (/ y x)))
x
(* x (+ 1 (/ 1 x)))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x))))))
(* -1 (* x (+ (* -1 y) (* -1 (/ y x)))))
(* -1 x)
(- (* y (+ 1 x)) x)
(* y (+ 1 x))
(* y (+ 1 (+ x (* -1 (/ x y)))))
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y))))
Outputs
y
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
(+ y (* x (- y 1)))
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))
(+ y (* x y))
(+.f64 x #s(literal 1 binary64))
1
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x)
(+ 1 x)
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)))
(* x (- y 1))
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))
(* x (- (+ y (/ y x)) 1))
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)

rewrite0.0ms (0%)

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

eval2.0ms (0.2%)

Memory
3.5MiB live, 3.5MiB allocated
Compiler

Compiled 428 to 31 computations (92.8% saved)

prune4.0ms (0.4%)

Memory
7.7MiB live, 7.7MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New16016
Fresh000
Picked022
Done033
Total16521
Accuracy
100.0%
Counts
21 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
3.0%
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
27.1%
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x)
63.8%
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))
3.0%
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
Compiler

Compiled 142 to 64 computations (54.9% saved)

regimes7.0ms (0.8%)

Memory
14.9MiB live, 14.9MiB allocated
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x)
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) 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
100.0%1x
100.0%1y
100.0%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes8.0ms (0.8%)

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

3 calls:

4.0ms
x
2.0ms
y
2.0ms
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Results
AccuracySegmentsBranch
70.1%4x
78.6%3y
63.8%1(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes6.0ms (0.6%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

regimes5.0ms (0.5%)

Memory
10.6MiB live, 10.6MiB allocated
Accuracy

Total -0.4b remaining (-0.7%)

Threshold costs -0.4b (-0.7%)

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

3 calls:

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

Compiled 9 to 10 computations (-11.1% saved)

bsearch29.0ms (3%)

Memory
-27.3MiB live, 53.0MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
1.3877443645697932e-136
6.120261513489261e-129
9.0ms
-1.0903023710187812e-44
-8.942615519375627e-46
Samples
9.0ms240×0valid
Compiler

Compiled 550 to 371 computations (32.5% saved)

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

simplify5.0ms (0.5%)

Memory
15.9MiB live, 15.9MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(if (<=.f64 y #s(literal -8436424732359699/803469022129495137770981046170581301261101496891396417650688 binary64)) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) (if (<=.f64 y #s(literal 1170655706368497/195109284394749514461349826862072894109287383916560696928697309976585733676235351257519131441468248197489183195087913930965498479955517831643136 binary64)) (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))))
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))
Outputs
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x)
(if (<=.f64 y #s(literal -8436424732359699/803469022129495137770981046170581301261101496891396417650688 binary64)) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) (if (<=.f64 y #s(literal 1170655706368497/195109284394749514461349826862072894109287383916560696928697309976585733676235351257519131441468248197489183195087913930965498479955517831643136 binary64)) (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))))
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y))
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))))

soundness1.0ms (0.1%)

Memory
2.8MiB live, 2.8MiB allocated
Stop Event
done
Compiler

Compiled 94 to 23 computations (75.5% saved)

preprocess30.0ms (3%)

Memory
-8.2MiB live, 67.7MiB allocated
Compiler

Compiled 202 to 58 computations (71.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...