Details

Time bar (total: 1.0s)

analyze70.0ms (6.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
25%74.9%0.1%4
37.5%62.4%0.1%5
62.4%37.5%0.1%6
71.8%28.1%0.1%7
76.5%21.9%1.7%8
80.4%16.4%3.2%9
82.3%11.7%6%10
84.1%8.8%7.1%11
85%6%9%12
85.8%4.5%9.7%13
86.2%3.1%10.7%14
Compiler

Compiled 8 to 5 computations (37.5% saved)

sample690.0ms (68.1%)

Results
652.0ms8256×body128valid
21.0ms176×body128invalid
Compiler

Compiled 16 to 10 computations (37.5% saved)

preprocess39.0ms (3.8%)

Algorithm
egg-herbie
Rules
372×fma-def_binary64
348×fma-neg_binary64
255×times-frac_binary64
209×div-sub_binary64
132×associate-/l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
11714
23214
35314
410414
519114
633914
785514
8223214
9277614
10286714
11287914
12288114
13289114
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(/.f64 (-.f64 x y) x)
(/.f64 (-.f64 y x) y)
Outputs
(/.f64 (-.f64 x y) x)
(-.f64 1 (/.f64 y x))
(/.f64 (-.f64 y x) y)
(-.f64 1 (/.f64 x y))
Compiler

Compiled 7 to 4 computations (42.9% saved)

simplify25.0ms (2.4%)

Algorithm
egg-herbie
Rules
221×fma-def_binary64
170×fma-neg_binary64
141×div-sub_binary64
107×times-frac_binary64
59×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1107
2187
3307
4567
5847
61417
72557
85577
98807
1012257
1112837
1213497
1313907
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) x)
Outputs
(/.f64 (-.f64 x y) x)
(-.f64 1 (/.f64 y x))

prune2.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 1 (/.f64 y x))
0.0b
(/.f64 (-.f64 x y) x)
Compiler

Compiled 40 to 25 computations (37.5% saved)

localize3.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x y) x)

series3.0ms (0.3%)

Counts
1 → 24
Calls

6 calls:

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

rewrite35.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
787×pow1_binary64
738×log1p-expm1-u_binary64
738×expm1-log1p-u_binary64
66×add-sqr-sqrt_binary64
65×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify13.0ms (1.3%)

Algorithm
egg-herbie
Rules
20×fma-def_binary64
13×sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
associate-+l-_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08147
115147
222147
333147
444147
559147
674147
791147
8102147
9116147
Stop Event
saturated
Counts
59 → 38
Calls
Call 1
Inputs
(*.f64 -1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
1
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
1
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
1
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
Outputs
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
1
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
1
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
1
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))
(-.f64 1 (/.f64 y x))

prune15.0ms (1.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New38038
Fresh011
Picked011
Done000
Total38240
Error
0b
Counts
40 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 1 (/.f64 y x))
0.0b
(/.f64 (-.f64 x y) x)
Compiler

Compiled 383 to 196 computations (48.8% saved)

localize4.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.2%)

Counts
1 → 6
Calls

6 calls:

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

rewrite40.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
708×pow1_binary64
659×add-log-exp_binary64
659×log1p-expm1-u_binary64
659×expm1-log1p-u_binary64
66×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify9.0ms (0.9%)

Algorithm
egg-herbie
Rules
14×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
fma-neg_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0721
11321
21921
32521
43121
53921
64721
75721
86521
97921
Stop Event
saturated
Counts
35 → 32
Calls
Call 1
Inputs
1
(*.f64 -1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
1
1
Outputs
1
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
1
1

prune16.0ms (1.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New32032
Fresh000
Picked011
Done011
Total32234
Error
0b
Counts
34 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 1 (/.f64 y x))
0.0b
(/.f64 (-.f64 x y) x)
Compiler

Compiled 370 to 202 computations (45.4% saved)

regimes12.0ms (1.1%)

Accuracy

Total 0.0b remaining (99.2%)

Threshold costs 0.0b (99.2%)

Counts
4 → 1
Compiler

Compiled 30 to 18 computations (40% 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
057
177
2127
3147
4157
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 x y) x)
Outputs
(/.f64 (-.f64 x y) x)

end34.0ms (3.4%)

Stop Event
done
Compiler

Compiled 28 to 17 computations (39.3% saved)

Profiling

Loading profile data...