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

Time bar (total: 2.5s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample580.0ms (23.1%)

Memory
61.3MiB live, 937.7MiB allocated
Samples
330.0ms8 231×0valid
3.0ms2valid
1.0ms13×1valid
1.0ms3valid
Precisions
Click to see histograms. Total time spent on operations: 153.0ms
ival-mult: 71.0ms (46.5% of total)
ival-sub: 66.0ms (43.2% of total)
ival-true: 6.0ms (3.9% of total)
exact: 5.0ms (3.3% of total)
ival-assert: 3.0ms (2% of total)
adjust: 1.0ms (0.7% of total)
Bogosity

explain54.0ms (2.2%)

Memory
-35.1MiB live, 70.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
31.0ms512×0valid
Compiler

Compiled 42 to 24 computations (42.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 6.0ms (57.1% of total)
ival-sub: 3.0ms (28.6% 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
3.7MiB live, 41.6MiB 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.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify10.0ms (0.4%)

Memory
11.3MiB live, 11.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.8%)

Memory
-15.4MiB live, 21.4MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x y)
accuracy0.0078125
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Samples
13.0ms256×0valid
Compiler

Compiled 24 to 12 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-sub: 5.0ms (66.7% of total)
ival-mult: 2.0ms (26.7% 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
4.6MiB live, 4.6MiB 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
0.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
y
@0
((* 500 (- x y)) (- x y))
0.0ms
x
@inf
((* 500 (- x y)) (- x y))

simplify236.0ms (9.4%)

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

rewrite129.0ms (5.1%)

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

eval81.0ms (3.2%)

Memory
-29.5MiB live, 105.8MiB allocated
Compiler

Compiled 6 893 to 835 computations (87.9% saved)

prune17.0ms (0.7%)

Memory
-23.8MiB live, 15.2MiB 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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
100.0%
(*.f64 #s(literal 500 binary64) (-.f64 x y))
48.9%
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
52.1%
#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
11.1MiB live, 11.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 500 binary64))
cost-diff192
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
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
01141
01441
12041
22940
34340
46340
58840
614440
721440
829140
933240
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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
y
#s(literal -500 binary64)
(*.f64 x #s(literal 500 binary64))
x
#s(literal 500 binary64)
Outputs
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))
(*.f64 x #s(literal 500 binary64))
(*.f64 #s(literal 500 binary64) x)
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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
y
#s(literal -500 binary64)
(*.f64 x #s(literal 500 binary64))
(*.f64 #s(literal 500 binary64) x)
x
#s(literal 500 binary64)

localize23.0ms (0.9%)

Memory
18.6MiB live, 18.6MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
accuracy0
(*.f64 x #s(literal 500 binary64))
accuracy0
(*.f64 y #s(literal -500 binary64))
accuracy32.69674199136751
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
accuracy0
(*.f64 x #s(literal 500 binary64))
accuracy30.657709075034138
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Samples
17.0ms256×0valid
Compiler

Compiled 67 to 20 computations (70.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 5.0ms (62.6% of total)
ival-sub: 2.0ms (25.1% of total)
ival-add: 1.0ms (12.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.2%)

Memory
4.9MiB live, 4.9MiB allocated
Counts
5 → 96
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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify163.0ms (6.5%)

Memory
-3.7MiB live, 107.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
024504
164504
2169504
3357450
4704396
52126396
63860396
75096396
85712396
96117396
106501396
116901396
127957396
08074396
Stop Event
iter limit
node limit
Counts
96 → 96
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)
(* 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)
(* -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 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))
(* 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))
(* -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) (* 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))

rewrite211.0ms (8.4%)

Memory
12.3MiB live, 210.2MiB allocated
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01130
01430
14530
232529
3327629
0908129
Stop Event
iter limit
node limit
iter limit
Counts
5 → 187
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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval45.0ms (1.8%)

Memory
-19.6MiB live, 61.7MiB allocated
Compiler

Compiled 5 248 to 563 computations (89.3% saved)

prune8.0ms (0.3%)

Memory
25.9MiB live, 25.9MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3020302
Fresh000
Picked033
Done011
Total3024306
Accuracy
100.0%
Counts
306 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
100.0%
(*.f64 #s(literal 500 binary64) (-.f64 x y))
48.9%
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
52.1%
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Compiler

Compiled 38 to 32 computations (15.8% saved)

regimes12.0ms (0.5%)

Memory
-14.8MiB live, 22.6MiB 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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
Outputs
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
Calls

4 calls:

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

regimes14.0ms (0.6%)

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

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

regimes7.0ms (0.3%)

Memory
18.2MiB live, 18.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:

2.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
2.0ms
(-.f64 x y)
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
75.8%3x
80.0%3y
58.1%4(*.f64 #s(literal 500 binary64) (-.f64 x y))
58.1%4(-.f64 x y)
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes6.0ms (0.2%)

Memory
18.3MiB live, 18.3MiB 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 x y)
1.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
52.1%1(*.f64 #s(literal 500 binary64) (-.f64 x y))
52.1%1(-.f64 x y)
52.1%1x
52.1%1y
Compiler

Compiled 10 to 12 computations (-20% saved)

bsearch22.0ms (0.9%)

Memory
0.9MiB live, 38.8MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
7.0ms
0.012918772972173599
0.0812670105491076
13.0ms
-2.7972486613174017e-50
-7.054475751051463e-57
Samples
8.0ms240×0valid
Compiler

Compiled 128 to 190 computations (-48.4% saved)

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

simplify80.0ms (3.2%)

Memory
-32.8MiB live, 40.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01955
12455
22955
33155
43255
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(if (<=.f64 y #s(literal -5792176041770645/210624583337114373395836055367340864637790190801098222508621955072 binary64)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (if (<=.f64 y #s(literal 7782220156096217/288230376151711744 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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
(fma.f64 y #s(literal -500 binary64) (*.f64 #s(literal 500 binary64) x))
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(*.f64 (-.f64 x y) #s(literal 500 binary64))
(if (<=.f64 y #s(literal -5792176041770645/210624583337114373395836055367340864637790190801098222508621955072 binary64)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (if (<=.f64 y #s(literal 7782220156096217/288230376151711744 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 -5792176041770645/210624583337114373395836055367340864637790190801098222508621955072 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y)) (if (<=.f64 y #s(literal 7782220156096217/288230376151711744 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)) #s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))))
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))

soundness672.0ms (26.8%)

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

preprocess65.0ms (2.6%)

Memory
-6.3MiB live, 109.3MiB allocated
Compiler

Compiled 80 to 44 computations (45% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...