Data.Colour.CIE:cieLAB from colour-2.3.3, C

Time bar (total: 2.4s)

analyze0.0ms (0%)

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 8 to 6 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-div: 0.0ms (0% of total)
ival-add: 0.0ms (0% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample645.0ms (26.7%)

Results
469.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 168.0ms
ival-div: 81.0ms (48.3% of total)
ival-add: 73.0ms (43.6% of total)
const: 11.0ms (6.6% of total)
backward-pass: 3.0ms (1.8% of total)
Bogosity

preprocess186.0ms (7.7%)

Algorithm
egg-herbie
Rules
292×fnmadd-define
288×fnmsub-define
288×fmsub-define
226×fmm-def
140×sum3-define
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01434
13430
27930
323525
455624
588224
6106724
7108824
055
165
065
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(+ x (/ y 500))
Outputs
(+ x (/ y 500))
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Call 2
Inputs
(+ x (/ y 500))
(+ (neg x) (/ y 500))
(+ x (/ (neg y) 500))
(neg (+ (neg x) (/ y 500)))
(neg (+ x (/ (neg y) 500)))
(+ y (/ x 500))
Outputs
(+ x (/ y 500))
(fma y 1/500 x)
(+ (neg x) (/ y 500))
(fnmsub y -1/500 x)
(+ x (/ (neg y) 500))
(fma y -1/500 x)
(neg (+ (neg x) (/ y 500)))
(fma y -1/500 x)
(neg (+ x (/ (neg y) 500)))
(fnmsub y -1/500 x)
(+ y (/ x 500))
(fma x 1/500 y)

explain79.0ms (3.3%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-(/.f64 y #s(literal 500 binary64))
00-0-(+.f64 x (/.f64 y #s(literal 500 binary64)))
00-0-#s(literal 500 binary64)
00-0-y
Results
46.0ms512×0valid
Compiler

Compiled 35 to 17 computations (51.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-div: 8.0ms (55.2% of total)
ival-add: 5.0ms (34.5% of total)
const: 1.0ms (6.9% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune5.0ms (0.2%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 y #s(literal 500 binary64))
cost-diff0
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Rules
+-lowering-+.f64
+-lowering-+.f32
/-lowering-/.f32
/-lowering-/.f64
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
1611
0611
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(+ x (/ y 500))
x
(/ y 500)
y
500
Outputs
(+ x (/ y 500))
(+.f64 x (/.f64 y #s(literal 500 binary64)))
x
(/ y 500)
(/.f64 y #s(literal 500 binary64))
y
500
#s(literal 500 binary64)

localize20.0ms (0.8%)

Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(/.f64 y #s(literal 500 binary64))
accuracy100.0%
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Results
15.0ms256×0valid
Compiler

Compiled 14 to 6 computations (57.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 2.0ms (46.6% of total)
ival-add: 2.0ms (46.6% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

series2.0ms (0.1%)

Counts
2 → 36
Calls
Call 1
Inputs
#<alt (+ x (/ y 500))>
#<alt (/ y 500)>
Outputs
#<alt (* 1/500 y)>
#<alt (+ x (* 1/500 y))>
#<alt (+ x (* 1/500 y))>
#<alt (+ x (* 1/500 y))>
#<alt x>
#<alt (* x (+ 1 (* 1/500 (/ y x))))>
#<alt (* x (+ 1 (* 1/500 (/ y x))))>
#<alt (* x (+ 1 (* 1/500 (/ y x))))>
#<alt x>
#<alt (* -1 (* x (- (* -1/500 (/ y x)) 1)))>
#<alt (* -1 (* x (- (* -1/500 (/ y x)) 1)))>
#<alt (* -1 (* x (- (* -1/500 (/ y x)) 1)))>
#<alt x>
#<alt (+ x (* 1/500 y))>
#<alt (+ x (* 1/500 y))>
#<alt (+ x (* 1/500 y))>
#<alt (* 1/500 y)>
#<alt (* y (+ 1/500 (/ x y)))>
#<alt (* y (+ 1/500 (/ x y)))>
#<alt (* y (+ 1/500 (/ x y)))>
#<alt (* 1/500 y)>
#<alt (* -1 (* y (- (* -1 (/ x y)) 1/500)))>
#<alt (* -1 (* y (- (* -1 (/ x y)) 1/500)))>
#<alt (* -1 (* y (- (* -1 (/ x y)) 1/500)))>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
Calls

9 calls:

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

rewrite587.0ms (24.3%)

Algorithm
batch-egg-rewrite
Rules
3020×*-lowering-*.f32
3020×*-lowering-*.f64
1446×/-lowering-/.f32
1446×/-lowering-/.f64
1198×unpow-prod-down
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058
1297
22517
340027
083607
Stop Event
iter limit
node limit
Counts
2 → 105
Calls
Call 1
Inputs
(+ x (/ y 500))
(/ y 500)
Outputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
(+.f64 (/.f64 y #s(literal 500 binary64)) x)
(+.f64 (/.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (neg.f64 (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64))))))
(exp.f64 (*.f64 (log.f64 (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal 500 binary64))))) #s(literal -1 binary64)))
(-.f64 x (/.f64 y #s(literal -500 binary64)))
(-.f64 (/.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64)))))
(-.f64 (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (-.f64 (/.f64 y #s(literal 500 binary64)) x)) (/.f64 (*.f64 x x) (-.f64 (/.f64 y #s(literal 500 binary64)) x)))
(fma.f64 x #s(literal 1 binary64) (/.f64 y #s(literal 500 binary64)))
(fma.f64 x (/.f64 x (+.f64 x (/.f64 y #s(literal -500 binary64)))) (neg.f64 (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64))))))
(fma.f64 y #s(literal 1/500 binary64) x)
(fma.f64 (-.f64 #s(literal 0 binary64) y) #s(literal -1/500 binary64) x)
(fma.f64 (*.f64 x x) (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (neg.f64 (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64))))))
(fma.f64 #s(literal 1 binary64) x (/.f64 y #s(literal 500 binary64)))
(fma.f64 #s(literal 1 binary64) (/.f64 y #s(literal 500 binary64)) x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 (/.f64 (*.f64 x x) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y)))) (+.f64 x (/.f64 y #s(literal 500 binary64))) (neg.f64 (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64))))))
(fma.f64 (/.f64 (*.f64 x x) (-.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)))) (+.f64 (*.f64 x x) (*.f64 (/.f64 y #s(literal 500 binary64)) (+.f64 x (/.f64 y #s(literal 500 binary64))))) (neg.f64 (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64))))))
(neg.f64 (/.f64 (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))) (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))))))
(neg.f64 (/.f64 (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y))) (+.f64 (-.f64 #s(literal 0 binary64) x) (/.f64 y #s(literal 500 binary64)))))
(neg.f64 (/.f64 (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)))) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)))))
(neg.f64 (/.f64 (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y)))) (+.f64 x (/.f64 y #s(literal -500 binary64)))))
(/.f64 (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal 500 binary64)))))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal 500 binary64)))) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (-.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (*.f64 x x))))
(/.f64 (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y))) (+.f64 x (/.f64 y #s(literal -500 binary64))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal 500 binary64))))))
(/.f64 (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)))) (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)))))
(/.f64 (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y)))) (+.f64 (-.f64 #s(literal 0 binary64) x) (/.f64 y #s(literal 500 binary64))))
(/.f64 (+.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 (*.f64 (*.f64 y (*.f64 y y)) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 y (*.f64 y y)))) #s(literal 1953125000000000000000000 binary64))) (*.f64 (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))) (+.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)) (-.f64 (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)) (*.f64 x (*.f64 x x)))))))
(/.f64 (-.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (*.f64 x x)) (-.f64 (/.f64 y #s(literal 500 binary64)) x))
(/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 #s(literal 1/15625000000000000 binary64) (*.f64 y (*.f64 y y))))) (*.f64 (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))) (-.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)))))
(/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 #s(literal 1/15625000000000000 binary64) (*.f64 y (*.f64 y y))))) (*.f64 (+.f64 x (/.f64 y #s(literal -500 binary64))) (+.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal 250000 binary64) y)))))))
(/.f64 (-.f64 (*.f64 x (*.f64 x (*.f64 x x))) (/.f64 (*.f64 (*.f64 y y) (*.f64 y y)) #s(literal 62500000000 binary64))) (*.f64 (+.f64 x (/.f64 y #s(literal -500 binary64))) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal 250000 binary64) y)))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (*.f64 (+.f64 x (/.f64 y #s(literal -500 binary64))) (/.f64 y (/.f64 #s(literal 250000 binary64) y)))) (*.f64 (+.f64 x (/.f64 y #s(literal -500 binary64))) (+.f64 x (/.f64 y #s(literal -500 binary64)))))
(/.f64 (*.f64 (+.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 (*.f64 (*.f64 y (*.f64 y y)) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 y (*.f64 y y)))) #s(literal 1953125000000000000000000 binary64))) #s(literal 1 binary64)) (*.f64 (+.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)) (-.f64 (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)) (*.f64 x (*.f64 x x))))) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)))))
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 #s(literal 1/15625000000000000 binary64) (*.f64 y (*.f64 y y))))) #s(literal 1 binary64)) (*.f64 (-.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)))))
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 #s(literal 1/15625000000000000 binary64) (*.f64 y (*.f64 y y))))) #s(literal 1 binary64)) (*.f64 (+.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal 250000 binary64) y))))) (+.f64 x (/.f64 y #s(literal -500 binary64)))))
(/.f64 (*.f64 (-.f64 (*.f64 x (*.f64 x (*.f64 x x))) (/.f64 (*.f64 (*.f64 y y) (*.f64 y y)) #s(literal 62500000000 binary64))) #s(literal 1 binary64)) (*.f64 (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal 250000 binary64) y))) (+.f64 x (/.f64 y #s(literal -500 binary64)))))
(/.f64 (neg.f64 (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))))) (neg.f64 (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))))))
(/.f64 (neg.f64 (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y))))) (neg.f64 (+.f64 (-.f64 #s(literal 0 binary64) x) (/.f64 y #s(literal 500 binary64)))))
(/.f64 (neg.f64 (-.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (*.f64 x x))) (neg.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x)))
(/.f64 (-.f64 (pow.f64 (/.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64)))) #s(literal 3 binary64)) (pow.f64 (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64)))) #s(literal 3 binary64))) (+.f64 (*.f64 (/.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (/.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64))))) (+.f64 (*.f64 (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64))))) (*.f64 (/.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64))))))))
(/.f64 (-.f64 (*.f64 (/.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (/.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64))))) (*.f64 (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64)))))) (+.f64 (/.f64 (*.f64 x x) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (/.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 x (/.f64 y #s(literal -500 binary64))))))
(/.f64 (*.f64 (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))) #s(literal 1 binary64)) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))))
(/.f64 (*.f64 (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y))) #s(literal 1 binary64)) (+.f64 x (/.f64 y #s(literal -500 binary64))))
(/.f64 (*.f64 (+.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 (*.f64 (*.f64 y (*.f64 y y)) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 y (*.f64 y y)))) #s(literal 1953125000000000000000000 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))))) (+.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)) (-.f64 (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)) (*.f64 x (*.f64 x x))))))
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 #s(literal 1/15625000000000000 binary64) (*.f64 y (*.f64 y y))))) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))))) (-.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))))
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 #s(literal 1/15625000000000000 binary64) (*.f64 y (*.f64 y y))))) (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal -500 binary64))))) (+.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal 250000 binary64) y))))))
(/.f64 (*.f64 (-.f64 (*.f64 x (*.f64 x (*.f64 x x))) (/.f64 (*.f64 (*.f64 y y) (*.f64 y y)) #s(literal 62500000000 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal -500 binary64))))) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal 250000 binary64) y))))
(pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal 500 binary64)))) #s(literal -1 binary64))
(pow.f64 (/.f64 (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal 500 binary64)))) #s(literal 1 binary64)) #s(literal -1 binary64))
(pow.f64 (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (-.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (*.f64 x x))) #s(literal -1 binary64))
(*.f64 (+.f64 x (/.f64 y #s(literal 500 binary64))) (*.f64 (+.f64 x (/.f64 y #s(literal -500 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal -500 binary64))))))
(*.f64 (+.f64 x (/.f64 y #s(literal 500 binary64))) (/.f64 (+.f64 x (/.f64 y #s(literal -500 binary64))) (+.f64 x (/.f64 y #s(literal -500 binary64)))))
(*.f64 (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)))))
(*.f64 (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))) (*.f64 (+.f64 x (/.f64 y #s(literal 500 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))))))
(*.f64 (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))) (/.f64 (+.f64 x (/.f64 y #s(literal 500 binary64))) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)))))
(*.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal 500 binary64))))
(*.f64 (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y))) (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal -500 binary64)))))
(*.f64 (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)))) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))))))
(*.f64 (-.f64 #s(literal 0 binary64) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y)))) (/.f64 #s(literal 1 binary64) (+.f64 (-.f64 #s(literal 0 binary64) x) (/.f64 y #s(literal 500 binary64)))))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)))) (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)))) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)))) #s(literal -1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y))))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 x (/.f64 y #s(literal -500 binary64)))) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y)))) #s(literal -1 binary64)))
(*.f64 (-.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (-.f64 (/.f64 y #s(literal 500 binary64)) x)))
(*.f64 (/.f64 (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y))) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y)))) (+.f64 x (/.f64 y #s(literal 500 binary64))))
(*.f64 (/.f64 (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))) (+.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)) (*.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (*.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (-.f64 (/.f64 y #s(literal 500 binary64)) x)))))) (+.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)) (-.f64 (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y)) (*.f64 x x)))))
(*.f64 (/.f64 (+.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64))) (-.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (*.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (-.f64 (/.f64 y #s(literal 500 binary64)) x))))) (-.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))))
(*.f64 (/.f64 (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal -250000 binary64) y))) (-.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)))) (+.f64 (*.f64 x x) (*.f64 (/.f64 y #s(literal 500 binary64)) (+.f64 x (/.f64 y #s(literal 500 binary64))))))
(*.f64 (pow.f64 (/.f64 (+.f64 x (/.f64 y #s(literal -500 binary64))) (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 #s(literal 1/15625000000000000 binary64) (*.f64 y (*.f64 y y)))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (/.f64 y (/.f64 #s(literal 250000 binary64) y)) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal 250000 binary64) y)))))))
(*.f64 (pow.f64 (/.f64 (+.f64 x (/.f64 y #s(literal -500 binary64))) (-.f64 (*.f64 x (*.f64 x (*.f64 x x))) (/.f64 (*.f64 (*.f64 y y) (*.f64 y y)) #s(literal 62500000000 binary64)))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 x x) (/.f64 y (/.f64 #s(literal 250000 binary64) y)))))
(*.f64 (pow.f64 (/.f64 (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))) (+.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 (*.f64 (*.f64 y (*.f64 y y)) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 y (*.f64 y y)))) #s(literal 1953125000000000000000000 binary64)))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)) (-.f64 (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)) (*.f64 x (*.f64 x x)))))))
(*.f64 (pow.f64 (/.f64 (+.f64 (*.f64 x x) (/.f64 (-.f64 (/.f64 y #s(literal 500 binary64)) x) (/.f64 #s(literal 500 binary64) y))) (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 y (*.f64 y y)) (*.f64 #s(literal 1/15625000000000000 binary64) (*.f64 y (*.f64 y y)))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 x (*.f64 x x)) (/.f64 (*.f64 y (*.f64 y y)) #s(literal 125000000 binary64)))))
(exp.f64 (*.f64 (log.f64 (/.f64 #s(literal 500 binary64) y)) #s(literal -1 binary64)))
(exp.f64 (*.f64 (log.f64 (/.f64 y #s(literal 500 binary64))) #s(literal 1 binary64)))
(-.f64 #s(literal 0 binary64) (/.f64 y #s(literal -500 binary64)))
(neg.f64 (/.f64 y #s(literal -500 binary64)))
(neg.f64 (*.f64 (/.f64 y #s(literal -500 binary64)) #s(literal 1 binary64)))
(/.f64 y #s(literal 500 binary64))
(/.f64 (-.f64 #s(literal 0 binary64) y) #s(literal -500 binary64))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 500 binary64) y))
(/.f64 #s(literal 1/500 binary64) (/.f64 #s(literal 1 binary64) y))
(/.f64 #s(literal -1 binary64) (/.f64 #s(literal -500 binary64) y))
(pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 1 binary64))
(pow.f64 (/.f64 #s(literal 500 binary64) y) #s(literal -1 binary64))
(*.f64 y #s(literal 1/500 binary64))
(*.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 1 binary64))
(*.f64 (-.f64 #s(literal 0 binary64) y) #s(literal -1/500 binary64))
(*.f64 #s(literal 1 binary64) (/.f64 y #s(literal 500 binary64)))
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 #s(literal 1/500 binary64) (/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)))
(*.f64 #s(literal 1/500 binary64) (pow.f64 (/.f64 (/.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)) #s(literal -1 binary64)))
(*.f64 #s(literal 1/500 binary64) (pow.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) #s(literal 1 binary64)))
(*.f64 #s(literal -1 binary64) (/.f64 y #s(literal -500 binary64)))
(*.f64 #s(literal -1 binary64) (pow.f64 (/.f64 y #s(literal -500 binary64)) #s(literal 1 binary64)))
(*.f64 #s(literal -1/500 binary64) (-.f64 #s(literal 0 binary64) y))
(*.f64 #s(literal -1/500 binary64) (pow.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) y)) #s(literal -1 binary64)))
(*.f64 #s(literal -1/500 binary64) (pow.f64 (-.f64 #s(literal 0 binary64) y) #s(literal 1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)) #s(literal 1/500 binary64))
(*.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 1/2 binary64)) (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 1/2 binary64)))
(*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) y)) #s(literal -1 binary64)) #s(literal -1/500 binary64))
(*.f64 (pow.f64 (-.f64 #s(literal 0 binary64) y) #s(literal 1 binary64)) #s(literal -1/500 binary64))
(*.f64 (pow.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 1/2 binary64)) #s(literal 1 binary64)) (pow.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 1/2 binary64)) #s(literal 1 binary64)))

simplify173.0ms (7.2%)

Algorithm
egg-herbie
Rules
1544×fnmadd-define
1404×fmsub-define
1344×fnmsub-define
1318×fma-lowering-fma.f32
1318×fma-lowering-fma.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
023138
168120
2160120
3441120
41347120
53754120
66035120
08044120
Stop Event
iter limit
node limit
Counts
36 → 36
Calls
Call 1
Inputs
(* 1/500 y)
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
x
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
(* x (+ 1 (* 1/500 (/ y x))))
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
x
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(+ x (* 1/500 y))
(* 1/500 y)
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* y (+ 1/500 (/ x y)))
(* 1/500 y)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
Outputs
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(+ x (* 1/500 y))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(+ x (* 1/500 y))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(+ x (* 1/500 y))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
x
(* x (+ 1 (* 1/500 (/ y x))))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* x (+ 1 (* 1/500 (/ y x))))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* x (+ 1 (* 1/500 (/ y x))))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
x
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* -1 (* x (- (* -1/500 (/ y x)) 1)))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
x
(+ x (* 1/500 y))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(+ x (* 1/500 y))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(+ x (* 1/500 y))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* y (+ 1/500 (/ x y)))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* y (+ 1/500 (/ x y)))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* y (+ 1/500 (/ x y)))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* -1 (* y (- (* -1 (/ x y)) 1/500)))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)

eval105.0ms (4.3%)

Compiler

Compiled 2711 to 308 computations (88.6% saved)

prune14.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1392141
Fresh000
Picked011
Done000
Total1393142
Accuracy
100.0%
Counts
142 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 y #s(literal 500 binary64)))
48.7%
(*.f64 #s(literal 1/500 binary64) y)
53.1%
x
Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify5.0ms (0.2%)

Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 1/500 binary64) y)
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
156
056
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
x
(* 1/500 y)
1/500
y
Outputs
x
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
1/500
#s(literal 1/500 binary64)
y

localize70.0ms (2.9%)

Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy99.7%
(*.f64 #s(literal 1/500 binary64) y)
Results
65.0ms256×0valid
Compiler

Compiled 9 to 5 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 57.0ms
...c/correct-round.rkt:119:19: 54.0ms (95.2% of total)
ival-mult: 2.0ms (3.5% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

series0.0ms (0%)

Counts
1 → 12
Calls
Call 1
Inputs
#<alt (* 1/500 y)>
Outputs
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
#<alt (* 1/500 y)>
Calls

3 calls:

TimeVariablePointExpression
0.0ms
y
@inf
(* 1/500 y)
0.0ms
y
@0
(* 1/500 y)
0.0ms
y
@-inf
(* 1/500 y)

rewrite10.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
143
043
Stop Event
iter limit
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(* 1/500 y)
Outputs
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 y #s(literal 1/500 binary64))

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0336
1436
0436
Stop Event
iter limit
saturated
Counts
12 → 12
Calls
Call 1
Inputs
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
(* 1/500 y)
Outputs
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)
(* 1/500 y)
(*.f64 #s(literal 1/500 binary64) y)

eval2.0ms (0.1%)

Compiler

Compiled 44 to 5 computations (88.6% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New14014
Fresh000
Picked022
Done011
Total14317
Accuracy
100.0%
Counts
17 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 y #s(literal 500 binary64)))
48.7%
(*.f64 #s(literal 1/500 binary64) y)
53.1%
x
Compiler

Compiled 26 to 18 computations (30.8% saved)

regimes8.0ms (0.3%)

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

4 calls:

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

Compiled 18 to 13 computations (27.8% saved)

regimes5.0ms (0.2%)

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

2 calls:

3.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
79.1%3x
80.4%3y
Compiler

Compiled 6 to 4 computations (33.3% saved)

regimes3.0ms (0.1%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
x
Outputs
x
Calls

2 calls:

1.0ms
x
1.0ms
y
Results
AccuracySegmentsBranch
53.1%1x
53.1%1y
Compiler

Compiled 6 to 4 computations (33.3% saved)

bsearch48.0ms (2%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
34.0ms
2.853523388057395e+108
8.939062516627886e+112
11.0ms
-1.3088063108905112e+38
-3.6211100586841377e+27
Results
37.0ms288×0valid
Compiler

Compiled 192 to 153 computations (20.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 2.0ms (45.1% of total)
ival-add: 1.0ms (22.5% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

simplify32.0ms (1.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
if-if-or-not_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01319
11819
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
(if (<=.f64 y #s(literal -23000000000000000237804896654031060992 binary64)) (*.f64 #s(literal 1/500 binary64) y) (if (<=.f64 y #s(literal 2900000000000000072523015470626769421101421875527363876910153634105854279854684664812870050533417154024308736 binary64)) x (*.f64 #s(literal 1/500 binary64) y)))
x
Outputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
(if (<=.f64 y #s(literal -23000000000000000237804896654031060992 binary64)) (*.f64 #s(literal 1/500 binary64) y) (if (<=.f64 y #s(literal 2900000000000000072523015470626769421101421875527363876910153634105854279854684664812870050533417154024308736 binary64)) x (*.f64 #s(literal 1/500 binary64) y)))
(if (<=.f64 y #s(literal -23000000000000000237804896654031060992 binary64)) (*.f64 y #s(literal 1/500 binary64)) (if (<=.f64 y #s(literal 2900000000000000072523015470626769421101421875527363876910153634105854279854684664812870050533417154024308736 binary64)) x (*.f64 y #s(literal 1/500 binary64))))
x

soundness373.0ms (15.5%)

Rules
1544×fnmadd-define
1404×fmsub-define
1344×fnmsub-define
1318×fma-lowering-fma.f32
1318×fma-lowering-fma.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
023138
168120
2160120
3441120
41347120
53754120
66035120
08044120
Stop Event
done
iter limit
node limit
Compiler

Compiled 34 to 21 computations (38.2% saved)

preprocess26.0ms (1.1%)

Compiler

Compiled 60 to 36 computations (40% saved)

end0.0ms (0%)

Profiling

Loading profile data...