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

Time bar (total: 2.3s)

start0.0ms (0%)

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

sample717.0ms (31.5%)

Memory
-7.2MiB live, 928.8MiB allocated
Samples
510.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 278.0ms
ival-div: 221.0ms (79.4% of total)
ival-sub: 43.0ms (15.4% of total)
ival-true: 6.0ms (2.2% of total)
exact: 5.0ms (1.8% of total)
ival-assert: 4.0ms (1.4% of total)
Bogosity

explain90.0ms (4%)

Memory
6.2MiB live, 87.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 x (/.f64 y #s(literal 4 binary64)))
00-0-y
00-0-(/.f64 y #s(literal 4 binary64))
00-0-#s(literal 4 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
19.0ms512×0valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-div: 4.0ms (55.5% of total)
ival-sub: 3.0ms (41.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess25.0ms (1.1%)

Memory
0.5MiB live, 37.8MiB allocated
Algorithm
egg-herbie
Rules
128×lower-fma.f64
128×lower-fma.f32
80×lower-*.f64
80×lower-*.f32
46×sub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01329
13027
27425
315225
425025
529325
629925
055
075
195
2195
3275
4395
5585
6945
71265
81825
92135
102465
112475
02474
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 x (/.f64 y #s(literal 4 binary64)))
Outputs
(-.f64 x (/.f64 y #s(literal 4 binary64)))
(fma.f64 #s(literal -1/4 binary64) y x)
Compiler

Compiled 5 to 5 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.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 x (/.f64 y #s(literal 4 binary64)))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify39.0ms (1.7%)

Memory
-24.2MiB live, 11.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff128
(-.f64 x (/.f64 y #s(literal 4 binary64)))
cost-diff384
(/.f64 y #s(literal 4 binary64))
Rules
128×lower-fma.f64
128×lower-fma.f32
80×lower-*.f64
80×lower-*.f32
40×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
1911
21911
32711
43911
55811
69411
712611
818211
921311
1024611
1124711
024710
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 x (/.f64 y #s(literal 4 binary64)))
x
(/.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
Outputs
(-.f64 x (/.f64 y #s(literal 4 binary64)))
(fma.f64 #s(literal -1/4 binary64) y x)
x
(/.f64 y #s(literal 4 binary64))
(*.f64 #s(literal 1/4 binary64) y)
y
#s(literal 4 binary64)

localize13.0ms (0.6%)

Memory
18.0MiB live, 18.0MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 y #s(literal 4 binary64))
accuracy0
(-.f64 x (/.f64 y #s(literal 4 binary64)))
Samples
9.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

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

series3.0ms (0.1%)

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

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((/ y 4) (- x (/ y 4)))
0.0ms
y
@-inf
((/ y 4) (- x (/ y 4)))
0.0ms
x
@-inf
((/ y 4) (- x (/ y 4)))
0.0ms
y
@0
((/ y 4) (- x (/ y 4)))
0.0ms
x
@inf
((/ y 4) (- x (/ y 4)))

simplify236.0ms (10.4%)

Memory
-19.7MiB live, 99.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
025138
168138
2170138
3455138
41249138
52477138
63282138
73618138
83914138
94095138
105236138
116032138
126800138
137068138
147848138
08384120
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
(* 1/4 y)
(* 1/4 y)
(* 1/4 y)
(* 1/4 y)
x
(+ x (* -1/4 y))
(+ x (* -1/4 y))
(+ x (* -1/4 y))
(* 1/4 y)
(* 1/4 y)
(* 1/4 y)
(* 1/4 y)
(* -1/4 y)
(* y (- (/ x y) 1/4))
(* y (- (/ x y) 1/4))
(* y (- (/ x y) 1/4))
(* 1/4 y)
(* 1/4 y)
(* 1/4 y)
(* 1/4 y)
(* -1/4 y)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(* -1/4 y)
(- x (* 1/4 y))
(- x (* 1/4 y))
(- x (* 1/4 y))
x
(* x (+ 1 (* -1/4 (/ y x))))
(* x (+ 1 (* -1/4 (/ y x))))
(* x (+ 1 (* -1/4 (/ y x))))
x
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
Outputs
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
x
(+ x (* -1/4 y))
(fma.f64 #s(literal -1/4 binary64) y x)
(+ x (* -1/4 y))
(fma.f64 #s(literal -1/4 binary64) y x)
(+ x (* -1/4 y))
(fma.f64 #s(literal -1/4 binary64) y x)
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* -1/4 y)
(*.f64 #s(literal -1/4 binary64) y)
(* y (- (/ x y) 1/4))
(fma.f64 #s(literal -1/4 binary64) y x)
(* y (- (/ x y) 1/4))
(fma.f64 #s(literal -1/4 binary64) y x)
(* y (- (/ x y) 1/4))
(fma.f64 #s(literal -1/4 binary64) y x)
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* 1/4 y)
(*.f64 y #s(literal 1/4 binary64))
(* -1/4 y)
(*.f64 #s(literal -1/4 binary64) y)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(fma.f64 #s(literal -1/4 binary64) y x)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(fma.f64 #s(literal -1/4 binary64) y x)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(fma.f64 #s(literal -1/4 binary64) y x)
(* -1/4 y)
(*.f64 #s(literal -1/4 binary64) y)
(- x (* 1/4 y))
(fma.f64 #s(literal -1/4 binary64) y x)
(- x (* 1/4 y))
(fma.f64 #s(literal -1/4 binary64) y x)
(- x (* 1/4 y))
(fma.f64 #s(literal -1/4 binary64) y x)
x
(* x (+ 1 (* -1/4 (/ y x))))
(fma.f64 #s(literal -1/4 binary64) y x)
(* x (+ 1 (* -1/4 (/ y x))))
(fma.f64 #s(literal -1/4 binary64) y x)
(* x (+ 1 (* -1/4 (/ y x))))
(fma.f64 #s(literal -1/4 binary64) y x)
x
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(fma.f64 #s(literal -1/4 binary64) y x)
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(fma.f64 #s(literal -1/4 binary64) y x)
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(fma.f64 #s(literal -1/4 binary64) y x)

rewrite166.0ms (7.3%)

Memory
25.4MiB live, 177.6MiB allocated
Rules
3 368×lower-fma.f64
3 368×lower-fma.f32
3 224×lower-*.f64
3 224×lower-*.f32
2 912×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1328
22488
340668
081507
Stop Event
iter limit
node limit
iter limit
Counts
2 → 130
Calls
Call 1
Inputs
(/.f64 y #s(literal 4 binary64))
(-.f64 x (/.f64 y #s(literal 4 binary64)))
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>

eval20.0ms (0.9%)

Memory
10.2MiB live, 47.0MiB allocated
Compiler

Compiled 2 670 to 398 computations (85.1% saved)

prune6.0ms (0.3%)

Memory
-23.8MiB live, 13.3MiB allocated
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1612163
Fresh000
Picked101
Done000
Total1622164
Accuracy
100.0%
Counts
164 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y #s(literal -1/4 binary64) x)
45.6%
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify9.0ms (0.4%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 y #s(literal -1/4 binary64) x)
cost-diff0
(*.f64 #s(literal -1/4 binary64) y)
cost-diff0
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
Rules
128×lower-fma.f32
126×lower-fma.f64
80×lower-*.f32
78×lower-*.f64
40×lower-+.f64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0921
01221
11621
22621
33421
44720
57120
610620
713520
819120
922220
1025520
1125620
025620
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
(*.f64 #s(literal -1/4 binary64) y)
#s(literal -1/4 binary64)
y
(fma.f64 y #s(literal -1/4 binary64) x)
y
#s(literal -1/4 binary64)
x
Outputs
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
(*.f64 #s(literal -1/4 binary64) y)
#s(literal -1/4 binary64)
y
(fma.f64 y #s(literal -1/4 binary64) x)
(fma.f64 #s(literal -1/4 binary64) y x)
y
#s(literal -1/4 binary64)
x

localize49.0ms (2.2%)

Memory
-27.7MiB live, 29.5MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y #s(literal -1/4 binary64) x)
accuracy0
(*.f64 #s(literal -1/4 binary64) y)
accuracy34.796274937079126
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
Samples
43.0ms256×0valid
Compiler

Compiled 20 to 11 computations (45% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-sub: 9.0ms (57.9% of total)
ival-mult: 3.0ms (19.3% of total)
ival-div: 2.0ms (12.9% of total)
ival-add: 1.0ms (6.4% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

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

6 calls:

TimeVariablePointExpression
0.0ms
y
@inf
((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x))
0.0ms
y
@0
((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x))
0.0ms
y
@-inf
((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x))
0.0ms
x
@inf
((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x))
0.0ms
x
@-inf
((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x))

simplify167.0ms (7.3%)

Memory
21.3MiB live, 131.2MiB 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 (* -1/4 y))
(+ x (* -1/4 y))
(+ x (* -1/4 y))
(* -1/4 y)
(* -1/4 y)
(* -1/4 y)
(* -1/4 y)
x
(+ x (* -1/4 y))
(+ x (* -1/4 y))
(+ x (* -1/4 y))
(* -1/4 y)
(* y (- (/ x y) 1/4))
(* y (- (/ x y) 1/4))
(* y (- (/ x y) 1/4))
(* -1/4 y)
(* -1/4 y)
(* -1/4 y)
(* -1/4 y)
(* -1/4 y)
(* y (- (/ x y) 1/4))
(* y (- (/ x y) 1/4))
(* y (- (/ x y) 1/4))
(* -1/4 y)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(* -1/4 y)
(* -1/4 y)
(* -1/4 y)
(* -1/4 y)
(* -1/4 y)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(* -1/4 y)
(- x (* 1/4 y))
(- x (* 1/4 y))
(- x (* 1/4 y))
(* -1/4 y)
(+ x (* -1/4 y))
(+ x (* -1/4 y))
(+ x (* -1/4 y))
x
(* x (+ 1 (* -1/4 (/ y x))))
(* x (+ 1 (* -1/4 (/ y x))))
(* x (+ 1 (* -1/4 (/ y x))))
x
(* x (+ 1 (* -1/4 (/ y x))))
(* x (+ 1 (* -1/4 (/ y x))))
(* x (+ 1 (* -1/4 (/ y x))))
x
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
x
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
Outputs
x
(+ x (* -1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(+ x (* -1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(+ x (* -1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
x
(+ x (* -1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(+ x (* -1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(+ x (* -1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* y (- (/ x y) 1/4))
(fma.f64 y #s(literal -1/4 binary64) x)
(* y (- (/ x y) 1/4))
(fma.f64 y #s(literal -1/4 binary64) x)
(* y (- (/ x y) 1/4))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* y (- (/ x y) 1/4))
(fma.f64 y #s(literal -1/4 binary64) x)
(* y (- (/ x y) 1/4))
(fma.f64 y #s(literal -1/4 binary64) x)
(* y (- (/ x y) 1/4))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1 (* y (+ 1/4 (* -1 (/ x y)))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(- x (* 1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(- x (* 1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(- x (* 1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1/4 y)
(*.f64 y #s(literal -1/4 binary64))
(+ x (* -1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(+ x (* -1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
(+ x (* -1/4 y))
(fma.f64 y #s(literal -1/4 binary64) x)
x
(* x (+ 1 (* -1/4 (/ y x))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* x (+ 1 (* -1/4 (/ y x))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* x (+ 1 (* -1/4 (/ y x))))
(fma.f64 y #s(literal -1/4 binary64) x)
x
(* x (+ 1 (* -1/4 (/ y x))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* x (+ 1 (* -1/4 (/ y x))))
(fma.f64 y #s(literal -1/4 binary64) x)
(* x (+ 1 (* -1/4 (/ y x))))
(fma.f64 y #s(literal -1/4 binary64) x)
x
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(fma.f64 y #s(literal -1/4 binary64) x)
x
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(fma.f64 y #s(literal -1/4 binary64) x)
(* -1 (* x (- (* 1/4 (/ y x)) 1)))
(fma.f64 y #s(literal -1/4 binary64) x)

rewrite177.0ms (7.8%)

Memory
15.3MiB live, 234.5MiB allocated
Rules
4 868×lower-fma.f32
4 866×lower-fma.f64
3 436×lower-*.f32
3 434×lower-*.f64
2 340×lower-/.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0916
01216
14915
239915
3647715
0820315
Stop Event
iter limit
node limit
iter limit
Counts
3 → 141
Calls
Call 1
Inputs
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
(*.f64 #s(literal -1/4 binary64) y)
(fma.f64 y #s(literal -1/4 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>

eval33.0ms (1.4%)

Memory
-18.5MiB live, 98.3MiB allocated
Compiler

Compiled 3 387 to 411 computations (87.9% saved)

prune9.0ms (0.4%)

Memory
4.4MiB live, 43.3MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1950195
Fresh000
Picked022
Done000
Total1952197
Accuracy
100.0%
Counts
197 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y #s(literal -1/4 binary64) x)
45.6%
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
Compiler

Compiled 21 to 18 computations (14.3% saved)

regimes9.0ms (0.4%)

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

4 calls:

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

Compiled 10 to 13 computations (-30% saved)

regimes7.0ms (0.3%)

Memory
-1.9MiB live, 37.3MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

1.0ms
y
1.0ms
(-.f64 x (/.f64 y #s(literal 4 binary64)))
1.0ms
(/.f64 y #s(literal 4 binary64))
1.0ms
x
Results
AccuracySegmentsBranch
45.6%1x
45.6%1y
45.6%1(-.f64 x (/.f64 y #s(literal 4 binary64)))
45.6%1(/.f64 y #s(literal 4 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

simplify40.0ms (1.8%)

Memory
-44.8MiB live, 105.8MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
11013
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 y #s(literal -1/4 binary64) x)
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
Outputs
(fma.f64 y #s(literal -1/4 binary64) x)
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))

soundness407.0ms (17.9%)

Memory
16.7MiB live, 197.3MiB allocated
Rules
3 368×lower-fma.f64
3 368×lower-fma.f32
3 224×lower-*.f64
3 224×lower-*.f32
3 160×lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025138
168138
2170138
3455138
41249138
52477138
63282138
73618138
83914138
94095138
105236138
116032138
126800138
137068138
147848138
08384120
058
078
1328
22488
340668
081507
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 20 to 17 computations (15% saved)

preprocess51.0ms (2.3%)

Memory
1.1MiB live, 82.2MiB allocated
Compiler

Compiled 26 to 22 computations (15.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...