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

Time bar (total: 3.0s)

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)

sample1.3s (42.3%)

Results
916.0ms8256×body256valid
Bogosity

preprocess822.0ms (27.4%)

Algorithm
egg-herbie
Rules
328×fma-def
52×cancel-sign-sub-inv
50×sub-neg
44×distribute-rgt-in
34×distribute-lft-neg-in
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
01560
12652
24252
36548
412348
520344
632244
743144
849040
953840
1056340
1156740
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 x (/.f64 y 500))
(+.f64 (neg.f64 x) (/.f64 y 500))
(+.f64 x (/.f64 (neg.f64 y) 500))
(+.f64 y (/.f64 x 500))
Outputs
(+.f64 x (/.f64 y 500))
(+.f64 x (*.f64 y 1/500))
(fma.f64 y 1/500 x)
(+.f64 (neg.f64 x) (/.f64 y 500))
(+.f64 (/.f64 y 500) (neg.f64 x))
(-.f64 (/.f64 y 500) x)
(-.f64 (*.f64 y 1/500) x)
(+.f64 x (/.f64 (neg.f64 y) 500))
(-.f64 x (/.f64 y 500))
(+.f64 x (*.f64 -1/500 y))
(fma.f64 -1/500 y x)
(fma.f64 y -1/500 x)
(+.f64 y (/.f64 x 500))
(+.f64 y (*.f64 1/500 x))
(fma.f64 1/500 x y)
(fma.f64 x 1/500 y)
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
1813
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(+.f64 x (/.f64 y 500))
Outputs
(+.f64 x (/.f64 y 500))

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Accurracy
100.0%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 y 500))
100.0%
(+.f64 x (/.f64 y 500))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize396.0ms (13.2%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(+.f64 x (/.f64 y 500))
Compiler

Compiled 14 to 9 computations (35.7% saved)

series1.0ms (0%)

Counts
1 → 24
Calls

6 calls:

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

rewrite57.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
1682×pow1
1578×add-exp-log
1578×log1p-expm1-u
1578×expm1-log1p-u
1548×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0713
11589
221319
Stop Event
node limit
Counts
1 → 34
Calls
Call 1
Inputs
(+.f64 x (/.f64 y 500))
Outputs
(-.f64 (+.f64 1 (fma.f64 y 1/500 x)) 1)
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 y 1/500))) (/.f64 (*.f64 (*.f64 y y) 1/250000) (-.f64 x (*.f64 y 1/500))))
(*.f64 (fma.f64 y 1/500 x) 1)
(*.f64 1 (fma.f64 y 1/500 x))
(*.f64 (cbrt.f64 (fma.f64 y 1/500 x)) (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2) (cbrt.f64 (fma.f64 y 1/500 x)))
(*.f64 (sqrt.f64 (fma.f64 y 1/500 x)) (sqrt.f64 (fma.f64 y 1/500 x)))
(*.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x)))))
(*.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (/.f64 1 (-.f64 x (*.f64 y 1/500))))
(/.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x))) (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3))))
(/.f64 1 (/.f64 (-.f64 x (*.f64 y 1/500)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000))))
(/.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x))))
(/.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 y y) 1/250000) (-.f64 (*.f64 x x) (*.f64 x (*.f64 y 1/500)))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 y 1/500)))
(/.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x)))))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000))) (neg.f64 (-.f64 x (*.f64 y 1/500))))
(/.f64 (-.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x x)) (-.f64 (*.f64 y 1/500) x))
(pow.f64 (fma.f64 y 1/500 x) 1)
(pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 3)
(pow.f64 (pow.f64 (fma.f64 y 1/500 x) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 y 1/500 x)) 2)
(sqrt.f64 (pow.f64 (fma.f64 y 1/500 x) 2))
(log.f64 (exp.f64 (fma.f64 y 1/500 x)))
(cbrt.f64 (pow.f64 (fma.f64 y 1/500 x) 3))
(expm1.f64 (log1p.f64 (fma.f64 y 1/500 x)))
(exp.f64 (log.f64 (fma.f64 y 1/500 x)))
(log1p.f64 (expm1.f64 (fma.f64 y 1/500 x)))
(fma.f64 y 1/500 x)
(fma.f64 1 x (*.f64 y 1/500))
(fma.f64 1 (*.f64 y 1/500) x)
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 y 1/500)) 2) (cbrt.f64 (*.f64 y 1/500)) x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 y 1/500))
(fma.f64 (sqrt.f64 (*.f64 y 1/500)) (sqrt.f64 (*.f64 y 1/500)) x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 y 1/500))

simplify53.0ms (1.8%)

Algorithm
egg-herbie
Rules
1174×fma-neg
950×cancel-sign-sub-inv
824×associate-*r*
780×associate-*l*
642×div-sub
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
092976
1229922
2747878
34455878
Stop Event
node limit
Counts
58 → 44
Calls
Call 1
Inputs
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
x
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
x
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
x
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(-.f64 (+.f64 1 (fma.f64 y 1/500 x)) 1)
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 y 1/500))) (/.f64 (*.f64 (*.f64 y y) 1/250000) (-.f64 x (*.f64 y 1/500))))
(*.f64 (fma.f64 y 1/500 x) 1)
(*.f64 1 (fma.f64 y 1/500 x))
(*.f64 (cbrt.f64 (fma.f64 y 1/500 x)) (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2) (cbrt.f64 (fma.f64 y 1/500 x)))
(*.f64 (sqrt.f64 (fma.f64 y 1/500 x)) (sqrt.f64 (fma.f64 y 1/500 x)))
(*.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x)))))
(*.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (/.f64 1 (-.f64 x (*.f64 y 1/500))))
(/.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x))) (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3))))
(/.f64 1 (/.f64 (-.f64 x (*.f64 y 1/500)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000))))
(/.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x))))
(/.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 y y) 1/250000) (-.f64 (*.f64 x x) (*.f64 x (*.f64 y 1/500)))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 y 1/500)))
(/.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x)))))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000))) (neg.f64 (-.f64 x (*.f64 y 1/500))))
(/.f64 (-.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x x)) (-.f64 (*.f64 y 1/500) x))
(pow.f64 (fma.f64 y 1/500 x) 1)
(pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 3)
(pow.f64 (pow.f64 (fma.f64 y 1/500 x) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 y 1/500 x)) 2)
(sqrt.f64 (pow.f64 (fma.f64 y 1/500 x) 2))
(log.f64 (exp.f64 (fma.f64 y 1/500 x)))
(cbrt.f64 (pow.f64 (fma.f64 y 1/500 x) 3))
(expm1.f64 (log1p.f64 (fma.f64 y 1/500 x)))
(exp.f64 (log.f64 (fma.f64 y 1/500 x)))
(log1p.f64 (expm1.f64 (fma.f64 y 1/500 x)))
(fma.f64 y 1/500 x)
(fma.f64 1 x (*.f64 y 1/500))
(fma.f64 1 (*.f64 y 1/500) x)
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 y 1/500)) 2) (cbrt.f64 (*.f64 y 1/500)) x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 y 1/500))
(fma.f64 (sqrt.f64 (*.f64 y 1/500)) (sqrt.f64 (*.f64 y 1/500)) x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 y 1/500))
Outputs
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
x
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
x
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
x
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(-.f64 (+.f64 1 (fma.f64 y 1/500 x)) 1)
(fma.f64 1/500 y x)
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 y 1/500))) (/.f64 (*.f64 (*.f64 y y) 1/250000) (-.f64 x (*.f64 y 1/500))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 1/500 y)))
(/.f64 (fma.f64 x x (*.f64 (*.f64 y y) -1/250000)) (+.f64 x (*.f64 y -1/500)))
(/.f64 (fma.f64 y (*.f64 y -1/250000) (*.f64 x x)) (fma.f64 y -1/500 x))
(*.f64 (fma.f64 y 1/500 x) 1)
(fma.f64 1/500 y x)
(*.f64 1 (fma.f64 y 1/500 x))
(fma.f64 1/500 y x)
(*.f64 (cbrt.f64 (fma.f64 y 1/500 x)) (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2))
(fma.f64 1/500 y x)
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 2) (cbrt.f64 (fma.f64 y 1/500 x)))
(fma.f64 1/500 y x)
(*.f64 (sqrt.f64 (fma.f64 y 1/500 x)) (sqrt.f64 (fma.f64 y 1/500 x)))
(fma.f64 1/500 y x)
(*.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x)))))
(/.f64 (*.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) 1) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 y 1/500 (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 1/500 y (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 y (*.f64 y 1/250000) (*.f64 x (fma.f64 y -1/500 x))))
(*.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (/.f64 1 (-.f64 x (*.f64 y 1/500))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 1/500 y)))
(/.f64 (fma.f64 x x (*.f64 (*.f64 y y) -1/250000)) (+.f64 x (*.f64 y -1/500)))
(/.f64 (fma.f64 y (*.f64 y -1/250000) (*.f64 x x)) (fma.f64 y -1/500 x))
(/.f64 1 (/.f64 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x))) (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3))))
(/.f64 (*.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) 1) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 y 1/500 (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 1/500 y (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 y (*.f64 y 1/250000) (*.f64 x (fma.f64 y -1/500 x))))
(/.f64 1 (/.f64 (-.f64 x (*.f64 y 1/500)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 1/500 y)))
(/.f64 (fma.f64 x x (*.f64 (*.f64 y y) -1/250000)) (+.f64 x (*.f64 y -1/500)))
(/.f64 (fma.f64 y (*.f64 y -1/250000) (*.f64 x x)) (fma.f64 y -1/500 x))
(/.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x))))
(/.f64 (*.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) 1) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 y 1/500 (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 1/500 y (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 y (*.f64 y 1/250000) (*.f64 x (fma.f64 y -1/500 x))))
(/.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 y y) 1/250000) (-.f64 (*.f64 x x) (*.f64 x (*.f64 y 1/500)))))
(/.f64 (*.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) 1) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 y 1/500 (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 1/500 y (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 y (*.f64 y 1/250000) (*.f64 x (fma.f64 y -1/500 x))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 y 1/500)))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 1/500 y)))
(/.f64 (fma.f64 x x (*.f64 (*.f64 y y) -1/250000)) (+.f64 x (*.f64 y -1/500)))
(/.f64 (fma.f64 y (*.f64 y -1/250000) (*.f64 x x)) (fma.f64 y -1/500 x))
(/.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 y 3) 1/125000000) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (*.f64 (*.f64 y 1/500) (-.f64 (*.f64 y 1/500) x)))))
(/.f64 (*.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) 1) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 y 1/500 (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 x x (*.f64 y (*.f64 1/500 (fma.f64 1/500 y (neg.f64 x))))))
(/.f64 (fma.f64 (pow.f64 y 3) 1/125000000 (pow.f64 x 3)) (fma.f64 y (*.f64 y 1/250000) (*.f64 x (fma.f64 y -1/500 x))))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000))) (neg.f64 (-.f64 x (*.f64 y 1/500))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 1/500 y)))
(/.f64 (fma.f64 x x (*.f64 (*.f64 y y) -1/250000)) (+.f64 x (*.f64 y -1/500)))
(/.f64 (fma.f64 y (*.f64 y -1/250000) (*.f64 x x)) (fma.f64 y -1/500 x))
(/.f64 (-.f64 (*.f64 (*.f64 y y) 1/250000) (*.f64 x x)) (-.f64 (*.f64 y 1/500) x))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) 1/250000)) (-.f64 x (*.f64 1/500 y)))
(/.f64 (fma.f64 x x (*.f64 (*.f64 y y) -1/250000)) (+.f64 x (*.f64 y -1/500)))
(/.f64 (fma.f64 y (*.f64 y -1/250000) (*.f64 x x)) (fma.f64 y -1/500 x))
(pow.f64 (fma.f64 y 1/500 x) 1)
(fma.f64 1/500 y x)
(pow.f64 (cbrt.f64 (fma.f64 y 1/500 x)) 3)
(fma.f64 1/500 y x)
(pow.f64 (pow.f64 (fma.f64 y 1/500 x) 3) 1/3)
(fma.f64 1/500 y x)
(pow.f64 (sqrt.f64 (fma.f64 y 1/500 x)) 2)
(fma.f64 1/500 y x)
(sqrt.f64 (pow.f64 (fma.f64 y 1/500 x) 2))
(fma.f64 1/500 y x)
(log.f64 (exp.f64 (fma.f64 y 1/500 x)))
(fma.f64 1/500 y x)
(cbrt.f64 (pow.f64 (fma.f64 y 1/500 x) 3))
(fma.f64 1/500 y x)
(expm1.f64 (log1p.f64 (fma.f64 y 1/500 x)))
(fma.f64 1/500 y x)
(exp.f64 (log.f64 (fma.f64 y 1/500 x)))
(fma.f64 1/500 y x)
(log1p.f64 (expm1.f64 (fma.f64 y 1/500 x)))
(fma.f64 1/500 y x)
(fma.f64 y 1/500 x)
(fma.f64 1/500 y x)
(fma.f64 1 x (*.f64 y 1/500))
(fma.f64 1/500 y x)
(fma.f64 1 (*.f64 y 1/500) x)
(fma.f64 1/500 y x)
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 y 1/500)) 2) (cbrt.f64 (*.f64 y 1/500)) x)
(fma.f64 1/500 y x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 y 1/500))
(fma.f64 1/500 y x)
(fma.f64 (sqrt.f64 (*.f64 y 1/500)) (sqrt.f64 (*.f64 y 1/500)) x)
(fma.f64 1/500 y x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 y 1/500))
(fma.f64 1/500 y x)

eval16.0ms (0.5%)

Compiler

Compiled 521 to 327 computations (37.2% saved)

prune7.0ms (0.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New41344
Fresh000
Picked011
Done000
Total41445
Accurracy
100.0%
Counts
45 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
50.7%
(*.f64 1/500 y)
50.7%
x
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
50.7%
(*.f64 1/500 y)
50.7%
x
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize25.0ms (0.8%)

Local Accuracy

Found 2 expressions with local accuracy:

NewAccuracyProgram
99.9%
(fma.f64 y 1/500 x)
99.8%
(*.f64 1/500 y)
Compiler

Compiled 15 to 9 computations (40% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

9 calls:

TimeVariablePointExpression
0.0ms
y
@0
(fma.f64 y 1/500 x)
0.0ms
y
@-inf
(*.f64 1/500 y)
0.0ms
y
@inf
(*.f64 1/500 y)
0.0ms
y
@-inf
(fma.f64 y 1/500 x)
0.0ms
y
@0
(*.f64 1/500 y)

rewrite55.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
1434×pow1
1312×add-exp-log
1312×log1p-expm1-u
1312×expm1-log1p-u
1282×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
115916
2178616
Stop Event
node limit
Counts
2 → 31
Calls
Call 1
Inputs
(*.f64 1/500 y)
(fma.f64 y 1/500 x)
Outputs
(-.f64 (+.f64 1 (*.f64 1/500 y)) 1)
(pow.f64 (*.f64 1/500 y) 1)
(pow.f64 (cbrt.f64 (*.f64 1/500 y)) 3)
(pow.f64 (pow.f64 (*.f64 1/500 y) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 1/500 y)) 2)
(sqrt.f64 (*.f64 1/250000 (*.f64 y y)))
(log.f64 (pow.f64 (exp.f64 1/500) y))
(cbrt.f64 (pow.f64 (*.f64 1/500 y) 3))
(expm1.f64 (log1p.f64 (*.f64 1/500 y)))
(exp.f64 (log.f64 (*.f64 1/500 y)))
(log1p.f64 (expm1.f64 (*.f64 1/500 y)))
(+.f64 (*.f64 1/500 y) x)
(+.f64 x (*.f64 1/500 y))
(-.f64 (+.f64 1 (fma.f64 1/500 y x)) 1)
(*.f64 (fma.f64 1/500 y x) 1)
(*.f64 1 (fma.f64 1/500 y x))
(*.f64 (cbrt.f64 (fma.f64 1/500 y x)) (pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 2) (cbrt.f64 (fma.f64 1/500 y x)))
(*.f64 (sqrt.f64 (fma.f64 1/500 y x)) (sqrt.f64 (fma.f64 1/500 y x)))
(/.f64 (+.f64 (pow.f64 (*.f64 1/500 y) 3) (pow.f64 x 3)) (+.f64 (*.f64 1/250000 (*.f64 y y)) (-.f64 (*.f64 x x) (*.f64 (*.f64 1/500 y) x))))
(/.f64 (-.f64 (*.f64 1/250000 (*.f64 y y)) (*.f64 x x)) (-.f64 (*.f64 1/500 y) x))
(pow.f64 (fma.f64 1/500 y x) 1)
(pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 3)
(pow.f64 (pow.f64 (fma.f64 1/500 y x) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 1/500 y x)) 2)
(sqrt.f64 (pow.f64 (fma.f64 1/500 y x) 2))
(log.f64 (exp.f64 (fma.f64 1/500 y x)))
(cbrt.f64 (pow.f64 (fma.f64 1/500 y x) 3))
(expm1.f64 (log1p.f64 (fma.f64 1/500 y x)))
(exp.f64 (log.f64 (fma.f64 1/500 y x)))
(log1p.f64 (expm1.f64 (fma.f64 1/500 y x)))

simplify63.0ms (2.1%)

Algorithm
egg-herbie
Rules
1084×log-prod
1066×associate-*r*
920×associate-*l*
670×fma-neg
548×cancel-sign-sub-inv
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
074531
1174527
2717527
34740527
Stop Event
node limit
Counts
55 → 40
Calls
Call 1
Inputs
x
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
x
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
x
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(+.f64 (*.f64 1/500 y) x)
(-.f64 (+.f64 1 (*.f64 1/500 y)) 1)
(pow.f64 (*.f64 1/500 y) 1)
(pow.f64 (cbrt.f64 (*.f64 1/500 y)) 3)
(pow.f64 (pow.f64 (*.f64 1/500 y) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 1/500 y)) 2)
(sqrt.f64 (*.f64 1/250000 (*.f64 y y)))
(log.f64 (pow.f64 (exp.f64 1/500) y))
(cbrt.f64 (pow.f64 (*.f64 1/500 y) 3))
(expm1.f64 (log1p.f64 (*.f64 1/500 y)))
(exp.f64 (log.f64 (*.f64 1/500 y)))
(log1p.f64 (expm1.f64 (*.f64 1/500 y)))
(+.f64 (*.f64 1/500 y) x)
(+.f64 x (*.f64 1/500 y))
(-.f64 (+.f64 1 (fma.f64 1/500 y x)) 1)
(*.f64 (fma.f64 1/500 y x) 1)
(*.f64 1 (fma.f64 1/500 y x))
(*.f64 (cbrt.f64 (fma.f64 1/500 y x)) (pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 2) (cbrt.f64 (fma.f64 1/500 y x)))
(*.f64 (sqrt.f64 (fma.f64 1/500 y x)) (sqrt.f64 (fma.f64 1/500 y x)))
(/.f64 (+.f64 (pow.f64 (*.f64 1/500 y) 3) (pow.f64 x 3)) (+.f64 (*.f64 1/250000 (*.f64 y y)) (-.f64 (*.f64 x x) (*.f64 (*.f64 1/500 y) x))))
(/.f64 (-.f64 (*.f64 1/250000 (*.f64 y y)) (*.f64 x x)) (-.f64 (*.f64 1/500 y) x))
(pow.f64 (fma.f64 1/500 y x) 1)
(pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 3)
(pow.f64 (pow.f64 (fma.f64 1/500 y x) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 1/500 y x)) 2)
(sqrt.f64 (pow.f64 (fma.f64 1/500 y x) 2))
(log.f64 (exp.f64 (fma.f64 1/500 y x)))
(cbrt.f64 (pow.f64 (fma.f64 1/500 y x) 3))
(expm1.f64 (log1p.f64 (fma.f64 1/500 y x)))
(exp.f64 (log.f64 (fma.f64 1/500 y x)))
(log1p.f64 (expm1.f64 (fma.f64 1/500 y x)))
Outputs
x
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
x
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
x
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(-.f64 (+.f64 1 (*.f64 1/500 y)) 1)
(*.f64 1/500 y)
(pow.f64 (*.f64 1/500 y) 1)
(*.f64 1/500 y)
(pow.f64 (cbrt.f64 (*.f64 1/500 y)) 3)
(*.f64 1/500 y)
(pow.f64 (pow.f64 (*.f64 1/500 y) 3) 1/3)
(*.f64 1/500 y)
(pow.f64 (sqrt.f64 (*.f64 1/500 y)) 2)
(*.f64 1/500 y)
(sqrt.f64 (*.f64 1/250000 (*.f64 y y)))
(*.f64 1/500 y)
(log.f64 (pow.f64 (exp.f64 1/500) y))
(*.f64 1/500 y)
(cbrt.f64 (pow.f64 (*.f64 1/500 y) 3))
(*.f64 1/500 y)
(expm1.f64 (log1p.f64 (*.f64 1/500 y)))
(*.f64 1/500 y)
(exp.f64 (log.f64 (*.f64 1/500 y)))
(*.f64 1/500 y)
(log1p.f64 (expm1.f64 (*.f64 1/500 y)))
(*.f64 1/500 y)
(+.f64 (*.f64 1/500 y) x)
(fma.f64 1/500 y x)
(+.f64 x (*.f64 1/500 y))
(fma.f64 1/500 y x)
(-.f64 (+.f64 1 (fma.f64 1/500 y x)) 1)
(fma.f64 1/500 y x)
(*.f64 (fma.f64 1/500 y x) 1)
(fma.f64 1/500 y x)
(*.f64 1 (fma.f64 1/500 y x))
(fma.f64 1/500 y x)
(*.f64 (cbrt.f64 (fma.f64 1/500 y x)) (pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 2))
(fma.f64 1/500 y x)
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 2) (cbrt.f64 (fma.f64 1/500 y x)))
(fma.f64 1/500 y x)
(*.f64 (sqrt.f64 (fma.f64 1/500 y x)) (sqrt.f64 (fma.f64 1/500 y x)))
(fma.f64 1/500 y x)
(/.f64 (+.f64 (pow.f64 (*.f64 1/500 y) 3) (pow.f64 x 3)) (+.f64 (*.f64 1/250000 (*.f64 y y)) (-.f64 (*.f64 x x) (*.f64 (*.f64 1/500 y) x))))
(/.f64 (+.f64 (*.f64 1/125000000 (pow.f64 y 3)) (pow.f64 x 3)) (fma.f64 1/250000 (*.f64 y y) (*.f64 x (-.f64 x (*.f64 1/500 y)))))
(/.f64 (fma.f64 1/125000000 (pow.f64 y 3) (pow.f64 x 3)) (fma.f64 x (+.f64 x (*.f64 y -1/500)) (*.f64 y (*.f64 y 1/250000))))
(/.f64 (fma.f64 1/125000000 (pow.f64 y 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 1/500 y)) (*.f64 y (*.f64 y 1/250000))))
(/.f64 (fma.f64 1/125000000 (pow.f64 y 3) (pow.f64 x 3)) (fma.f64 x x (*.f64 (*.f64 1/500 y) (fma.f64 1/500 y (neg.f64 x)))))
(/.f64 (-.f64 (*.f64 1/250000 (*.f64 y y)) (*.f64 x x)) (-.f64 (*.f64 1/500 y) x))
(/.f64 (-.f64 (*.f64 y (*.f64 y 1/250000)) (*.f64 x x)) (-.f64 (*.f64 1/500 y) x))
(/.f64 (-.f64 (*.f64 y (*.f64 y 1/250000)) (*.f64 x x)) (fma.f64 1/500 y (neg.f64 x)))
(pow.f64 (fma.f64 1/500 y x) 1)
(fma.f64 1/500 y x)
(pow.f64 (cbrt.f64 (fma.f64 1/500 y x)) 3)
(fma.f64 1/500 y x)
(pow.f64 (pow.f64 (fma.f64 1/500 y x) 3) 1/3)
(fma.f64 1/500 y x)
(pow.f64 (sqrt.f64 (fma.f64 1/500 y x)) 2)
(fma.f64 1/500 y x)
(sqrt.f64 (pow.f64 (fma.f64 1/500 y x) 2))
(fma.f64 1/500 y x)
(log.f64 (exp.f64 (fma.f64 1/500 y x)))
(fma.f64 1/500 y x)
(cbrt.f64 (pow.f64 (fma.f64 1/500 y x) 3))
(fma.f64 1/500 y x)
(expm1.f64 (log1p.f64 (fma.f64 1/500 y x)))
(fma.f64 1/500 y x)
(exp.f64 (log.f64 (fma.f64 1/500 y x)))
(fma.f64 1/500 y x)
(log1p.f64 (expm1.f64 (fma.f64 1/500 y x)))
(fma.f64 1/500 y x)

eval8.0ms (0.3%)

Compiler

Compiled 361 to 242 computations (33% saved)

prune8.0ms (0.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New40040
Fresh011
Picked022
Done011
Total40444
Accurracy
100.0%
Counts
44 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
50.7%
(*.f64 1/500 y)
50.7%
x
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
50.7%
(*.f64 1/500 y)
50.7%
x
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune3.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Accurracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
50.7%
(*.f64 1/500 y)
50.7%
x
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
50.7%
(*.f64 1/500 y)
50.7%
x
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Accurracy
100.0%
Counts
4 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
50.7%
(*.f64 1/500 y)
50.7%
x
Compiler

Compiled 36 to 24 computations (33.3% saved)

regimes36.0ms (1.2%)

Counts
4 → 1
Calls
Call 1
Inputs
x
(*.f64 1/500 y)
(+.f64 x (/.f64 y 500))
(fma.f64 y 1/500 x)
Outputs
(+.f64 x (/.f64 y 500))
Calls

4 calls:

23.0ms
(+.f64 x (/.f64 y 500))
5.0ms
x
4.0ms
(/.f64 y 500)
4.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 x (/.f64 y 500))
100.0%1(/.f64 y 500)
Compiler

Compiled 33 to 22 computations (33.3% saved)

regimes26.0ms (0.9%)

Counts
2 → 5
Calls
Call 1
Inputs
x
(*.f64 1/500 y)
Outputs
x
(*.f64 1/500 y)
x
(*.f64 1/500 y)
x
Calls

2 calls:

14.0ms
x
12.0ms
y
Results
AccuracySegmentsBranch
81.2%5x
74.1%3y
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes7.0ms (0.2%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

4.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
50.7%1y
50.7%1x
Compiler

Compiled 9 to 6 computations (33.3% saved)

bsearch100.0ms (3.3%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
1.2983871706128168e-31
2.9732556557407478e-30
64.0ms
-3.300319214446369e-86
-1.152841260461027e-88
15.0ms
-9.388364571592759e+65
-1.3567559277923957e+60
10.0ms
-5.049851202918005e+110
-7.704340619721609e+108
Results
95.0ms496×body256valid
Compiler

Compiled 322 to 257 computations (20.2% saved)

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Rules
not-or
not-not
if-if-or-not
if-not
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02467
13167
23467
34067
44467
54867
64967
75067
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 x (/.f64 y 500))
(if (<=.f64 x -7799999999999999691562804425630749947368696957679714620071259919407778940303815961489610594414104416941506560) x (if (<=.f64 x -380000000000000011024762498254476647881847656514392719086111948800) (*.f64 1/500 y) (if (<=.f64 x -4619473530741721/139984046386112763159840142535527767382602843577165595931249318810236991948760059086304843329475444736) x (if (<=.f64 x 2169416492913059/1427247692705959881058285969449495136382746624) (*.f64 1/500 y) x))))
x
Outputs
(+.f64 x (/.f64 y 500))
(if (<=.f64 x -7799999999999999691562804425630749947368696957679714620071259919407778940303815961489610594414104416941506560) x (if (<=.f64 x -380000000000000011024762498254476647881847656514392719086111948800) (*.f64 1/500 y) (if (<=.f64 x -4619473530741721/139984046386112763159840142535527767382602843577165595931249318810236991948760059086304843329475444736) x (if (<=.f64 x 2169416492913059/1427247692705959881058285969449495136382746624) (*.f64 1/500 y) x))))
(if (<=.f64 x -7799999999999999691562804425630749947368696957679714620071259919407778940303815961489610594414104416941506560) x (if (<=.f64 x -380000000000000011024762498254476647881847656514392719086111948800) (*.f64 y 1/500) (if (<=.f64 x -4619473530741721/139984046386112763159840142535527767382602843577165595931249318810236991948760059086304843329475444736) x (if (<=.f64 x 2169416492913059/1427247692705959881058285969449495136382746624) (*.f64 y 1/500) x))))
x
Compiler

Compiled 37 to 25 computations (32.4% saved)

soundness0.0ms (0%)

end0.0ms (0%)

preprocess31.0ms (1%)

Compiler

Compiled 80 to 52 computations (35% saved)

Profiling

Loading profile data...