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

Time bar (total: 2.4s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample575.0ms (23.8%)

Memory
8.2MiB live, 1 054.1MiB allocated
Samples
369.0ms8 220×0valid
1.0ms3valid
1.0ms11×2valid
1.0ms16×1valid
Precisions
Click to see histograms. Total time spent on operations: 157.0ms
ival-sub: 90.0ms (57.4% of total)
ival-mult: 53.0ms (33.8% of total)
ival-true: 6.0ms (3.8% of total)
exact: 4.0ms (2.6% of total)
ival-assert: 3.0ms (1.9% of total)
adjust: 1.0ms (0.6% of total)
Bogosity

explain49.0ms (2%)

Memory
-3.8MiB live, 78.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
27.0ms510×0valid
0.0ms3valid
Compiler

Compiled 31 to 19 computations (38.7% saved)

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

preprocess27.0ms (1.1%)

Memory
21.1MiB live, 21.1MiB allocated
Algorithm
egg-herbie
Rules
240×lower-fma.f64
240×lower-fma.f32
144×lower-*.f32
142×lower-*.f64
64×lower-+.f64
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.7MiB live, 0.7MiB 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)

simplify11.0ms (0.5%)

Memory
7.4MiB live, 7.4MiB 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))
Rules
240×lower-fma.f64
240×lower-fma.f32
144×lower-*.f32
142×lower-*.f64
64×lower-+.f64
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

localize59.0ms (2.4%)

Memory
-11.6MiB live, 23.1MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x y)
accuracy0.0234375
(*.f64 #s(literal 500 binary64) (-.f64 x y))
Samples
54.0ms255×0valid
0.0ms3valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

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

series3.0ms (0.1%)

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

6 calls:

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

simplify243.0ms (10%)

Memory
12.1MiB live, 163.0MiB allocated
Algorithm
egg-herbie
Rules
26 396×lower-fma.f64
26 396×lower-fma.f32
3 260×lower-+.f64
3 260×lower-+.f32
2 160×lower-*.f64
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)

rewrite164.0ms (6.8%)

Memory
-7.9MiB live, 248.7MiB allocated
Rules
5 754×lower-fma.f64
5 754×lower-fma.f32
3 256×lower-*.f32
3 254×lower-*.f64
3 212×lower-/.f64
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>

eval47.0ms (1.9%)

Memory
-10.0MiB live, 73.4MiB allocated
Compiler

Compiled 6 893 to 835 computations (87.9% saved)

prune7.0ms (0.3%)

Memory
-20.7MiB live, 17.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 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
100.0%
(*.f64 #s(literal 500 binary64) (-.f64 x y))
45.7%
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
56.0%
#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
20.5MiB live, 20.5MiB 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)))
Rules
240×lower-fma.f32
238×lower-fma.f64
144×lower-*.f32
140×lower-*.f64
64×lower-+.f64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01141
01441
12041
22940
34340
46340
58840
614440
721340
829040
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)))
(*.f64 x #s(literal 500 binary64))
x
#s(literal 500 binary64)
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y))
(*.f64 y #s(literal -500 binary64))
(*.f64 #s(literal -500 binary64) y)
y
#s(literal -500 binary64)
(fma.f64 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))
x
#s(literal 500 binary64)

localize27.0ms (1.1%)

Memory
-23.5MiB live, 58.3MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x #s(literal 500 binary64))
accuracy0.00390625
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64)))
accuracy0
(*.f64 y #s(literal -500 binary64))
accuracy34.74492574280458
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
accuracy0
(*.f64 x #s(literal 500 binary64))
accuracy28.147719157564072
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
Samples
18.0ms255×0valid
0.0ms3valid
Compiler

Compiled 36 to 11 computations (69.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 6.0ms (66.9% of total)
ival-sub: 2.0ms (22.3% of total)
ival-add: 1.0ms (11.2% 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.2%)

Memory
17.2MiB live, 17.2MiB 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
@0
((* 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)))
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)))

simplify146.0ms (6%)

Memory
2.7MiB live, 118.3MiB allocated
Algorithm
egg-herbie
Rules
3 814×lower-*.f64
3 814×lower-*.f32
3 734×lower-fma.f64
3 734×lower-fma.f32
2 184×lower-/.f32
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))

rewrite187.0ms (7.7%)

Memory
-5.9MiB live, 210.8MiB allocated
Rules
5 502×lower-fma.f32
5 500×lower-fma.f64
4 514×lower-*.f32
4 510×lower-*.f64
4 150×lower-/.f64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01130
01430
14530
232529
3327429
0909329
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>

eval79.0ms (3.3%)

Memory
-26.6MiB live, 48.5MiB allocated
Compiler

Compiled 5 248 to 563 computations (89.3% saved)

prune8.0ms (0.3%)

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

Compiled 38 to 32 computations (15.8% saved)

regimes11.0ms (0.5%)

Memory
-18.4MiB live, 19.2MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64)))
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64)))
(*.f64 #s(literal 500 binary64) (-.f64 x y))
(fma.f64 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:

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

regimes8.0ms (0.3%)

Memory
17.2MiB live, 17.2MiB 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
x
2.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
2.0ms
(-.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)

regimes7.0ms (0.3%)

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

2.0ms
(*.f64 #s(literal 500 binary64) (-.f64 x y))
2.0ms
x
2.0ms
(-.f64 x y)
1.0ms
y
Results
AccuracySegmentsBranch
81.9%3x
75.6%3y
66.3%6(*.f64 #s(literal 500 binary64) (-.f64 x y))
66.3%6(-.f64 x y)
Compiler

Compiled 10 to 12 computations (-20% saved)

regimes10.0ms (0.4%)

Memory
-31.5MiB live, 11.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:

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

Compiled 10 to 12 computations (-20% saved)

bsearch17.0ms (0.7%)

Memory
26.7MiB live, 26.7MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
6.0ms
1.4871345746348427e-97
1.060165868370096e-96
9.0ms
-32530.942236274448
-1.708323790204963
Samples
7.0ms224×0valid
Compiler

Compiled 120 to 178 computations (-48.3% saved)

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

Memory
-22.2MiB live, 52.5MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
+-commutative-binary64-+.f64
sub-neg-binary64-neg.f64-+.f64--.f64
neg-sub0-binary64--.f64-neg.f64
neg-mul-1-binary64-*.f64-neg.f64
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 x #s(literal -400 binary64)) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (if (<=.f64 x #s(literal 2404907604760405/2404907604760405225358828131112281116032698930082119547604265954848982041717359046106827774346003151904701415424 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 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 x #s(literal -400 binary64)) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (if (<=.f64 x #s(literal 2404907604760405/2404907604760405225358828131112281116032698930082119547604265954848982041717359046106827774346003151904701415424 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 -400 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)) (if (<=.f64 x #s(literal 2404907604760405/2404907604760405225358828131112281116032698930082119547604265954848982041717359046106827774346003151904701415424 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y)) #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))

soundness656.0ms (27.1%)

Memory
32.4MiB live, 266.1MiB allocated
Rules
26 396×lower-fma.f64
26 396×lower-fma.f32
5 754×lower-fma.f64
5 754×lower-fma.f32
3 260×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 55 to 37 computations (32.7% saved)

preprocess34.0ms (1.4%)

Memory
-25.6MiB live, 88.3MiB allocated
Compiler

Compiled 80 to 44 computations (45% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...