exp neg sub

Time bar (total: 1.7s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample769.0ms (46.4%)

Results
420.0ms4180×body256valid
338.0ms4076×body256infinite
Bogosity

preprocess56.0ms (3.4%)

Algorithm
egg-herbie
Rules
1996×fma-def
1492×div-sub
1302×times-frac
666×associate-*r/
518×fma-neg
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01442
13834
27934
315726
429126
562426
6204626
7573126
Stop Event
node limit
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (neg.f64 (-.f64 1 (*.f64 (neg.f64 x) (neg.f64 x)))))
Outputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (neg.f64 (-.f64 1 (*.f64 (neg.f64 x) (neg.f64 x)))))
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
Symmetry

(abs x)

Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify46.0ms (2.8%)

Algorithm
egg-herbie
Rules
1788×fma-def
1314×div-sub
834×times-frac
716×associate-*l*
696×associate-/r*
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0921
12117
25017
311413
424013
553613
6162613
7550613
Stop Event
node limit
Counts
1 → 4
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Outputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

eval1.0ms (0%)

Compiler

Compiled 25 to 15 computations (40% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New314
Fresh101
Picked000
Done000
Total415
Accurracy
100.0%
Counts
5 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(exp.f64 (+.f64 (*.f64 x x) -1))
100.0%
(exp.f64 (+.f64 (*.f64 x x) -1))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize29.0ms (1.8%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 18 to 9 computations (50% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite56.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
1590×pow1
1468×add-exp-log
1468×log1p-expm1-u
1468×expm1-log1p-u
1440×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
116913
2203013
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(exp.f64 (+.f64 (*.f64 x x) -1))
Outputs
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
(-.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)
(*.f64 (exp.f64 (fma.f64 x x -1)) 1)
(*.f64 1 (exp.f64 (fma.f64 x x -1)))
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))
(*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1)
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (+.f64 x 1)) (+.f64 x -1))
(pow.f64 (exp.f64 1) (fma.f64 x x -1))
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
(sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))
(log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))

simplify58.0ms (3.5%)

Algorithm
egg-herbie
Rules
1218×fma-def
1106×times-frac
620×associate-*r*
556×associate-*l*
548×*-commutative
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
074598
1158590
2460566
32454552
46111552
Stop Event
node limit
Counts
34 → 39
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
(-.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)
(*.f64 (exp.f64 (fma.f64 x x -1)) 1)
(*.f64 1 (exp.f64 (fma.f64 x x -1)))
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))
(*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1)
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (+.f64 x 1)) (+.f64 x -1))
(pow.f64 (exp.f64 1) (fma.f64 x x -1))
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
(sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))
(log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
(log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4))))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (fma.f64 x x -1))
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
(exp.f64 (fma.f64 x x -1))
(-.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (fma.f64 x x -1)) 1)
(exp.f64 (fma.f64 x x -1))
(*.f64 1 (exp.f64 (fma.f64 x x -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (fma.f64 x x -1))
(*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1)
(exp.f64 (fma.f64 x x -1))
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)
(exp.f64 (fma.f64 x x -1))
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)
(exp.f64 (fma.f64 x x -1))
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
(exp.f64 (fma.f64 x x -1))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (+.f64 x 1)) (+.f64 x -1))
(exp.f64 (fma.f64 x x -1))
(pow.f64 (exp.f64 1) (fma.f64 x x -1))
(pow.f64 (E.f64) (fma.f64 x x -1))
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
(sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))
(exp.f64 (fma.f64 x x -1))
(log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
(exp.f64 (fma.f64 x x -1))
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))

eval10.0ms (0.6%)

Compiler

Compiled 432 to 329 computations (23.8% saved)

prune13.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New37239
Fresh000
Picked011
Done000
Total37340
Accurracy
100.0%
Counts
40 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
100.0%
(exp.f64 (+.f64 (*.f64 x x) -1))
53.6%
(exp.f64 -1)
100.0%
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
100.0%
(exp.f64 (+.f64 (*.f64 x x) -1))
53.6%
(exp.f64 -1)
Compiler

Compiled 36 to 28 computations (22.2% saved)

localize38.0ms (2.3%)

Local Accuracy

Found 2 expressions with local accuracy:

NewAccuracyProgram
100.0%
(expm1.f64 (fma.f64 x x -1))
100.0%
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
Compiler

Compiled 24 to 17 computations (29.2% saved)

series1.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
0.0ms
x
@-inf
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
0.0ms
x
@inf
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
0.0ms
x
@0
(expm1.f64 (fma.f64 x x -1))
0.0ms
x
@inf
(expm1.f64 (fma.f64 x x -1))

rewrite99.0ms (6%)

Algorithm
batch-egg-rewrite
Rules
1766×pow1
1620×add-exp-log
1620×log1p-expm1-u
1618×expm1-log1p-u
1590×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01032
119426
2222626
Stop Event
node limit
Counts
2 → 53
Calls
Call 1
Inputs
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
(expm1.f64 (fma.f64 x x -1))
Outputs
(-.f64 (exp.f64 (fma.f64 x x -1)) 0)
(-.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)
(-.f64 (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))) (/.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(*.f64 1 (exp.f64 (fma.f64 x x -1)))
(*.f64 (exp.f64 (fma.f64 x x -1)) 1)
(*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))
(*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))
(*.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))
(*.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
(/.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))) (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))
(/.f64 1 (/.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1))) (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (neg.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))) (neg.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) 1) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1)
(pow.f64 (E.f64) (fma.f64 x x -1))
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))
(sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))
(log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))
(fma.f64 1 (expm1.f64 (fma.f64 x x -1)) 1)
(fma.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)
(fma.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)
(+.f64 (exp.f64 (fma.f64 x x -1)) -1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(*.f64 1 (expm1.f64 (fma.f64 x x -1)))
(*.f64 (expm1.f64 (fma.f64 x x -1)) 1)
(*.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2))
(*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))))
(*.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 1 (exp.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1))
(pow.f64 (expm1.f64 (fma.f64 x x -1)) 1)
(pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 3)
(pow.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3) 1/3)
(pow.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 2)
(sqrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))
(log.f64 (exp.f64 (expm1.f64 (fma.f64 x x -1))))
(cbrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))
(exp.f64 (log.f64 (expm1.f64 (fma.f64 x x -1))))
(log1p.f64 (expm1.f64 (expm1.f64 (fma.f64 x x -1))))

simplify77.0ms (4.7%)

Algorithm
egg-herbie
Rules
1738×fma-def
906×times-frac
608×unswap-sqr
494×associate-/l*
430×cancel-sign-sub-inv
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01341917
12971863
211431795
377991795
Stop Event
node limit
Counts
77 → 91
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 -1) 1)
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) 1)
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) 1)
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 0)
(-.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)
(-.f64 (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))) (/.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(*.f64 1 (exp.f64 (fma.f64 x x -1)))
(*.f64 (exp.f64 (fma.f64 x x -1)) 1)
(*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))
(*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))
(*.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))
(*.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
(/.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))) (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))
(/.f64 1 (/.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1))) (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (neg.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))) (neg.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) 1) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1)
(pow.f64 (E.f64) (fma.f64 x x -1))
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))
(sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))
(log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))
(fma.f64 1 (expm1.f64 (fma.f64 x x -1)) 1)
(fma.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)
(fma.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)
(+.f64 (exp.f64 (fma.f64 x x -1)) -1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(*.f64 1 (expm1.f64 (fma.f64 x x -1)))
(*.f64 (expm1.f64 (fma.f64 x x -1)) 1)
(*.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2))
(*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))))
(*.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 1 (exp.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1))
(pow.f64 (expm1.f64 (fma.f64 x x -1)) 1)
(pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 3)
(pow.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3) 1/3)
(pow.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 2)
(sqrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))
(log.f64 (exp.f64 (expm1.f64 (fma.f64 x x -1))))
(cbrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))
(exp.f64 (log.f64 (expm1.f64 (fma.f64 x x -1))))
(log1p.f64 (expm1.f64 (expm1.f64 (fma.f64 x x -1))))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4)))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 -1) 1)
(expm1.f64 -1)
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) 1)
(+.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (expm1.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (expm1.f64 -1))
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) -1)
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) 1)
(+.f64 (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4))) -1)
(fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (*.f64 (*.f64 1/2 (pow.f64 x 4)) (exp.f64 -1)) (expm1.f64 -1)))
(+.f64 -1 (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) 1)
(+.f64 (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4)))) -1)
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (*.f64 (*.f64 1/2 (pow.f64 x 4)) (exp.f64 -1)) (expm1.f64 -1))))
(+.f64 (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))) (fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 0)
(exp.f64 (fma.f64 x x -1))
(-.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)
(exp.f64 (fma.f64 x x -1))
(-.f64 (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))) (/.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 2 (exp.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 -1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))))
(*.f64 1 (exp.f64 (fma.f64 x x -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (fma.f64 x x -1)) 1)
(exp.f64 (fma.f64 x x -1))
(*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(*.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) 1) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (fma.f64 (expm1.f64 (fma.f64 x x -1)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))) 1))
(*.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 2 (exp.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 -1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))))
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
(exp.f64 (fma.f64 x x -1))
(/.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))) (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) 1) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (fma.f64 (expm1.f64 (fma.f64 x x -1)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))) 1))
(/.f64 1 (/.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1))) (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 2 (exp.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 -1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) 1) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (fma.f64 (expm1.f64 (fma.f64 x x -1)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))) 1))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) 1) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (fma.f64 (expm1.f64 (fma.f64 x x -1)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))) 1))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 2 (exp.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 -1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (neg.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) 1) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (fma.f64 (expm1.f64 (fma.f64 x x -1)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))) 1))
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))) (neg.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 2 (exp.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 -1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) 1) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))
(/.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 2 (exp.f64 (fma.f64 x x -1))))
(/.f64 (+.f64 -1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (+.f64 -1 (expm1.f64 (fma.f64 x x -1))))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1)
(exp.f64 (fma.f64 x x -1))
(pow.f64 (E.f64) (fma.f64 x x -1))
(pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)
(exp.f64 (fma.f64 x x -1))
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)
(exp.f64 (fma.f64 x x -1))
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)
(exp.f64 (fma.f64 x x -1))
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))
(sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))
(exp.f64 (fma.f64 x x -1))
(log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))
(exp.f64 (fma.f64 x x -1))
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))
(exp.f64 (fma.f64 x x -1))
(fma.f64 1 (expm1.f64 (fma.f64 x x -1)) 1)
(exp.f64 (fma.f64 x x -1))
(fma.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)
(exp.f64 (fma.f64 x x -1))
(fma.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)
(exp.f64 (fma.f64 x x -1))
(+.f64 (exp.f64 (fma.f64 x x -1)) -1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(*.f64 1 (expm1.f64 (fma.f64 x x -1)))
(expm1.f64 (fma.f64 x x -1))
(*.f64 (expm1.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(*.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2))
(expm1.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))))
(expm1.f64 (fma.f64 x x -1))
(*.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))))
(expm1.f64 (fma.f64 x x -1))
(/.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 1 (exp.f64 (fma.f64 x x -1)))))
(/.f64 (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) -1) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)))
(/.f64 (+.f64 -1 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) (+.f64 (exp.f64 (fma.f64 x x -1)) (+.f64 1 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))
(/.f64 (+.f64 -1 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 2 (expm1.f64 (fma.f64 x x -1)))))
(/.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1))
(/.f64 (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) -1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1))
(/.f64 (+.f64 -1 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)) (+.f64 (exp.f64 (fma.f64 x x -1)) 1))
(/.f64 (expm1.f64 (*.f64 2 (fma.f64 x x -1))) (+.f64 2 (expm1.f64 (fma.f64 x x -1))))
(pow.f64 (expm1.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 3)
(expm1.f64 (fma.f64 x x -1))
(pow.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3) 1/3)
(expm1.f64 (fma.f64 x x -1))
(pow.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 2)
(expm1.f64 (fma.f64 x x -1))
(sqrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))
(expm1.f64 (fma.f64 x x -1))
(log.f64 (exp.f64 (expm1.f64 (fma.f64 x x -1))))
(expm1.f64 (fma.f64 x x -1))
(cbrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))
(expm1.f64 (fma.f64 x x -1))
(exp.f64 (log.f64 (expm1.f64 (fma.f64 x x -1))))
(expm1.f64 (fma.f64 x x -1))
(log1p.f64 (expm1.f64 (expm1.f64 (fma.f64 x x -1))))
(expm1.f64 (fma.f64 x x -1))

eval33.0ms (2%)

Compiler

Compiled 1358 to 1062 computations (21.8% saved)

prune17.0ms (1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New90191
Fresh000
Picked112
Done011
Total91394
Accurracy
100.0%
Counts
94 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
76.7%
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
100.0%
(exp.f64 (+.f64 (*.f64 x x) -1))
53.6%
(exp.f64 -1)
76.7%
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
100.0%
(exp.f64 (+.f64 (*.f64 x x) -1))
53.6%
(exp.f64 -1)
Compiler

Compiled 38 to 30 computations (21.1% saved)

localize33.0ms (2%)

Local Accuracy

Found 2 expressions with local accuracy:

NewAccuracyProgram
100.0%
(+.f64 (*.f64 x x) 1)
99.9%
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
Compiler

Compiled 23 to 14 computations (39.1% saved)

series1.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite59.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
1740×pow1
1606×add-exp-log
1604×log1p-expm1-u
1604×expm1-log1p-u
1576×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
119828
2228528
Stop Event
node limit
Counts
2 → 51
Calls
Call 1
Inputs
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(+.f64 (*.f64 x x) 1)
Outputs
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(+.f64 (exp.f64 -1) (*.f64 (*.f64 x x) (exp.f64 -1)))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (exp.f64 -1))
(+.f64 (*.f64 (*.f64 x x) (exp.f64 -1)) (exp.f64 -1))
(-.f64 (+.f64 1 (*.f64 (fma.f64 x x 1) (exp.f64 -1))) 1)
(/.f64 (*.f64 (exp.f64 -1) (+.f64 1 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (*.f64 (exp.f64 -1) (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 6)) (exp.f64 -1)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 4) -1) (exp.f64 -1)) (fma.f64 x x -1))
(pow.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) 1)
(pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1))) 3)
(pow.f64 (pow.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) 3) 1/3)
(pow.f64 (*.f64 (sqrt.f64 (exp.f64 -1)) (hypot.f64 1 x)) 2)
(sqrt.f64 (*.f64 (exp.f64 -2) (pow.f64 (fma.f64 x x 1) 2)))
(log.f64 (pow.f64 (exp.f64 (exp.f64 -1)) (fma.f64 x x 1)))
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) 3))
(cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x 1) 3) (pow.f64 (exp.f64 -1) 3)))
(cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (fma.f64 x x 1) 3)))
(expm1.f64 (log1p.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1))))
(exp.f64 (+.f64 -1 (log1p.f64 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1))))
(-.f64 (+.f64 1 (fma.f64 x x 1)) 1)
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(*.f64 1 (fma.f64 x x 1))
(*.f64 (fma.f64 x x 1) 1)
(*.f64 (cbrt.f64 (fma.f64 x x 1)) (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) (cbrt.f64 (fma.f64 x x 1)))
(*.f64 (hypot.f64 1 x) (hypot.f64 1 x))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(*.f64 (+.f64 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x x -1)))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))) (+.f64 1 (pow.f64 x 6))))
(/.f64 1 (/.f64 (fma.f64 x x -1) (+.f64 (pow.f64 x 4) -1)))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 1 (-.f64 (pow.f64 x 4) (*.f64 x x))))
(/.f64 (+.f64 (pow.f64 x 4) -1) (fma.f64 x x -1))
(/.f64 (neg.f64 (+.f64 1 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 4) -1)) (neg.f64 (fma.f64 x x -1)))
(/.f64 (-.f64 1 (pow.f64 x 4)) (-.f64 1 (*.f64 x x)))
(pow.f64 (fma.f64 x x 1) 1)
(pow.f64 (cbrt.f64 (fma.f64 x x 1)) 3)
(pow.f64 (pow.f64 (fma.f64 x x 1) 3) 1/3)
(pow.f64 (hypot.f64 1 x) 2)
(sqrt.f64 (pow.f64 (fma.f64 x x 1) 2))
(log.f64 (exp.f64 (fma.f64 x x 1)))
(cbrt.f64 (pow.f64 (fma.f64 x x 1) 3))
(expm1.f64 (log1p.f64 (fma.f64 x x 1)))
(exp.f64 (log1p.f64 (*.f64 x x)))
(log1p.f64 (expm1.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(fma.f64 1 (*.f64 x x) 1)
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) 1)

simplify60.0ms (3.6%)

Algorithm
egg-herbie
Rules
984×associate-/r*
894×associate-+r+
872×unswap-sqr
838×associate-+l+
600×fma-def
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01241499
12761469
29001357
338171261
Stop Event
node limit
Counts
75 → 72
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 -1) (pow.f64 x 2))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(*.f64 (exp.f64 -1) (pow.f64 x 2))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (pow.f64 x 2))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(+.f64 (exp.f64 -1) (*.f64 (*.f64 x x) (exp.f64 -1)))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (exp.f64 -1))
(+.f64 (*.f64 (*.f64 x x) (exp.f64 -1)) (exp.f64 -1))
(-.f64 (+.f64 1 (*.f64 (fma.f64 x x 1) (exp.f64 -1))) 1)
(/.f64 (*.f64 (exp.f64 -1) (+.f64 1 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (*.f64 (exp.f64 -1) (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 6)) (exp.f64 -1)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 4) -1) (exp.f64 -1)) (fma.f64 x x -1))
(pow.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) 1)
(pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1))) 3)
(pow.f64 (pow.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) 3) 1/3)
(pow.f64 (*.f64 (sqrt.f64 (exp.f64 -1)) (hypot.f64 1 x)) 2)
(sqrt.f64 (*.f64 (exp.f64 -2) (pow.f64 (fma.f64 x x 1) 2)))
(log.f64 (pow.f64 (exp.f64 (exp.f64 -1)) (fma.f64 x x 1)))
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) 3))
(cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x 1) 3) (pow.f64 (exp.f64 -1) 3)))
(cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (fma.f64 x x 1) 3)))
(expm1.f64 (log1p.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1))))
(exp.f64 (+.f64 -1 (log1p.f64 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1))))
(-.f64 (+.f64 1 (fma.f64 x x 1)) 1)
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(*.f64 1 (fma.f64 x x 1))
(*.f64 (fma.f64 x x 1) 1)
(*.f64 (cbrt.f64 (fma.f64 x x 1)) (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) (cbrt.f64 (fma.f64 x x 1)))
(*.f64 (hypot.f64 1 x) (hypot.f64 1 x))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(*.f64 (+.f64 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x x -1)))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))) (+.f64 1 (pow.f64 x 6))))
(/.f64 1 (/.f64 (fma.f64 x x -1) (+.f64 (pow.f64 x 4) -1)))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 1 (-.f64 (pow.f64 x 4) (*.f64 x x))))
(/.f64 (+.f64 (pow.f64 x 4) -1) (fma.f64 x x -1))
(/.f64 (neg.f64 (+.f64 1 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 4) -1)) (neg.f64 (fma.f64 x x -1)))
(/.f64 (-.f64 1 (pow.f64 x 4)) (-.f64 1 (*.f64 x x)))
(pow.f64 (fma.f64 x x 1) 1)
(pow.f64 (cbrt.f64 (fma.f64 x x 1)) 3)
(pow.f64 (pow.f64 (fma.f64 x x 1) 3) 1/3)
(pow.f64 (hypot.f64 1 x) 2)
(sqrt.f64 (pow.f64 (fma.f64 x x 1) 2))
(log.f64 (exp.f64 (fma.f64 x x 1)))
(cbrt.f64 (pow.f64 (fma.f64 x x 1) 3))
(expm1.f64 (log1p.f64 (fma.f64 x x 1)))
(exp.f64 (log1p.f64 (*.f64 x x)))
(log1p.f64 (expm1.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(fma.f64 1 (*.f64 x x) 1)
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) 1)
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(*.f64 (exp.f64 -1) (pow.f64 x 2))
(*.f64 (*.f64 (exp.f64 -1) x) x)
(*.f64 (exp.f64 -1) (*.f64 x x))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(*.f64 (exp.f64 -1) (pow.f64 x 2))
(*.f64 (*.f64 (exp.f64 -1) x) x)
(*.f64 (exp.f64 -1) (*.f64 x x))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
1
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 1 (pow.f64 x 2))
(fma.f64 x x 1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (*.f64 (*.f64 x x) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (*.f64 x x) (exp.f64 -1)) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(-.f64 (+.f64 1 (*.f64 (fma.f64 x x 1) (exp.f64 -1))) 1)
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(/.f64 (*.f64 (exp.f64 -1) (+.f64 1 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1))))
(/.f64 (*.f64 (exp.f64 -1) (+.f64 (pow.f64 x 4) -1)) (fma.f64 x x -1))
(/.f64 (+.f64 -1 (pow.f64 x 4)) (/.f64 (fma.f64 x x -1) (exp.f64 -1)))
(*.f64 (/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1)) (exp.f64 -1))
(*.f64 (exp.f64 -1) (/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1)))
(*.f64 (exp.f64 -1) (/.f64 (fma.f64 x x 1) 1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 6)) (exp.f64 -1)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (*.f64 (exp.f64 -1) (+.f64 1 (pow.f64 x 6))) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 4) -1) (exp.f64 -1)) (fma.f64 x x -1))
(/.f64 (+.f64 -1 (pow.f64 x 4)) (/.f64 (fma.f64 x x -1) (exp.f64 -1)))
(*.f64 (/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1)) (exp.f64 -1))
(*.f64 (exp.f64 -1) (/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1)))
(*.f64 (exp.f64 -1) (/.f64 (fma.f64 x x 1) 1))
(pow.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) 1)
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1))) 3)
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(pow.f64 (pow.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) 3) 1/3)
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(pow.f64 (*.f64 (sqrt.f64 (exp.f64 -1)) (hypot.f64 1 x)) 2)
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(sqrt.f64 (*.f64 (exp.f64 -2) (pow.f64 (fma.f64 x x 1) 2)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(log.f64 (pow.f64 (exp.f64 (exp.f64 -1)) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) 3))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x 1) 3) (pow.f64 (exp.f64 -1) 3)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (fma.f64 x x 1) 3)))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(expm1.f64 (log1p.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1))))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(exp.f64 (+.f64 -1 (log1p.f64 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1))))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(-.f64 (+.f64 1 (fma.f64 x x 1)) 1)
(fma.f64 x x 1)
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(+.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 -1 (fma.f64 x x -1)))
(/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1))
(/.f64 (fma.f64 x x 1) 1)
(*.f64 1 (fma.f64 x x 1))
(fma.f64 x x 1)
(*.f64 (fma.f64 x x 1) 1)
(fma.f64 x x 1)
(*.f64 (cbrt.f64 (fma.f64 x x 1)) (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2))
(fma.f64 x x 1)
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) 2) (cbrt.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(*.f64 (hypot.f64 1 x) (hypot.f64 1 x))
(fma.f64 x x 1)
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(*.f64 (+.f64 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x x -1)))
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(+.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 -1 (fma.f64 x x -1)))
(/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1))
(/.f64 (fma.f64 x x 1) 1)
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))) (+.f64 1 (pow.f64 x 6))))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(/.f64 1 (/.f64 (fma.f64 x x -1) (+.f64 (pow.f64 x 4) -1)))
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(+.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 -1 (fma.f64 x x -1)))
(/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1))
(/.f64 (fma.f64 x x 1) 1)
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 1 (-.f64 (pow.f64 x 4) (*.f64 x x))))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(/.f64 (+.f64 (pow.f64 x 4) -1) (fma.f64 x x -1))
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(+.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 -1 (fma.f64 x x -1)))
(/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1))
(/.f64 (fma.f64 x x 1) 1)
(/.f64 (neg.f64 (+.f64 1 (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(*.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x)))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 x x))))
(/.f64 (+.f64 1 (pow.f64 x 6)) (-.f64 (pow.f64 x 4) (fma.f64 x x -1)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 4) -1)) (neg.f64 (fma.f64 x x -1)))
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(+.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 -1 (fma.f64 x x -1)))
(/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1))
(/.f64 (fma.f64 x x 1) 1)
(/.f64 (-.f64 1 (pow.f64 x 4)) (-.f64 1 (*.f64 x x)))
(-.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))
(+.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x -1)) (/.f64 -1 (fma.f64 x x -1)))
(/.f64 (+.f64 -1 (pow.f64 x 4)) (fma.f64 x x -1))
(/.f64 (fma.f64 x x 1) 1)
(pow.f64 (fma.f64 x x 1) 1)
(fma.f64 x x 1)
(pow.f64 (cbrt.f64 (fma.f64 x x 1)) 3)
(fma.f64 x x 1)
(pow.f64 (pow.f64 (fma.f64 x x 1) 3) 1/3)
(fma.f64 x x 1)
(pow.f64 (hypot.f64 1 x) 2)
(fma.f64 x x 1)
(sqrt.f64 (pow.f64 (fma.f64 x x 1) 2))
(fma.f64 x x 1)
(log.f64 (exp.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(cbrt.f64 (pow.f64 (fma.f64 x x 1) 3))
(fma.f64 x x 1)
(expm1.f64 (log1p.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(exp.f64 (log1p.f64 (*.f64 x x)))
(log1p.f64 (expm1.f64 (fma.f64 x x 1)))
(fma.f64 x x 1)
(fma.f64 x x 1)
(fma.f64 1 (*.f64 x x) 1)
(fma.f64 x x 1)
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) 1)

eval25.0ms (1.5%)

Compiler

Compiled 815 to 621 computations (23.8% saved)

prune9.0ms (0.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New72072
Fresh000
Picked011
Done022
Total72375
Accurracy
100.0%
Counts
75 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
76.7%
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
100.0%
(exp.f64 (+.f64 (*.f64 x x) -1))
53.6%
(exp.f64 -1)
Compiler

Compiled 50 to 36 computations (28% saved)

regimes18.0ms (1.1%)

Counts
5 → 1
Calls
Call 1
Inputs
(exp.f64 -1)
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
Outputs
(exp.f64 (+.f64 (*.f64 x x) -1))
Calls

5 calls:

5.0ms
x
3.0ms
(*.f64 x x)
3.0ms
(-.f64 1 (*.f64 x x))
2.0ms
(neg.f64 (-.f64 1 (*.f64 x x)))
2.0ms
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
100.0%1(neg.f64 (-.f64 1 (*.f64 x x)))
100.0%1(-.f64 1 (*.f64 x x))
100.0%1(*.f64 x x)
Compiler

Compiled 58 to 39 computations (32.8% saved)

regimes3.0ms (0.2%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(exp.f64 -1)
Outputs
(exp.f64 -1)
Calls

1 calls:

3.0ms
x
Results
AccuracySegmentsBranch
53.6%1x
Compiler

Compiled 5 to 4 computations (20% saved)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
11022
Stop Event
done
saturated
Calls
Call 1
Inputs
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 -1)
Outputs
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 -1)
Compiler

Compiled 10 to 8 computations (20% saved)

soundness113.0ms (6.8%)

Rules
1788×fma-def
1314×div-sub
834×times-frac
716×associate-*l*
696×associate-/r*
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0921
12117
25017
311413
424013
553613
6162613
7550613
Stop Event
node limit
Compiler

Compiled 36 to 22 computations (38.9% saved)

end0.0ms (0%)

preprocess24.0ms (1.5%)

Remove

(abs x)

Compiler

Compiled 48 to 36 computations (25% saved)

Profiling

Loading profile data...