Linear.Projection:perspective from linear-1.19.1.3, B

Time bar (total: 945.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze15.0ms (1.6%)

Memory
-5.2MiB live, 33.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
87.5%87.4%12.5%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
93.8%93.7%6.2%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
96.9%96.8%3.1%0.1%0%0%0%12
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample674.0ms (71.3%)

Memory
-0.8MiB live, 1 044.6MiB allocated
Samples
419.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 242.0ms
ival-mult: 125.0ms (51.7% of total)
ival-div: 55.0ms (22.8% of total)
ival-sub: 46.0ms (19% of total)
ival-true: 7.0ms (2.9% of total)
exact: 5.0ms (2.1% of total)
ival-assert: 4.0ms (1.7% of total)
Bogosity

explain71.0ms (7.5%)

Memory
-9.0MiB live, 151.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
480-5(2.193182056375942e-111 1.4829902672236843e-204)(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
00-0-(*.f64 x #s(literal 2 binary64))
00-0-#s(literal 2 binary64)
00-0-y
00-0-(-.f64 x y)
00-0-(*.f64 (*.f64 x #s(literal 2 binary64)) y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))o/n260
(*.f64 (*.f64 x #s(literal 2 binary64)) y)overflow26
/.f64(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))u/n170
(*.f64 (*.f64 x #s(literal 2 binary64)) y)underflow17
Confusion
Predicted +Predicted -
+435
-0208
Precision
1.0
Recall
0.8958333333333334
Confusion?
Predicted +Predicted MaybePredicted -
+4305
-00208
Precision?
1.0
Recall?
0.8958333333333334
Freqs
test
numberfreq
0213
143
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
28.0ms512×0valid
Compiler

Compiled 82 to 32 computations (61% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-mult: 7.0ms (50.6% of total)
ival-sub: 3.0ms (21.7% of total)
ival-div: 3.0ms (21.7% 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
6.3MiB live, 6.3MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
Outputs
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 9 to 7 computations (22.2% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

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

localize22.0ms (2.3%)

Memory
-21.5MiB live, 55.3MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy0.0
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
accuracy0.0
(*.f64 x #s(literal 2 binary64))
accuracy10.691863583670617
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
Samples
14.0ms256×0valid
Compiler

Compiled 48 to 16 computations (66.7% saved)

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

series8.0ms (0.8%)

Memory
20.6MiB live, 20.6MiB allocated
Counts
4 → 28
Calls
Call 1
Inputs
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
(-.f64 x y)
Outputs
(* -2 x)
(* x (- (* -2 (/ x y)) 2))
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2))
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2))
(* 2 (* x y))
(* 2 x)
(* -1 y)
(- x y)
(* 2 y)
(+ (* 2 y) (* 2 (/ (pow y 2) x)))
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2)))))
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3))))))
x
(* x (+ 1 (* -1 (/ y x))))
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y))
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y))
(* -1 (* x (- (/ y x) 1)))
(* y (+ 2 (* 2 (/ y x))))
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x))))))
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x))))))
(+ x (* -1 y))
(+ (* -2 x) (* -2 (/ (pow x 2) y)))
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2)))))
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3))))))
(* y (- (/ x y) 1))
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y)))
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@inf
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y))
2.0ms
x
@-inf
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y))
1.0ms
x
@0
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y))
1.0ms
y
@inf
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y))
1.0ms
y
@-inf
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y))

simplify0.0ms (0.1%)

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

rewrite0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
(-.f64 x y)
Outputs
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
(-.f64 x y)

eval1.0ms (0.1%)

Memory
3.3MiB live, 3.3MiB allocated
Compiler

Compiled 96 to 16 computations (83.3% saved)

prune2.0ms (0.2%)

Memory
4.2MiB live, 4.2MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New538
Fresh000
Picked011
Done000
Total549
Accuracy
83.5%
Counts
9 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
83.3%
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
3.3%
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
4.2%
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
3.3%
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
Compiler

Compiled 50 to 37 computations (26% saved)

simplify0.0ms (0%)

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

Found 7 expressions of interest:

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

localize32.0ms (3.4%)

Memory
-34.4MiB live, 52.5MiB allocated
Localize:

Found 7 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x y)
accuracy61.87830523361209
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
accuracy0.0
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
accuracy0.0
(*.f64 x #s(literal 2 binary64))
accuracy61.327376373900506
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
accuracy0.0
(*.f64 x #s(literal 2 binary64))
accuracy61.90648133251275
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
Samples
26.0ms256×0valid
Compiler

Compiled 112 to 23 computations (79.5% saved)

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

series4.0ms (0.4%)

Memory
10.6MiB live, 10.6MiB allocated
Counts
6 → 28
Calls
Call 1
Inputs
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
(-.f64 x y)
Outputs
(* -2 x)
(* x (- (* -2 (/ x y)) 2))
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2))
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2))
(* 2 x)
(* 2 (* x y))
(* -1 y)
(- x y)
(* 2 y)
(+ (* 2 y) (* 2 (/ (pow y 2) x)))
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2)))))
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3))))))
x
(* x (+ 1 (* -1 (/ y x))))
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y))
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y))
(* -1 (* x (- (/ y x) 1)))
(* y (+ 2 (* 2 (/ y x))))
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x))))))
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x))))))
(+ x (* -1 y))
(+ (* -2 x) (* -2 (/ (pow x 2) y)))
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2)))))
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3))))))
(* y (- (/ x y) 1))
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y)))
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y))
1.0ms
x
@-inf
((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y))
1.0ms
x
@0
((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y))
0.0ms
y
@-inf
((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y))
0.0ms
y
@inf
((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y))

simplify1.0ms (0.1%)

Memory
1.7MiB live, 1.7MiB allocated
Algorithm
egg-herbie
Counts
28 → 6
Calls
Call 1
Inputs
(* -2 x)
(* x (- (* -2 (/ x y)) 2))
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2))
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2))
(* 2 x)
(* 2 (* x y))
(* -1 y)
(- x y)
(* 2 y)
(+ (* 2 y) (* 2 (/ (pow y 2) x)))
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2)))))
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3))))))
x
(* x (+ 1 (* -1 (/ y x))))
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y))
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y))
(* -1 (* x (- (/ y x) 1)))
(* y (+ 2 (* 2 (/ y x))))
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x))))))
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x))))))
(+ x (* -1 y))
(+ (* -2 x) (* -2 (/ (pow x 2) y)))
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2)))))
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3))))))
(* y (- (/ x y) 1))
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y)))
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y)))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
Outputs
(* -2 x)
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
(* x (- (* -2 (/ x y)) 2))
(*.f64 x #s(literal 2 binary64))
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2))
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
(* 2 x)
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
(* 2 (* x y))
(-.f64 x y)

rewrite0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
(-.f64 x y)
Outputs
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
(*.f64 x #s(literal 2 binary64))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(*.f64 (*.f64 x #s(literal 2 binary64)) y)
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
(-.f64 x y)

eval1.0ms (0.1%)

Memory
5.3MiB live, 5.3MiB allocated
Compiler

Compiled 220 to 22 computations (90% saved)

prune3.0ms (0.3%)

Memory
10.5MiB live, 10.5MiB allocated
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New11112
Fresh000
Picked033
Done011
Total11516
Accuracy
83.5%
Counts
16 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
83.3%
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
3.3%
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
4.2%
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
3.7%
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
3.3%
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
Compiler

Compiled 79 to 49 computations (38% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
cost-diff0
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)))
cost-diff0
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)
cost-diff0
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
Calls
Call 1
Inputs
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)))
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
(-.f64 x y)
x
y
Outputs
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)))
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
(-.f64 x y)
x
y

localize26.0ms (2.8%)

Memory
-36.0MiB live, 41.1MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)
accuracy61.327376373900506
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
accuracy61.87830523361209
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
accuracy61.90648133251275
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)))
Samples
13.0ms256×0valid
Compiler

Compiled 116 to 21 computations (81.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 3.0ms (45.1% of total)
ival-div: 2.0ms (30.1% of total)
ival-sub: 1.0ms (15% 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
7.3MiB live, 7.3MiB allocated
Counts
4 → 20
Calls
Call 1
Inputs
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)))
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
Outputs
(* -2 x)
(* x (- (* -2 (/ x y)) 2))
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2))
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2))
(* 2 (* x y))
(* 2 x)
(* 2 y)
(+ (* 2 y) (* 2 (/ (pow y 2) x)))
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2)))))
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3))))))
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y))
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y))
(* y (+ 2 (* 2 (/ y x))))
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x))))))
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x))))))
(+ (* -2 x) (* -2 (/ (pow x 2) y)))
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2)))))
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3))))))
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y)))
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y)))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y)))
1.0ms
x
@inf
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y)))
1.0ms
x
@-inf
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y)))
0.0ms
y
@inf
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y)))
0.0ms
y
@-inf
((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y)))

simplify0.0ms (0%)

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

rewrite0.0ms (0%)

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

eval1.0ms (0.1%)

Memory
2.0MiB live, 2.0MiB allocated
Compiler

Compiled 205 to 15 computations (92.7% saved)

prune3.0ms (0.4%)

Memory
7.9MiB live, 7.9MiB allocated
Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New707
Fresh000
Picked011
Done044
Total7512
Accuracy
83.5%
Counts
12 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
83.3%
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
3.3%
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
4.2%
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
3.7%
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
3.3%
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
Compiler

Compiled 158 to 67 computations (57.6% saved)

regimes7.0ms (0.8%)

Memory
16.2MiB live, 16.2MiB allocated
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
Outputs
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
Calls

3 calls:

2.0ms
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
83.3%1x
83.3%1y
83.3%1(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
Compiler

Compiled 11 to 11 computations (0% saved)

regimes10.0ms (1.1%)

Memory
-29.8MiB live, 14.4MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64)))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Outputs
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
Calls

3 calls:

6.0ms
x
2.0ms
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
2.0ms
y
Results
AccuracySegmentsBranch
4.2%1y
4.2%1(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
4.2%1x
Compiler

Compiled 11 to 11 computations (0% saved)

regimes6.0ms (0.6%)

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

3 calls:

2.0ms
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
3.7%1(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
3.7%1x
3.7%1y
Compiler

Compiled 11 to 11 computations (0% saved)

regimes5.0ms (0.5%)

Memory
10.7MiB live, 10.7MiB allocated
Accuracy

Total -0.5b remaining (-0.8%)

Threshold costs -0.5b (-0.8%)

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

3 calls:

1.0ms
x
1.0ms
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
1.0ms
y
Results
AccuracySegmentsBranch
3.3%1y
3.3%1(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
3.3%1x
Compiler

Compiled 11 to 11 computations (0% saved)

simplify8.0ms (0.9%)

Memory
-27.6MiB live, 10.0MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))
Outputs
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y))
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y))
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))

soundness1.0ms (0.1%)

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

Compiled 66 to 17 computations (74.2% saved)

preprocess35.0ms (3.8%)

Memory
22.2MiB live, 58.6MiB allocated
Compiler

Compiled 220 to 80 computations (63.6% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...