Diagrams.Solve.Polynomial:quartForm from diagrams-solve-0.1, A

Time bar (total: 2.9s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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 9 computations (0% saved)

sample760.0ms (26.4%)

Memory
25.4MiB live, 1 227.4MiB allocated
Samples
406.0ms7 621×0valid
24.0ms260×1valid
18.0ms160×3valid
18.0ms215×2valid
Precisions
Click to see histograms. Total time spent on operations: 251.0ms
ival-mult: 109.0ms (43.4% of total)
ival-div: 59.0ms (23.5% of total)
ival-sub: 54.0ms (21.5% of total)
adjust: 12.0ms (4.8% of total)
exact: 8.0ms (3.2% of total)
ival-true: 6.0ms (2.4% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain440.0ms (15.3%)

Memory
-33.3MiB live, 132.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-#s(literal 8 binary64)
00-0-y
00-0-#s(literal 3 binary64)
00-0-(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
00-0-(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
00-0-(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
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
128.0ms478×0valid
1.0ms18×1valid
1.0ms10×2valid
1.0ms3valid
Compiler

Compiled 49 to 25 computations (49% saved)

Precisions
Click to see histograms. Total time spent on operations: 117.0ms
ival-mult: 109.0ms (93.1% of total)
ival-div: 4.0ms (3.4% of total)
ival-sub: 3.0ms (2.6% of total)
adjust: 1.0ms (0.9% of total)
exact: 1.0ms (0.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

preprocess21.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01629
14427
28825
316325
423925
525725
626325
075
0115
1185
2285
3375
4495
5675
61025
71305
81665
91905
102045
02044
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
Outputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
(fma.f64 #s(literal -3/8 binary64) y x)
Compiler

Compiled 7 to 7 computations (0% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 7 computations (0% saved)

simplify110.0ms (3.8%)

Memory
-35.1MiB live, 12.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
cost-diff128
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
cost-diff704
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
01113
11813
22813
33713
44913
56713
610213
713013
816613
919013
1020413
020412
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
x
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
#s(literal 3 binary64)
#s(literal 8 binary64)
y
Outputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
(fma.f64 #s(literal -3/8 binary64) y x)
x
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
(*.f64 y #s(literal 3/8 binary64))
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
#s(literal 3/8 binary64)
#s(literal 3 binary64)
#s(literal 8 binary64)
y

localize50.0ms (1.7%)

Memory
14.8MiB live, 53.9MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
accuracy0
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
accuracy0.07421875
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
Samples
42.0ms239×0valid
2.0ms1valid
0.0ms2valid
0.0ms3valid
Compiler

Compiled 21 to 9 computations (57.1% saved)

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

series4.0ms (0.1%)

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

6 calls:

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

simplify177.0ms (6.2%)

Memory
0.0MiB live, 150.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025138
168138
2170138
3455138
41250138
52475138
63277138
73613138
83909138
94090138
105236138
116032138
126800138
137068138
147848138
08384120
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
x
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* -3/8 y)
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* -3/8 y)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* -3/8 y)
(- x (* 3/8 y))
(- x (* 3/8 y))
(- x (* 3/8 y))
x
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
Outputs
x
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)

rewrite197.0ms (6.9%)

Memory
-19.4MiB live, 341.6MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
0119
1309
21879
316939
086638
Stop Event
iter limit
node limit
iter limit
Counts
3 → 205
Calls
Call 1
Inputs
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
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>

eval30.0ms (1.1%)

Memory
13.8MiB live, 93.9MiB allocated
Compiler

Compiled 7 170 to 605 computations (91.6% saved)

prune6.0ms (0.2%)

Memory
-16.6MiB live, 22.3MiB allocated
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2362238
Fresh000
Picked101
Done000
Total2372239
Accuracy
100.0%
Counts
239 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y #s(literal -3/8 binary64) x)
48.6%
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify8.0ms (0.3%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 y #s(literal -3/8 binary64) x)
cost-diff0
(*.f64 y #s(literal -3/8 binary64))
cost-diff0
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01221
01420
12120
22920
33820
45120
56920
610420
713120
816720
919120
1020520
020520
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
(*.f64 y #s(literal -3/8 binary64))
y
#s(literal -3/8 binary64)
(fma.f64 y #s(literal -3/8 binary64) x)
y
#s(literal -3/8 binary64)
x
Outputs
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
#s(approx (- x (* (/ 3 8) y)) (*.f64 #s(literal -3/8 binary64) y))
(*.f64 y #s(literal -3/8 binary64))
(*.f64 #s(literal -3/8 binary64) y)
y
#s(literal -3/8 binary64)
(fma.f64 y #s(literal -3/8 binary64) x)
(fma.f64 #s(literal -3/8 binary64) y x)
y
#s(literal -3/8 binary64)
x

localize32.0ms (1.1%)

Memory
-26.2MiB live, 92.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y #s(literal -3/8 binary64) x)
accuracy0
(*.f64 y #s(literal -3/8 binary64))
accuracy32.89987058474196
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Samples
17.0ms239×0valid
4.0ms1valid
1.0ms2valid
1.0ms3valid
Compiler

Compiled 22 to 12 computations (45.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-div: 3.0ms (26.8% of total)
ival-mult: 3.0ms (26.8% of total)
ival-add: 1.0ms (8.9% of total)
ival-sub: 1.0ms (8.9% of total)
exact: 1.0ms (8.9% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series3.0ms (0.1%)

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

6 calls:

TimeVariablePointExpression
0.0ms
y
@-inf
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))
0.0ms
y
@0
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))
0.0ms
y
@inf
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))
0.0ms
x
@-inf
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))
0.0ms
x
@inf
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))

simplify224.0ms (7.8%)

Memory
-9.9MiB live, 187.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025240
168240
2170240
3456240
41244240
52466240
63268240
73604240
83900240
94084240
105232240
116028240
126796240
137064240
147844240
08380204
Stop Event
iter limit
node limit
Counts
60 → 54
Calls
Call 1
Inputs
x
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
x
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(* -3/8 y)
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* -3/8 y)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -3/8 y)
(- x (* 3/8 y))
(- x (* 3/8 y))
(- x (* 3/8 y))
(* -3/8 y)
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(+ x (* -3/8 y))
x
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
x
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
Outputs
x
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
x
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)

rewrite179.0ms (6.2%)

Memory
22.5MiB live, 262.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01216
01415
14315
231815
3334315
0889115
Stop Event
iter limit
node limit
iter limit
Counts
3 → 250
Calls
Call 1
Inputs
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
(*.f64 y #s(literal -3/8 binary64))
(fma.f64 y #s(literal -3/8 binary64) 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>

eval78.0ms (2.7%)

Memory
-13.3MiB live, 71.1MiB allocated
Compiler

Compiled 7 917 to 776 computations (90.2% saved)

prune45.0ms (1.6%)

Memory
-15.0MiB live, 23.8MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New3040304
Fresh000
Picked022
Done000
Total3042306
Accuracy
100.0%
Counts
306 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y #s(literal -3/8 binary64) x)
48.6%
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Compiler

Compiled 23 to 20 computations (13% saved)

regimes8.0ms (0.3%)

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

4 calls:

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

Compiled 14 to 17 computations (-21.4% saved)

regimes6.0ms (0.2%)

Memory
15.2MiB live, 15.2MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

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

Compiled 14 to 17 computations (-21.4% saved)

simplify33.0ms (1.1%)

Memory
-28.2MiB live, 51.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01213
11313
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 y #s(literal -3/8 binary64) x)
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Outputs
(fma.f64 y #s(literal -3/8 binary64) x)
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
#s(approx (- x (* (/ 3 8) y)) (*.f64 #s(literal -3/8 binary64) y))

soundness438.0ms (15.3%)

Memory
27.9MiB live, 218.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025138
168138
2170138
3455138
41250138
52475138
63277138
73613138
83909138
94090138
105236138
116032138
126800138
137068138
147848138
08384120
079
0119
1309
21879
316939
086638
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 22 to 19 computations (13.6% saved)

preprocess23.0ms (0.8%)

Memory
14.0MiB live, 51.6MiB allocated
Compiler

Compiled 30 to 26 computations (13.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...