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

Time bar (total: 3.0s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample982.0ms (32.9%)

Memory
-8.2MiB live, 1 118.5MiB allocated
Samples
575.0ms7 749×0valid
19.0ms258×1valid
13.0ms151×2valid
10.0ms98×3valid
Precisions
Click to see histograms. Total time spent on operations: 272.0ms
ival-mult: 88.0ms (32.3% of total)
ival-div: 82.0ms (30.1% of total)
ival-sub: 76.0ms (27.9% of total)
adjust: 9.0ms (3.3% of total)
exact: 8.0ms (2.9% of total)
ival-true: 6.0ms (2.2% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain81.0ms (2.7%)

Memory
7.9MiB live, 115.8MiB 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
31.0ms478×0valid
4.0ms16×1valid
1.0ms10×2valid
1.0ms3valid
Compiler

Compiled 68 to 32 computations (52.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 22.0ms
ival-sub: 13.0ms (59% of total)
ival-div: 4.0ms (18.2% of total)
ival-mult: 3.0ms (13.6% of total)
adjust: 1.0ms (4.5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

preprocess21.0ms (0.7%)

Memory
17.9MiB live, 17.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01629
14427
28825
316325
423925
525725
626325
075
0115
1185
2285
3375
4495
5675
61025
71305
81665
91905
102045
02044
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
Outputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
(fma.f64 #s(literal -3/8 binary64) y x)
Compiler

Compiled 7 to 7 computations (0% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune25.0ms (0.8%)

Memory
-51.2MiB 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
3.8MiB live, 3.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
cost-diff128
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
cost-diff704
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
01113
11813
22813
33713
44913
56713
610213
713013
816613
919013
1020413
020412
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
x
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
#s(literal 3 binary64)
#s(literal 8 binary64)
y
Outputs
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
(fma.f64 #s(literal -3/8 binary64) y x)
x
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
(*.f64 y #s(literal 3/8 binary64))
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
#s(literal 3/8 binary64)
#s(literal 3 binary64)
#s(literal 8 binary64)
y

localize18.0ms (0.6%)

Memory
24.5MiB live, 24.5MiB 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.0ms239×0valid
1.0ms1valid
1.0ms3valid
1.0ms2valid
Compiler

Compiled 40 to 16 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-div: 2.0ms (35% of total)
ival-mult: 2.0ms (35% of total)
ival-sub: 1.0ms (17.5% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
4.8MiB live, 4.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))
0.0ms
x
@-inf
((/ 3 8) (- x (* (/ 3 8) y)) (* (/ 3 8) y))
0.0ms
y
@-inf
((/ 3 8) (- x (* (/ 3 8) y)) (* (/ 3 8) y))
0.0ms
y
@0
((/ 3 8) (- x (* (/ 3 8) y)) (* (/ 3 8) y))
0.0ms
x
@inf
((/ 3 8) (- x (* (/ 3 8) y)) (* (/ 3 8) y))

simplify180.0ms (6%)

Memory
1.2MiB live, 103.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025138
168138
2170138
3455138
41250138
52475138
63277138
73613138
83909138
94090138
105236138
116032138
126800138
137068138
147848138
08384120
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
x
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* -3/8 y)
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* -3/8 y)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* 3/8 y)
(* -3/8 y)
(- x (* 3/8 y))
(- x (* 3/8 y))
(- x (* 3/8 y))
x
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
Outputs
x
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* 3/8 y)
(*.f64 #s(literal 3/8 binary64) y)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)

rewrite196.0ms (6.6%)

Memory
26.6MiB live, 302.8MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
0119
1309
21879
316939
086638
Stop Event
iter limit
node limit
iter limit
Counts
3 → 205
Calls
Call 1
Inputs
(/.f64 #s(literal 3 binary64) #s(literal 8 binary64))
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval56.0ms (1.9%)

Memory
-15.4MiB live, 77.3MiB allocated
Compiler

Compiled 7 170 to 605 computations (91.6% saved)

prune8.0ms (0.3%)

Memory
-17.6MiB live, 19.8MiB allocated
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2362238
Fresh000
Picked101
Done000
Total2372239
Accuracy
100.0%
Counts
239 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y #s(literal -3/8 binary64) x)
48.7%
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify13.0ms (0.4%)

Memory
-8.8MiB live, 25.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 y #s(literal -3/8 binary64) x)
cost-diff0
(*.f64 y #s(literal -3/8 binary64))
cost-diff0
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01221
01420
12120
22920
33820
45120
56920
610420
713120
816620
919020
1020420
020420
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
(*.f64 y #s(literal -3/8 binary64))
y
#s(literal -3/8 binary64)
(fma.f64 y #s(literal -3/8 binary64) x)
y
#s(literal -3/8 binary64)
x
Outputs
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
#s(approx (- x (* (/ 3 8) y)) (*.f64 #s(literal -3/8 binary64) y))
(*.f64 y #s(literal -3/8 binary64))
(*.f64 #s(literal -3/8 binary64) y)
y
#s(literal -3/8 binary64)
(fma.f64 y #s(literal -3/8 binary64) x)
(fma.f64 #s(literal -3/8 binary64) y x)
y
#s(literal -3/8 binary64)
x

localize24.0ms (0.8%)

Memory
33.2MiB live, 72.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y #s(literal -3/8 binary64) x)
accuracy0
(*.f64 y #s(literal -3/8 binary64))
accuracy32.81536784180618
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Samples
16.0ms239×0valid
1.0ms1valid
1.0ms2valid
1.0ms3valid
Compiler

Compiled 38 to 18 computations (52.6% saved)

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

series7.0ms (0.2%)

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

6 calls:

TimeVariablePointExpression
0.0ms
y
@0
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))
0.0ms
y
@inf
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))
0.0ms
y
@-inf
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))
0.0ms
x
@-inf
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))
0.0ms
x
@inf
((- x (* (/ 3 8) y)) (* y -3/8) (+ (* y -3/8) x))

simplify217.0ms (7.3%)

Memory
27.8MiB live, 144.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025240
168240
2170240
3456240
41244240
52466240
63268240
73604240
83900240
94084240
105232240
116028240
126796240
137064240
147844240
08380204
Stop Event
iter limit
node limit
Counts
60 → 54
Calls
Call 1
Inputs
x
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
x
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(* -3/8 y)
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* y (- (/ x y) 3/8))
(* -3/8 y)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -3/8 y)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(* -3/8 y)
(- x (* 3/8 y))
(- x (* 3/8 y))
(- x (* 3/8 y))
(* -3/8 y)
(+ x (* -3/8 y))
(+ x (* -3/8 y))
(+ x (* -3/8 y))
x
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
x
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
(* x (+ 1 (* -3/8 (/ y x))))
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
Outputs
x
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
x
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* y (- (/ x y) 3/8))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* y (+ 3/8 (* -1 (/ x y)))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(- x (* 3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -3/8 y)
(*.f64 y #s(literal -3/8 binary64))
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
(+ x (* -3/8 y))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
(* x (+ 1 (* -3/8 (/ y x))))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
x
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)
(* -1 (* x (- (* 3/8 (/ y x)) 1)))
(fma.f64 y #s(literal -3/8 binary64) x)

rewrite599.0ms (20.1%)

Memory
-19.1MiB live, 218.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01216
01415
14315
231815
3333515
0890415
Stop Event
iter limit
node limit
iter limit
Counts
3 → 250
Calls
Call 1
Inputs
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
(*.f64 y #s(literal -3/8 binary64))
(fma.f64 y #s(literal -3/8 binary64) x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval61.0ms (2.1%)

Memory
1.7MiB live, 74.7MiB allocated
Compiler

Compiled 7 917 to 775 computations (90.2% saved)

prune9.0ms (0.3%)

Memory
31.0MiB live, 31.0MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New3040304
Fresh000
Picked022
Done000
Total3042306
Accuracy
100.0%
Counts
306 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y #s(literal -3/8 binary64) x)
48.7%
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Compiler

Compiled 23 to 20 computations (13% saved)

regimes14.0ms (0.5%)

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

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

regimes6.0ms (0.2%)

Memory
11.5MiB live, 11.5MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

4 calls:

1.0ms
(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
1.0ms
(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
48.7%1x
48.7%1y
48.7%1(-.f64 x (*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y))
48.7%1(*.f64 (/.f64 #s(literal 3 binary64) #s(literal 8 binary64)) y)
Compiler

Compiled 14 to 17 computations (-21.4% saved)

simplify23.0ms (0.8%)

Memory
11.8MiB live, 50.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01213
11313
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 y #s(literal -3/8 binary64) x)
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
Outputs
(fma.f64 y #s(literal -3/8 binary64) x)
#s(approx (- x (* (/ 3 8) y)) (*.f64 y #s(literal -3/8 binary64)))
#s(approx (- x (* (/ 3 8) y)) (*.f64 #s(literal -3/8 binary64) y))

soundness411.0ms (13.8%)

Memory
-8.7MiB live, 186.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025138
168138
2170138
3455138
41250138
52475138
63277138
73613138
83909138
94090138
105236138
116032138
126800138
137068138
147848138
08384120
079
0119
1309
21879
316939
086638
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 22 to 19 computations (13.6% saved)

preprocess22.0ms (0.7%)

Memory
20.0MiB live, 57.9MiB allocated
Compiler

Compiled 30 to 26 computations (13.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...