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.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 9 computations (0% saved)

sample844.0ms (29.4%)

Memory
32.0MiB live, 1 048.0MiB allocated
Samples
523.0ms7 608×0valid
21.0ms211×2valid
19.0ms297×1valid
15.0ms140×3valid
Precisions
Click to see histograms. Total time spent on operations: 272.0ms
ival-div: 129.0ms (47.5% of total)
ival-mult: 62.0ms (22.8% of total)
ival-sub: 51.0ms (18.8% of total)
adjust: 12.0ms (4.4% of total)
exact: 8.0ms (2.9% of total)
ival-true: 6.0ms (2.2% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain133.0ms (4.6%)

Memory
-27.4MiB live, 114.1MiB 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
23.0ms480×0valid
13.0ms10×3valid
1.0ms12×2valid
1.0ms10×1valid
Compiler

Compiled 68 to 32 computations (52.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-sub: 15.0ms (63.5% of total)
ival-div: 4.0ms (16.9% of total)
ival-mult: 3.0ms (12.7% of total)
adjust: 1.0ms (4.2% of total)
exact: 1.0ms (4.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

preprocess98.0ms (3.4%)

Memory
-29.3MiB live, 8.6MiB 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)

prune2.0ms (0.1%)

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

simplify8.0ms (0.3%)

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

localize18.0ms (0.6%)

Memory
15.2MiB live, 15.2MiB 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
11.0ms240×0valid
1.0ms3valid
1.0ms2valid
0.0ms1valid
Compiler

Compiled 40 to 16 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-div: 2.0ms (35% of total)
ival-mult: 2.0ms (35% of total)
ival-sub: 1.0ms (17.5% 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
2.9MiB live, 2.9MiB 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))
0.0ms
x
@-inf
((/ 3 8) (- x (* (/ 3 8) y)) (* (/ 3 8) y))
0.0ms
y
@-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))

simplify350.0ms (12.2%)

Memory
-20.6MiB live, 98.1MiB 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)

rewrite289.0ms (10.1%)

Memory
24.8MiB live, 339.1MiB 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>

eval64.0ms (2.2%)

Memory
-10.4MiB live, 75.5MiB allocated
Compiler

Compiled 7 170 to 605 computations (91.6% saved)

prune5.0ms (0.2%)

Memory
15.4MiB live, 15.4MiB 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)
52.8%
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify13.0ms (0.5%)

Memory
-19.9MiB live, 16.4MiB 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
816620
919020
1020420
020420
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

localize30.0ms (1%)

Memory
-1.5MiB live, 72.3MiB 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))
accuracy30.2146906580505
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Samples
19.0ms240×0valid
1.0ms3valid
1.0ms2valid
1.0ms1valid
Compiler

Compiled 38 to 18 computations (52.6% saved)

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

series3.0ms (0.1%)

Memory
9.0MiB live, 9.0MiB 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
@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
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))

simplify228.0ms (7.9%)

Memory
16.5MiB live, 140.9MiB 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)

rewrite162.0ms (5.6%)

Memory
-10.1MiB live, 269.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01216
01415
14315
231815
3333515
0890415
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>

eval71.0ms (2.5%)

Memory
3.4MiB live, 79.2MiB allocated
Compiler

Compiled 7 917 to 775 computations (90.2% saved)

prune56.0ms (2%)

Memory
-5.2MiB live, 49.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)
52.8%
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Compiler

Compiled 23 to 20 computations (13% saved)

regimes11.0ms (0.4%)

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

5.0ms
y
2.0ms
x
2.0ms
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
2.0ms
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) 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
13.8MiB live, 13.8MiB 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 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
1.0ms
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
52.8%1x
52.8%1y
52.8%1(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
52.8%1(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
Compiler

Compiled 14 to 17 computations (-21.4% saved)

simplify24.0ms (0.8%)

Memory
12.9MiB live, 50.8MiB 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))

soundness428.0ms (14.9%)

Memory
-21.7MiB live, 129.0MiB 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
9.4MiB live, 46.2MiB allocated
Compiler

Compiled 30 to 26 computations (13.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...