Details

Time bar (total: 870.0ms)

analyze6.0ms (0.7%)

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
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample636.0ms (73.1%)

Results
624.0ms8256×body128valid
Compiler

Compiled 18 to 14 computations (22.2% saved)

preprocess40.0ms (4.6%)

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 8 to 6 computations (25% saved)

simplify28.0ms (3.3%)

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

prune1.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 24 to 18 computations (25% saved)

localize4.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite36.0ms (4.1%)

Algorithm
batch-egg-rewrite
Rules
787×pow1_binary64
737×log1p-expm1-u_binary64
737×expm1-log1p-u_binary64
71×add-sqr-sqrt_binary64
69×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
113710
2196310
Stop Event
node limit
Counts
1 → 35
Calls
Call 1
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.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 log.f64 (+.f64 1 (expm1.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 exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))))))))

simplify23.0ms (2.7%)

Algorithm
egg-herbie
Rules
670×fma-neg_binary64
601×fma-def_binary64
418×cancel-sign-sub-inv_binary64
303×associate-/l/_binary64
291×times-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
032151
1102130
2299128
3890128
42653124
Stop Event
node limit
Counts
47 → 49
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 2 x))
(+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)))
(+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) (*.f64 2 (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 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
-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 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
Outputs
1
(+.f64 1 (*.f64 2 x))
(fma.f64 2 x 1)
(+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)))
(+.f64 1 (*.f64 2 (+.f64 (*.f64 x x) x)))
(fma.f64 2 (fma.f64 x x x) 1)
(+.f64 1 (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) (*.f64 2 (pow.f64 x 3)))))
(+.f64 1 (fma.f64 2 (*.f64 x x) (*.f64 2 (+.f64 x (pow.f64 x 3)))))
(+.f64 1 (*.f64 2 (+.f64 (fma.f64 x x x) (pow.f64 x 3))))
(fma.f64 2 (+.f64 (pow.f64 x 3) (fma.f64 x x x)) 1)
(fma.f64 2 (+.f64 x (*.f64 x (fma.f64 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))
(+.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 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 -2 x) (-.f64 (/.f64 (/.f64 -2 x) x) 1))
(+.f64 (/.f64 -2 x) (+.f64 -1 (/.f64 (/.f64 -2 x) x)))
(+.f64 -1 (*.f64 (/.f64 1 x) (-.f64 -2 (/.f64 2 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
(+.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 -2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (-.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 2 x)) (/.f64 (/.f64 -2 x) x)))
(-.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))
(+.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 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 -2 x) (-.f64 (/.f64 (/.f64 -2 x) x) 1))
(+.f64 (/.f64 -2 x) (+.f64 -1 (/.f64 (/.f64 -2 x) x)))
(+.f64 -1 (*.f64 (/.f64 1 x) (-.f64 -2 (/.f64 2 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
(+.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 -2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (-.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 2 x)) (/.f64 (/.f64 -2 x) x)))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1))

prune27.0ms (3.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New48149
Fresh000
Picked011
Done000
Total48250
Error
0b
Counts
50 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
35.9b
(fma.f64 2 (fma.f64 x x x) 1)
Compiler

Compiled 608 to 473 computations (22.2% saved)

localize4.0ms (0.4%)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Error
0b
Counts
2 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
35.9b
(fma.f64 2 (fma.f64 x x x) 1)
Compiler

Compiled 16 to 11 computations (31.3% saved)

regimes9.0ms (1.1%)

Accuracy

Total 0.0b remaining (63.3%)

Threshold costs 0.0b (63.3%)

Counts
8 → 1
Compiler

Compiled 52 to 39 computations (25% saved)

simplify2.0ms (0.2%)

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
0610
11110
21510
31710
41810
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))

end52.0ms (5.9%)

Stop Event
done
Compiler

Compiled 32 to 23 computations (28.1% saved)

Profiling

Loading profile data...