Details

Time bar (total: 2.3s)

analyze13.0ms (0.6%)

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 9 to 7 computations (22.2% saved)

sample1.3s (54.8%)

Results
1.2s8256×body256valid

preprocess67.0ms (2.9%)

Algorithm
egg-herbie
Rules
468×fma-def_binary64
327×fma-neg_binary64
233×div-sub_binary64
156×times-frac_binary64
137×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
32110
42910
53910
65210
76910
88810
912010
1015310
1119510
1228710
1341710
1466910
15129210
16194910
17246910
18264410
19278010
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify49.0ms (2.1%)

Algorithm
egg-herbie
Rules
468×fma-def_binary64
327×fma-neg_binary64
233×div-sub_binary64
156×times-frac_binary64
137×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
32110
42910
53910
65210
76910
88810
912010
1015310
1119510
1228710
1341710
1466910
15129210
16194910
17246910
18264410
19278010
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))

eval1.0ms (0%)

Compiler

Compiled 8 to 6 computations (25% 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 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 8 to 6 computations (25% saved)

localize16.0ms (0.7%)

Local error

Found 2 expressions with local error:

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

Compiled 16 to 11 computations (31.3% saved)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite88.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
787×pow1_binary64
737×log1p-expm1-u_binary64
737×expm1-log1p-u_binary64
735×add-log-exp_binary64
722×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify57.0ms (2.5%)

Algorithm
egg-herbie
Rules
848×fma-neg_binary64
571×fma-def_binary64
547×associate-*l*_binary64
537×cancel-sign-sub-inv_binary64
471×times-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
029147
191135
2268129
3858126
42664122
Stop Event
node limit
Counts
45 → 47
Calls
Call 1
Inputs
1
(+.f64 (*.f64 2 x) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
Outputs
1
(+.f64 (*.f64 2 x) 1)
(fma.f64 2 x 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 1))
(fma.f64 2 (fma.f64 x x x) 1)
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (fma.f64 x x x) 1))
(fma.f64 2 (fma.f64 x (fma.f64 x x x) x) 1)
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 2 (*.f64 x x)))
(+.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 (/.f64 -2 x) x))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (-.f64 (/.f64 -2 x) (/.f64 2 (pow.f64 x 3)))))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 2 (*.f64 x x)))
(+.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 (/.f64 -2 x) x))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (-.f64 (/.f64 -2 x) (/.f64 2 (pow.f64 x 3)))))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1))

eval27.0ms (1.2%)

Compiler

Compiled 563 to 443 computations (21.3% saved)

prune14.0ms (0.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New42547
Fresh000
Picked011
Done000
Total42648
Error
0b
Counts
48 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
32.2b
-1
0.0b
(pow.f64 (/.f64 (-.f64 1 x) (+.f64 x 1)) -1)
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
31.7b
(+.f64 (*.f64 2 x) 1)
32.5b
1
31.1b
(+.f64 -1 (/.f64 -2 x))
Compiler

Compiled 34 to 28 computations (17.6% saved)

localize11.0ms (0.5%)

Compiler

Compiled 12 to 9 computations (25% saved)

localize16.0ms (0.7%)

Compiler

Compiled 12 to 9 computations (25% saved)

localize23.0ms (1%)

Local error

Found 4 expressions with local error:

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

Compiled 26 to 19 computations (26.9% saved)

series36.0ms (1.6%)

Counts
2 → 24
Calls

6 calls:

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

rewrite81.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
977×pow1_binary64
918×add-log-exp_binary64
918×log1p-expm1-u_binary64
918×expm1-log1p-u_binary64
91×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify47.0ms (2%)

Algorithm
egg-herbie
Rules
792×fma-def_binary64
607×cancel-sign-sub-inv_binary64
474×times-frac_binary64
379×associate-/r*_binary64
348×associate-/l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042287
1136269
2402263
31162255
43487255
Stop Event
node limit
Counts
105 → 107
Calls
Call 1
Inputs
1
(+.f64 (*.f64 2 x) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
1
(+.f64 1 (*.f64 -2 x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 -2 x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -2 x) (*.f64 -2 (pow.f64 x 3)))))
-1
(-.f64 (*.f64 2 (/.f64 1 x)) 1)
(-.f64 (*.f64 2 (/.f64 1 x)) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 3)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
-1
(-.f64 (*.f64 2 (/.f64 1 x)) 1)
(-.f64 (*.f64 2 (/.f64 1 x)) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 3)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
Outputs
1
(+.f64 (*.f64 2 x) 1)
(fma.f64 2 x 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 1))
(fma.f64 2 (fma.f64 x x x) 1)
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (fma.f64 x x x) 1))
(fma.f64 2 (fma.f64 x (fma.f64 x x x) x) 1)
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 2 (*.f64 x x)))
(+.f64 -1 (-.f64 (/.f64 -2 x) (/.f64 (/.f64 2 x) x)))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 -2 (*.f64 x x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (-.f64 (/.f64 -2 x) (/.f64 (/.f64 2 x) x)) (/.f64 -2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 (pow.f64 x 3)))))
(+.f64 (+.f64 -1 (/.f64 -2 (*.f64 x x))) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 2 (*.f64 x x)))
(+.f64 -1 (-.f64 (/.f64 -2 x) (/.f64 (/.f64 2 x) x)))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 -2 (*.f64 x x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (-.f64 (/.f64 -2 x) (/.f64 (/.f64 2 x) x)) (/.f64 -2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 (pow.f64 x 3)))))
(+.f64 (+.f64 -1 (/.f64 -2 (*.f64 x x))) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3))))
1
(+.f64 1 (*.f64 -2 x))
(+.f64 1 (*.f64 x -2))
(fma.f64 x -2 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 -2 x)))
(fma.f64 2 (*.f64 x x) (+.f64 1 (*.f64 x -2)))
(fma.f64 2 (*.f64 x x) (fma.f64 x -2 1))
(fma.f64 x (*.f64 2 x) (fma.f64 x -2 1))
(fma.f64 x (fma.f64 2 x -2) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -2 x) (*.f64 -2 (pow.f64 x 3)))))
(fma.f64 2 (*.f64 x x) (+.f64 1 (*.f64 -2 (+.f64 x (pow.f64 x 3)))))
(fma.f64 2 (*.f64 x x) (fma.f64 -2 (+.f64 x (pow.f64 x 3)) 1))
(fma.f64 x (fma.f64 2 x -2) (fma.f64 (pow.f64 x 3) -2 1))
-1
(-.f64 (*.f64 2 (/.f64 1 x)) 1)
(+.f64 (/.f64 2 x) -1)
(-.f64 (*.f64 2 (/.f64 1 x)) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (/.f64 2 x) (+.f64 1 (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 2 x) (-.f64 -1 (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 2 x) (-.f64 -1 (/.f64 (/.f64 2 x) x)))
(+.f64 (+.f64 (/.f64 2 x) -1) (/.f64 -2 (*.f64 x x)))
(-.f64 (/.f64 -2 (*.f64 x x)) (+.f64 1 (/.f64 -2 x)))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 3)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 2 x) (-.f64 (/.f64 2 (pow.f64 x 3)) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(+.f64 (/.f64 2 x) (-.f64 (+.f64 (/.f64 2 (pow.f64 x 3)) -1) (/.f64 (/.f64 2 x) x)))
(+.f64 -1 (+.f64 (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3))) (/.f64 -2 (*.f64 x x))))
(+.f64 (/.f64 2 (pow.f64 x 3)) (-.f64 (/.f64 -2 (*.f64 x x)) (+.f64 1 (/.f64 -2 x))))
-1
(-.f64 (*.f64 2 (/.f64 1 x)) 1)
(+.f64 (/.f64 2 x) -1)
(-.f64 (*.f64 2 (/.f64 1 x)) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (/.f64 2 x) (+.f64 1 (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 2 x) (-.f64 -1 (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 2 x) (-.f64 -1 (/.f64 (/.f64 2 x) x)))
(+.f64 (+.f64 (/.f64 2 x) -1) (/.f64 -2 (*.f64 x x)))
(-.f64 (/.f64 -2 (*.f64 x x)) (+.f64 1 (/.f64 -2 x)))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 3)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 2 x) (-.f64 (/.f64 2 (pow.f64 x 3)) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(+.f64 (/.f64 2 x) (-.f64 (+.f64 (/.f64 2 (pow.f64 x 3)) -1) (/.f64 (/.f64 2 x) x)))
(+.f64 -1 (+.f64 (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3))) (/.f64 -2 (*.f64 x x))))
(+.f64 (/.f64 2 (pow.f64 x 3)) (-.f64 (/.f64 -2 (*.f64 x x)) (+.f64 1 (/.f64 -2 x))))

eval68.0ms (3%)

Compiler

Compiled 1431 to 1103 computations (22.9% saved)

prune35.0ms (1.5%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1043107
Fresh202
Picked101
Done033
Total1076113
Error
0b
Counts
113 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 1 (/.f64 (-.f64 1 x) (+.f64 1 x)))
32.5b
1
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
31.7b
(+.f64 (*.f64 2 x) 1)
32.2b
-1
31.1b
(+.f64 -1 (/.f64 -2 x))
Compiler

Compiled 34 to 28 computations (17.6% saved)

localize20.0ms (0.9%)

Local error

Found 4 expressions with local error:

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

Compiled 25 to 18 computations (28% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite56.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
944×pow1_binary64
884×log1p-expm1-u_binary64
884×expm1-log1p-u_binary64
883×add-log-exp_binary64
83×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify35.0ms (1.5%)

Algorithm
egg-herbie
Rules
792×fma-def_binary64
607×cancel-sign-sub-inv_binary64
474×times-frac_binary64
379×associate-/r*_binary64
348×associate-/l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042287
1136269
2402263
31162255
43487255
Stop Event
node limit
Counts
104 → 106
Calls
Call 1
Inputs
1
(+.f64 (*.f64 2 x) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
1
(+.f64 1 (*.f64 -2 x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 -2 x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -2 x) (*.f64 -2 (pow.f64 x 3)))))
-1
(-.f64 (*.f64 2 (/.f64 1 x)) 1)
(-.f64 (*.f64 2 (/.f64 1 x)) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 3)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
-1
(-.f64 (*.f64 2 (/.f64 1 x)) 1)
(-.f64 (*.f64 2 (/.f64 1 x)) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 3)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
Outputs
1
(+.f64 (*.f64 2 x) 1)
(fma.f64 2 x 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 1))
(fma.f64 2 (fma.f64 x x x) 1)
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (fma.f64 x x x) 1))
(fma.f64 2 (fma.f64 x (fma.f64 x x x) x) 1)
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 2 (*.f64 x x)))
(+.f64 -1 (-.f64 (/.f64 -2 x) (/.f64 (/.f64 2 x) x)))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 -2 (*.f64 x x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (-.f64 (/.f64 -2 x) (/.f64 (/.f64 2 x) x)) (/.f64 -2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 (pow.f64 x 3)))))
(+.f64 (+.f64 -1 (/.f64 -2 (*.f64 x x))) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 2 (*.f64 x x)))
(+.f64 -1 (-.f64 (/.f64 -2 x) (/.f64 (/.f64 2 x) x)))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 -2 (*.f64 x x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (-.f64 (/.f64 -2 x) (/.f64 (/.f64 2 x) x)) (/.f64 -2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 (pow.f64 x 3)))))
(+.f64 (+.f64 -1 (/.f64 -2 (*.f64 x x))) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3))))
1
(+.f64 1 (*.f64 -2 x))
(+.f64 1 (*.f64 x -2))
(fma.f64 x -2 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 -2 x)))
(fma.f64 2 (*.f64 x x) (+.f64 1 (*.f64 x -2)))
(fma.f64 2 (*.f64 x x) (fma.f64 x -2 1))
(fma.f64 x (*.f64 2 x) (fma.f64 x -2 1))
(fma.f64 x (fma.f64 2 x -2) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -2 x) (*.f64 -2 (pow.f64 x 3)))))
(fma.f64 2 (*.f64 x x) (+.f64 1 (*.f64 -2 (+.f64 x (pow.f64 x 3)))))
(fma.f64 2 (*.f64 x x) (fma.f64 -2 (+.f64 x (pow.f64 x 3)) 1))
(fma.f64 x (fma.f64 2 x -2) (fma.f64 (pow.f64 x 3) -2 1))
-1
(-.f64 (*.f64 2 (/.f64 1 x)) 1)
(+.f64 (/.f64 2 x) -1)
(-.f64 (*.f64 2 (/.f64 1 x)) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (/.f64 2 x) (+.f64 1 (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 2 x) (-.f64 -1 (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 2 x) (-.f64 -1 (/.f64 (/.f64 2 x) x)))
(+.f64 (+.f64 (/.f64 2 x) -1) (/.f64 -2 (*.f64 x x)))
(-.f64 (/.f64 -2 (*.f64 x x)) (+.f64 1 (/.f64 -2 x)))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 3)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 2 x) (-.f64 (/.f64 2 (pow.f64 x 3)) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(+.f64 (/.f64 2 x) (-.f64 (+.f64 (/.f64 2 (pow.f64 x 3)) -1) (/.f64 (/.f64 2 x) x)))
(+.f64 -1 (+.f64 (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3))) (/.f64 -2 (*.f64 x x))))
(+.f64 (/.f64 2 (pow.f64 x 3)) (-.f64 (/.f64 -2 (*.f64 x x)) (+.f64 1 (/.f64 -2 x))))
-1
(-.f64 (*.f64 2 (/.f64 1 x)) 1)
(+.f64 (/.f64 2 x) -1)
(-.f64 (*.f64 2 (/.f64 1 x)) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (/.f64 2 x) (+.f64 1 (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 2 x) (-.f64 -1 (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 2 x) (-.f64 -1 (/.f64 (/.f64 2 x) x)))
(+.f64 (+.f64 (/.f64 2 x) -1) (/.f64 -2 (*.f64 x x)))
(-.f64 (/.f64 -2 (*.f64 x x)) (+.f64 1 (/.f64 -2 x)))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 3)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 2 x) (-.f64 (/.f64 2 (pow.f64 x 3)) (+.f64 1 (/.f64 2 (*.f64 x x)))))
(+.f64 (/.f64 2 x) (-.f64 (+.f64 (/.f64 2 (pow.f64 x 3)) -1) (/.f64 (/.f64 2 x) x)))
(+.f64 -1 (+.f64 (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3))) (/.f64 -2 (*.f64 x x))))
(+.f64 (/.f64 2 (pow.f64 x 3)) (-.f64 (/.f64 -2 (*.f64 x x)) (+.f64 1 (/.f64 -2 x))))

eval34.0ms (1.5%)

Compiler

Compiled 1430 to 1131 computations (20.9% saved)

prune15.0ms (0.6%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1051106
Fresh112
Picked011
Done033
Total1066112
Error
0b
Counts
112 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 1 (/.f64 (-.f64 1 x) (+.f64 1 x)))
32.5b
1
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
31.7b
(+.f64 (*.f64 2 x) 1)
32.2b
-1
31.1b
(+.f64 -1 (/.f64 -2 x))
Compiler

Compiled 34 to 28 computations (17.6% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune12.0ms (0.5%)

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
0.0b
(/.f64 1 (/.f64 (-.f64 1 x) (+.f64 1 x)))
32.5b
1
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
31.7b
(+.f64 (*.f64 2 x) 1)
32.2b
-1
31.1b
(+.f64 -1 (/.f64 -2 x))
Compiler

Compiled 34 to 28 computations (17.6% saved)

regimes11.0ms (0.5%)

Counts
10 → 1
Calls
Call 1
Inputs
-1
1
-1
-1
1
(+.f64 (*.f64 2 x) 1)
(+.f64 -1 (/.f64 -2 x))
(/.f64 (+.f64 x 1) (-.f64 1 x))
(/.f64 1 (/.f64 (-.f64 1 x) (+.f64 1 x)))
(pow.f64 (/.f64 (-.f64 1 x) (+.f64 x 1)) -1)
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Calls

2 calls:

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

Compiled 51 to 40 computations (21.6% saved)

regimes16.0ms (0.7%)

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

1 calls:

15.0ms
x
Results
ErrorSegmentsBranch
0.8b3x
Compiler

Compiled 18 to 15 computations (16.7% saved)

bsearch33.0ms (1.5%)

Algorithm
binary-search
Steps
TimeLeftRight
17.0ms
0.12478220291243287
232774.9326237
16.0ms
-52350.63635332704
-0.01711471872894309
Compiler

Compiled 12 to 9 computations (25% saved)

regimes17.0ms (0.8%)

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

1 calls:

16.0ms
x
Results
ErrorSegmentsBranch
1.3b3x
Compiler

Compiled 13 to 11 computations (15.4% saved)

bsearch32.0ms (1.4%)

Algorithm
binary-search
Steps
TimeLeftRight
17.0ms
0.12478220291243287
232774.9326237
15.0ms
-52350.63635332704
-0.01711471872894309
Compiler

Compiled 12 to 9 computations (25% saved)

regimes15.0ms (0.7%)

Accuracy

Total -61.4b remaining (-3786.2%)

Threshold costs -61.4b (-3786.2%)

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

1 calls:

14.0ms
x
Results
ErrorSegmentsBranch
1.6b3x
Compiler

Compiled 8 to 7 computations (12.5% saved)

bsearch32.0ms (1.4%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
0.12478220291243287
232774.9326237
16.0ms
-52350.63635332704
-0.01711471872894309
Compiler

Compiled 12 to 9 computations (25% saved)

simplify5.0ms (0.2%)

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
02480
13280
23580
33780
43880
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
(if (<=.f64 x -7195016673994507/137438953472) (+.f64 -1 (/.f64 -2 x)) (if (<=.f64 x 2301825362079343872/18446744073709551616) (+.f64 (*.f64 2 x) 1) (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -7195016673994507/137438953472) -1 (if (<=.f64 x 2301825362079343872/18446744073709551616) (+.f64 (*.f64 2 x) 1) -1))
(if (<=.f64 x -7195016673994507/137438953472) -1 (if (<=.f64 x 2301825362079343872/18446744073709551616) 1 -1))
-1
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
(if (<=.f64 x -7195016673994507/137438953472) (+.f64 -1 (/.f64 -2 x)) (if (<=.f64 x 2301825362079343872/18446744073709551616) (+.f64 (*.f64 2 x) 1) (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -7195016673994507/137438953472) (+.f64 -1 (/.f64 -2 x)) (if (<=.f64 x 8991505320622437/72057594037927936) (+.f64 1 (*.f64 x 2)) (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -7195016673994507/137438953472) -1 (if (<=.f64 x 2301825362079343872/18446744073709551616) (+.f64 (*.f64 2 x) 1) -1))
(if (<=.f64 x -7195016673994507/137438953472) -1 (if (<=.f64 x 8991505320622437/72057594037927936) (+.f64 1 (*.f64 x 2)) -1))
(if (<=.f64 x -7195016673994507/137438953472) -1 (if (<=.f64 x 2301825362079343872/18446744073709551616) 1 -1))
(if (<=.f64 x -7195016673994507/137438953472) -1 (if (<=.f64 x 8991505320622437/72057594037927936) 1 -1))
-1

end46.0ms (2%)

Stop Event
fuel
Compiler

Compiled 120 to 96 computations (20% saved)

Profiling

Loading profile data...