Numeric.Log:$cexpm1 from log-domain-0.10.2.1, B

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 10 to 6 computations (40% saved)

sample1.5s (70.7%)

Results
1.1s7190×body256valid
379.0ms1066×body256infinite
Bogosity

preprocess64.0ms (3%)

Algorithm
egg-herbie
Rules
1624×fma-def
202×cancel-sign-sub-inv
166×fma-neg
166×sub-neg
130×associate-+l-
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01972
15668
213460
333060
472260
5139060
6190960
7199160
8200060
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x y) x) y)
(+.f64 (+.f64 (*.f64 (neg.f64 x) y) (neg.f64 x)) y)
(+.f64 (+.f64 (*.f64 x (neg.f64 y)) x) (neg.f64 y))
(+.f64 (+.f64 (*.f64 y x) y) x)
Outputs
(+.f64 (+.f64 (*.f64 x y) x) y)
(+.f64 y (fma.f64 x y x))
(+.f64 x (fma.f64 x y y))
(+.f64 (+.f64 (*.f64 (neg.f64 x) y) (neg.f64 x)) y)
(+.f64 y (-.f64 (*.f64 x (neg.f64 y)) x))
(+.f64 y (neg.f64 (fma.f64 x y x)))
(-.f64 y (fma.f64 x y x))
(+.f64 (+.f64 (*.f64 x (neg.f64 y)) x) (neg.f64 y))
(-.f64 (fma.f64 x (neg.f64 y) x) y)
(-.f64 (-.f64 x (*.f64 x y)) y)
(-.f64 x (fma.f64 x y y))
(+.f64 (+.f64 (*.f64 y x) y) x)
(+.f64 y (fma.f64 x y x))
(+.f64 x (fma.f64 x y y))
Symmetry

(sort x y)

Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
96×fma-def
12×*-commutative
12×distribute-rgt-in
12×+-commutative
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
11415
22715
33815
44815
56115
68315
710515
811215
911315
Stop Event
saturated
Counts
1 → 3
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x y) x) y)
Outputs
(+.f64 (+.f64 (*.f64 x y) x) y)
(+.f64 y (fma.f64 x y x))
(+.f64 x (fma.f64 x y y))

eval1.0ms (0%)

Compiler

Compiled 21 to 9 computations (57.1% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New123
Fresh011
Picked000
Done000
Total134
Accurracy
100.0%
Counts
4 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (+.f64 (*.f64 x y) x) y)
100.0%
(+.f64 y (fma.f64 x y x))
100.0%
(+.f64 (+.f64 (*.f64 x y) x) y)
100.0%
(+.f64 y (fma.f64 x y x))
Compiler

Compiled 34 to 18 computations (47.1% saved)

localize36.0ms (1.7%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(+.f64 (*.f64 x y) x)
Compiler

Compiled 32 to 8 computations (75% saved)

series4.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@0
(+.f64 (*.f64 x y) x)
1.0ms
x
@inf
(+.f64 (*.f64 x y) x)
0.0ms
y
@inf
(+.f64 (*.f64 x y) x)
0.0ms
x
@-inf
(+.f64 (*.f64 x y) x)
0.0ms
y
@0
(+.f64 (*.f64 x y) x)

rewrite56.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
1450×pow1
1342×add-exp-log
1342×log1p-expm1-u
1342×expm1-log1p-u
1316×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11319
218319
Stop Event
node limit
Counts
1 → 38
Calls
Call 1
Inputs
(+.f64 (*.f64 x y) x)
Outputs
(-.f64 (+.f64 1 (fma.f64 x y x)) 1)
(-.f64 (/.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (*.f64 x y) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 x y) x)))
(*.f64 x (+.f64 1 y))
(*.f64 x (+.f64 y 1))
(*.f64 (fma.f64 x y x) 1)
(*.f64 1 (fma.f64 x y x))
(*.f64 (cbrt.f64 (fma.f64 x y x)) (pow.f64 (cbrt.f64 (fma.f64 x y x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x y x)) 2) (cbrt.f64 (fma.f64 x y x)))
(*.f64 (sqrt.f64 (fma.f64 x y x)) (sqrt.f64 (fma.f64 x y x)))
(*.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(*.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 x y) x)))
(*.f64 (+.f64 y 1) x)
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y)))) (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))))
(/.f64 1 (/.f64 (-.f64 (*.f64 x y) x) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y)))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (*.f64 x y)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (-.f64 (*.f64 x y) x))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 x y) x)))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 x y) 2)) (-.f64 x (*.f64 x y)))
(pow.f64 (fma.f64 x y x) 1)
(pow.f64 (cbrt.f64 (fma.f64 x y x)) 3)
(pow.f64 (pow.f64 (fma.f64 x y x) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 x y x)) 2)
(sqrt.f64 (pow.f64 (fma.f64 x y x) 2))
(log.f64 (exp.f64 (fma.f64 x y x)))
(cbrt.f64 (pow.f64 (fma.f64 x y x) 3))
(expm1.f64 (log1p.f64 (fma.f64 x y x)))
(exp.f64 (log.f64 (fma.f64 x y x)))
(log1p.f64 (expm1.f64 (fma.f64 x y x)))
(fma.f64 x y x)
(fma.f64 y x x)
(fma.f64 1 x (*.f64 x y))
(fma.f64 1 (*.f64 x y) x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 x y))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x y))
(fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) x)

simplify56.0ms (2.6%)

Algorithm
egg-herbie
Rules
976×div-sub
954×fma-neg
656×cancel-sign-sub-inv
618×associate-+r+
602×fma-def
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
099866
1239816
2795816
33574806
Stop Event
node limit
Counts
62 → 47
Calls
Call 1
Inputs
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
x
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(-.f64 (+.f64 1 (fma.f64 x y x)) 1)
(-.f64 (/.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (*.f64 x y) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 x y) x)))
(*.f64 x (+.f64 1 y))
(*.f64 x (+.f64 y 1))
(*.f64 (fma.f64 x y x) 1)
(*.f64 1 (fma.f64 x y x))
(*.f64 (cbrt.f64 (fma.f64 x y x)) (pow.f64 (cbrt.f64 (fma.f64 x y x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x y x)) 2) (cbrt.f64 (fma.f64 x y x)))
(*.f64 (sqrt.f64 (fma.f64 x y x)) (sqrt.f64 (fma.f64 x y x)))
(*.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(*.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 x y) x)))
(*.f64 (+.f64 y 1) x)
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y)))) (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))))
(/.f64 1 (/.f64 (-.f64 (*.f64 x y) x) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y)))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (*.f64 x y)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (-.f64 (*.f64 x y) x))
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 x y) x)))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 x y) 2)) (-.f64 x (*.f64 x y)))
(pow.f64 (fma.f64 x y x) 1)
(pow.f64 (cbrt.f64 (fma.f64 x y x)) 3)
(pow.f64 (pow.f64 (fma.f64 x y x) 3) 1/3)
(pow.f64 (sqrt.f64 (fma.f64 x y x)) 2)
(sqrt.f64 (pow.f64 (fma.f64 x y x) 2))
(log.f64 (exp.f64 (fma.f64 x y x)))
(cbrt.f64 (pow.f64 (fma.f64 x y x) 3))
(expm1.f64 (log1p.f64 (fma.f64 x y x)))
(exp.f64 (log.f64 (fma.f64 x y x)))
(log1p.f64 (expm1.f64 (fma.f64 x y x)))
(fma.f64 x y x)
(fma.f64 y x x)
(fma.f64 1 x (*.f64 x y))
(fma.f64 1 (*.f64 x y) x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 x y))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x y))
(fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) x)
Outputs
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 (+.f64 1 y) x)
(fma.f64 y x x)
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(fma.f64 y x x)
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(fma.f64 y x x)
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(fma.f64 y x x)
(*.f64 -1 (*.f64 (-.f64 (*.f64 -1 y) 1) x))
(fma.f64 y x x)
x
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(+.f64 (*.f64 y x) x)
(fma.f64 y x x)
(-.f64 (+.f64 1 (fma.f64 x y x)) 1)
(fma.f64 y x x)
(-.f64 (/.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (*.f64 x y) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 x y) x)))
(fma.f64 y x x)
(*.f64 x (+.f64 1 y))
(fma.f64 y x x)
(*.f64 x (+.f64 y 1))
(fma.f64 y x x)
(*.f64 (fma.f64 x y x) 1)
(fma.f64 y x x)
(*.f64 1 (fma.f64 x y x))
(fma.f64 y x x)
(*.f64 (cbrt.f64 (fma.f64 x y x)) (pow.f64 (cbrt.f64 (fma.f64 x y x)) 2))
(fma.f64 y x x)
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x y x)) 2) (cbrt.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(*.f64 (sqrt.f64 (fma.f64 x y x)) (sqrt.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(*.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 y x)) (pow.f64 (*.f64 y x) 2)))
(/.f64 (*.f64 (+.f64 (pow.f64 y 3) 1) (pow.f64 x 3)) (fma.f64 (*.f64 y x) (*.f64 x (-.f64 y 1)) (*.f64 x x)))
(/.f64 (*.f64 (pow.f64 x 3) (+.f64 (pow.f64 y 3) 1)) (*.f64 (*.f64 x x) (+.f64 1 (fma.f64 y y (neg.f64 y)))))
(*.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 x y) x)))
(fma.f64 y x x)
(*.f64 (+.f64 y 1) x)
(fma.f64 y x x)
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y)))) (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 y x)) (pow.f64 (*.f64 y x) 2)))
(/.f64 (*.f64 (+.f64 (pow.f64 y 3) 1) (pow.f64 x 3)) (fma.f64 (*.f64 y x) (*.f64 x (-.f64 y 1)) (*.f64 x x)))
(/.f64 (*.f64 (pow.f64 x 3) (+.f64 (pow.f64 y 3) 1)) (*.f64 (*.f64 x x) (+.f64 1 (fma.f64 y y (neg.f64 y)))))
(/.f64 1 (/.f64 (-.f64 (*.f64 x y) x) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))))
(fma.f64 y x x)
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y)))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 y x)) (pow.f64 (*.f64 y x) 2)))
(/.f64 (*.f64 (+.f64 (pow.f64 y 3) 1) (pow.f64 x 3)) (fma.f64 (*.f64 y x) (*.f64 x (-.f64 y 1)) (*.f64 x x)))
(/.f64 (*.f64 (pow.f64 x 3) (+.f64 (pow.f64 y 3) 1)) (*.f64 (*.f64 x x) (+.f64 1 (fma.f64 y y (neg.f64 y)))))
(/.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (*.f64 x y)))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 y x)) (pow.f64 (*.f64 y x) 2)))
(/.f64 (*.f64 (+.f64 (pow.f64 y 3) 1) (pow.f64 x 3)) (fma.f64 (*.f64 y x) (*.f64 x (-.f64 y 1)) (*.f64 x x)))
(/.f64 (*.f64 (pow.f64 x 3) (+.f64 (pow.f64 y 3) 1)) (*.f64 (*.f64 x x) (+.f64 1 (fma.f64 y y (neg.f64 y)))))
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x)) (-.f64 (*.f64 x y) x))
(fma.f64 y x x)
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 x 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x (*.f64 x y))))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 y x) 2) (*.f64 x (-.f64 x (*.f64 y x)))) (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 (*.f64 y x) 3) (pow.f64 x 3)) (fma.f64 x (-.f64 x (*.f64 y x)) (pow.f64 (*.f64 y x) 2)))
(/.f64 (*.f64 (+.f64 (pow.f64 y 3) 1) (pow.f64 x 3)) (fma.f64 (*.f64 y x) (*.f64 x (-.f64 y 1)) (*.f64 x x)))
(/.f64 (*.f64 (pow.f64 x 3) (+.f64 (pow.f64 y 3) 1)) (*.f64 (*.f64 x x) (+.f64 1 (fma.f64 y y (neg.f64 y)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 x y) x)))
(fma.f64 y x x)
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 x y) 2)) (-.f64 x (*.f64 x y)))
(fma.f64 y x x)
(pow.f64 (fma.f64 x y x) 1)
(fma.f64 y x x)
(pow.f64 (cbrt.f64 (fma.f64 x y x)) 3)
(fma.f64 y x x)
(pow.f64 (pow.f64 (fma.f64 x y x) 3) 1/3)
(fma.f64 y x x)
(pow.f64 (sqrt.f64 (fma.f64 x y x)) 2)
(fma.f64 y x x)
(sqrt.f64 (pow.f64 (fma.f64 x y x) 2))
(fma.f64 y x x)
(log.f64 (exp.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(cbrt.f64 (pow.f64 (fma.f64 x y x) 3))
(fma.f64 y x x)
(expm1.f64 (log1p.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(exp.f64 (log.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(log1p.f64 (expm1.f64 (fma.f64 x y x)))
(fma.f64 y x x)
(fma.f64 x y x)
(fma.f64 y x x)
(fma.f64 y x x)
(fma.f64 1 x (*.f64 x y))
(fma.f64 y x x)
(fma.f64 1 (*.f64 x y) x)
(fma.f64 y x x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 x y))
(fma.f64 y x x)
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) x)
(fma.f64 y x x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x y))
(fma.f64 y x x)
(fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) x)
(fma.f64 y x x)

eval10.0ms (0.4%)

Compiler

Compiled 632 to 265 computations (58.1% saved)

prune8.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh000
Picked112
Done000
Total45449
Accurracy
100.0%
Counts
49 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (+.f64 (*.f64 x y) x) y)
100.0%
(+.f64 (*.f64 (+.f64 y 1) x) y)
66.1%
(+.f64 (*.f64 y x) y)
74.2%
(+.f64 x y)
100.0%
(+.f64 (+.f64 (*.f64 x y) x) y)
100.0%
(+.f64 (*.f64 (+.f64 y 1) x) y)
66.1%
(+.f64 (*.f64 y x) y)
74.2%
(+.f64 x y)
Compiler

Compiled 60 to 36 computations (40% saved)

localize50.0ms (2.3%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(*.f64 (+.f64 y 1) x)
Compiler

Compiled 36 to 16 computations (55.6% saved)

series1.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(*.f64 (+.f64 y 1) x)
0.0ms
x
@-inf
(*.f64 (+.f64 y 1) x)
0.0ms
x
@0
(*.f64 (+.f64 y 1) x)
0.0ms
y
@inf
(*.f64 (+.f64 y 1) x)
0.0ms
y
@0
(*.f64 (+.f64 y 1) x)

rewrite50.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
1388×pow1
1282×log1p-expm1-u
1282×expm1-log1p-u
1280×add-exp-log
1256×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
114213
2177313
Stop Event
node limit
Counts
1 → 19
Calls
Call 1
Inputs
(*.f64 (+.f64 y 1) x)
Outputs
(+.f64 x (*.f64 x y))
(+.f64 x (*.f64 y x))
(+.f64 (*.f64 x y) x)
(+.f64 (*.f64 y x) x)
(-.f64 (+.f64 1 (+.f64 x (*.f64 x y))) 1)
(/.f64 (*.f64 x (+.f64 1 (pow.f64 y 3))) (fma.f64 y y (-.f64 1 y)))
(/.f64 (*.f64 x (fma.f64 y y -1)) (+.f64 y -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 y 3)) x) (fma.f64 y y (-.f64 1 y)))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y -1))
(pow.f64 (+.f64 x (*.f64 x y)) 1)
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x y))) 3)
(pow.f64 (pow.f64 (+.f64 x (*.f64 x y)) 3) 1/3)
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x y))) 2)
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x y)) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 y 1)))
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x y)) 3))
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x y))))
(exp.f64 (+.f64 (log1p.f64 y) (log.f64 x)))
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x y))))

simplify65.0ms (3%)

Algorithm
egg-herbie
Rules
1328×fma-def
1278×div-sub
618×*-commutative
588×associate-*r*
500×associate-*l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
057445
1128441
2365433
32027433
44210433
56623433
Stop Event
node limit
Counts
43 → 28
Calls
Call 1
Inputs
x
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(*.f64 y x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(+.f64 (*.f64 y x) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(*.f64 (+.f64 1 y) x)
(+.f64 x (*.f64 x y))
(+.f64 x (*.f64 y x))
(+.f64 (*.f64 x y) x)
(+.f64 (*.f64 y x) x)
(-.f64 (+.f64 1 (+.f64 x (*.f64 x y))) 1)
(/.f64 (*.f64 x (+.f64 1 (pow.f64 y 3))) (fma.f64 y y (-.f64 1 y)))
(/.f64 (*.f64 x (fma.f64 y y -1)) (+.f64 y -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 y 3)) x) (fma.f64 y y (-.f64 1 y)))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y -1))
(pow.f64 (+.f64 x (*.f64 x y)) 1)
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x y))) 3)
(pow.f64 (pow.f64 (+.f64 x (*.f64 x y)) 3) 1/3)
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x y))) 2)
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x y)) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 y 1)))
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x y)) 3))
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x y))))
(exp.f64 (+.f64 (log1p.f64 y) (log.f64 x)))
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x y))))
Outputs
x
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(*.f64 y x)
(*.f64 x y)
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(*.f64 y x)
(*.f64 x y)
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(*.f64 (+.f64 1 y) x)
(fma.f64 x y x)
(+.f64 x (*.f64 x y))
(fma.f64 x y x)
(+.f64 x (*.f64 y x))
(fma.f64 x y x)
(+.f64 (*.f64 x y) x)
(fma.f64 x y x)
(+.f64 (*.f64 y x) x)
(fma.f64 x y x)
(-.f64 (+.f64 1 (+.f64 x (*.f64 x y))) 1)
(fma.f64 x y x)
(/.f64 (*.f64 x (+.f64 1 (pow.f64 y 3))) (fma.f64 y y (-.f64 1 y)))
(/.f64 x (/.f64 (fma.f64 y y (-.f64 1 y)) (+.f64 1 (pow.f64 y 3))))
(*.f64 (/.f64 x (fma.f64 y y (-.f64 1 y))) (+.f64 1 (pow.f64 y 3)))
(/.f64 (fma.f64 x (pow.f64 y 3) x) (-.f64 (fma.f64 y y 1) y))
(/.f64 (*.f64 x (fma.f64 y y -1)) (+.f64 y -1))
(fma.f64 x y x)
(/.f64 (*.f64 (+.f64 1 (pow.f64 y 3)) x) (fma.f64 y y (-.f64 1 y)))
(/.f64 x (/.f64 (fma.f64 y y (-.f64 1 y)) (+.f64 1 (pow.f64 y 3))))
(*.f64 (/.f64 x (fma.f64 y y (-.f64 1 y))) (+.f64 1 (pow.f64 y 3)))
(/.f64 (fma.f64 x (pow.f64 y 3) x) (-.f64 (fma.f64 y y 1) y))
(/.f64 (*.f64 (fma.f64 y y -1) x) (+.f64 y -1))
(fma.f64 x y x)
(pow.f64 (+.f64 x (*.f64 x y)) 1)
(fma.f64 x y x)
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x y))) 3)
(fma.f64 x y x)
(pow.f64 (pow.f64 (+.f64 x (*.f64 x y)) 3) 1/3)
(fma.f64 x y x)
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x y))) 2)
(fma.f64 x y x)
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x y)) 2))
(fma.f64 x y x)
(log.f64 (pow.f64 (exp.f64 x) (+.f64 y 1)))
(fma.f64 x y x)
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x y)) 3))
(fma.f64 x y x)
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x y))))
(fma.f64 x y x)
(exp.f64 (+.f64 (log1p.f64 y) (log.f64 x)))
(*.f64 x (exp.f64 (log1p.f64 y)))
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x y))))
(fma.f64 x y x)

eval5.0ms (0.2%)

Compiler

Compiled 272 to 132 computations (51.5% saved)

prune6.0ms (0.3%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New28028
Fresh000
Picked033
Done011
Total28432
Accurracy
100.0%
Counts
32 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (+.f64 (*.f64 x y) x) y)
100.0%
(+.f64 (*.f64 (+.f64 y 1) x) y)
66.1%
(+.f64 (*.f64 y x) y)
74.2%
(+.f64 x y)
Compiler

Compiled 60 to 32 computations (46.7% saved)

regimes17.0ms (0.8%)

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

3 calls:

7.0ms
y
4.0ms
x
4.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 45 to 23 computations (48.9% saved)

regimes12.0ms (0.6%)

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

3 calls:

4.0ms
(+.f64 (+.f64 (*.f64 x y) x) y)
4.0ms
y
4.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 (+.f64 (*.f64 x y) x) y)
Compiler

Compiled 39 to 21 computations (46.2% saved)

regimes23.0ms (1.1%)

Counts
2 → 3
Calls
Call 1
Inputs
(+.f64 x y)
(+.f64 (*.f64 y x) y)
Outputs
(+.f64 (*.f64 y x) y)
(+.f64 x y)
(+.f64 (*.f64 y x) y)
Calls

2 calls:

13.0ms
x
8.0ms
y
Results
AccuracySegmentsBranch
86.7%4x
99.4%3y
Compiler

Compiled 16 to 9 computations (43.8% saved)

regimes5.0ms (0.2%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
(+.f64 x y)
Outputs
(+.f64 x y)
Calls

2 calls:

2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
74.2%1x
74.2%1y
Compiler

Compiled 11 to 7 computations (36.4% saved)

bsearch31.0ms (1.5%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
14.0ms
1.8771124291045057e-14
1.5919541904641738e-8
17.0ms
-1941.0591300940175
-4.868659988624771e-19
Results
28.0ms320×body256valid
Compiler

Compiled 294 to 189 computations (35.7% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
10×+-commutative
*-commutative
1-exp
if-if-or-not
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02386
13886
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 y (fma.f64 x y x))
(+.f64 (*.f64 (+.f64 y 1) x) y)
(if (<=.f64 y -1) (+.f64 (*.f64 y x) y) (if (<=.f64 y 146393360968959/9444732965739290427392) (+.f64 x y) (+.f64 (*.f64 y x) y)))
(+.f64 x y)
Outputs
(+.f64 y (fma.f64 x y x))
(+.f64 (*.f64 (+.f64 y 1) x) y)
(+.f64 y (*.f64 x (+.f64 y 1)))
(if (<=.f64 y -1) (+.f64 (*.f64 y x) y) (if (<=.f64 y 146393360968959/9444732965739290427392) (+.f64 x y) (+.f64 (*.f64 y x) y)))
(if (or (<=.f64 y -1) (not (<=.f64 y 146393360968959/9444732965739290427392))) (+.f64 y (*.f64 y x)) (+.f64 y x))
(+.f64 x y)
(+.f64 y x)
Compiler

Compiled 41 to 25 computations (39% saved)

soundness82.0ms (3.8%)

Rules
1450×pow1
1342×add-exp-log
1342×log1p-expm1-u
1342×expm1-log1p-u
1316×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
11415
22715
33815
44815
56115
68315
710515
811215
911315
069
11319
218319
Stop Event
node limit
saturated
Compiler

Compiled 45 to 20 computations (55.6% saved)

end0.0ms (0%)

preprocess38.0ms (1.7%)

Remove

(sort x y)

Compiler

Compiled 104 to 54 computations (48.1% saved)

Profiling

Loading profile data...