Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1, B

Time bar (total: 1.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB 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 15 to 13 computations (13.3% saved)

sample809.0ms (68.6%)

Memory
-4.3MiB live, 1 105.6MiB allocated
Samples
519.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 313.0ms
ival-mult: 220.0ms (70.4% of total)
ival-sub: 78.0ms (24.9% of total)
ival-true: 6.0ms (1.9% of total)
exact: 5.0ms (1.6% of total)
ival-assert: 3.0ms (1% of total)
Bogosity

explain132.0ms (11.2%)

Memory
-5.7MiB live, 231.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
160-0-(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))
150-0-(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
00-0-t
00-0-(*.f64 y #s(literal 4 binary64))
00-0-z
00-0-#s(literal 4 binary64)
00-0-(*.f64 x x)
00-0-(*.f64 z z)
00-0-y
00-0-(-.f64 (*.f64 z z) t)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
*.f64(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))n*o160
-.f64(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))nan-rescue150
(*.f64 x x)overflow72
(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))overflow90
(-.f64 (*.f64 z z) t)overflow63
(*.f64 z z)overflow63
Confusion
Predicted +Predicted -
+280
-3225
Precision
0.9032258064516129
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+2800
-30225
Precision?
0.9032258064516129
Recall?
1.0
Freqs
test
numberfreq
0225
131
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
45.0ms512×0valid
Compiler

Compiled 140 to 48 computations (65.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-mult: 12.0ms (50.8% of total)
ival-sub: 10.0ms (42.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess4.0ms (0.3%)

Memory
9.4MiB live, 9.4MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
Outputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
Compiler

Compiled 13 to 11 computations (15.4% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 4 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.3%
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
Compiler

Compiled 13 to 11 computations (15.4% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

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

localize26.0ms (2.2%)

Memory
22.0MiB live, 60.8MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 x x)
accuracy0.00390625
(-.f64 (*.f64 z z) t)
accuracy3.4999793583020584
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
accuracy3.8266443055237316
(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))
Samples
19.0ms256×0valid
Compiler

Compiled 84 to 24 computations (71.4% saved)

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

series14.0ms (1.2%)

Memory
-30.0MiB live, 28.6MiB allocated
Counts
5 → 31
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
(*.f64 x x)
(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))
(*.f64 y #s(literal 4 binary64))
(-.f64 (*.f64 z z) t)
Outputs
(* -4 (* y (- (pow z 2) t)))
(- (pow x 2) (* 4 (* y (- (pow z 2) t))))
(pow x 2)
(* (pow x 2) (+ 1 (* -4 (/ (* y (- (pow z 2) t)) (pow x 2)))))
(+ (* -4 (* y (- (pow z 2) t))) (pow x 2))
(* 4 (* y (- (pow z 2) t)))
(* 4 y)
(* y (- (/ (pow x 2) y) (* 4 (- (pow z 2) t))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -4 (- (pow z 2) t)))))
(- (pow x 2) (* -4 (* t y)))
(- (+ (* -4 (* y (pow z 2))) (pow x 2)) (* -4 (* t y)))
(* -4 (* t y))
(+ (* -4 (* t y)) (* 4 (* y (pow z 2))))
(* -1 t)
(- (pow z 2) t)
(* -4 (* y (pow z 2)))
(* (pow z 2) (- (/ (pow x 2) (pow z 2)) (+ (* -4 (/ (* t y) (pow z 2))) (* 4 y))))
(* 4 (* y (pow z 2)))
(* (pow z 2) (+ (* -4 (/ (* t y) (pow z 2))) (* 4 y)))
(pow z 2)
(* (pow z 2) (+ 1 (* -1 (/ t (pow z 2)))))
(- (pow x 2) (* 4 (* y (pow z 2))))
(- (+ (* 4 (* t y)) (pow x 2)) (* 4 (* y (pow z 2))))
(+ (* -1 t) (pow z 2))
(* 4 (* t y))
(* t (- (/ (pow x 2) t) (+ (* -4 y) (* 4 (/ (* y (pow z 2)) t)))))
(* t (+ (* -4 y) (* 4 (/ (* y (pow z 2)) t))))
(* t (- (/ (pow z 2) t) 1))
(* -1 (* t (- (* -1 (/ (- (pow x 2) (* 4 (* y (pow z 2)))) t)) (* 4 y))))
(* -1 (* t (+ (* -4 (/ (* y (pow z 2)) t)) (* 4 y))))
(* -1 (* t (+ 1 (* -1 (/ (pow z 2) t)))))
Calls

12 calls:

TimeVariablePointExpression
5.0ms
y
@0
((- (* x x) (* (* y 4) (- (* z z) t))) (* x x) (* (* y 4) (- (* z z) t)) (* y 4) (- (* z z) t))
2.0ms
y
@-inf
((- (* x x) (* (* y 4) (- (* z z) t))) (* x x) (* (* y 4) (- (* z z) t)) (* y 4) (- (* z z) t))
1.0ms
y
@inf
((- (* x x) (* (* y 4) (- (* z z) t))) (* x x) (* (* y 4) (- (* z z) t)) (* y 4) (- (* z z) t))
1.0ms
x
@0
((- (* x x) (* (* y 4) (- (* z z) t))) (* x x) (* (* y 4) (- (* z z) t)) (* y 4) (- (* z z) t))
1.0ms
z
@inf
((- (* x x) (* (* y 4) (- (* z z) t))) (* x x) (* (* y 4) (- (* z z) t)) (* y 4) (- (* z z) t))

simplify1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated
Algorithm
egg-herbie
Counts
31 → 5
Calls
Call 1
Inputs
(* -4 (* y (- (pow z 2) t)))
(- (pow x 2) (* 4 (* y (- (pow z 2) t))))
(pow x 2)
(* (pow x 2) (+ 1 (* -4 (/ (* y (- (pow z 2) t)) (pow x 2)))))
(+ (* -4 (* y (- (pow z 2) t))) (pow x 2))
(* 4 (* y (- (pow z 2) t)))
(* 4 y)
(* y (- (/ (pow x 2) y) (* 4 (- (pow z 2) t))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -4 (- (pow z 2) t)))))
(- (pow x 2) (* -4 (* t y)))
(- (+ (* -4 (* y (pow z 2))) (pow x 2)) (* -4 (* t y)))
(* -4 (* t y))
(+ (* -4 (* t y)) (* 4 (* y (pow z 2))))
(* -1 t)
(- (pow z 2) t)
(* -4 (* y (pow z 2)))
(* (pow z 2) (- (/ (pow x 2) (pow z 2)) (+ (* -4 (/ (* t y) (pow z 2))) (* 4 y))))
(* 4 (* y (pow z 2)))
(* (pow z 2) (+ (* -4 (/ (* t y) (pow z 2))) (* 4 y)))
(pow z 2)
(* (pow z 2) (+ 1 (* -1 (/ t (pow z 2)))))
(- (pow x 2) (* 4 (* y (pow z 2))))
(- (+ (* 4 (* t y)) (pow x 2)) (* 4 (* y (pow z 2))))
(+ (* -1 t) (pow z 2))
(* 4 (* t y))
(* t (- (/ (pow x 2) t) (+ (* -4 y) (* 4 (/ (* y (pow z 2)) t)))))
(* t (+ (* -4 y) (* 4 (/ (* y (pow z 2)) t))))
(* t (- (/ (pow z 2) t) 1))
(* -1 (* t (- (* -1 (/ (- (pow x 2) (* 4 (* y (pow z 2)))) t)) (* 4 y))))
(* -1 (* t (+ (* -4 (/ (* y (pow z 2)) t)) (* 4 y))))
(* -1 (* t (+ 1 (* -1 (/ (pow z 2) t)))))
Outputs
(* -4 (* y (- (pow z 2) t)))
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
(- (pow x 2) (* 4 (* y (- (pow z 2) t))))
(*.f64 x x)
(pow x 2)
(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))
(* (pow x 2) (+ 1 (* -4 (/ (* y (- (pow z 2) t)) (pow x 2)))))
(*.f64 y #s(literal 4 binary64))
(+ (* -4 (* y (- (pow z 2) t))) (pow x 2))
(-.f64 (*.f64 z z) t)

rewrite0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Counts
5 → 5
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
(*.f64 x x)
(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))
(*.f64 y #s(literal 4 binary64))
(-.f64 (*.f64 z z) t)
Outputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
(*.f64 x x)
(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))
(*.f64 y #s(literal 4 binary64))
(-.f64 (*.f64 z z) t)

eval1.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Compiler

Compiled 168 to 24 computations (85.7% saved)

prune2.0ms (0.1%)

Memory
4.4MiB live, 4.4MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New7310
Fresh000
Picked011
Done000
Total7411
Accuracy
93.4%
Counts
11 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.3%
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
14.9%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (-.f64 (*.f64 z z) t))
2.2%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 y #s(literal 4 binary64)))
43.7%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
Compiler

Compiled 66 to 52 computations (21.2% saved)

simplify0.0ms (0%)

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

Found 7 expressions of interest:

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

localize26.0ms (2.2%)

Memory
-16.8MiB live, 60.3MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 z z)
accuracy0.00390625
(-.f64 (*.f64 z z) t)
accuracy54.47954547748158
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (-.f64 (*.f64 z z) t))
accuracy0.0
(*.f64 y #s(literal 4 binary64))
accuracy62.598334298773025
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 y #s(literal 4 binary64)))
accuracy0.0
(*.f64 x x)
accuracy36.02212374333649
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
Samples
20.0ms256×0valid
Compiler

Compiled 132 to 32 computations (75.8% saved)

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

series7.0ms (0.6%)

Memory
15.3MiB live, 15.3MiB allocated
Counts
7 → 24
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
(*.f64 x x)
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 y #s(literal 4 binary64)))
(*.f64 y #s(literal 4 binary64))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (-.f64 (*.f64 z z) t))
(-.f64 (*.f64 z z) t)
(*.f64 z z)
Outputs
(* -4 (* y (- (pow z 2) t)))
(- (pow x 2) (* 4 (* y (- (pow z 2) t))))
(pow x 2)
(* (pow x 2) (+ 1 (* -4 (/ (* y (- (pow z 2) t)) (pow x 2)))))
(+ (* -4 (* y (- (pow z 2) t))) (pow x 2))
(* 4 y)
(* y (- (/ (pow x 2) y) (* 4 (- (pow z 2) t))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -4 (- (pow z 2) t)))))
(- (pow x 2) (* -4 (* t y)))
(- (+ (* -4 (* y (pow z 2))) (pow x 2)) (* -4 (* t y)))
(* -1 t)
(- (pow z 2) t)
(pow z 2)
(* -4 (* y (pow z 2)))
(* (pow z 2) (- (/ (pow x 2) (pow z 2)) (+ (* -4 (/ (* t y) (pow z 2))) (* 4 y))))
(* (pow z 2) (+ 1 (* -1 (/ t (pow z 2)))))
(- (pow x 2) (* 4 (* y (pow z 2))))
(- (+ (* 4 (* t y)) (pow x 2)) (* 4 (* y (pow z 2))))
(+ (* -1 t) (pow z 2))
(* 4 (* t y))
(* t (- (/ (pow x 2) t) (+ (* -4 y) (* 4 (/ (* y (pow z 2)) t)))))
(* t (- (/ (pow z 2) t) 1))
(* -1 (* t (- (* -1 (/ (- (pow x 2) (* 4 (* y (pow z 2)))) t)) (* 4 y))))
(* -1 (* t (+ 1 (* -1 (/ (pow z 2) t)))))
Calls

12 calls:

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

simplify0.0ms (0%)

Memory
1.3MiB live, 1.3MiB allocated
Algorithm
egg-herbie
Counts
24 → 7
Calls
Call 1
Inputs
(* -4 (* y (- (pow z 2) t)))
(- (pow x 2) (* 4 (* y (- (pow z 2) t))))
(pow x 2)
(* (pow x 2) (+ 1 (* -4 (/ (* y (- (pow z 2) t)) (pow x 2)))))
(+ (* -4 (* y (- (pow z 2) t))) (pow x 2))
(* 4 y)
(* y (- (/ (pow x 2) y) (* 4 (- (pow z 2) t))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -4 (- (pow z 2) t)))))
(- (pow x 2) (* -4 (* t y)))
(- (+ (* -4 (* y (pow z 2))) (pow x 2)) (* -4 (* t y)))
(* -1 t)
(- (pow z 2) t)
(pow z 2)
(* -4 (* y (pow z 2)))
(* (pow z 2) (- (/ (pow x 2) (pow z 2)) (+ (* -4 (/ (* t y) (pow z 2))) (* 4 y))))
(* (pow z 2) (+ 1 (* -1 (/ t (pow z 2)))))
(- (pow x 2) (* 4 (* y (pow z 2))))
(- (+ (* 4 (* t y)) (pow x 2)) (* 4 (* y (pow z 2))))
(+ (* -1 t) (pow z 2))
(* 4 (* t y))
(* t (- (/ (pow x 2) t) (+ (* -4 y) (* 4 (/ (* y (pow z 2)) t)))))
(* t (- (/ (pow z 2) t) 1))
(* -1 (* t (- (* -1 (/ (- (pow x 2) (* 4 (* y (pow z 2)))) t)) (* 4 y))))
(* -1 (* t (+ 1 (* -1 (/ (pow z 2) t)))))
Outputs
(* -4 (* y (- (pow z 2) t)))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
(- (pow x 2) (* 4 (* y (- (pow z 2) t))))
(*.f64 x x)
(pow x 2)
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 y #s(literal 4 binary64)))
(* (pow x 2) (+ 1 (* -4 (/ (* y (- (pow z 2) t)) (pow x 2)))))
(*.f64 y #s(literal 4 binary64))
(+ (* -4 (* y (- (pow z 2) t))) (pow x 2))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (-.f64 (*.f64 z z) t))
(* 4 y)
(-.f64 (*.f64 z z) t)
(* y (- (/ (pow x 2) y) (* 4 (- (pow z 2) t))))
(*.f64 z z)

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Compiler

Compiled 264 to 26 computations (90.2% saved)

prune2.0ms (0.2%)

Memory
5.5MiB live, 5.5MiB allocated
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New11112
Fresh000
Picked033
Done011
Total11516
Accuracy
93.4%
Counts
16 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.3%
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
14.9%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (-.f64 (*.f64 z z) t))
15.3%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 z z))
2.2%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 y #s(literal 4 binary64)))
43.7%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
Compiler

Compiled 83 to 65 computations (21.7% saved)

simplify0.0ms (0%)

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

Found 2 expressions of interest:

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

localize26.0ms (2.2%)

Memory
-40.3MiB live, 40.4MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 z z)
accuracy54.21465333031158
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 z z))
Samples
16.0ms256×0valid
Compiler

Compiled 40 to 26 computations (35% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 6.0ms (69.8% of total)
ival-sub: 2.0ms (23.3% 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.4%)

Memory
9.9MiB live, 9.9MiB allocated
Counts
2 → 17
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 z z))
(*.f64 z z)
Outputs
(* -4 (* y (- (pow z 2) t)))
(- (pow x 2) (* 4 (* y (- (pow z 2) t))))
(pow x 2)
(* (pow x 2) (+ 1 (* -4 (/ (* y (- (pow z 2) t)) (pow x 2)))))
(+ (* -4 (* y (- (pow z 2) t))) (pow x 2))
(* y (- (/ (pow x 2) y) (* 4 (- (pow z 2) t))))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) (* -4 (- (pow z 2) t)))))
(- (pow x 2) (* -4 (* t y)))
(- (+ (* -4 (* y (pow z 2))) (pow x 2)) (* -4 (* t y)))
(pow z 2)
(* -4 (* y (pow z 2)))
(* (pow z 2) (- (/ (pow x 2) (pow z 2)) (+ (* -4 (/ (* t y) (pow z 2))) (* 4 y))))
(- (pow x 2) (* 4 (* y (pow z 2))))
(- (+ (* 4 (* t y)) (pow x 2)) (* 4 (* y (pow z 2))))
(* 4 (* t y))
(* t (- (/ (pow x 2) t) (+ (* -4 y) (* 4 (/ (* y (pow z 2)) t)))))
(* -1 (* t (- (* -1 (/ (- (pow x 2) (* 4 (* y (pow z 2)))) t)) (* 4 y))))
Calls

12 calls:

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

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Compiler

Compiled 65 to 14 computations (78.5% saved)

prune3.0ms (0.2%)

Memory
5.2MiB live, 5.2MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New303
Fresh000
Picked011
Done044
Total358
Accuracy
93.4%
Counts
8 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
89.3%
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
14.9%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (-.f64 (*.f64 z z) t))
15.3%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 z z))
2.2%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 y #s(literal 4 binary64)))
43.7%
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
Compiler

Compiled 166 to 87 computations (47.6% saved)

regimes24.0ms (2.1%)

Memory
11.8MiB live, 49.7MiB allocated
Counts
5 → 2
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 y #s(literal 4 binary64)))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 z z))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (-.f64 (*.f64 z z) t))
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
Outputs
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
Calls

10 calls:

5.0ms
(*.f64 x x)
2.0ms
(*.f64 y #s(literal 4 binary64))
2.0ms
x
2.0ms
y
2.0ms
(-.f64 (*.f64 z z) t)
Results
AccuracySegmentsBranch
91.7%2x
89.3%1y
89.3%1z
89.3%1t
92.0%2(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
92.0%2(*.f64 x x)
89.3%1(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))
89.3%1(*.f64 y #s(literal 4 binary64))
89.3%1(-.f64 (*.f64 z z) t)
89.3%1(*.f64 z z)
Compiler

Compiled 40 to 58 computations (-45% saved)

regimes21.0ms (1.8%)

Memory
7.4MiB live, 45.6MiB allocated
Counts
4 → 2
Calls
Call 1
Inputs
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 y #s(literal 4 binary64)))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 z z))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (-.f64 (*.f64 z z) t))
Outputs
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 z z))
Calls

10 calls:

4.0ms
x
2.0ms
t
2.0ms
(*.f64 y #s(literal 4 binary64))
2.0ms
z
2.0ms
y
Results
AccuracySegmentsBranch
43.7%1t
43.7%1y
50.7%3z
48.2%2(*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))
43.7%1(*.f64 y #s(literal 4 binary64))
49.6%2(-.f64 (*.f64 z z) t)
49.6%2(*.f64 z z)
43.7%1x
43.7%1(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)))
46.3%2(*.f64 x x)
Compiler

Compiled 40 to 58 computations (-45% saved)

regimes9.0ms (0.7%)

Memory
-19.0MiB live, 19.5MiB allocated
Accuracy

Total -26.8b remaining (-74.4%)

Threshold costs -26.8b (-74.4%)

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

5 calls:

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

Compiled 21 to 29 computations (-38.1% saved)

bsearch18.0ms (1.5%)

Memory
-11.2MiB live, 32.5MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
16.0ms
1.675183313037855e+285
2.7189617653335328e+290
Samples
11.0ms144×0valid
Compiler

Compiled 250 to 234 computations (6.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 6.0ms (84% of total)
ival-sub: 1.0ms (14% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

bsearch7.0ms (0.6%)

Memory
20.7MiB live, 20.7MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
6.0ms
4.0608658127766986e+295
6.524699020579584e+295
Samples
3.0ms64×0valid
Compiler

Compiled 144 to 126 computations (12.5% saved)

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

simplify7.0ms (0.6%)

Memory
-23.7MiB live, 15.4MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(if (<=.f64 (*.f64 x x) #s(literal 13499999999999999967767992813532678350750522590779843866706254504692478728834740376421756858812264992487959142757595381055140999081104455703820315785343291623541916471056651288427447245594926837632188543576166406799401048001985902803949596927796314345308418797387363099411997431498964729856 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))) #s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x)))
(if (<=.f64 (*.f64 z z) #s(literal 65000000000000003325679519607167214829966483271059609124339490067287015683979900344320741499736667400428582921628290914130245038216808472741838137779989135069276188698758992138488017514192873865029700134044718976689694859660742133411820277487083475732196805237249510232990500617989020254237360128 binary64)) #s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x)) #s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 z z)))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))
Outputs
(if (<=.f64 (*.f64 x x) #s(literal 13499999999999999967767992813532678350750522590779843866706254504692478728834740376421756858812264992487959142757595381055140999081104455703820315785343291623541916471056651288427447245594926837632188543576166406799401048001985902803949596927796314345308418797387363099411997431498964729856 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t))) #s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x)))
(if (<=.f64 (*.f64 z z) #s(literal 65000000000000003325679519607167214829966483271059609124339490067287015683979900344320741499736667400428582921628290914130245038216808472741838137779989135069276188698758992138488017514192873865029700134044718976689694859660742133411820277487083475732196805237249510232990500617989020254237360128 binary64)) #s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x)) #s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 z z)))
#s(approx (- (* x x) (* (* y 4) (- (* z z) t))) (*.f64 x x))

soundness1.0ms (0.1%)

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

Compiled 93 to 26 computations (72% saved)

preprocess29.0ms (2.5%)

Memory
4.4MiB live, 82.2MiB allocated
Compiler

Compiled 238 to 96 computations (59.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...