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
4.5MiB live, 4.5MiB 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)

sample813.0ms (77%)

Memory
-6.2MiB live, 1 523.5MiB allocated
Samples
544.0ms8 256×0valid
1.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 382.0ms
ival-mult: 97.0ms (25.4% of total)
ival-add: 94.0ms (24.6% of total)
ival-sqrt: 62.0ms (16.2% of total)
ival-div: 57.0ms (14.9% of total)
ival-sub: 54.0ms (14.1% of total)
exact: 10.0ms (2.6% of total)
ival-true: 6.0ms (1.6% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain110.0ms (10.4%)

Memory
24.2MiB live, 221.9MiB 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
32.0ms468×0valid
7.0ms28×2valid
2.0ms16×1valid
Compiler

Compiled 147 to 48 computations (67.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-mult: 7.0ms (28.8% of total)
ival-add: 5.0ms (20.5% of total)
ival-sqrt: 4.0ms (16.4% of total)
ival-div: 3.0ms (12.3% of total)
ival-sub: 3.0ms (12.3% of total)
adjust: 2.0ms (8.2% of total)
exact: 1.0ms (4.1% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

preprocess2.0ms (0.2%)

Memory
4.6MiB live, 4.6MiB 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.8MiB live, 0.8MiB 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
1.0MiB live, 1.0MiB 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)

localize31.0ms (3%)

Memory
-31.8MiB live, 44.7MiB 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.0859375
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
accuracy0.1171875
(/.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
16.0ms234×0valid
4.0ms14×2valid
1.0ms1valid
Compiler

Compiled 88 to 24 computations (72.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-mult: 5.0ms (36.2% of total)
ival-div: 2.0ms (14.5% of total)
ival-add: 2.0ms (14.5% of total)
ival-sub: 2.0ms (14.5% of total)
ival-sqrt: 2.0ms (14.5% of total)
adjust: 1.0ms (7.2% 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
8.5MiB live, 8.5MiB 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.2MiB live, 1.2MiB 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.6MiB live, 0.6MiB 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.0MiB live, 2.0MiB allocated
Compiler

Compiled 177 to 27 computations (84.7% saved)

prune1.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB 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.1%
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
50.7%
#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
0.7MiB live, 0.7MiB 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)

localize31.0ms (2.9%)

Memory
-2.4MiB live, 36.6MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x #s(literal 1 binary64))
accuracy56.91254858205846
#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.0859375
(*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64)))
accuracy31.581893744431245
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (*.f64 #s(literal 6 binary64) (-.f64 x #s(literal 1 binary64))))
Samples
16.0ms234×0valid
7.0ms14×2valid
1.0ms1valid
Compiler

Compiled 100 to 30 computations (70% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-sub: 6.0ms (37.1% of total)
ival-mult: 3.0ms (18.5% of total)
ival-div: 2.0ms (12.4% of total)
ival-add: 2.0ms (12.4% of total)
ival-sqrt: 2.0ms (12.4% of total)
adjust: 1.0ms (6.2% 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
2.5MiB live, 2.5MiB 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.0MiB live, 1.0MiB allocated
Algorithm
egg-herbie
Counts
22 → 4
Calls
Call 1
Inputs
(/ -6 (+ 1 (* 4 (sqrt x))))
(- (* 6 (* x (+ (/ 1 (+ 1 (* 4 (sqrt x)))) (/ 1 (pow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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.6MiB live, 0.6MiB 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
1.4MiB live, 1.4MiB allocated
Compiler

Compiled 164 to 19 computations (88.4% saved)

prune3.0ms (0.2%)

Memory
4.2MiB live, 4.2MiB 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.1%
#s(approx (/ (* 6 (- x 1)) (+ (+ x 1) (* 4 (sqrt x)))) (-.f64 x #s(literal 1 binary64)))
50.7%
#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
6.3MiB live, 6.3MiB 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)

regimes3.0ms (0.3%)

Memory
5.5MiB live, 5.5MiB 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:

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
50.7%1x
50.7%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)

regimes6.0ms (0.6%)

Memory
-32.4MiB live, 5.0MiB 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.1%1x
11.1%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)

simplify4.0ms (0.4%)

Memory
8.5MiB live, 8.5MiB 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.1MiB live, 1.1MiB allocated
Stop Event
done
Compiler

Compiled 52 to 23 computations (55.8% saved)

preprocess32.0ms (3%)

Memory
10.6MiB live, 47.6MiB allocated
Compiler

Compiled 160 to 90 computations (43.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...