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

Time bar (total: 1.9s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample508.0ms (26.8%)

Memory
-33.7MiB live, 913.0MiB allocated
Samples
312.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 110.0ms
ival-div: 54.0ms (49% of total)
ival-sub: 43.0ms (39% of total)
ival-true: 6.0ms (5.4% of total)
exact: 5.0ms (4.5% of total)
ival-assert: 3.0ms (2.7% of total)
Bogosity

explain50.0ms (2.7%)

Memory
3.1MiB live, 120.8MiB 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: 3.0ms (45.3% of total)
ival-sub: 2.0ms (30.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess23.0ms (1.2%)

Memory
-3.4MiB live, 39.1MiB allocated
Algorithm
egg-herbie
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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify10.0ms (0.5%)

Memory
-23.7MiB live, 15.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))
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.7%)

Memory
29.1MiB live, 29.1MiB 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: 3.0ms
ival-div: 2.0ms (60.9% of total)
ival-sub: 1.0ms (30.4% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.3%)

Memory
-29.7MiB live, 8.4MiB 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)))
1.0ms
x
@-inf
((/ y 4) (- x (/ y 4)))
1.0ms
y
@-inf
((/ y 4) (- x (/ y 4)))
0.0ms
y
@0
((/ y 4) (- x (/ y 4)))
0.0ms
x
@inf
((/ y 4) (- x (/ y 4)))

simplify170.0ms (9%)

Memory
37.5MiB live, 154.8MiB allocated
Algorithm
egg-herbie
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)

rewrite141.0ms (7.5%)

Memory
-36.6MiB live, 246.0MiB allocated
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>

eval29.0ms (1.5%)

Memory
9.2MiB live, 47.0MiB allocated
Compiler

Compiled 2 670 to 398 computations (85.1% saved)

prune4.0ms (0.2%)

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

Compiled 8 to 9 computations (-12.5% saved)

simplify9.0ms (0.5%)

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

localize24.0ms (1.2%)

Memory
8.2MiB live, 46.7MiB 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)
accuracy32.861839473024276
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
Samples
18.0ms256×0valid
Compiler

Compiled 20 to 11 computations (45% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 3.0ms (39.5% of total)
ival-div: 2.0ms (26.3% of total)
ival-sub: 1.0ms (13.2% of total)
ival-add: 1.0ms (13.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.3%)

Memory
-28.1MiB live, 10.7MiB 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
3.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
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))

simplify184.0ms (9.7%)

Memory
22.3MiB live, 143.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025240
168240
2170240
3456240
41244240
52466240
63268240
73604240
83900240
94084240
105232240
116028240
126796240
137064240
147844240
08380204
Stop Event
iter limit
node limit
Counts
60 → 54
Calls
Call 1
Inputs
x
(+ x (* -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)

rewrite147.0ms (7.8%)

Memory
7.6MiB live, 125.8MiB allocated
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>

eval28.0ms (1.5%)

Memory
-6.7MiB live, 32.3MiB allocated
Compiler

Compiled 3 387 to 411 computations (87.9% saved)

prune15.0ms (0.8%)

Memory
-21.5MiB live, 16.2MiB 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)
48.7%
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y))
Compiler

Compiled 21 to 18 computations (14.3% saved)

regimes8.0ms (0.4%)

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

2.0ms
(/.f64 y #s(literal 4 binary64))
2.0ms
(-.f64 x (/.f64 y #s(literal 4 binary64)))
2.0ms
y
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)

regimes6.0ms (0.3%)

Memory
9.5MiB live, 9.5MiB 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
x
1.0ms
(/.f64 y #s(literal 4 binary64))
1.0ms
(-.f64 x (/.f64 y #s(literal 4 binary64)))
1.0ms
y
Results
AccuracySegmentsBranch
48.7%1x
48.7%1y
48.7%1(-.f64 x (/.f64 y #s(literal 4 binary64)))
48.7%1(/.f64 y #s(literal 4 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

simplify43.0ms (2.3%)

Memory
-8.9MiB live, 38.5MiB allocated
Algorithm
egg-herbie
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))

soundness443.0ms (23.4%)

Memory
-6.1MiB live, 144.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 20 to 17 computations (15% saved)

preprocess26.0ms (1.4%)

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