Data.Approximate.Numerics:blog from approximate-0.2.2.1

Time bar (total: 1.1s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze2.0ms (0.2%)

Memory
3.3MiB live, 3.3MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
50%50%50%0%0%0%0%2
66.7%50%25%0%0%25%0%3
80%50%12.5%0%0%37.5%0%4
88.9%50%6.2%0%0%43.7%0%5
94.1%50%3.1%0%0%46.9%0%6
97%50%1.6%0%0%48.4%0%7
98.5%50%0.8%0%0%49.2%0%8
99.2%50%0.4%0%0%49.6%0%9
99.6%50%0.2%0%0%49.8%0%10
99.8%50%0.1%0%0%49.9%0%11
99.9%50%0%0%0%49.9%0%12
Compiler

Compiled 16 to 13 computations (18.8% saved)

sample830.0ms (76%)

Memory
25.4MiB live, 1 320.4MiB allocated
Samples
548.0ms8 256×0valid
1.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 378.0ms
ival-mult: 104.0ms (27.5% of total)
ival-add: 75.0ms (19.9% of total)
ival-sqrt: 67.0ms (17.7% of total)
ival-sub: 56.0ms (14.8% of total)
ival-div: 54.0ms (14.3% of total)
exact: 11.0ms (2.9% of total)
ival-true: 6.0ms (1.6% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain122.0ms (11.1%)

Memory
13.0MiB live, 210.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 x #s(literal 1 binary64))
00-0-(sqrt.f64 x)
00-0-(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
00-0-#s(literal 1 binary64)
00-0-(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
00-0-#s(literal 4 binary64)
00-0-#s(literal 6 binary64)
00-0-(-.f64 x #s(literal 1 binary64))
00-0-(+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
00-0-x
00-0-(*.f64 #s(literal 4 binary64) (sqrt.f64 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
41.0ms468×0valid
6.0ms24×1valid
4.0ms20×2valid
Compiler

Compiled 147 to 48 computations (67.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 25.0ms
ival-mult: 7.0ms (27.7% of total)
ival-add: 5.0ms (19.8% of total)
ival-sqrt: 4.0ms (15.8% of total)
ival-div: 3.0ms (11.9% of total)
ival-sub: 3.0ms (11.9% of total)
adjust: 2.0ms (7.9% of total)
exact: 1.0ms (4% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

preprocess2.0ms (0.2%)

Memory
4.1MiB live, 4.1MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Outputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Compiler

Compiled 14 to 11 computations (21.4% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Compiler

Compiled 14 to 11 computations (21.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 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
cost-diff0
(-.f64 x #s(literal 1 binary64))
cost-diff0
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
cost-diff0
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Calls
Call 1
Inputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
#s(literal 6 binary64)
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
(+.f64 x #s(literal 1 binary64))
(*.f64 #s(literal 4 binary64) (sqrt.f64 x))
#s(literal 4 binary64)
(sqrt.f64 x)
Outputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
#s(literal 6 binary64)
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
(+.f64 x #s(literal 1 binary64))
(*.f64 #s(literal 4 binary64) (sqrt.f64 x))
#s(literal 4 binary64)
(sqrt.f64 x)

localize39.0ms (3.6%)

Memory
-30.7MiB live, 49.2MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(sqrt.f64 x)
accuracy0.00390625
(+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
accuracy0.09765625
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
accuracy0.1328125
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Samples
22.0ms234×0valid
2.0ms10×2valid
2.0ms12×1valid
Compiler

Compiled 88 to 24 computations (72.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-div: 7.0ms (39.8% of total)
ival-mult: 3.0ms (17.1% of total)
ival-add: 2.0ms (11.4% of total)
ival-sub: 2.0ms (11.4% of total)
ival-sqrt: 2.0ms (11.4% of total)
adjust: 1.0ms (5.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series7.0ms (0.6%)

Memory
13.4MiB live, 13.4MiB allocated
Counts
5 → 30
Calls
Call 1
Inputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
(+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
(sqrt.f64 x)
Outputs
(/ -6 (+ 1 (* 4 (sqrt x))))
(- (* 6 (* x (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2))))) (*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/ 1 x))))) (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 2))) x)) (+ (* -6 (/ (+ (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 3)) (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 4))) (pow x 3))) (+ (* 6 (/ (+ (/ 1 (+ 1 (* 4 (sqrt (/ 1 x))))) (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 2))) (* (pow x 2) (+ 1 (* 4 (sqrt (/ 1 x))))))) (* 6 (/ 1 (+ 1 (* 4 (sqrt (/ 1 x)))))))))
(* 6 x)
(* x (- 6 (* 6 (/ 1 x))))
x
(* x (- 1 (/ 1 x)))
(* x (+ 1 (* 4 (sqrt (/ 1 x)))))
(* x (+ 1 (+ (* 4 (sqrt (/ 1 x))) (/ 1 x))))
(/ -6 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))
(- (* 6 (/ (- (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2))) x)) (* 6 (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))))
(- (* -1 (/ (+ (* -6 (- (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2)))) (* 6 (/ (- (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 3)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2))) x))) x)) (* 6 (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))))
(- (* -1 (/ (+ (* -6 (- (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2)))) (* -1 (/ (+ (* -6 (- (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 3)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2)))) (* 6 (/ (- (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 3)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 4))) x))) x))) x)) (* 6 (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))))
(* -1 (* x (- (* 6 (/ 1 x)) 6)))
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)))
(* -1 (* x (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ 1 (/ 1 x)))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
((/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (* 6 (- x 1)) (- x 1) (+ (+ x 1) (* 4 (sqrt x))) (sqrt x))
2.0ms
x
@inf
((/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (* 6 (- x 1)) (- x 1) (+ (+ x 1) (* 4 (sqrt x))) (sqrt x))
2.0ms
x
@0
((/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (* 6 (- x 1)) (- x 1) (+ (+ x 1) (* 4 (sqrt x))) (sqrt x))

simplify1.0ms (0.1%)

Memory
1.7MiB live, 1.7MiB allocated
Algorithm
egg-herbie
Counts
30 → 5
Calls
Call 1
Inputs
(/ -6 (+ 1 (* 4 (sqrt x))))
(- (* 6 (* x (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1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 (/ (+ (/ 1 (+ 1 (* 4 (sqrt (/ 1 x))))) (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 2))) x)) (+ (* -6 (/ (+ (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 3)) (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 4))) (pow x 3))) (+ (* 6 (/ (+ (/ 1 (+ 1 (* 4 (sqrt (/ 1 x))))) (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 2))) (* (pow x 2) (+ 1 (* 4 (sqrt (/ 1 x))))))) (* 6 (/ 1 (+ 1 (* 4 (sqrt (/ 1 x)))))))))
(* 6 x)
(* x (- 6 (* 6 (/ 1 x))))
x
(* x (- 1 (/ 1 x)))
(* x (+ 1 (* 4 (sqrt (/ 1 x)))))
(* x (+ 1 (+ (* 4 (sqrt (/ 1 x))) (/ 1 x))))
(/ -6 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))
(- (* 6 (/ (- (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2))) x)) (* 6 (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))))
(- (* -1 (/ (+ (* -6 (- (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2)))) (* 6 (/ (- (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 3)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2))) x))) x)) (* 6 (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))))
(- (* -1 (/ (+ (* -6 (- (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2)))) (* -1 (/ (+ (* -6 (- (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 3)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2)))) (* 6 (/ (- (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 3)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 4))) x))) x))) x)) (* 6 (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))))
(* -1 (* x (- (* 6 (/ 1 x)) 6)))
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)))
(* -1 (* x (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) (+ 1 (/ 1 x)))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
Outputs
(/ -6 (+ 1 (* 4 (sqrt x))))
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
(- (* 6 (* x (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2))))) (* 6 (/ 1 (+ 1 (* 4 (sqrt x))))))
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
(- (* x (+ (* -6 (* x (+ (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 3))))) (* 6 (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)))))) (* 6 (/ 1 (+ 1 (* 4 (sqrt x))))))
(-.f64 x #s(literal 1 binary64))
(- (* x (+ (* 6 (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)))) (* x (+ (* -6 (+ (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 3)))) (* 6 (/ (* x (+ (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 3)))) (+ 1 (* 4 (sqrt x))))))))) (* 6 (/ 1 (+ 1 (* 4 (sqrt x))))))
(+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
-6
(sqrt.f64 x)

rewrite0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Counts
5 → 5
Calls
Call 1
Inputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
(+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
(sqrt.f64 x)
Outputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
(+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x)))
(sqrt.f64 x)

eval1.0ms (0.1%)

Memory
2.9MiB live, 2.9MiB allocated
Compiler

Compiled 177 to 27 computations (84.7% saved)

prune1.0ms (0.1%)

Memory
3.7MiB live, 3.7MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New8210
Fresh000
Picked011
Done000
Total8311
Accuracy
99.8%
Counts
11 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
11.0%
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
48.9%
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
Compiler

Compiled 52 to 41 computations (21.2% saved)

simplify0.0ms (0%)

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

Found 5 expressions of interest:

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

localize32.0ms (2.9%)

Memory
-13.8MiB live, 63.9MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy56.959783667920235
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy0.09765625
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
accuracy32.67977590429191
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
Samples
20.0ms234×0valid
2.0ms12×1valid
2.0ms10×2valid
Compiler

Compiled 100 to 30 computations (70% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-mult: 7.0ms (41% of total)
ival-add: 3.0ms (17.6% of total)
adjust: 2.0ms (11.7% of total)
ival-div: 2.0ms (11.7% of total)
ival-sub: 2.0ms (11.7% of total)
ival-sqrt: 2.0ms (11.7% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series2.0ms (0.2%)

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

3 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (* 6 (- x 1)) (- x 1) (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))))
0.0ms
x
@inf
((/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (* 6 (- x 1)) (- x 1) (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))))
0.0ms
x
@0
((/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (* 6 (- x 1)) (- x 1) (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))))

simplify1.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated
Algorithm
egg-herbie
Counts
22 → 4
Calls
Call 1
Inputs
(/ -6 (+ 1 (* 4 (sqrt x))))
(- (* 6 (* x (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1 (p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* 4 (sqrt (/ 1 x)))) 2))) x)) (+ (* -6 (/ (+ (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 3)) (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 4))) (pow x 3))) (+ (* 6 (/ (+ (/ 1 (+ 1 (* 4 (sqrt (/ 1 x))))) (/ 1 (pow (+ 1 (* 4 (sqrt (/ 1 x)))) 2))) (* (pow x 2) (+ 1 (* 4 (sqrt (/ 1 x))))))) (* 6 (/ 1 (+ 1 (* 4 (sqrt (/ 1 x)))))))))
(* 6 x)
(* x (- 6 (* 6 (/ 1 x))))
x
(* x (- 1 (/ 1 x)))
(/ -6 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))
(- (* 6 (/ (- (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2))) x)) (* 6 (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))))
(- (* -1 (/ (+ (* -6 (- (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2)))) (* 6 (/ (- (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 3)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2))) x))) x)) (* 6 (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))))
(- (* -1 (/ (+ (* -6 (- (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2)))) (* -1 (/ (+ (* -6 (- (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 3)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 2)))) (* 6 (/ (- (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 3)) (/ 1 (pow (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1) 4))) x))) x))) x)) (* 6 (/ 1 (- (* 4 (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))) 1))))
(* -1 (* x (- (* 6 (/ 1 x)) 6)))
(* -1 (* x (- (/ 1 x) 1)))
Outputs
(/ -6 (+ 1 (* 4 (sqrt x))))
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
(- (* 6 (* x (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2))))) (* 6 (/ 1 (+ 1 (* 4 (sqrt x))))))
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
(- (* x (+ (* -6 (* x (+ (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 3))))) (* 6 (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)))))) (* 6 (/ 1 (+ 1 (* 4 (sqrt x))))))
(-.f64 x #s(literal 1 binary64))
(- (* x (+ (* 6 (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)))) (* x (+ (* -6 (+ (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 3)))) (* 6 (/ (* x (+ (/ 1 (pow (+ 1 (* 4 (sqrt x))) 2)) (/ 1 (pow (+ 1 (* 4 (sqrt x))) 3)))) (+ 1 (* 4 (sqrt x))))))))) (* 6 (/ 1 (+ 1 (* 4 (sqrt x))))))
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))

rewrite0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
Outputs
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))

eval1.0ms (0.1%)

Memory
2.0MiB live, 2.0MiB allocated
Compiler

Compiled 164 to 19 computations (88.4% saved)

prune3.0ms (0.2%)

Memory
5.9MiB live, 5.9MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New707
Fresh000
Picked022
Done011
Total7310
Accuracy
99.8%
Counts
10 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
11.0%
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
48.9%
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
Compiler

Compiled 104 to 64 computations (38.5% saved)

regimes3.0ms (0.3%)

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

2 calls:

2.0ms
x
1.0ms
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Results
AccuracySegmentsBranch
99.8%1x
99.8%1(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Compiler

Compiled 15 to 12 computations (20% saved)

regimes5.0ms (0.4%)

Memory
-31.2MiB live, 7.6MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
Outputs
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
Calls

2 calls:

3.0ms
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
1.0ms
x
Results
AccuracySegmentsBranch
48.9%1x
48.9%1(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Compiler

Compiled 15 to 12 computations (20% saved)

regimes2.0ms (0.2%)

Memory
6.6MiB live, 6.6MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
Outputs
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
Calls

2 calls:

1.0ms
x
1.0ms
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
Results
AccuracySegmentsBranch
11.0%1(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
11.0%1x
Compiler

Compiled 15 to 12 computations (20% saved)

simplify5.0ms (0.4%)

Memory
11.8MiB live, 11.8MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
Outputs
(/.f64 (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))) (+.f64 (+.f64 x #s(literal 1 binary64)) (*.f64 #s(literal 4 binary64) (sqrt.f64 x))))
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))

soundness1.0ms (0.1%)

Memory
1.6MiB live, 1.5MiB allocated
Stop Event
done
Compiler

Compiled 52 to 23 computations (55.8% saved)

preprocess32.0ms (2.9%)

Memory
-18.0MiB live, 63.5MiB allocated
Compiler

Compiled 160 to 90 computations (43.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...