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

Time bar (total: 3.1s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample877.0ms (28.2%)

Memory
6.2MiB live, 1 233.6MiB allocated
Samples
431.0ms7 615×0valid
31.0ms211×2valid
20.0ms283×1valid
15.0ms147×3valid
Precisions
Click to see histograms. Total time spent on operations: 224.0ms
ival-sub: 78.0ms (34.9% of total)
ival-div: 65.0ms (29.1% of total)
ival-mult: 51.0ms (22.8% of total)
adjust: 12.0ms (5.4% of total)
exact: 7.0ms (3.1% of total)
ival-true: 6.0ms (2.7% of total)
ival-assert: 3.0ms (1.3% of total)
Bogosity

explain127.0ms (4.1%)

Memory
-6.6MiB live, 110.9MiB 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
26.0ms472×0valid
2.0ms20×2valid
1.0ms10×3valid
1.0ms10×1valid
Compiler

Compiled 49 to 25 computations (49% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-div: 4.0ms (34.5% of total)
ival-mult: 3.0ms (25.9% of total)
ival-sub: 3.0ms (25.9% of total)
adjust: 1.0ms (8.6% of total)
exact: 1.0ms (8.6% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

preprocess27.0ms (0.9%)

Memory
12.6MiB live, 47.9MiB allocated
Algorithm
egg-herbie
Rules
128×lower-fma.f64
128×lower-fma.f32
80×lower-*.f32
78×lower-*.f64
48×sub-neg
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.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0%)

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

simplify12.0ms (0.4%)

Memory
-18.8MiB live, 17.2MiB 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))
Rules
128×lower-fma.f64
128×lower-fma.f32
80×lower-*.f32
78×lower-*.f64
40×lower-+.f64
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

localize22.0ms (0.7%)

Memory
-12.9MiB live, 39.0MiB 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.0859375
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
Samples
10.0ms236×0valid
1.0ms10×2valid
1.0ms3valid
0.0ms1valid
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 (35.5% of total)
ival-mult: 2.0ms (35.5% of total)
ival-sub: 2.0ms (35.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
5.1MiB live, 5.1MiB 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))
0.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))

simplify222.0ms (7.1%)

Memory
27.9MiB live, 138.4MiB allocated
Algorithm
egg-herbie
Rules
3 160×lower-fma.f64
3 160×lower-fma.f32
2 584×lower-*.f64
2 584×lower-*.f32
2 384×lower-/.f32
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)

rewrite386.0ms (12.4%)

Memory
2.5MiB live, 205.4MiB allocated
Rules
11 564×lower-fma.f64
11 564×lower-fma.f32
4 300×lower-*.f32
4 298×lower-*.f64
3 918×lower-/.f64
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>

eval129.0ms (4.1%)

Memory
7.2MiB live, 44.0MiB allocated
Compiler

Compiled 7 170 to 605 computations (91.6% saved)

prune121.0ms (3.9%)

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

Compiled 8 to 9 computations (-12.5% saved)

simplify9.0ms (0.3%)

Memory
17.4MiB live, 17.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)))
Rules
128×lower-fma.f32
126×lower-fma.f64
80×lower-*.f32
78×lower-*.f64
40×lower-+.f64
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

localize126.0ms (4%)

Memory
8.1MiB live, 43.6MiB 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.86344391722645
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Samples
15.0ms236×0valid
1.0ms10×2valid
1.0ms3valid
0.0ms1valid
Compiler

Compiled 22 to 12 computations (45.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 3.0ms (33.9% of total)
ival-div: 2.0ms (22.6% of total)
adjust: 1.0ms (11.3% of total)
ival-add: 1.0ms (11.3% of total)
ival-sub: 1.0ms (11.3% 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
4.6MiB live, 4.6MiB 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))

simplify207.0ms (6.6%)

Memory
-36.6MiB live, 52.0MiB allocated
Algorithm
egg-herbie
Rules
3 160×lower-fma.f64
3 160×lower-fma.f32
2 584×lower-*.f64
2 584×lower-*.f32
2 384×lower-/.f32
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)

rewrite217.0ms (7%)

Memory
31.0MiB live, 186.0MiB allocated
Rules
7 594×lower-fma.f32
7 592×lower-fma.f64
4 122×lower-*.f32
4 120×lower-*.f64
3 844×lower-/.f64
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>

eval52.0ms (1.7%)

Memory
-26.5MiB live, 95.2MiB allocated
Compiler

Compiled 7 917 to 776 computations (90.2% saved)

prune15.0ms (0.5%)

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

Compiled 23 to 20 computations (13% saved)

regimes8.0ms (0.2%)

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

Compiled 14 to 17 computations (-21.4% saved)

simplify44.0ms (1.4%)

Memory
-9.2MiB live, 68.3MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
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))

soundness480.0ms (15.4%)

Memory
-43.3MiB live, 259.5MiB allocated
Rules
11 564×lower-fma.f64
11 564×lower-fma.f32
4 300×lower-*.f32
4 298×lower-*.f64
3 918×lower-/.f64
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)

preprocess20.0ms (0.7%)

Memory
21.1MiB live, 60.1MiB allocated
Compiler

Compiled 30 to 26 computations (13.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...