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

Details

Time bar (total: 2.2s)

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.6s (73.2%)

Results
1.6s8256×body256valid
Bogosity

preprocess15.0ms (0.7%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
11126
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(+.f64 x (/.f64 y 500))
(+.f64 y (/.f64 x 500))
Outputs
(+.f64 x (/.f64 y 500))
(+.f64 y (/.f64 x 500))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify14.0ms (0.7%)

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)

localize23.0ms (1.1%)

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.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite64.0ms (3%)

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))

simplify106.0ms (4.9%)

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)

eval11.0ms (0.5%)

Compiler

Compiled 521 to 327 computations (37.2% saved)

prune8.0ms (0.4%)

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))
48.7%
(*.f64 1/500 y)
52.3%
x
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
48.7%
(*.f64 1/500 y)
52.3%
x
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize29.0ms (1.3%)

Local Accuracy

Found 2 expressions with local accuracy:

NewAccuracyProgram
99.9%
(fma.f64 y 1/500 x)
99.9%
(*.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)

rewrite74.0ms (3.4%)

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)))

simplify52.0ms (2.4%)

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.4%)

Compiler

Compiled 361 to 242 computations (33% saved)

prune8.0ms (0.4%)

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))
48.7%
(*.f64 1/500 y)
52.3%
x
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
48.7%
(*.f64 1/500 y)
52.3%
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))
48.7%
(*.f64 1/500 y)
52.3%
x
99.9%
(fma.f64 y 1/500 x)
100.0%
(+.f64 x (/.f64 y 500))
48.7%
(*.f64 1/500 y)
52.3%
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))
48.7%
(*.f64 1/500 y)
52.3%
x
Compiler

Compiled 36 to 24 computations (33.3% saved)

regimes19.0ms (0.9%)

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:

6.0ms
x
4.0ms
(/.f64 y 500)
4.0ms
(+.f64 x (/.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)

regimes27.0ms (1.2%)

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:

17.0ms
x
9.0ms
y
Results
AccuracySegmentsBranch
79.4%5x
76.0%3y
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes6.0ms (0.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

3.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
52.3%1y
52.3%1x
Compiler

Compiled 9 to 6 computations (33.3% saved)

bsearch59.0ms (2.7%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
6.0ms
6.081977656538098e+57
9.426023356751911e+57
12.0ms
-6.79618899239724e-88
-8.792584597219144e-90
32.0ms
-1.7674715070993112e+37
-6.954065665566267e+25
9.0ms
-1.1058272296667092e+73
-7.47819041643913e+71
Results
54.0ms432×body256valid
Compiler

Compiled 282 to 225 computations (20.2% saved)

simplify7.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 -750000000000000006891215519304371735510022965575306774457744828917612544) x (if (<=.f64 x -5700000000000000197784854593536) (*.f64 1/500 y) (if (<=.f64 x -5912926119349403/8958978968711216842229769122273777112486581988938598139599956403855167484720643781523509973086428463104) x (if (<=.f64 x 6200000000000000264904576743728587498026488243508123533312) (*.f64 1/500 y) x))))
x
Outputs
(+.f64 x (/.f64 y 500))
(if (<=.f64 x -750000000000000006891215519304371735510022965575306774457744828917612544) x (if (<=.f64 x -5700000000000000197784854593536) (*.f64 1/500 y) (if (<=.f64 x -5912926119349403/8958978968711216842229769122273777112486581988938598139599956403855167484720643781523509973086428463104) x (if (<=.f64 x 6200000000000000264904576743728587498026488243508123533312) (*.f64 1/500 y) x))))
(if (<=.f64 x -750000000000000006891215519304371735510022965575306774457744828917612544) x (if (<=.f64 x -5700000000000000197784854593536) (*.f64 y 1/500) (if (<=.f64 x -5912926119349403/8958978968711216842229769122273777112486581988938598139599956403855167484720643781523509973086428463104) x (if (<=.f64 x 6200000000000000264904576743728587498026488243508123533312) (*.f64 y 1/500) x))))
x
Compiler

Compiled 37 to 25 computations (32.4% saved)

soundness0.0ms (0%)

end36.0ms (1.7%)

Compiler

Compiled 80 to 52 computations (35% saved)

Profiling

Loading profile data...