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

Time bar (total: 1.9s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 7 to 7 computations (0% saved)

sample419.0ms (22.5%)

Memory
162.1MiB live, 162.1MiB allocated
Samples
236.0ms8 224×0valid
1.0ms3valid
1.0ms15×1valid
1.0ms2valid
Precisions
Click to see histograms. Total time spent on operations: 104.0ms
ival-mult: 48.0ms (46.1% of total)
ival-sub: 43.0ms (41.3% of total)
ival-true: 5.0ms (4.8% of total)
exact: 4.0ms (3.8% of total)
ival-assert: 3.0ms (2.9% of total)
adjust: 1.0ms (1% of total)
Bogosity

explain51.0ms (2.7%)

Memory
25.3MiB live, 25.3MiB 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
18.0ms508×0valid
0.0ms1valid
Compiler

Compiled 64 to 36 computations (43.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-sub: 3.0ms (44% of total)
ival-mult: 3.0ms (44% 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)

preprocess25.0ms (1.4%)

Memory
6.4MiB live, 6.4MiB 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.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify9.0ms (0.5%)

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

localize12.0ms (0.7%)

Memory
5.6MiB live, 5.6MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x y)
accuracy0.0234375
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Samples
8.0ms254×0valid
0.0ms1valid
Compiler

Compiled 24 to 12 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (61% of total)
ival-sub: 1.0ms (30.5% 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.2%)

Memory
1.3MiB live, 1.3MiB 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
x
@inf
((* 500 (- x y)) (- x y))
0.0ms
y
@0
((* 500 (- x y)) (- x y))

simplify195.0ms (10.5%)

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

rewrite99.0ms (5.3%)

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

eval26.0ms (1.4%)

Memory
24.9MiB live, 24.9MiB allocated
Compiler

Compiled 6 893 to 835 computations (87.9% saved)

prune5.0ms (0.3%)

Memory
12.1MiB live, 12.1MiB 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))
52.2%
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
49.7%
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Compiler

Compiled 19 to 21 computations (-10.5% saved)

simplify10.0ms (0.5%)

Memory
1.2MiB live, 1.2MiB 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
721540
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 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)))
#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 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

localize22.0ms (1.2%)

Memory
10.4MiB live, 10.4MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 #s(literal -500 binary64) y)
accuracy0.00390625
(fma.f64 x #s(literal 500 binary64) (*.f64 #s(literal -500 binary64) y))
accuracy0
(*.f64 y #s(literal -500 binary64))
accuracy30.58887966693601
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
accuracy0
(*.f64 x #s(literal 500 binary64))
accuracy32.203558218723124
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Samples
16.0ms254×0valid
0.0ms1valid
Compiler

Compiled 67 to 22 computations (67.2% saved)

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

series5.0ms (0.3%)

Memory
3.0MiB live, 3.0MiB 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))
0.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))

simplify128.0ms (6.9%)

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

rewrite120.0ms (6.4%)

Memory
44.4MiB live, 44.4MiB allocated
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01233
01633
14733
232632
3326532
0911932
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>

eval28.0ms (1.5%)

Memory
25.4MiB live, 25.4MiB allocated
Compiler

Compiled 5 305 to 566 computations (89.3% saved)

prune8.0ms (0.4%)

Memory
14.7MiB live, 14.7MiB 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))
52.2%
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
49.7%
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Compiler

Compiled 38 to 33 computations (13.2% saved)

regimes8.0ms (0.4%)

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

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)

regimes7.0ms (0.4%)

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

regimes6.0ms (0.3%)

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

4 calls:

1.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
1.0ms
(-.f64 x y)
1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
76.8%3x
76.1%3y
59.1%4(*.f64 #s(literal 500 binary64) (-.f64 x y))
59.1%4(-.f64 x y)
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes5.0ms (0.3%)

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

Compiled 10 to 12 computations (-20% saved)

bsearch17.0ms (0.9%)

Memory
6.0MiB live, 6.0MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
10.0ms
1.8149090937144154e+66
2.914523977230179e+81
5.0ms
-4.906554476387943e-6
-1.3988171539116562e-6
Samples
7.0ms240×0valid
Compiler

Compiled 128 to 190 computations (-48.4% saved)

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

simplify27.0ms (1.4%)

Memory
18.5MiB live, 18.5MiB 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 x #s(literal -7791904696734915/4722366482869645213696 binary64)) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (if (<=.f64 x #s(literal 13199999999999999424919419370297045306943515057024906194101251868721152 binary64)) #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 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 x #s(literal -7791904696734915/4722366482869645213696 binary64)) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (if (<=.f64 x #s(literal 13199999999999999424919419370297045306943515057024906194101251868721152 binary64)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))))
(if (<=.f64 x #s(literal -7791904696734915/4722366482869645213696 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)) (if (<=.f64 x #s(literal 13199999999999999424919419370297045306943515057024906194101251868721152 binary64)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))))
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x))

soundness587.0ms (31.5%)

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

preprocess39.0ms (2.1%)

Memory
28.4MiB live, 28.4MiB allocated
Compiler

Compiled 80 to 44 computations (45% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...