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

Time bar (total: 2.7s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 9 to 9 computations (0% saved)

sample853.0ms (31.7%)

Memory
-1.5MiB live, 822.1MiB allocated
Samples
520.0ms7 624×0valid
29.0ms279×1valid
16.0ms159×3valid
16.0ms194×2valid
Precisions
Click to see histograms. Total time spent on operations: 316.0ms
ival-div: 140.0ms (44.4% of total)
ival-sub: 88.0ms (27.9% of total)
ival-mult: 57.0ms (18.1% of total)
adjust: 12.0ms (3.8% of total)
exact: 8.0ms (2.5% of total)
ival-true: 7.0ms (2.2% of total)
ival-assert: 4.0ms (1.3% of total)
Bogosity

explain70.0ms (2.6%)

Memory
17.0MiB live, 130.5MiB 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
25.0ms472×0valid
2.0ms16×3valid
1.0ms12×2valid
1.0ms12×1valid
Compiler

Compiled 49 to 25 computations (49% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-div: 6.0ms (43.8% of total)
ival-mult: 3.0ms (21.9% of total)
ival-sub: 3.0ms (21.9% of total)
adjust: 1.0ms (7.3% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess31.0ms (1.1%)

Memory
-37.4MiB live, 18.7MiB 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.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.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)

simplify9.0ms (0.3%)

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

localize42.0ms (1.5%)

Memory
-12.2MiB live, 26.4MiB 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
11.0ms236×0valid
1.0ms3valid
1.0ms2valid
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.8% of total)
ival-mult: 1.0ms (17.9% of total)
ival-sub: 1.0ms (17.9% 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
6.8MiB live, 6.8MiB 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))

simplify180.0ms (6.7%)

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

rewrite226.0ms (8.4%)

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

eval29.0ms (1.1%)

Memory
-11.1MiB live, 64.6MiB allocated
Compiler

Compiled 7 170 to 605 computations (91.6% saved)

prune5.0ms (0.2%)

Memory
17.4MiB live, 17.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)
45.5%
#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
11.5MiB live, 11.5MiB 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

localize101.0ms (3.8%)

Memory
0.0MiB live, 39.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y #s(literal -3/8 binary64) x)
accuracy0
(*.f64 y #s(literal -3/8 binary64))
accuracy34.85139034357299
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Samples
92.0ms236×0valid
1.0ms3valid
1.0ms2valid
1.0ms1valid
Compiler

Compiled 22 to 12 computations (45.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 86.0ms
ival-add: 79.0ms (91.6% of total)
ival-mult: 3.0ms (3.5% of total)
ival-div: 2.0ms (2.3% of total)
adjust: 1.0ms (1.2% of total)
ival-sub: 1.0ms (1.2% 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
6.7MiB live, 6.7MiB 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))

simplify265.0ms (9.9%)

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

rewrite256.0ms (9.5%)

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

eval70.0ms (2.6%)

Memory
-30.8MiB live, 88.8MiB allocated
Compiler

Compiled 7 917 to 776 computations (90.2% saved)

prune11.0ms (0.4%)

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

Compiled 23 to 20 computations (13% saved)

regimes8.0ms (0.3%)

Memory
21.8MiB live, 21.8MiB 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
y
2.0ms
x
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)

regimes8.0ms (0.3%)

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

3.0ms
x
2.0ms
y
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))
Results
AccuracySegmentsBranch
45.5%1x
45.5%1y
45.5%1(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
45.5%1(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
Compiler

Compiled 14 to 17 computations (-21.4% saved)

simplify49.0ms (1.8%)

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

soundness413.0ms (15.4%)

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

preprocess49.0ms (1.8%)

Memory
37.5MiB live, 113.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...