Details

Time bar (total: 4.0s)

analyze4.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
66.7%50%25%0%25%0%0%4
80%50%12.5%0%37.5%0%0%5
88.9%50%6.2%0%43.7%0%0%6
94.1%50%3.1%0%46.9%0%0%7
97%50%1.6%0%48.4%0%0%8
98.5%50%0.8%0%49.2%0%0%9
99.2%50%0.4%0%49.6%0%0%10
99.6%50.2%0.2%0%49.6%0%0%11
99.8%50.2%0.1%0%49.7%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.3s (32.4%)

Results
1.3s8256×body256valid
2.0ms19×body256infinite
Bogosity

preprocess99.0ms (2.5%)

Algorithm
egg-herbie
Rules
658×div-sub_binary64
631×fma-def_binary64
417×times-frac_binary64
408×associate-/l*_binary64
382×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616187
756387
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
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))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify134.0ms (3.4%)

Algorithm
egg-herbie
Rules
658×div-sub_binary64
631×fma-def_binary64
417×times-frac_binary64
408×associate-/l*_binary64
382×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616187
756387
Stop Event
node limit
Counts
1 → 2
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 13 to 9 computations (30.8% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Compiler

Compiled 8 to 6 computations (25% saved)

localize13.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 1 (*.f64 x x))
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Compiler

Compiled 24 to 12 computations (50% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite120.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
606×pow1_binary64
566×add-log-exp_binary64
565×log1p-expm1-u_binary64
565×expm1-log1p-u_binary64
554×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0718
114516
2184816
Stop Event
node limit
Counts
2 → 76
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(-.f64 1 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (E.f64) (exp.f64 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2) (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (E.f64) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 -1) (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2)) (cbrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (*.f64 x (neg.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (neg.f64 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 (*.f64 x (neg.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 -1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (neg.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2) (cbrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2) (neg.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))) (neg.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 x 4)) (/.f64 1 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2)) (cbrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2)) (cbrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))) (-.f64 1 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) (-.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x 4)) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 6))) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 6))) (neg.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 4))) (neg.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (+.f64 -1 (*.f64 x x)) 3)) (+.f64 0 (+.f64 (pow.f64 (+.f64 -1 (*.f64 x x)) 2) (*.f64 0 (+.f64 -1 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 x (neg.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x))) (*.f64 x (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (+.f64 -1 (*.f64 x x)) 2)) (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (-.f64 1 (pow.f64 x 6))) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (-.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 -1 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 -1 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 -1 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 -1 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 x (neg.f64 x))))))))

simplify71.0ms (1.8%)

Algorithm
egg-herbie
Rules
691×distribute-lft-out_binary64
396×*-commutative_binary64
367×associate-*l*_binary64
348×fma-def_binary64
342×distribute-rgt-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
026245
165207
2161195
3501188
42076188
54170188
66373188
Stop Event
node limit
Counts
100 → 90
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))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(*.f64 -1 (pow.f64 x 2))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(*.f64 -1 (pow.f64 x 2))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
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 (fma.f64 x x 1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(*.f64 -1 (pow.f64 x 2))
(neg.f64 (*.f64 x x))
(*.f64 x (neg.f64 x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(*.f64 -1 (pow.f64 x 2))
(neg.f64 (*.f64 x x))
(*.f64 x (neg.f64 x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(neg.f64 (fma.f64 x x -1))

eval39.0ms (1%)

Compiler

Compiled 1085 to 726 computations (33.1% saved)

prune17.0ms (0.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New85590
Fresh000
Picked011
Done000
Total85691
Error
0.0b
Counts
91 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
63.5b
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)
0.8b
(exp.f64 -1)
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
52.6b
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x))))
Compiler

Compiled 98 to 74 computations (24.5% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 -1 (*.f64 x x))
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
0.0b
(expm1.f64 (+.f64 -1 (*.f64 x x)))
Compiler

Compiled 26 to 14 computations (46.2% saved)

series3.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite77.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
807×pow1_binary64
752×add-log-exp_binary64
751×log1p-expm1-u_binary64
751×expm1-log1p-u_binary64
738×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0828
116519
2206919
Stop Event
node limit
Counts
3 → 87
Calls
Call 1
Inputs
(expm1.f64 (+.f64 -1 (*.f64 x x)))
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
(+.f64 -1 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.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)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (fma.f64 x x -1))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.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)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (/.f64 1 (+.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1))) (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1))) (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.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)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))) (neg.f64 (+.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.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)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) 1) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))) (log.f64 (+.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))) (log.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 -1 (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1)) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1)) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (pow.f64 x 6)) (/.f64 1 (+.f64 1 (+.f64 (pow.f64 x 4) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 x 4)) (/.f64 1 (-.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1) (-.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (pow.f64 x 4) (*.f64 x x))) (+.f64 -1 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 -1 (*.f64 x x)) (-.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (neg.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x 4)) (-.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1 (pow.f64 x 6))) (neg.f64 (+.f64 1 (+.f64 (pow.f64 x 4) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 4))) (neg.f64 (-.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) 1) (-.f64 (*.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x x -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) -1)))))

simplify65.0ms (1.6%)

Algorithm
egg-herbie
Rules
699×distribute-lft-out_binary64
543×fma-def_binary64
480×fma-neg_binary64
415×*-commutative_binary64
351×distribute-rgt-out_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
029382
176320
2194299
3651283
42618281
56452281
Stop Event
node limit
Counts
123 → 109
Calls
Call 1
Inputs
(-.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 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(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))
-1
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
Outputs
(-.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)
(fma.f64 (exp.f64 -1) (fma.f64 x x 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 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) -1)
(fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (expm1.f64 -1)))
(+.f64 -1 (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)) -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 (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))))) -1)
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (expm1.f64 -1))))
(+.f64 (fma.f64 (fma.f64 x x 1) (exp.f64 -1) -1) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 6)))))
(+.f64 -1 (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))))
(fma.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))) -1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(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 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/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
-1
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)

localize6.0ms (0.1%)

Compiler

Compiled 4 to 4 computations (0% saved)

localize55.0ms (1.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x))))
Compiler

Compiled 19 to 5 computations (73.7% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x))))
0.0ms
x
@inf
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x))))
0.0ms
x
@-inf
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x))))

rewrite70.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
356×pow1_binary64
344×add-sqr-sqrt_binary64
338×*-un-lft-identity_binary64
328×add-log-exp_binary64
327×log1p-expm1-u_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0610
11246
215711
Stop Event
node limit
Counts
1 → 1
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x . 1)))))

simplify72.0ms (1.8%)

Algorithm
egg-herbie
Rules
829×associate-/l/_binary64
684×fma-def_binary64
676×associate-/r/_binary64
586×associate-/l*_binary64
393×*-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01995
14489
210285
328085
4106385
5291285
6374385
7469285
Stop Event
node limit
Counts
13 → 9
Calls
Call 1
Inputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
Outputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (*.f64 x x))
(fma.f64 x x 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) 1)))
(fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) (fma.f64 1/6 (pow.f64 x 6) 1))
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)

localize33.0ms (0.8%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 -1 (*.f64 x x))
0.0b
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
Compiler

Compiled 36 to 21 computations (41.7% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite105.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
950×pow1_binary64
891×add-log-exp_binary64
888×log1p-expm1-u_binary64
888×expm1-log1p-u_binary64
100×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0918
119614
2270014
Stop Event
node limit
Counts
2 → 88
Calls
Call 1
Inputs
(exp.f64 (+.f64 -1 (*.f64 x x)))
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 (exp.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))) (/.f64 1 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)) (/.f64 1 (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (/.f64 1 (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (-.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (-.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (-.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1)) (neg.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (*.f64 (expm1.f64 (fma.f64 x x -1)) (expm1.f64 (fma.f64 x x -1))) (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (expm1.f64 (fma.f64 x x -1)))) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) 2))) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2)) (cbrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) -1)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 (exp.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (/.f64 1 (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (-.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (-.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (-.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1)) (neg.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (*.f64 (expm1.f64 (fma.f64 x x -1)) (expm1.f64 (fma.f64 x x -1))) (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (expm1.f64 (fma.f64 x x -1)))) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) 2))) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2)) (cbrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) -1)))))

simplify93.0ms (2.3%)

Algorithm
egg-herbie
Rules
723×distribute-lft-out_binary64
453×fma-neg_binary64
399×*-commutative_binary64
370×distribute-rgt-out_binary64
341×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024302
160262
2145238
3462224
41945224
53890224
65584224
77510224
Stop Event
node limit
Counts
112 → 54
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))
(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))
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))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(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))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

localize25.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 -1 (*.f64 x x))
0.0b
(exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))))
0.0b
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
Compiler

Compiled 38 to 20 computations (47.4% saved)

series13.0ms (0.3%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
7.0ms
x
@0
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
3.0ms
x
@-inf
(exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))))
1.0ms
x
@0
(exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))))
1.0ms
x
@inf
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
0.0ms
x
@inf
(exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))))

rewrite77.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
763×pow1_binary64
710×add-log-exp_binary64
710×log1p-expm1-u_binary64
710×expm1-log1p-u_binary64
693×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0820
116316
2198216
Stop Event
node limit
Counts
2 → 37
Calls
Call 1
Inputs
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
(exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 (sqrt.f64 (fma.f64 x x -1))) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2) (sqrt.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (fma.f64 x x -1))) (pow.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (fma.f64 x x -1) 1/4)) (pow.f64 (fma.f64 x x -1) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))))

simplify94.0ms (2.3%)

Algorithm
egg-herbie
Rules
584×associate-*l/_binary64
368×times-frac_binary64
367×fma-def_binary64
357×associate-/r*_binary64
292×associate-/l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
091789
1276491
2973453
34418409
Stop Event
node limit
Counts
61 → 55
Calls
Call 1
Inputs
(exp.f64 (pow.f64 (sqrt.f64 -1) 2))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))))))))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))))) (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))) (+.f64 1/6 (+.f64 (*.f64 1/720 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 720 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4))))) (+.f64 (*.f64 -360 (/.f64 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))) (sqrt.f64 -1))) (*.f64 30 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 6))))))
(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))
(exp.f64 (sqrt.f64 -1))
(+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))
(+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1)))))
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
Outputs
(exp.f64 (pow.f64 (sqrt.f64 -1) 2))
(exp.f64 -1)
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 x x)))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))))))))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 (+.f64 1/2 (/.f64 1/4 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (sqrt.f64 -1) (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2)))))) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)))))))
(fma.f64 (exp.f64 -1) (fma.f64 x x (*.f64 (pow.f64 x 4) (+.f64 (fma.f64 1/24 (*.f64 (sqrt.f64 -1) (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3)) -1/4) 5/8))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 1/8 (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))))) 3/8))))
(fma.f64 (exp.f64 -1) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (/.f64 1/8 (sqrt.f64 -1))) 3/8) (*.f64 x x)) (exp.f64 -1))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))))) (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))) (+.f64 1/6 (+.f64 (*.f64 1/720 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 720 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4))))) (+.f64 (*.f64 -360 (/.f64 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))) (sqrt.f64 -1))) (*.f64 30 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 6))))))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 (+.f64 1/2 (/.f64 1/4 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (sqrt.f64 -1) (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2)))))) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)))))) (*.f64 (-.f64 (fma.f64 1/48 (/.f64 (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2))) (sqrt.f64 -1)) (+.f64 1/6 (fma.f64 1/720 (*.f64 (sqrt.f64 -1) (fma.f64 720 (+.f64 (/.f64 1/48 (pow.f64 (sqrt.f64 -1) 3)) (-.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 4)))) (fma.f64 -360 (/.f64 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3))) (sqrt.f64 -1)) (/.f64 30 (pow.f64 (sqrt.f64 -1) 3))))) (+.f64 (/.f64 1/4 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 1/24 (*.f64 (sqrt.f64 -1) (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2))))))))) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 6)))))
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (fma.f64 x x (*.f64 (pow.f64 x 4) (+.f64 (fma.f64 1/24 (*.f64 (sqrt.f64 -1) (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3)) -1/4) 5/8))) (*.f64 (fma.f64 1/48 (/.f64 (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3) (sqrt.f64 -1)) (+.f64 (fma.f64 1/720 (*.f64 (sqrt.f64 -1) (fma.f64 720 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (-.f64 (/.f64 -1/48 (sqrt.f64 -1)) 1/16)) (fma.f64 -360 (+.f64 (/.f64 -1/8 (sqrt.f64 -1)) -1/8) (/.f64 -30 (sqrt.f64 -1))))) (fma.f64 1/24 (*.f64 (sqrt.f64 -1) (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3)) -1/4)) 7/24)) (*.f64 (exp.f64 -1) (pow.f64 x 6)))))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 1/8 (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))))) 3/8))) (*.f64 (fma.f64 1/48 (/.f64 (+.f64 0 (/.f64 3 (sqrt.f64 -1))) (sqrt.f64 -1)) (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/720 (+.f64 (fma.f64 720 (+.f64 (/.f64 -1/48 (sqrt.f64 -1)) (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5))) -45) (fma.f64 -360 (+.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) (/.f64 -30 (sqrt.f64 -1))))) (+.f64 1/8 (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1)))))) 1/24)) (pow.f64 x 6)))))
(*.f64 (exp.f64 -1) (+.f64 (+.f64 (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (/.f64 1/8 (sqrt.f64 -1))) 3/8) (*.f64 x x)) 1) (*.f64 (+.f64 1/8 (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/720 (+.f64 (+.f64 (/.f64 45 (sqrt.f64 -1)) 45) (+.f64 (/.f64 -45 (sqrt.f64 -1)) (+.f64 (/.f64 45 (pow.f64 (sqrt.f64 -1) 5)) -45)))) (/.f64 1/8 (sqrt.f64 -1)))) -7/48)) (pow.f64 x 6))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (sqrt.f64 -1))
(+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))
(+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (exp.f64 (sqrt.f64 -1)) (/.f64 (sqrt.f64 -1) (*.f64 x x)))))
(fma.f64 1/2 (*.f64 (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)) (*.f64 x x)) (exp.f64 (sqrt.f64 -1)))
(fma.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1))) (exp.f64 (sqrt.f64 -1)))
(+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1)))))
(fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (exp.f64 (sqrt.f64 -1)) (/.f64 (sqrt.f64 -1) (*.f64 x x))))))
(fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1)))) (fma.f64 1/2 (*.f64 (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)) (*.f64 x x)) (exp.f64 (sqrt.f64 -1))))
(fma.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1))) (*.f64 (exp.f64 (sqrt.f64 -1)) (fma.f64 (pow.f64 x 4) (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))) 1)))
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))))
(fma.f64 (+.f64 (/.f64 1/48 (pow.f64 (sqrt.f64 -1) 3)) (-.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 4)))) (*.f64 (pow.f64 x 6) (exp.f64 (sqrt.f64 -1))) (fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (exp.f64 (sqrt.f64 -1)) (/.f64 (sqrt.f64 -1) (*.f64 x x)))))))
(fma.f64 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (-.f64 (/.f64 -1/48 (sqrt.f64 -1)) 1/16)) (*.f64 (pow.f64 x 6) (exp.f64 (sqrt.f64 -1))) (fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1)))) (fma.f64 1/2 (*.f64 (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)) (*.f64 x x)) (exp.f64 (sqrt.f64 -1)))))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (+.f64 (*.f64 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (+.f64 (/.f64 -1/48 (sqrt.f64 -1)) -1/16)) (pow.f64 x 6)) (fma.f64 (pow.f64 x 4) (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))) 1))))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (+.f64 (*.f64 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (+.f64 -1/16 (/.f64 -1/48 (sqrt.f64 -1)))) (pow.f64 x 6)) (fma.f64 (pow.f64 x 4) (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))) 1))))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))

eval252.0ms (6.3%)

Compiler

Compiled 5714 to 4394 computations (23.1% saved)

prune93.0ms (2.3%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New3344338
Fresh000
Picked101
Done145
Total3368344
Error
0.0b
Counts
344 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)
0.8b
(exp.f64 -1)
52.6b
(+.f64 1 (expm1.f64 (*.f64 x x)))
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
52.6b
(fma.f64 x x 1)
52.6b
1
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Compiler

Compiled 53 to 41 computations (22.6% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
0.0b
(pow.f64 (exp.f64 x) x)
Compiler

Compiled 18 to 9 computations (50% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite62.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
575×pow1_binary64
528×add-log-exp_binary64
528×log1p-expm1-u_binary64
528×expm1-log1p-u_binary64
514×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0717
113015
2146815
Stop Event
node limit
Counts
2 → 26
Calls
Call 1
Inputs
(pow.f64 (exp.f64 x) x)
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (exp.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (sqrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 x) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) x) (pow.f64 (cbrt.f64 (exp.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 x)) x) (pow.f64 (sqrt.f64 (exp.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 x x))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 -1 (*.f64 x x)))))))

simplify61.0ms (1.5%)

Algorithm
egg-herbie
Rules
479×fma-def_binary64
476×distribute-rgt-out_binary64
437×*-commutative_binary64
416×associate-*l*_binary64
351×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031246
178218
2199200
3595195
42377195
54635195
65600195
Stop Event
node limit
Counts
50 → 44
Calls
Call 1
Inputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (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)) (+.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))))))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
Outputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (*.f64 x x))
(fma.f64 x x 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1)))
(fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) 1)))
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(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 (fma.f64 x x 1) (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 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4)))
(+.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1))))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(*.f64 (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)) (exp.f64 -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 (pow.f64 x 6) (exp.f64 -1)) (+.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 (pow.f64 x 6) (exp.f64 -1)) (+.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1)))))
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) (*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1))))
(*.f64 (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1))) (exp.f64 -1))
(*.f64 (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) 1))) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 x x))
Compiler

Compiled 16 to 6 computations (62.5% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(expm1.f64 (*.f64 x x))
0.0ms
x
@inf
(expm1.f64 (*.f64 x x))
0.0ms
x
@-inf
(expm1.f64 (*.f64 x x))

rewrite50.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
323×pow1_binary64
315×associate-*l*_binary64
311×add-sqr-sqrt_binary64
304×*-un-lft-identity_binary64
299×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
1776
28756
Stop Event
node limit
Counts
1 → 58
Calls
Call 1
Inputs
(expm1.f64 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (expm1.f64 (*.f64 x x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (expm1.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 (*.f64 x x))))) (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x)))) (/.f64 1 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 (pow.f64 (exp.f64 x) x) 1)) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2) (cbrt.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 x x))) (sqrt.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 4)) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))) 2) (cbrt.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/6) (*.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/6) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/4) (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/4) (*.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/4) (sqrt.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1) (/.f64 1 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 x x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 5))) (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 5/2)) (pow.f64 (expm1.f64 (*.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 3/2)) (pow.f64 (expm1.f64 (*.f64 x x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 5)) (pow.f64 (expm1.f64 (*.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (expm1.f64 (*.f64 x x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 5)) 1/3) (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 5/2) 1/3) (pow.f64 (expm1.f64 (*.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 1) (-.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x))) (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) x) 1) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (-.f64 1 (*.f64 (pow.f64 (exp.f64 x) x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1) (+.f64 (pow.f64 (exp.f64 x) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1) (-.f64 (pow.f64 (exp.f64 x) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1)) (neg.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1)) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1) 1) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1) 1) (+.f64 (pow.f64 (exp.f64 x) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (expm1.f64 (*.f64 x x))))) (sqrt.f64 (log.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 (log.f64 (expm1.f64 (*.f64 x x))) 2))) (cbrt.f64 (log.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (expm1.f64 (*.f64 x x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (expm1.f64 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (exp.f64 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) (cbrt.f64 (pow.f64 (exp.f64 x) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (sqrt.f64 (pow.f64 (exp.f64 x) x)) -1)))))

simplify90.0ms (2.3%)

Algorithm
egg-herbie
Rules
857×associate-/l/_binary64
617×distribute-rgt-out_binary64
413×unswap-sqr_binary64
382×distribute-lft-out_binary64
361×sqr-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
023112
157106
2130106
3389106
41895106
54330106
64919106
76216106
Stop Event
node limit
Counts
70 → 68
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))
(+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (*.f64 1/24 (pow.f64 x 8)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
Outputs
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))
(fma.f64 1/2 (pow.f64 x 4) (*.f64 x x))
(+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(fma.f64 1/6 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) (*.f64 x x)))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) (*.f64 x x)))
(+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (*.f64 1/24 (pow.f64 x 8)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/24 (pow.f64 x 8) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/24 (pow.f64 x 8) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/24 (pow.f64 x 8)))))
(fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/24 (pow.f64 x 8) (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/24 1/2))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/24 1/2) (fma.f64 1/6 (pow.f64 x 6) (*.f64 x x)))
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(expm1.f64 (*.f64 x x))
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(expm1.f64 (*.f64 x x))
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(expm1.f64 (*.f64 x x))
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(expm1.f64 (*.f64 x x))
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(expm1.f64 (*.f64 x x))
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(expm1.f64 (*.f64 x x))
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(expm1.f64 (*.f64 x x))
(-.f64 (exp.f64 (pow.f64 x 2)) 1)
(expm1.f64 (*.f64 x x))

localize6.0ms (0.1%)

Compiler

Compiled 7 to 4 computations (42.9% saved)

eval58.0ms (1.5%)

Compiler

Compiled 1506 to 844 computations (44% saved)

prune31.0ms (0.8%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1093112
Fresh011
Picked101
Done246
Total1128120
Error
0.0b
Counts
120 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)
0.8b
(exp.f64 -1)
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
52.6b
(+.f64 1 (*.f64 x x))
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
0.0b
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
52.6b
1
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Compiler

Compiled 57 to 44 computations (22.8% saved)

localize16.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 -1 (*.f64 x x))
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
Compiler

Compiled 17 to 8 computations (52.9% saved)

localize36.0ms (0.9%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
0.0b
(pow.f64 (exp.f64 x) (+.f64 x x))
Compiler

Compiled 33 to 11 computations (66.7% saved)

series6.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
1.0ms
x
@inf
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
1.0ms
x
@0
(pow.f64 (exp.f64 x) (+.f64 x x))
1.0ms
x
@0
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
1.0ms
x
@inf
(pow.f64 (exp.f64 x) (+.f64 x x))

rewrite241.0ms (6%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
309×pow1_binary64
309×pow1_binary64
306×add-sqr-sqrt_binary64
306×add-sqr-sqrt_binary64
296×*-un-lft-identity_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0918
118018
2265218
059
11101
218071
358211
059
11101
0916
118016
2265216
0916
Stop Event
iter limit
node limit
iter limit
unsound
node limit
Counts
2 → 7
Calls
Call 1
Inputs
(pow.f64 (exp.f64 x) (+.f64 x x))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x . 1)))))
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))) (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))))

simplify57.0ms (1.4%)

Algorithm
egg-herbie
Rules
775×distribute-rgt-out_binary64
570×fma-def_binary64
487×distribute-lft-out_binary64
463×associate-*l*_binary64
376×distribute-rgt-in_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
035329
186323
2208285
3668272
42848256
55324240
Stop Event
node limit
Counts
31 → 24
Calls
Call 1
Inputs
1
(+.f64 (*.f64 2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 2 (pow.f64 x 4))))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 4)))))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (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)) (+.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))))))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
Outputs
1
(+.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 2 (pow.f64 x 4))))
(+.f64 (fma.f64 2 (*.f64 x x) 1) (*.f64 2 (pow.f64 x 4)))
(fma.f64 2 (*.f64 x x) (fma.f64 2 (pow.f64 x 4) 1))
(fma.f64 2 (fma.f64 x x (pow.f64 x 4)) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 4)))))
(+.f64 (fma.f64 2 (*.f64 x x) 1) (fma.f64 4/3 (pow.f64 x 6) (*.f64 2 (pow.f64 x 4))))
(+.f64 (fma.f64 2 (*.f64 x x) 1) (fma.f64 2 (pow.f64 x 4) (*.f64 4/3 (pow.f64 x 6))))
(fma.f64 2 (*.f64 x x) (fma.f64 2 (pow.f64 x 4) (fma.f64 4/3 (pow.f64 x 6) 1)))
(fma.f64 2 (fma.f64 x x (pow.f64 x 4)) (fma.f64 4/3 (pow.f64 x 6) 1))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (pow.f64 (exp.f64 2) x) x)
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (pow.f64 (exp.f64 2) x) x)
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (pow.f64 (exp.f64 2) x) x)
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (pow.f64 (exp.f64 2) x) x)
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (pow.f64 (exp.f64 2) x) x)
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (pow.f64 (exp.f64 2) x) x)
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (pow.f64 (exp.f64 2) x) x)
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (pow.f64 (exp.f64 2) x) x)
(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))
(fma.f64 (*.f64 x x) (exp.f64 -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 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1))))
(fma.f64 (*.f64 x x) (exp.f64 -1) (fma.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 x 4) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) 1/2)))
(*.f64 (exp.f64 -1) (fma.f64 (pow.f64 x 4) 1/2 (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 (pow.f64 x 6) (exp.f64 -1)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1)))))
(fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (fma.f64 (*.f64 x x) (exp.f64 -1) (fma.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 x 4) (exp.f64 -1))))
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) (*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (*.f64 (pow.f64 x 6) 1/6))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 (pow.f64 x 6) 1/6 (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 (pow.f64 x 4) 1/2 (*.f64 (pow.f64 x 6) 1/6))))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x))))
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x))))
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x))))
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x))))
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x))))
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x))))
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x))))
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x))))
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))

localize4.0ms (0.1%)

Compiler

Compiled 11 to 5 computations (54.5% saved)

eval62.0ms (1.5%)

Compiler

Compiled 1518 to 1136 computations (25.2% saved)

prune21.0ms (0.5%)

Pruning

9 alts after pruning (2 fresh and 7 done)

PrunedKeptTotal
New1141115
Fresh011
Picked011
Done066
Total1149123
Error
0.0b
Counts
123 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)
0.8b
(exp.f64 -1)
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
52.6b
(+.f64 1 (*.f64 x x))
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
0.0b
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
52.6b
1
52.6b
(exp.f64 (*.f64 x x))
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Compiler

Compiled 62 to 47 computations (24.2% saved)

regimes36.0ms (0.9%)

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

9 calls:

8.0ms
x
5.0ms
(*.f64 x x)
4.0ms
(*.f64 x x)
3.0ms
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
3.0ms
(-.f64 1 (*.f64 x x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.0b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(*.f64 x x)
0.0b1(*.f64 x x)
Compiler

Compiled 143 to 90 computations (37.1% saved)

regimes70.0ms (1.8%)

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

9 calls:

41.0ms
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
7.0ms
x
4.0ms
(*.f64 x x)
3.0ms
(*.f64 x x)
2.0ms
(-.f64 1 (*.f64 x x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.0b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(*.f64 x x)
0.0b1(*.f64 x x)
Compiler

Compiled 119 to 76 computations (36.1% saved)

regimes52.0ms (1.3%)

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

8 calls:

23.0ms
(-.f64 1 (*.f64 x x))
11.0ms
x
3.0ms
(*.f64 x x)
3.0ms
(-.f64 1 (*.f64 x x))
2.0ms
(neg.f64 (-.f64 1 (*.f64 x x)))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.0b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(*.f64 x x)
Compiler

Compiled 108 to 69 computations (36.1% saved)

regimes8.0ms (0.2%)

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

2 calls:

4.0ms
x
3.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
0.8b1x
0.8b1(*.f64 x x)
Compiler

Compiled 23 to 13 computations (43.5% saved)

regimes19.0ms (0.5%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0.0b (-0%)

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

2 calls:

16.0ms
x
2.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
52.6b1x
52.6b1(*.f64 x x)
Compiler

Compiled 13 to 8 computations (38.5% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01647
12247
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 -1)
(+.f64 1 (*.f64 x x))
1
Outputs
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 -1)
(+.f64 1 (*.f64 x x))
(+.f64 (*.f64 x x) 1)
1
Compiler

Compiled 37 to 28 computations (24.3% saved)

soundness0.0ms (0%)

end40.0ms (1%)

Compiler

Compiled 32 to 21 computations (34.4% saved)

Profiling

Loading profile data...