Data.Colour.CIE:cieLABView from colour-2.3.3, B

Time bar (total: 2.6s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample613.0ms (23.7%)

Memory
22.9MiB live, 839.1MiB allocated
Samples
393.0ms8 224×0valid
1.0ms15×2valid
1.0ms13×1valid
0.0ms3valid
Precisions
Click to see histograms. Total time spent on operations: 213.0ms
ival-sub: 114.0ms (53.6% of total)
ival-mult: 84.0ms (39.5% of total)
ival-true: 6.0ms (2.8% of total)
exact: 5.0ms (2.4% of total)
ival-assert: 3.0ms (1.4% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

explain53.0ms (2.1%)

Memory
-12.2MiB live, 110.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(*.f64 #s(literal 500 binary64) (-.f64 x y))
00-0-#s(literal 500 binary64)
00-0-(-.f64 x y)
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
23.0ms510×0valid
0.0ms1valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

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

preprocess30.0ms (1.2%)

Memory
11.3MiB live, 48.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01329
13825
210725
329825
439725
542425
643325
055
075
1105
2215
3395
4615
5865
61425
72115
82885
93305
103625
03625
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Outputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
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.1MiB live, 1.1MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify10.0ms (0.4%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x y)
cost-diff0
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
11011
22111
33911
46111
58611
614211
721111
828811
933011
1036211
036211
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
#s(literal 500 binary64)
(-.f64 x y)
x
y
Outputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
#s(literal 500 binary64)
(-.f64 x y)
x
y

localize19.0ms (0.7%)

Memory
-8.4MiB live, 27.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x y)
accuracy0.01953125
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Samples
10.0ms255×0valid
0.0ms1valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-sub: 2.0ms (55.4% of total)
ival-mult: 2.0ms (55.4% of total)
adjust: 0.0ms (0% 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.9MiB live, 5.9MiB allocated
Counts
2 → 48
Calls
Call 1
Inputs
#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())
#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())
Outputs
#s(alt (* 500 x) (taylor 0 y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -500 y) (taylor inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -500 y) (taylor -inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -500 y) (taylor 0 x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* 500 x) (taylor inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* 500 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((* 500 (- x y)) (- x y))
0.0ms
y
@inf
((* 500 (- x y)) (- x y))
0.0ms
y
@-inf
((* 500 (- x y)) (- x y))
0.0ms
x
@inf
((* 500 (- x y)) (- x y))
0.0ms
x
@0
((* 500 (- x y)) (- x y))

simplify233.0ms (9%)

Memory
11.1MiB live, 192.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040207
1118207
2316207
3849171
41746171
52886171
63982171
74668171
85018171
95127171
105826171
117614171
08080171
Stop Event
iter limit
node limit
Counts
48 → 45
Calls
Call 1
Inputs
(* 500 x)
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
x
(+ x (* -1 y))
(+ x (* -1 y))
(+ x (* -1 y))
(* -500 y)
(* y (- (* 500 (/ x y)) 500))
(* y (- (* 500 (/ x y)) 500))
(* y (- (* 500 (/ x y)) 500))
(* -1 y)
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* y (- (/ x y) 1))
(* -500 y)
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(* -500 y)
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(* -1 y)
(- x y)
(- x y)
(- x y)
(* 500 x)
(* x (+ 500 (* -500 (/ y x))))
(* x (+ 500 (* -500 (/ y x))))
(* x (+ 500 (* -500 (/ y x))))
x
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* x (+ 1 (* -1 (/ y x))))
(* 500 x)
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* -1 (* x (- (* 500 (/ y x)) 500)))
x
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
(* -1 (* x (- (/ y x) 1)))
Outputs
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
x
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(+ x (* -1 y))
(-.f64 x y)
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 y)
(neg.f64 y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* y (- (/ x y) 1))
(-.f64 x y)
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -1 (* y (+ 1 (* -1 (/ x y)))))
(-.f64 x y)
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 y)
(neg.f64 y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(- x y)
(-.f64 x y)
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
x
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* x (+ 1 (* -1 (/ y x))))
(-.f64 x y)
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 y x) #s(literal -500 binary64))
x
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)
(* -1 (* x (- (/ y x) 1)))
(-.f64 x y)

rewrite176.0ms (6.8%)

Memory
-42.1MiB live, 337.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1238
21548
315018
094568
Stop Event
iter limit
node limit
iter limit
Counts
2 → 251
Calls
Call 1
Inputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(-.f64 x 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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<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.3%)

Memory
16.0MiB live, 92.5MiB allocated
Compiler

Compiled 6 893 to 835 computations (87.9% saved)

prune6.0ms (0.2%)

Memory
20.8MiB live, 20.8MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2933296
Fresh000
Picked011
Done000
Total2934297
Accuracy
100.0%
Counts
297 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
100.0%
(*.f64 #s(literal 500 binary64) (-.f64 x y))
50.1%
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
50.5%
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Compiler

Compiled 19 to 21 computations (-10.5% saved)

simplify12.0ms (0.5%)

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

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal -500 binary64) y)
cost-diff192
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
cost-diff0
(*.f64 y #s(literal -500 binary64))
cost-diff0
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
cost-diff0
(*.f64 x #s(literal 500 binary64))
cost-diff0
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01241
01641
12241
23140
34540
46640
59140
614740
721440
828940
933040
1036240
036240
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
(*.f64 x #s(literal 500 binary64))
x
#s(literal 500 binary64)
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
(*.f64 y #s(literal -500 binary64))
y
#s(literal -500 binary64)
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
x
#s(literal 500 binary64)
(*.f64 #s(literal -500 binary64) y)
#s(literal -500 binary64)
y
Outputs
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
(*.f64 x #s(literal 500 binary64))
x
#s(literal 500 binary64)
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
(*.f64 y #s(literal -500 binary64))
(*.f64 #s(literal -500 binary64) y)
y
#s(literal -500 binary64)
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
x
#s(literal 500 binary64)
(*.f64 #s(literal -500 binary64) y)
#s(literal -500 binary64)
y

localize27.0ms (1.1%)

Memory
3.1MiB live, 45.1MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 #s(literal -500 binary64) y)
accuracy0.014003759768442016
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
accuracy0
(*.f64 y #s(literal -500 binary64))
accuracy31.96308804256655
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
accuracy0
(*.f64 x #s(literal 500 binary64))
accuracy31.657653852352503
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Samples
19.0ms255×0valid
1.0ms1valid
Compiler

Compiled 36 to 12 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-mult: 7.0ms (58.5% of total)
ival-sub: 2.0ms (16.7% of total)
adjust: 1.0ms (8.4% of total)
ival-add: 1.0ms (8.4% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.2%)

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

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* x 500) (* -500 y)) (* -500 y))
1.0ms
y
@-inf
((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* x 500) (* -500 y)) (* -500 y))
1.0ms
y
@0
((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* x 500) (* -500 y)) (* -500 y))
0.0ms
x
@-inf
((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* x 500) (* -500 y)) (* -500 y))
0.0ms
x
@inf
((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* x 500) (* -500 y)) (* -500 y))

simplify155.0ms (6%)

Memory
11.7MiB live, 86.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
024540
164540
2169540
3357486
4704432
52126432
63860432
75096432
85712432
96117432
106501432
116901432
127957432
08074432
Stop Event
iter limit
node limit
Counts
108 → 108
Calls
Call 1
Inputs
(* 500 x)
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(* 500 x)
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* 500 x)
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* y (- (* 500 (/ x y)) 500))
(* y (- (* 500 (/ x y)) 500))
(* y (- (* 500 (/ x y)) 500))
(* -500 y)
(* y (- (* 500 (/ x y)) 500))
(* y (- (* 500 (/ x y)) 500))
(* y (- (* 500 (/ x y)) 500))
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* y (- (* 500 (/ x y)) 500))
(* y (- (* 500 (/ x y)) 500))
(* y (- (* 500 (/ x y)) 500))
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -500 y)
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(* -500 y)
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(* 500 x)
(* 500 x)
(* 500 x)
(* 500 x)
(* -500 y)
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(* -500 y)
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(+ (* -500 y) (* 500 x))
(* 500 x)
(* x (+ 500 (* -500 (/ y x))))
(* x (+ 500 (* -500 (/ y x))))
(* x (+ 500 (* -500 (/ y x))))
(* 500 x)
(* 500 x)
(* 500 x)
(* 500 x)
(* 500 x)
(* x (+ 500 (* -500 (/ y x))))
(* x (+ 500 (* -500 (/ y x))))
(* x (+ 500 (* -500 (/ y x))))
(* 500 x)
(* x (+ 500 (* -500 (/ y x))))
(* x (+ 500 (* -500 (/ y x))))
(* x (+ 500 (* -500 (/ y x))))
(* 500 x)
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* 500 x)
(* 500 x)
(* 500 x)
(* 500 x)
(* 500 x)
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* 500 x)
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(* -1 (* x (- (* 500 (/ y x)) 500)))
Outputs
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* y (- (* 500 (/ x y)) 500))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* y (+ 500 (* -500 (/ x y)))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -500 y)
(*.f64 y #s(literal -500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(+ (* -500 y) (* 500 x))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* x (+ 500 (* -500 (/ y x))))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* 500 x)
(*.f64 x #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(* -1 (* x (- (* 500 (/ y x)) 500)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))

rewrite167.0ms (6.5%)

Memory
12.5MiB live, 198.5MiB allocated
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01233
01633
14733
232632
3326832
0913932
Stop Event
iter limit
node limit
iter limit
Counts
6 → 201
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
(*.f64 x #s(literal 500 binary64))
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
(*.f64 y #s(literal -500 binary64))
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
(*.f64 #s(literal -500 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>

eval71.0ms (2.8%)

Memory
-13.6MiB live, 93.5MiB allocated
Compiler

Compiled 5 305 to 566 computations (89.3% saved)

prune11.0ms (0.4%)

Memory
-6.3MiB live, 31.8MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3090309
Fresh000
Picked033
Done011
Total3094313
Accuracy
100.0%
Counts
313 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
100.0%
(*.f64 #s(literal 500 binary64) (-.f64 x y))
50.1%
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
50.5%
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Compiler

Compiled 38 to 33 computations (13.2% saved)

regimes11.0ms (0.4%)

Memory
-17.6MiB live, 21.2MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
Outputs
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
Calls

4 calls:

4.0ms
y
2.0ms
x
2.0ms
(-.f64 x y)
2.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(*.f64 #s(literal 500 binary64) (-.f64 x y))
100.0%1(-.f64 x y)
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes8.0ms (0.3%)

Memory
19.3MiB live, 19.3MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Outputs
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Calls

4 calls:

2.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
2.0ms
(-.f64 x y)
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(*.f64 #s(literal 500 binary64) (-.f64 x y))
100.0%1(-.f64 x y)
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes9.0ms (0.3%)

Memory
-28.6MiB live, 17.2MiB allocated
Counts
2 → 3
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
Outputs
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
Calls

4 calls:

3.0ms
y
2.0ms
(-.f64 x y)
2.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
2.0ms
x
Results
AccuracySegmentsBranch
75.8%3x
76.5%3y
61.1%6(*.f64 #s(literal 500 binary64) (-.f64 x y))
61.1%6(-.f64 x y)
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes6.0ms (0.2%)

Memory
13.5MiB live, 13.5MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

1.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
1.0ms
(-.f64 x y)
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
50.5%1(*.f64 #s(literal 500 binary64) (-.f64 x y))
50.5%1(-.f64 x y)
50.5%1x
50.5%1y
Compiler

Compiled 10 to 12 computations (-20% saved)

bsearch17.0ms (0.7%)

Memory
-9.8MiB live, 28.9MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
524673158297.9558
2418362200455.524
8.0ms
-167816054282253100.0
-9536305311224502.0
Samples
7.0ms208×0valid
Compiler

Compiled 112 to 166 computations (-48.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-sub: 1.0ms (35.7% of total)
ival-mult: 1.0ms (35.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify26.0ms (1%)

Memory
11.3MiB live, 49.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02055
12555
23055
33255
43355
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(if (<=.f64 y #s(literal -25000000000000000 binary64)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (if (<=.f64 y #s(literal 540000000000 binary64)) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))))
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Outputs
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
(fma.f64 x #s(literal 500 binary64) (*.f64 y #s(literal -500 binary64)))
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(if (<=.f64 y #s(literal -25000000000000000 binary64)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (if (<=.f64 y #s(literal 540000000000 binary64)) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))))
(if (<=.f64 y #s(literal -25000000000000000 binary64)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (if (<=.f64 y #s(literal 540000000000 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))))
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))

soundness701.0ms (27.1%)

Memory
20.2MiB live, 208.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
040207
1118207
2316207
3849171
41746171
52886171
63982171
74668171
85018171
95127171
105826171
117614171
08080171
058
078
1238
21548
315018
094568
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 55 to 37 computations (32.7% saved)

preprocess177.0ms (6.8%)

Memory
-6.6MiB live, 113.5MiB allocated
Compiler

Compiled 80 to 44 computations (45% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...