Details

Time bar (total: 1.6s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample952.0ms (58.4%)

Results
941.0ms8256×body256valid

preprocess27.0ms (1.7%)

Algorithm
egg-herbie
Rules
11×sub-neg_binary64
+-commutative_binary64
fma-def_binary64
div-sub_binary64
associate-+l-_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
197
2137
3197
4277
5377
6507
7687
8817
9847
10857
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 x (-.f64 1 x))
Outputs
(/.f64 x (-.f64 1 x))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify44.0ms (2.7%)

Algorithm
egg-herbie
Rules
11×sub-neg_binary64
+-commutative_binary64
fma-def_binary64
div-sub_binary64
associate-+l-_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
197
2137
3197
4277
5377
6507
7687
8817
9847
10857
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 x (-.f64 1 x))
Outputs
(/.f64 x (-.f64 1 x))

eval1.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 x (-.f64 1 x))
Compiler

Compiled 6 to 4 computations (33.3% saved)

localize15.0ms (0.9%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (-.f64 1 x))
Compiler

Compiled 11 to 7 computations (36.4% saved)

series3.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 x (-.f64 1 x))
1.0ms
x
@inf
(/.f64 x (-.f64 1 x))
1.0ms
x
@-inf
(/.f64 x (-.f64 1 x))

rewrite66.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
607×pow1_binary64
568×add-log-exp_binary64
568×log1p-expm1-u_binary64
568×expm1-log1p-u_binary64
557×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify97.0ms (5.9%)

Algorithm
egg-herbie
Rules
698×fma-neg_binary64
597×associate-/l*_binary64
562×associate-*l*_binary64
478×cancel-sign-sub-inv_binary64
445×associate-*r*_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
027150
176132
2220125
3597125
41842125
55601113
Stop Event
node limit
Counts
44 → 46
Calls
Call 1
Inputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x)))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
Outputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))
(+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3)))
(+.f64 x (*.f64 x (fma.f64 x x x)))
(fma.f64 x (fma.f64 x x x) x)
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x)))
(+.f64 (*.f64 x x) (+.f64 (+.f64 x (pow.f64 x 3)) (pow.f64 x 4)))
(+.f64 (+.f64 x (pow.f64 x 3)) (fma.f64 x x (pow.f64 x 4)))
(*.f64 (fma.f64 x x 1) (fma.f64 x x x))
(*.f64 (fma.f64 x x x) (fma.f64 x x 1))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 x)))
(-.f64 -1 (/.f64 1 x))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 -1 (+.f64 (/.f64 -1 x) (/.f64 -1 (*.f64 x x))))
(+.f64 -1 (-.f64 (/.f64 -1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x)))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(neg.f64 (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 -1 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 (-.f64 -1 (/.f64 1 x)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (-.f64 (/.f64 -1 x) (/.f64 1 (*.f64 x x))) (-.f64 -1 (/.f64 1 (pow.f64 x 3))))
(+.f64 -1 (-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(*.f64 (-.f64 1 (/.f64 -1 (*.f64 x x))) (+.f64 -1 (/.f64 -1 x)))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 x)))
(-.f64 -1 (/.f64 1 x))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 -1 (+.f64 (/.f64 -1 x) (/.f64 -1 (*.f64 x x))))
(+.f64 -1 (-.f64 (/.f64 -1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x)))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(neg.f64 (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 -1 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 (-.f64 -1 (/.f64 1 x)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (-.f64 (/.f64 -1 x) (/.f64 1 (*.f64 x x))) (-.f64 -1 (/.f64 1 (pow.f64 x 3))))
(+.f64 -1 (-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(*.f64 (-.f64 1 (/.f64 -1 (*.f64 x x))) (+.f64 -1 (/.f64 -1 x)))

eval30.0ms (1.9%)

Compiler

Compiled 447 to 308 computations (31.1% saved)

prune13.0ms (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43346
Fresh000
Picked011
Done000
Total43447
Error
0b
Counts
47 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.3b
(pow.f64 (/.f64 (-.f64 1 x) x) -1)
33.5b
-1
0.0b
(/.f64 x (-.f64 1 x))
29.6b
x
Compiler

Compiled 18 to 13 computations (27.8% saved)

localize15.0ms (0.9%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 1 x) x)
0.3b
(pow.f64 (/.f64 (-.f64 1 x) x) -1)
Compiler

Compiled 19 to 13 computations (31.6% saved)

series35.0ms (2.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
32.0ms
x
@-inf
(/.f64 (-.f64 1 x) x)
1.0ms
x
@0
(pow.f64 (/.f64 (-.f64 1 x) x) -1)
0.0ms
x
@inf
(/.f64 (-.f64 1 x) x)
0.0ms
x
@-inf
(pow.f64 (/.f64 (-.f64 1 x) x) -1)
0.0ms
x
@0
(/.f64 (-.f64 1 x) x)

rewrite86.0ms (5.3%)

Algorithm
batch-egg-rewrite
Rules
785×pow1_binary64
740×add-log-exp_binary64
738×log1p-expm1-u_binary64
738×expm1-log1p-u_binary64
724×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify59.0ms (3.6%)

Algorithm
egg-herbie
Rules
698×fma-neg_binary64
606×associate-/l*_binary64
559×associate-*l*_binary64
470×cancel-sign-sub-inv_binary64
445×associate-*r*_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
028219
178201
2223194
3601194
41847194
55585182
Stop Event
node limit
Counts
99 → 92
Calls
Call 1
Inputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x)))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) 1)
(-.f64 (/.f64 1 x) 1)
(-.f64 (/.f64 1 x) 1)
-1
(-.f64 (/.f64 1 x) 1)
(-.f64 (/.f64 1 x) 1)
(-.f64 (/.f64 1 x) 1)
-1
(-.f64 (/.f64 1 x) 1)
(-.f64 (/.f64 1 x) 1)
(-.f64 (/.f64 1 x) 1)
Outputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))
(+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3)))
(+.f64 x (*.f64 x (fma.f64 x x x)))
(fma.f64 x (fma.f64 x x x) x)
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x)))
(+.f64 (*.f64 x x) (+.f64 (+.f64 x (pow.f64 x 3)) (pow.f64 x 4)))
(+.f64 (+.f64 x (pow.f64 x 3)) (fma.f64 x x (pow.f64 x 4)))
(*.f64 (fma.f64 x x 1) (fma.f64 x x x))
(*.f64 (fma.f64 x x x) (fma.f64 x x 1))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x)))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 (/.f64 -1 x) x))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (*.f64 x x)))))
(-.f64 (+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3)))
(+.f64 -1 (+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -1 x) x) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))))
(*.f64 (-.f64 1 (/.f64 (/.f64 -1 x) x)) (+.f64 -1 (/.f64 -1 x)))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x)))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 (/.f64 -1 x) x))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (*.f64 x x)))))
(-.f64 (+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3)))
(+.f64 -1 (+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -1 x) x) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))))
(*.f64 (-.f64 1 (/.f64 (/.f64 -1 x) x)) (+.f64 -1 (/.f64 -1 x)))
(/.f64 1 x)
(-.f64 (/.f64 1 x) 1)
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
(-.f64 (/.f64 1 x) 1)
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
(-.f64 (/.f64 1 x) 1)
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
-1
(-.f64 (/.f64 1 x) 1)
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
(-.f64 (/.f64 1 x) 1)
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
(-.f64 (/.f64 1 x) 1)
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
-1
(-.f64 (/.f64 1 x) 1)
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
(-.f64 (/.f64 1 x) 1)
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))
(-.f64 (/.f64 1 x) 1)
(+.f64 (/.f64 1 x) -1)
(+.f64 -1 (/.f64 1 x))

eval28.0ms (1.7%)

Compiler

Compiled 992 to 743 computations (25.1% saved)

prune12.0ms (0.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New91192
Fresh112
Picked011
Done011
Total92496
Error
0b
Counts
96 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.3b
(pow.f64 (/.f64 (-.f64 1 x) x) -1)
33.5b
-1
29.6b
x
0.0b
(/.f64 x (-.f64 1 x))
Compiler

Compiled 18 to 13 computations (27.8% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done022
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.3b
(pow.f64 (/.f64 (-.f64 1 x) x) -1)
33.5b
-1
29.6b
x
0.0b
(/.f64 x (-.f64 1 x))
Compiler

Compiled 18 to 13 computations (27.8% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done022
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.3b
(pow.f64 (/.f64 (-.f64 1 x) x) -1)
33.5b
-1
29.6b
x
0.0b
(/.f64 x (-.f64 1 x))
Compiler

Compiled 18 to 13 computations (27.8% saved)

regimes9.0ms (0.5%)

Counts
5 → 1
Calls
Call 1
Inputs
x
-1
x
(/.f64 x (-.f64 1 x))
(pow.f64 (/.f64 (-.f64 1 x) x) -1)
Outputs
(/.f64 x (-.f64 1 x))
Calls

2 calls:

5.0ms
x
3.0ms
(/.f64 x (-.f64 1 x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 x (-.f64 1 x))
Compiler

Compiled 24 to 15 computations (37.5% saved)

regimes43.0ms (2.7%)

Accuracy

Total -60.4b remaining (-4423.3%)

Threshold costs -60.4b (-4423.3%)

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

1 calls:

43.0ms
x
Results
ErrorSegmentsBranch
1.4b3x
Compiler

Compiled 6 to 3 computations (50% saved)

bsearch34.0ms (2.1%)

Algorithm
binary-search
Steps
TimeLeftRight
17.0ms
2.0683805937586775e-16
8144.012145380563
17.0ms
-2737.7937741464616
-0.9858516138848535
Compiler

Compiled 10 to 7 computations (30% saved)

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01323
11723
22023
32223
42323
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 x (-.f64 1 x))
(if (<=.f64 x -6020472178253549/2199023255552) -1 (if (<=.f64 x 8390348483771549/40564819207303340847894502572032) x -1))
x
Outputs
(/.f64 x (-.f64 1 x))
(if (<=.f64 x -6020472178253549/2199023255552) -1 (if (<=.f64 x 8390348483771549/40564819207303340847894502572032) x -1))
x
Compiler

Compiled 20 to 14 computations (30% saved)

soundness0.0ms (0%)

end47.0ms (2.9%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

Profiling

Loading profile data...