System.Random.MWC.Distributions:standard from mwc-random-0.13.3.2

Time bar (total: 2.7s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample584.0ms (21.6%)

Memory
26.4MiB live, 750.3MiB allocated
Samples
360.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 175.0ms
ival-mult: 118.0ms (67.5% of total)
ival-sub: 43.0ms (24.6% of total)
ival-true: 6.0ms (3.4% of total)
exact: 5.0ms (2.9% of total)
ival-assert: 3.0ms (1.7% of total)
Bogosity

explain210.0ms (7.8%)

Memory
-16.4MiB live, 70.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(-.f64 (*.f64 x x) y)
00-0-(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
00-0-#s(literal 1/2 binary64)
00-0-(*.f64 x x)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
24.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-mult: 7.0ms (66.5% of total)
ival-sub: 3.0ms (28.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess42.0ms (1.5%)

Memory
16.7MiB live, 16.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01637
14635
212935
338135
467835
584435
688235
788235
067
097
1127
2237
3457
4717
5997
61697
72667
84107
94667
104967
04967
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
Outputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(*.f64 (-.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
Symmetry

(abs x)

Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

simplify20.0ms (0.7%)

Memory
-13.3MiB live, 22.5MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
(-.f64 (*.f64 x x) y)
cost-diff0
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
0918
11218
22318
34518
47118
59918
616918
726618
841018
946618
1049618
049618
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
#s(literal 1/2 binary64)
(-.f64 (*.f64 x x) y)
(*.f64 x x)
x
y
Outputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(*.f64 (-.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
(-.f64 (*.f64 x x) y)
(*.f64 x x)
x
y

localize16.0ms (0.6%)

Memory
30.1MiB live, 30.1MiB allocated
Localize:

Found 3 expressions of interest:

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

Compiled 38 to 14 computations (63.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (58.3% of total)
ival-sub: 1.0ms (19.4% 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.2%)

Memory
-29.8MiB live, 7.8MiB allocated
Counts
3 → 60
Calls
Call 1
Inputs
#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())
#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 (pow x 2)) (taylor 0 y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 y) (pow x 2)) (taylor 0 y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 y) (pow x 2)) (taylor 0 y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 y) (pow x 2)) (taylor 0 y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 1/2 (/ (pow x 2) y)) 1/2)) (taylor inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 1/2 (/ (pow x 2) y)) 1/2)) (taylor inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 1/2 (/ (pow x 2) y)) 1/2)) (taylor inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ (pow x 2) y) 1)) (taylor inf y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ (pow x 2) y) 1)) (taylor inf y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ (pow x 2) y) 1)) (taylor inf y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor -inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) y) (taylor 0 x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) y) (taylor 0 x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) y) (taylor 0 x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor inf x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor inf x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor inf x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) (patch (*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x x) y) (patch (-.f64 (*.f64 x x) y) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify116.0ms (4.3%)

Memory
18.1MiB live, 62.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035327
1102327
2299327
3996291
42501291
54979291
67157291
08115291
Stop Event
iter limit
node limit
Counts
60 → 60
Calls
Call 1
Inputs
(* 1/2 (pow x 2))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(pow x 2)
(+ (* -1 y) (pow x 2))
(+ (* -1 y) (pow x 2))
(+ (* -1 y) (pow x 2))
(* -1/2 y)
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* -1 y)
(* y (- (/ (pow x 2) y) 1))
(* y (- (/ (pow x 2) y) 1))
(* y (- (/ (pow x 2) y) 1))
(* -1/2 y)
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(* -1/2 y)
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(* -1 y)
(- (pow x 2) y)
(- (pow x 2) y)
(- (pow x 2) y)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(+ (* -1 y) (pow x 2))
(fma.f64 x x (neg.f64 y))
(+ (* -1 y) (pow x 2))
(fma.f64 x x (neg.f64 y))
(+ (* -1 y) (pow x 2))
(fma.f64 x x (neg.f64 y))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 y)
(neg.f64 y)
(* y (- (/ (pow x 2) y) 1))
(fma.f64 x x (neg.f64 y))
(* y (- (/ (pow x 2) y) 1))
(fma.f64 x x (neg.f64 y))
(* y (- (/ (pow x 2) y) 1))
(fma.f64 x x (neg.f64 y))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(fma.f64 x x (neg.f64 y))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(fma.f64 x x (neg.f64 y))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(fma.f64 x x (neg.f64 y))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 y)
(neg.f64 y)
(- (pow x 2) y)
(fma.f64 x x (neg.f64 y))
(- (pow x 2) y)
(fma.f64 x x (neg.f64 y))
(- (pow x 2) y)
(fma.f64 x x (neg.f64 y))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)

rewrite159.0ms (5.9%)

Memory
20.4MiB live, 209.8MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
0915
12715
217815
3164515
0853215
Stop Event
iter limit
node limit
iter limit
Counts
3 → 266
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(-.f64 (*.f64 x x) y)
(*.f64 x x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval35.0ms (1.3%)

Memory
3.4MiB live, 79.0MiB allocated
Compiler

Compiled 8 156 to 910 computations (88.8% saved)

prune25.0ms (0.9%)

Memory
-31.6MiB live, 24.2MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3242326
Fresh000
Picked011
Done000
Total3243327
Accuracy
100.0%
Counts
327 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
53.6%
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
48.6%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64)))
Compiler

Compiled 17 to 17 computations (0% saved)

simplify13.0ms (0.5%)

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

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (- (* x x) y) (*.f64 x x))
cost-diff0
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
cost-diff0
(*.f64 y #s(literal -1/2 binary64))
cost-diff0
#s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01241
01541
12041
23141
35241
47741
510541
617541
727441
841441
946941
1050141
050141
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64)))
(*.f64 y #s(literal -1/2 binary64))
y
#s(literal -1/2 binary64)
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
#s(literal 1/2 binary64)
#s(approx (- (* x x) y) (*.f64 x x))
(*.f64 x x)
x
Outputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64)))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))
(*.f64 y #s(literal -1/2 binary64))
(*.f64 #s(literal -1/2 binary64) y)
y
#s(literal -1/2 binary64)
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
(*.f64 #s(approx (- (* x x) y) (*.f64 x x)) #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(approx (- (* x x) y) (*.f64 x x))
(*.f64 x x)
x

localize132.0ms (4.9%)

Memory
-14.3MiB live, 24.5MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x x)
accuracy0
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
accuracy29.71715824953389
#s(approx (- (* x x) y) (*.f64 x x))
accuracy0
(*.f64 y #s(literal -1/2 binary64))
accuracy32.91975428792022
#s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64)))
Samples
127.0ms256×0valid
Compiler

Compiled 55 to 19 computations (65.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 119.0ms
ival-mult: 117.0ms (98.1% of total)
ival-sub: 1.0ms (0.8% 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.2%)

Memory
3.9MiB live, 3.9MiB allocated
Counts
5 → 96
Calls
Call 1
Inputs
#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())
#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 (pow x 2)) (taylor 0 y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor 0 y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 y) (pow x 2)) (taylor 0 y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 y) (pow x 2)) (taylor 0 y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 y) (pow x 2)) (taylor 0 y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor inf y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 1/2 (/ (pow x 2) y)) 1/2)) (taylor inf y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 1/2 (/ (pow x 2) y)) 1/2)) (taylor inf y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 1/2 (/ (pow x 2) y)) 1/2)) (taylor inf y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 1/2 (/ (pow x 2) y)) 1/2)) (taylor inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 1/2 (/ (pow x 2) y)) 1/2)) (taylor inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 1/2 (/ (pow x 2) y)) 1/2)) (taylor inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ (pow x 2) y) 1)) (taylor inf y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ (pow x 2) y) 1)) (taylor inf y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ (pow x 2) y) 1)) (taylor inf y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor -inf y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal -1/2 binary64)) (patch (*.f64 y #s(literal -1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor -inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ (pow x 2) y))))) (taylor -inf y) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor 0 x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1/2 y) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1/2 y) (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) y) (taylor 0 x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) y) (taylor 0 x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (- (pow x 2) y) (taylor 0 x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor inf x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor inf x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor inf x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor inf x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor inf x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor inf x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor -inf x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor -inf x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor -inf x) (#s(alt #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (patch #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2))))) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) (patch (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor -inf x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor -inf x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* -1 (/ y (pow x 2))))) (taylor -inf x) (#s(alt #s(approx (- (* x x) y) (*.f64 x x)) (patch #s(approx (- (* x x) y) (*.f64 x x)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify114.0ms (4.2%)

Memory
16.7MiB live, 55.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035549
1102549
2299549
3996477
42501477
54979477
67157477
08115477
Stop Event
iter limit
node limit
Counts
96 → 96
Calls
Call 1
Inputs
(* 1/2 (pow x 2))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(* -1/2 y)
(* -1/2 y)
(* -1/2 y)
(* -1/2 y)
(* 1/2 (pow x 2))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(pow x 2)
(+ (* -1 y) (pow x 2))
(+ (* -1 y) (pow x 2))
(+ (* -1 y) (pow x 2))
(* -1/2 y)
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* -1/2 y)
(* -1/2 y)
(* -1/2 y)
(* -1/2 y)
(* -1/2 y)
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(* -1 y)
(* y (- (/ (pow x 2) y) 1))
(* y (- (/ (pow x 2) y) 1))
(* y (- (/ (pow x 2) y) 1))
(* -1/2 y)
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1/2 y)
(* -1/2 y)
(* -1/2 y)
(* -1/2 y)
(* -1/2 y)
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(* -1/2 y)
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(* -1/2 y)
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(* -1 y)
(- (pow x 2) y)
(- (pow x 2) y)
(- (pow x 2) y)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* 1/2 (pow x 2))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(+ (* -1 y) (pow x 2))
(fma.f64 x x (neg.f64 y))
(+ (* -1 y) (pow x 2))
(fma.f64 x x (neg.f64 y))
(+ (* -1 y) (pow x 2))
(fma.f64 x x (neg.f64 y))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* y (- (* 1/2 (/ (pow x 2) y)) 1/2))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 y)
(neg.f64 y)
(* y (- (/ (pow x 2) y) 1))
(fma.f64 x x (neg.f64 y))
(* y (- (/ (pow x 2) y) 1))
(fma.f64 x x (neg.f64 y))
(* y (- (/ (pow x 2) y) 1))
(fma.f64 x x (neg.f64 y))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 (* y (+ 1/2 (* -1/2 (/ (pow x 2) y)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(fma.f64 x x (neg.f64 y))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(fma.f64 x x (neg.f64 y))
(* -1 (* y (+ 1 (* -1 (/ (pow x 2) y)))))
(fma.f64 x x (neg.f64 y))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1/2 y)
(*.f64 y #s(literal -1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(+ (* -1/2 y) (* 1/2 (pow x 2)))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* -1 y)
(neg.f64 y)
(- (pow x 2) y)
(fma.f64 x x (neg.f64 y))
(- (pow x 2) y)
(fma.f64 x x (neg.f64 y))
(- (pow x 2) y)
(fma.f64 x x (neg.f64 y))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* 1/2 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/2 (* -1/2 (/ y (pow x 2)))))
(*.f64 (fma.f64 x x (neg.f64 y)) #s(literal 1/2 binary64))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(* (pow x 2) (+ 1 (* -1 (/ y (pow x 2)))))
(fma.f64 x x (neg.f64 y))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)

rewrite161.0ms (5.9%)

Memory
12.8MiB live, 160.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01237
01537
13537
218637
3165637
0852037
Stop Event
iter limit
node limit
iter limit
Counts
5 → 26
Calls
Call 1
Inputs
#s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64)))
(*.f64 y #s(literal -1/2 binary64))
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
#s(approx (- (* x x) y) (*.f64 x x))
(*.f64 x x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval13.0ms (0.5%)

Memory
-9.3MiB live, 27.0MiB allocated
Compiler

Compiled 864 to 98 computations (88.7% saved)

prune11.0ms (0.4%)

Memory
-29.5MiB live, 22.9MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1220122
Fresh000
Picked022
Done011
Total1223125
Accuracy
100.0%
Counts
125 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
53.6%
(*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x)))
48.6%
#s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64)))
Compiler

Compiled 34 to 28 computations (17.6% saved)

regimes25.0ms (0.9%)

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

5 calls:

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

Compiled 17 to 17 computations (0% saved)

regimes8.0ms (0.3%)

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

5 calls:

2.0ms
(-.f64 (*.f64 x x) y)
2.0ms
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
2.0ms
y
2.0ms
x
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
86.9%2x
69.5%3y
82.9%4(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
82.9%4(-.f64 (*.f64 x x) y)
86.9%2(*.f64 x x)
Compiler

Compiled 17 to 17 computations (0% saved)

regimes8.0ms (0.3%)

Memory
-15.0MiB live, 24.1MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

5 calls:

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

Compiled 17 to 17 computations (0% saved)

bsearch14.0ms (0.5%)

Memory
-10.0MiB live, 28.7MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
13.0ms
3.1136588965695433e-15
1.9626350719171635
Samples
7.0ms160×0valid
Compiler

Compiled 90 to 131 computations (-45.6% saved)

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

simplify150.0ms (5.5%)

Memory
1.6MiB live, 45.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01746
12246
22746
32946
43046
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(if (<=.f64 (*.f64 x x) #s(literal 5289050460814003/37778931862957161709568 binary64)) #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64)))
Outputs
(*.f64 #s(literal 1/2 binary64) (-.f64 (*.f64 x x) y))
(*.f64 (-.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(if (<=.f64 (*.f64 x x) #s(literal 5289050460814003/37778931862957161709568 binary64)) #s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64))) (*.f64 #s(literal 1/2 binary64) #s(approx (- (* x x) y) (*.f64 x x))))
(if (<=.f64 (*.f64 x x) #s(literal 5289050460814003/37778931862957161709568 binary64)) #s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y)) (*.f64 #s(approx (- (* x x) y) (*.f64 x x)) #s(literal 1/2 binary64)))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 y #s(literal -1/2 binary64)))
#s(approx (* 1/2 (- (* x x) y)) (*.f64 #s(literal -1/2 binary64) y))

soundness735.0ms (27.2%)

Memory
0.3MiB live, 112.2MiB allocated
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035327
1102327
2299327
3996291
42501291
54979291
67157291
08115291
Stop Event
done
iter limit
node limit
Compiler

Compiled 38 to 27 computations (28.9% saved)

preprocess99.0ms (3.7%)

Memory
-7.0MiB live, 56.7MiB allocated
Remove

(abs x)

Compiler

Compiled 110 to 76 computations (30.9% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...