Data.Metrics.Snapshot:quantile from metrics-0.3.0.2

Time bar (total: 957.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.8%0.2%0%0%0%0
100%99.8%0%0.2%0%0%0%1
Compiler

Compiled 11 to 10 computations (9.1% saved)

sample669.0ms (69.8%)

Memory
27.5MiB live, 923.0MiB allocated
Samples
413.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 196.0ms
ival-sub: 90.0ms (45.9% of total)
ival-mult: 58.0ms (29.6% of total)
ival-add: 39.0ms (19.9% of total)
ival-true: 7.0ms (3.6% of total)
ival-assert: 3.0ms (1.5% of total)
Bogosity

explain85.0ms (8.8%)

Memory
-49.9MiB live, 126.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
00-0-(-.f64 t x)
00-0-y
00-0-(*.f64 (-.f64 y z) (-.f64 t x))
00-0-t
00-0-(-.f64 y z)
00-0-z
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
31.0ms512×0valid
Compiler

Compiled 91 to 36 computations (60.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-sub: 5.0ms (42% of total)
ival-mult: 3.0ms (25.2% of total)
ival-add: 2.0ms (16.8% of total)
ival-true: 1.0ms (8.4% of total)
ival-assert: 0.0ms (0% of total)

preprocess4.0ms (0.4%)

Memory
7.7MiB live, 7.7MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
Outputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
Compiler

Compiled 9 to 8 computations (11.1% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 4 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
Compiler

Compiled 9 to 8 computations (11.1% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 t x)
cost-diff0
(-.f64 y z)
cost-diff0
(*.f64 (-.f64 y z) (-.f64 t x))
cost-diff0
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
x
(*.f64 (-.f64 y z) (-.f64 t x))
(-.f64 y z)
y
z
(-.f64 t x)
t
Outputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
x
(*.f64 (-.f64 y z) (-.f64 t x))
(-.f64 y z)
y
z
(-.f64 t x)
t

localize23.0ms (2.4%)

Memory
-7.2MiB live, 30.9MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y z)
accuracy0.0
(-.f64 t x)
accuracy0.00390625
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
accuracy0.0234375
(*.f64 (-.f64 y z) (-.f64 t x))
Samples
18.0ms256×0valid
Compiler

Compiled 54 to 18 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-sub: 3.0ms (51.5% of total)
ival-mult: 2.0ms (34.3% of total)
ival-add: 1.0ms (17.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.7%)

Memory
12.2MiB live, 12.2MiB allocated
Counts
4 → 46
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
(*.f64 (-.f64 y z) (-.f64 t x))
(-.f64 y z)
(-.f64 t x)
Outputs
(* t (- y z))
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z)))))
(+ (* -1 (* x (- y z))) (* t (- y z)))
t
(+ t (* -1 x))
(* x (+ 1 (* -1 (- y z))))
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x))))
(* -1 (* x (- y z)))
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x)))
(* -1 x)
(* x (- (/ t x) 1))
(* -1 (* x (- y (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z)))
(* -1 (* x (+ 1 (* -1 (/ t x)))))
(+ x (* -1 (* z (- t x))))
(+ x (+ (* -1 (* z (- t x))) (* y (- t x))))
(* -1 (* z (- t x)))
(+ (* -1 (* z (- t x))) (* y (- t x)))
(* -1 z)
(- y z)
(* y (- t x))
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x))
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x))
y
(* y (+ 1 (* -1 (/ z y))))
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y)))))
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y))))
(* -1 (* y (- (/ z y) 1)))
(+ x (* y (- t x)))
(+ y (* -1 z))
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z))))
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z)))
(* z (- (/ y z) 1))
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x)))
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x)))
(* -1 (* z (+ 1 (* -1 (/ y z)))))
(+ x (* -1 (* x (- y z))))
(+ x (+ (* -1 (* x (- y z))) (* t (- y z))))
(- t x)
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z))
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z))
(* t (+ 1 (* -1 (/ x t))))
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t)))))
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t))))
(* -1 (* t (- (/ x t) 1)))
Calls

12 calls:

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

simplify1.0ms (0.1%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
egg-herbie
Counts
46 → 4
Calls
Call 1
Inputs
(* t (- y z))
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z)))))
(+ (* -1 (* x (- y z))) (* t (- y z)))
t
(+ t (* -1 x))
(* x (+ 1 (* -1 (- y z))))
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x))))
(* -1 (* x (- y z)))
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x)))
(* -1 x)
(* x (- (/ t x) 1))
(* -1 (* x (- y (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z)))
(* -1 (* x (+ 1 (* -1 (/ t x)))))
(+ x (* -1 (* z (- t x))))
(+ x (+ (* -1 (* z (- t x))) (* y (- t x))))
(* -1 (* z (- t x)))
(+ (* -1 (* z (- t x))) (* y (- t x)))
(* -1 z)
(- y z)
(* y (- t x))
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x))
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x))
y
(* y (+ 1 (* -1 (/ z y))))
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y)))))
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y))))
(* -1 (* y (- (/ z y) 1)))
(+ x (* y (- t x)))
(+ y (* -1 z))
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z))))
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z)))
(* z (- (/ y z) 1))
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x)))
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x)))
(* -1 (* z (+ 1 (* -1 (/ y z)))))
(+ x (* -1 (* x (- y z))))
(+ x (+ (* -1 (* x (- y z))) (* t (- y z))))
(- t x)
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z))
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z))
(* t (+ 1 (* -1 (/ x t))))
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t)))))
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t))))
(* -1 (* t (- (/ x t) 1)))
Outputs
(* t (- y z))
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z)))))
(*.f64 (-.f64 y z) (-.f64 t x))
(+ (* -1 (* x (- y z))) (* t (- y z)))
(-.f64 y z)
t
(-.f64 t x)

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
(*.f64 (-.f64 y z) (-.f64 t x))
(-.f64 y z)
(-.f64 t x)
Outputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
(*.f64 (-.f64 y z) (-.f64 t x))
(-.f64 y z)
(-.f64 t x)

eval1.0ms (0.1%)

Memory
1.6MiB live, 1.6MiB allocated
Compiler

Compiled 98 to 19 computations (80.6% saved)

prune1.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New628
Fresh000
Picked011
Done000
Total639
Accuracy
100.0%
Counts
9 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
14.9%
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
83.9%
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))
Compiler

Compiled 39 to 30 computations (23.1% saved)

simplify0.0ms (0%)

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

Found 7 expressions of interest:

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

localize24.0ms (2.5%)

Memory
-14.6MiB live, 29.7MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y z)
accuracy0.00390625
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
accuracy61.81058070701931
#s(approx (* (- y z) (- t x)) (-.f64 y z))
accuracy0.0
(-.f64 y z)
accuracy0.0
(-.f64 t x)
accuracy0.0234375
(*.f64 (-.f64 y z) (-.f64 t x))
accuracy10.260800750391057
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))
Samples
18.0ms256×0valid
Compiler

Compiled 114 to 24 computations (78.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-sub: 3.0ms (51% of total)
ival-mult: 2.0ms (34% of total)
ival-add: 1.0ms (17% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.4%)

Memory
7.6MiB live, 7.6MiB allocated
Counts
6 → 46
Calls
Call 1
Inputs
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))
(*.f64 (-.f64 y z) (-.f64 t x))
(-.f64 y z)
(-.f64 t x)
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
#s(approx (* (- y z) (- t x)) (-.f64 y z))
Outputs
(* t (- y z))
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z)))))
(+ (* -1 (* x (- y z))) (* t (- y z)))
t
(+ t (* -1 x))
(* x (+ 1 (* -1 (- y z))))
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x))))
(* -1 (* x (- y z)))
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x)))
(* -1 x)
(* x (- (/ t x) 1))
(* -1 (* x (- y (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z)))
(* -1 (* x (+ 1 (* -1 (/ t x)))))
(+ x (* -1 (* z (- t x))))
(+ x (+ (* -1 (* z (- t x))) (* y (- t x))))
(* -1 (* z (- t x)))
(+ (* -1 (* z (- t x))) (* y (- t x)))
(* -1 z)
(- y z)
(* y (- t x))
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x))
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x))
y
(* y (+ 1 (* -1 (/ z y))))
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y)))))
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y))))
(* -1 (* y (- (/ z y) 1)))
(+ x (* y (- t x)))
(+ y (* -1 z))
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z))))
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z)))
(* z (- (/ y z) 1))
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x)))
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x)))
(* -1 (* z (+ 1 (* -1 (/ y z)))))
(+ x (* -1 (* x (- y z))))
(+ x (+ (* -1 (* x (- y z))) (* t (- y z))))
(- t x)
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z))
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z))
(* t (+ 1 (* -1 (/ x t))))
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t)))))
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t))))
(* -1 (* t (- (/ x t) 1)))
Calls

12 calls:

TimeVariablePointExpression
0.0ms
t
@-inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x)))
0.0ms
y
@-inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x)))
0.0ms
y
@inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x)))
0.0ms
x
@inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x)))
0.0ms
x
@-inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x)))

simplify1.0ms (0.1%)

Memory
1.1MiB live, 1.1MiB allocated
Algorithm
egg-herbie
Counts
46 → 6
Calls
Call 1
Inputs
(* t (- y z))
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z)))))
(+ (* -1 (* x (- y z))) (* t (- y z)))
t
(+ t (* -1 x))
(* x (+ 1 (* -1 (- y z))))
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x))))
(* -1 (* x (- y z)))
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x)))
(* -1 x)
(* x (- (/ t x) 1))
(* -1 (* x (- y (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z)))
(* -1 (* x (+ 1 (* -1 (/ t x)))))
(+ x (* -1 (* z (- t x))))
(+ x (+ (* -1 (* z (- t x))) (* y (- t x))))
(* -1 (* z (- t x)))
(+ (* -1 (* z (- t x))) (* y (- t x)))
(* -1 z)
(- y z)
(* y (- t x))
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x))
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x))
y
(* y (+ 1 (* -1 (/ z y))))
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y)))))
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y))))
(* -1 (* y (- (/ z y) 1)))
(+ x (* y (- t x)))
(+ y (* -1 z))
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z))))
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z)))
(* z (- (/ y z) 1))
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x)))
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x)))
(* -1 (* z (+ 1 (* -1 (/ y z)))))
(+ x (* -1 (* x (- y z))))
(+ x (+ (* -1 (* x (- y z))) (* t (- y z))))
(- t x)
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z))
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z))
(* t (+ 1 (* -1 (/ x t))))
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t)))))
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t))))
(* -1 (* t (- (/ x t) 1)))
Outputs
(* t (- y z))
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z)))))
(*.f64 (-.f64 y z) (-.f64 t x))
(+ (* -1 (* x (- y z))) (* t (- y z)))
(-.f64 y z)
t
(-.f64 t x)
(+ t (* -1 x))
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
(* x (+ 1 (* -1 (- y z))))
#s(approx (* (- y z) (- t x)) (-.f64 y z))

rewrite0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))
(*.f64 (-.f64 y z) (-.f64 t x))
(-.f64 y z)
(-.f64 t x)
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
#s(approx (* (- y z) (- t x)) (-.f64 y z))
Outputs
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))
(*.f64 (-.f64 y z) (-.f64 t x))
(-.f64 y z)
(-.f64 t x)
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
#s(approx (* (- y z) (- t x)) (-.f64 y z))

eval1.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB allocated
Compiler

Compiled 215 to 22 computations (89.8% saved)

prune2.0ms (0.2%)

Memory
4.7MiB live, 4.7MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New10111
Fresh000
Picked022
Done011
Total10414
Accuracy
100.0%
Counts
14 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
14.9%
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
83.9%
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))
3.3%
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z)))
Compiler

Compiled 60 to 41 computations (31.7% saved)

simplify0.0ms (0%)

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

Found 3 expressions of interest:

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

localize21.0ms (2.1%)

Memory
-13.3MiB live, 25.0MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 y z)
accuracy10.260800750391057
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z)))
accuracy61.81058070701931
#s(approx (* (- y z) (- t x)) (-.f64 y z))
Samples
16.0ms256×0valid
Compiler

Compiled 60 to 21 computations (65% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-sub: 3.0ms (52.1% of total)
ival-mult: 2.0ms (34.8% of total)
ival-add: 1.0ms (17.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.3%)

Memory
6.7MiB live, 6.7MiB allocated
Counts
3 → 38
Calls
Call 1
Inputs
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z)))
#s(approx (* (- y z) (- t x)) (-.f64 y z))
(-.f64 y z)
Outputs
(* t (- y z))
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z)))))
(+ (* -1 (* x (- y z))) (* t (- y z)))
(* x (+ 1 (* -1 (- y z))))
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x))))
(* -1 (* x (- y z)))
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x)))
(* -1 (* x (- y (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z)))
(+ x (* -1 (* z (- t x))))
(+ x (+ (* -1 (* z (- t x))) (* y (- t x))))
(* -1 (* z (- t x)))
(+ (* -1 (* z (- t x))) (* y (- t x)))
(* -1 z)
(- y z)
(* y (- t x))
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x))
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x))
y
(* y (+ 1 (* -1 (/ z y))))
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y)))))
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y))))
(* -1 (* y (- (/ z y) 1)))
(+ x (* y (- t x)))
(+ y (* -1 z))
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z))))
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z)))
(* z (- (/ y z) 1))
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x)))
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x)))
(* -1 (* z (+ 1 (* -1 (/ y z)))))
(+ x (* -1 (* x (- y z))))
(+ x (+ (* -1 (* x (- y z))) (* t (- y z))))
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z))
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z))
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t)))))
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t))))
Calls

12 calls:

TimeVariablePointExpression
0.0ms
y
@-inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z))
0.0ms
x
@inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z))
0.0ms
t
@-inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z))
0.0ms
y
@inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z))
0.0ms
x
@-inf
((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z))

simplify0.0ms (0%)

Memory
1.3MiB live, 1.2MiB allocated
Algorithm
egg-herbie
Counts
38 → 3
Calls
Call 1
Inputs
(* t (- y z))
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z)))))
(+ (* -1 (* x (- y z))) (* t (- y z)))
(* x (+ 1 (* -1 (- y z))))
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x))))
(* -1 (* x (- y z)))
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x)))
(* -1 (* x (- y (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z))))
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z)))
(+ x (* -1 (* z (- t x))))
(+ x (+ (* -1 (* z (- t x))) (* y (- t x))))
(* -1 (* z (- t x)))
(+ (* -1 (* z (- t x))) (* y (- t x)))
(* -1 z)
(- y z)
(* y (- t x))
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x))
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x))
y
(* y (+ 1 (* -1 (/ z y))))
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y)))))
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y))))
(* -1 (* y (- (/ z y) 1)))
(+ x (* y (- t x)))
(+ y (* -1 z))
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z))))
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z)))
(* z (- (/ y z) 1))
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x)))
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x)))
(* -1 (* z (+ 1 (* -1 (/ y z)))))
(+ x (* -1 (* x (- y z))))
(+ x (+ (* -1 (* x (- y z))) (* t (- y z))))
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z))
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z))
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t)))))
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t))))
Outputs
(* t (- y z))
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z)))
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z)))))
#s(approx (* (- y z) (- t x)) (-.f64 y z))
(+ (* -1 (* x (- y z))) (* t (- y z)))
(-.f64 y z)

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
1.0MiB live, 1.0MiB allocated
Compiler

Compiled 94 to 12 computations (87.2% saved)

prune3.0ms (0.3%)

Memory
5.4MiB live, 5.4MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New404
Fresh000
Picked011
Done033
Total448
Accuracy
100.0%
Counts
8 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
14.9%
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
83.9%
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))
3.3%
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z)))
Compiler

Compiled 120 to 57 computations (52.5% saved)

regimes14.0ms (1.5%)

Memory
-14.9MiB live, 23.0MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z)))
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
Outputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
Calls

6 calls:

4.0ms
t
2.0ms
x
2.0ms
(-.f64 y z)
2.0ms
z
2.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1t
100.0%1(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
100.0%1(-.f64 y z)
Compiler

Compiled 16 to 29 computations (-81.3% saved)

regimes11.0ms (1.1%)

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

6 calls:

2.0ms
x
2.0ms
y
2.0ms
t
2.0ms
(-.f64 y z)
2.0ms
z
Results
AccuracySegmentsBranch
83.9%1x
83.9%1y
83.9%1z
83.9%1t
83.9%1(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
90.3%3(-.f64 y z)
Compiler

Compiled 16 to 29 computations (-81.3% saved)

regimes11.0ms (1.2%)

Memory
-21.8MiB live, 16.2MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z)))
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
Outputs
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
Calls

6 calls:

3.0ms
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
1.0ms
z
1.0ms
(-.f64 y z)
1.0ms
t
1.0ms
x
Results
AccuracySegmentsBranch
14.9%1t
14.9%1y
14.9%1x
14.9%1z
14.9%1(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
14.9%1(-.f64 y z)
Compiler

Compiled 16 to 29 computations (-81.3% saved)

regimes7.0ms (0.8%)

Memory
21.6MiB live, 21.6MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

6 calls:

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

Compiled 16 to 29 computations (-81.3% saved)

bsearch23.0ms (2.4%)

Memory
-11.8MiB live, 30.7MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
10.0ms
1.2880674905300645e-37
6.138529340399442e-33
11.0ms
-5.584447195449386e-26
-9.184319564616535e-27
Samples
10.0ms224×0valid
Compiler

Compiled 376 to 323 computations (14.1% saved)

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

simplify5.0ms (0.5%)

Memory
10.2MiB live, 10.2MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
(if (<=.f64 (-.f64 y z) #s(literal -7387121847013269/696898287454081973172991196020261297061888 binary64)) #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) (if (<=.f64 (-.f64 y z) #s(literal 2244866514940267/748288838313422294120286634350736906063837462003712 binary64)) (+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))))
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z)))
Outputs
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x)))
(if (<=.f64 (-.f64 y z) #s(literal -7387121847013269/696898287454081973172991196020261297061888 binary64)) #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) (if (<=.f64 (-.f64 y z) #s(literal 2244866514940267/748288838313422294120286634350736906063837462003712 binary64)) (+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x)))))
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z)))
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z)))

soundness1.0ms (0.1%)

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

Compiled 102 to 22 computations (78.4% saved)

preprocess34.0ms (3.5%)

Memory
-25.1MiB live, 49.3MiB allocated
Compiler

Compiled 250 to 80 computations (68% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...