Details

Time bar (total: 1.4s)

analyze4.0ms (0.3%)

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)

sample627.0ms (44.5%)

Results
615.0ms8256×body256valid

preprocess19.0ms (1.3%)

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)

simplify9.0ms (0.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))

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

localize5.0ms (0.3%)

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)

series2.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite48.0ms (3.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))))))))

simplify54.0ms (3.8%)

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

eval11.0ms (0.8%)

Compiler

Compiled 447 to 308 computations (31.1% saved)

prune7.0ms (0.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New42446
Fresh000
Picked011
Done000
Total42547
Error
0b
Counts
47 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 x (-.f64 1 x))
34.0b
(+.f64 -1 (/.f64 -1 x))
0.1b
(*.f64 (/.f64 1 (-.f64 1 x)) x)
33.6b
-1
30.0b
x
Compiler

Compiled 24 to 18 computations (25% saved)

localize8.0ms (0.6%)

Local error

Found 2 expressions with local error:

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

Compiled 18 to 13 computations (27.8% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite55.0ms (3.9%)

Algorithm
batch-egg-rewrite
Rules
666×pow1_binary64
621×add-log-exp_binary64
621×log1p-expm1-u_binary64
621×expm1-log1p-u_binary64
609×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0614
113014
2169414
Stop Event
node limit
Counts
2 → 45
Calls
Call 1
Inputs
(*.f64 (/.f64 1 (-.f64 1 x)) x)
(/.f64 1 (-.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 1 (/.f64 (-.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (-.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 x) 2) (/.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 (/.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 x (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (cbrt.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x -1) (neg.f64 (-.f64 1 x)))))) (#(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 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 cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (-.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (/.f64 1 (-.f64 1 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (-.f64 1 x)) 3) (pow.f64 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 (+.f64 1 (/.f64 1 (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (-.f64 1 x))) (cbrt.f64 (pow.f64 (-.f64 1 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (-.f64 1 x) -2)) (/.f64 1 (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 1 x) -1/2) (pow.f64 (-.f64 1 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 1 x)) 2) -1) (pow.f64 (cbrt.f64 (-.f64 1 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (-.f64 1 x)) -1) (pow.f64 (sqrt.f64 (-.f64 1 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) (+.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log1p.f64 (neg.f64 x))))))))

simplify46.0ms (3.2%)

Algorithm
egg-herbie
Rules
774×fma-neg_binary64
535×associate-*l*_binary64
445×fma-def_binary64
443×associate-*r*_binary64
425×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
038333
1112299
2345290
31021289
42833289
Stop Event
node limit
Counts
69 → 73
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))))))
1
(+.f64 1 x)
(+.f64 1 (+.f64 (pow.f64 x 2) x))
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)))
(/.f64 -1 x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))))
(/.f64 -1 x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))))
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 (fma.f64 x x x) (pow.f64 x 3))
(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 (fma.f64 x x x) (pow.f64 x 3)) (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))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)))
(+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x)))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -1 x) x) (/.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 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(+.f64 -1 (-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.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 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 -1 (/.f64 (/.f64 -1 x) x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
-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))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)))
(+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x)))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -1 x) x) (/.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 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(+.f64 -1 (-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.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 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 -1 (/.f64 (/.f64 -1 x) x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
1
(+.f64 1 x)
(+.f64 x 1)
(+.f64 1 (+.f64 (pow.f64 x 2) x))
(+.f64 (+.f64 x (*.f64 x x)) 1)
(+.f64 (fma.f64 x x x) 1)
(+.f64 x (fma.f64 x x 1))
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)))
(+.f64 (+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3))) 1)
(+.f64 (+.f64 (fma.f64 x x x) (pow.f64 x 3)) 1)
(+.f64 (fma.f64 x (fma.f64 x x x) x) 1)
(*.f64 (+.f64 x 1) (fma.f64 x x 1))
(/.f64 -1 x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))
(neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x))
(+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))))
(neg.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4))))
(-.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3))))
(+.f64 (+.f64 (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3)))
(+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))))
(/.f64 -1 x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))
(neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x))
(+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))))
(neg.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4))))
(-.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3))))
(+.f64 (+.f64 (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3)))
(+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4)))))
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))))

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 11 to 8 computations (27.3% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite45.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
578×pow1_binary64
537×add-log-exp_binary64
537×log1p-expm1-u_binary64
537×expm1-log1p-u_binary64
527×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify11.0ms (0.8%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
+-commutative_binary64
fma-def_binary64
associate-+l-_binary64
associate--r+_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0887
11669
22969
33869
44869
55769
66869
Stop Event
saturated
Counts
44 → 36
Calls
Call 1
Inputs
(/.f64 -1 x)
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (/.f64 1 x)))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (/.f64 1 x)))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (/.f64 1 x)))
Outputs
(/.f64 -1 x)
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 x)))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 x)))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 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))
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 x)))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 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))
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 x)))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 x)))
(+.f64 -1 (/.f64 -1 x))

eval29.0ms (2%)

Compiler

Compiled 1115 to 839 computations (24.8% saved)

prune15.0ms (1.1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1072109
Fresh112
Picked011
Done022
Total1086114
Error
0b
Counts
114 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
33.6b
-1
0.0b
(/.f64 x (-.f64 1 x))
0.1b
(*.f64 (/.f64 1 (-.f64 1 x)) x)
30.3b
(*.f64 (+.f64 x 1) x)
34.0b
(+.f64 -1 (/.f64 -1 x))
30.0b
x
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize5.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 11 to 7 computations (36.4% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite41.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
502×pow1_binary64
487×add-sqr-sqrt_binary64
468×log1p-expm1-u_binary64
468×expm1-log1p-u_binary64
467×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify164.0ms (11.7%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
739×fma-def_binary64
572×cube-prod_binary64
564×fabs-mul_binary64
523×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0572
11154
22254
33954
48954
527354
695254
7212554
8254054
9275554
10299354
11335454
12378854
13429054
14487654
15559954
16644854
17684054
18713254
19741354
20748954
21752554
Stop Event
node limit
Counts
29 → 22
Calls
Call 1
Inputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
Outputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)

eval4.0ms (0.2%)

Compiler

Compiled 159 to 75 computations (52.8% saved)

prune5.0ms (0.3%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New21122
Fresh112
Picked011
Done033
Total22628
Error
0b
Counts
28 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
33.6b
-1
0.0b
(/.f64 x (-.f64 1 x))
0.1b
(*.f64 (/.f64 1 (-.f64 1 x)) x)
30.3b
(*.f64 (+.f64 x 1) x)
30.0b
x
34.0b
(+.f64 -1 (/.f64 -1 x))
Compiler

Compiled 30 to 22 computations (26.7% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.2%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done044
Total066
Error
0b
Counts
6 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
33.6b
-1
0.0b
(/.f64 x (-.f64 1 x))
0.1b
(*.f64 (/.f64 1 (-.f64 1 x)) x)
30.3b
(*.f64 (+.f64 x 1) x)
30.0b
x
34.0b
(+.f64 -1 (/.f64 -1 x))
Compiler

Compiled 30 to 22 computations (26.7% saved)

regimes10.0ms (0.7%)

Counts
8 → 1
Calls
Call 1
Inputs
x
-1
-1
x
(*.f64 (+.f64 x 1) x)
(+.f64 -1 (/.f64 -1 x))
(/.f64 x (-.f64 1 x))
(*.f64 (/.f64 1 (-.f64 1 x)) x)
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 35 to 23 computations (34.3% saved)

regimes15.0ms (1.1%)

Counts
6 → 3
Calls
Call 1
Inputs
x
-1
-1
x
(*.f64 (+.f64 x 1) x)
(+.f64 -1 (/.f64 -1 x))
Outputs
(+.f64 -1 (/.f64 -1 x))
(*.f64 (+.f64 x 1) x)
(+.f64 -1 (/.f64 -1 x))
Calls

1 calls:

14.0ms
x
Results
ErrorSegmentsBranch
1.1b3x
Compiler

Compiled 17 to 11 computations (35.3% saved)

bsearch29.0ms (2%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
0.0041619781694708065
4.538795993251062
14.0ms
-32.65887040153858
-0.9852319482557348
Compiler

Compiled 10 to 7 computations (30% saved)

regimes14.0ms (1%)

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

1 calls:

13.0ms
x
Results
ErrorSegmentsBranch
1.4b3x
Compiler

Compiled 12 to 7 computations (41.7% saved)

bsearch27.0ms (1.9%)

Algorithm
binary-search
Steps
TimeLeftRight
13.0ms
0.0041619781694708065
4.538795993251062
14.0ms
-0.9852319482557348
-0.0037156178346910746
Compiler

Compiled 10 to 7 computations (30% saved)

regimes12.0ms (0.9%)

Accuracy

Total -59.8b remaining (-3121.8%)

Threshold costs -59.8b (-3121.8%)

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

1 calls:

11.0ms
x
Results
ErrorSegmentsBranch
1.9b3x
Compiler

Compiled 7 to 4 computations (42.9% saved)

bsearch27.0ms (1.9%)

Algorithm
binary-search
Steps
TimeLeftRight
13.0ms
0.0041619781694708065
4.538795993251062
14.0ms
-32.65887040153858
-0.9852319482557348
Compiler

Compiled 10 to 7 computations (30% saved)

simplify6.0ms (0.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02377
13077
23377
33577
43677
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 x (-.f64 1 x))
(if (<=.f64 x -2298163696417351/70368744177664) (+.f64 -1 (/.f64 -1 x)) (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 (+.f64 x 1) x) (+.f64 -1 (/.f64 -1 x))))
(if (<=.f64 x -4437090235038035/4503599627370496) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 (+.f64 x 1) x) -1))
(if (<=.f64 x -2298163696417351/70368744177664) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) x -1))
x
Outputs
(/.f64 x (-.f64 1 x))
(if (<=.f64 x -2298163696417351/70368744177664) (+.f64 -1 (/.f64 -1 x)) (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 (+.f64 x 1) x) (+.f64 -1 (/.f64 -1 x))))
(if (<=.f64 x -2298163696417351/70368744177664) (+.f64 -1 (/.f64 -1 x)) (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 x (+.f64 x 1)) (+.f64 -1 (/.f64 -1 x))))
(if (<=.f64 x -4437090235038035/4503599627370496) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 (+.f64 x 1) x) -1))
(if (<=.f64 x -4437090235038035/4503599627370496) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 x (+.f64 x 1)) -1))
(if (<=.f64 x -2298163696417351/70368744177664) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) x -1))
x
Compiler

Compiled 60 to 44 computations (26.7% saved)

soundness0.0ms (0%)

end41.0ms (2.9%)

Compiler

Compiled 56 to 40 computations (28.6% saved)

Profiling

Loading profile data...