Details

Time bar (total: 1.8s)

analyze215.0ms (11.7%)

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
0%99.9%0.1%4
0%99.9%0.1%5
25%74.9%0.1%6
40.6%59.3%0.1%7
54.6%43.7%1.7%8
63.2%33.6%3.2%9
70.6%23.4%6%10
75.1%17.8%7.1%11
78.9%12.1%9%12
Compiler

Compiled 8 to 5 computations (37.5% saved)

sample912.0ms (49.7%)

Results
865.0ms8256×body256valid
32.0ms359×body256invalid

preprocess78.0ms (4.3%)

Algorithm
egg-herbie
Rules
372×fma-def_binary64
348×fma-neg_binary64
253×times-frac_binary64
210×div-sub_binary64
151×associate-/r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
11714
23214
35314
410414
519414
634114
786414
8258614
9314014
10323114
11324314
12324514
13325514
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 9 to 6 computations (33.3% saved)

simplify44.0ms (2.4%)

Algorithm
egg-herbie
Rules
221×fma-def_binary64
170×fma-neg_binary64
139×div-sub_binary64
107×times-frac_binary64
67×associate-/r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1107
2187
3307
4567
5847
61417
72557
85637
98847
1012287
1112867
1213527
1313937
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))

eval1.0ms (0%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 14 to 9 computations (35.7% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 13 to 6 computations (53.8% saved)

series3.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
(-.f64 1 (/.f64 y x))
1.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))

rewrite55.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
708×pow1_binary64
659×add-log-exp_binary64
659×log1p-expm1-u_binary64
659×expm1-log1p-u_binary64
646×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11287
217147
Stop Event
node limit
Counts
1 → 28
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 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)))))))

simplify16.0ms (0.9%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
08183
115147
224147
333147
444147
559147
674147
791147
8102147
9116147
Stop Event
saturated
Counts
52 → 33
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(*.f64 -1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(*.f64 -1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(*.f64 -1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
Outputs
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.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 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.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 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.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 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (neg.f64 (/.f64 y x)))
(-.f64 1 (/.f64 y x))

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 12 to 4 computations (66.7% saved)

series3.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite57.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
787×pow1_binary64
738×add-log-exp_binary64
738×log1p-expm1-u_binary64
738×expm1-log1p-u_binary64
721×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11197
219137
Stop Event
node limit
Counts
1 → 33
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 (+.f64 1 (-.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))) (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 (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 (pow.f64 (cbrt.f64 x) 2)) (/.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) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x y)) (pow.f64 (cbrt.f64 x) 2)) (/.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 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))))))))

simplify16.0ms (0.9%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
08183
115147
224147
333147
444147
559147
674147
791147
8102147
9116147
Stop Event
saturated
Counts
57 → 37
Calls
Call 1
Inputs
(*.f64 -1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(*.f64 -1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(*.f64 -1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
Outputs
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))

eval15.0ms (0.8%)

Compiler

Compiled 708 to 366 computations (48.3% saved)

prune11.0ms (0.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New67370
Fresh000
Picked011
Done011
Total67572
Error
0b
Counts
72 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
28.5b
1
35.1b
(/.f64 (neg.f64 y) x)
0.2b
(*.f64 (/.f64 1 x) (-.f64 x y))
0.0b
(-.f64 1 (/.f64 y x))
0.0b
(/.f64 (-.f64 x y) x)
Compiler

Compiled 32 to 22 computations (31.3% saved)

localize7.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (/.f64 1 x) (-.f64 x y))
Compiler

Compiled 18 to 9 computations (50% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite55.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
821×pow1_binary64
765×add-log-exp_binary64
765×log1p-expm1-u_binary64
765×expm1-log1p-u_binary64
749×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify16.0ms (0.9%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
08183
115147
224147
333147
444147
559147
674147
791147
8102147
9116147
Stop Event
saturated
Counts
63 → 44
Calls
Call 1
Inputs
(*.f64 -1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(*.f64 -1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(*.f64 -1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
Outputs
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
1
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(*.f64 -1 (/.f64 y x))
(neg.f64 (/.f64 y x))
(/.f64 (neg.f64 y) x)
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))
(+.f64 1 (*.f64 -1 (/.f64 y x)))
(+.f64 (neg.f64 (/.f64 y x)) 1)
(-.f64 1 (/.f64 y x))

localize4.0ms (0.2%)

Compiler

Compiled 10 to 4 computations (60% saved)

eval9.0ms (0.5%)

Compiler

Compiled 470 to 195 computations (58.5% saved)

prune8.0ms (0.5%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New43144
Fresh101
Picked011
Done033
Total44549
Error
0b
Counts
49 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
28.5b
1
35.1b
(/.f64 (neg.f64 y) x)
0.2b
(*.f64 (/.f64 1 x) (-.f64 x y))
0.0b
(-.f64 1 (/.f64 y x))
0.0b
(/.f64 (-.f64 x y) x)
Compiler

Compiled 32 to 22 computations (31.3% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done044
Total055
Error
0b
Counts
5 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
28.5b
1
35.1b
(/.f64 (neg.f64 y) x)
0.2b
(*.f64 (/.f64 1 x) (-.f64 x y))
0.0b
(-.f64 1 (/.f64 y x))
0.0b
(/.f64 (-.f64 x y) x)
Compiler

Compiled 32 to 22 computations (31.3% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done044
Total055
Error
0b
Counts
5 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
28.5b
1
35.1b
(/.f64 (neg.f64 y) x)
0.2b
(*.f64 (/.f64 1 x) (-.f64 x y))
0.0b
(-.f64 1 (/.f64 y x))
0.0b
(/.f64 (-.f64 x y) x)
Compiler

Compiled 32 to 22 computations (31.3% saved)

regimes19.0ms (1.1%)

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

4 calls:

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

Compiled 45 to 26 computations (42.2% saved)

regimes54.0ms (3%)

Counts
3 → 3
Calls
Call 1
Inputs
1
1
(/.f64 (neg.f64 y) x)
Outputs
(/.f64 (neg.f64 y) x)
1
(/.f64 (neg.f64 y) x)
Calls

2 calls:

29.0ms
y
22.0ms
x
Results
ErrorSegmentsBranch
16.4b3x
15.8b3y
Compiler

Compiled 14 to 10 computations (28.6% saved)

bsearch52.0ms (2.8%)

Algorithm
binary-search
Steps
TimeLeftRight
25.0ms
8.356560376888924e-58
7.630872794376408e-56
26.0ms
-1.555280282654574e+32
-4.966577124276275e+24
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes16.0ms (0.9%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0.0b (-0%)

Counts
2 → 1
Calls
Call 1
Inputs
1
1
Outputs
1
Calls

2 calls:

8.0ms
y
7.0ms
x
Results
ErrorSegmentsBranch
28.5b1x
28.5b1y
Compiler

Compiled 10 to 8 computations (20% saved)

simplify8.0ms (0.4%)

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
01533
12333
22833
33133
43233
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(-.f64 1 (/.f64 y x))
(if (<=.f64 y -155528028265457405890240165445632) (/.f64 (neg.f64 y) x) (if (<=.f64 y 2952952834709909/3533694129556768659166595001485837031654967793751237916243212402585239552) 1 (/.f64 (neg.f64 y) x)))
1
Outputs
(-.f64 1 (/.f64 y x))
(if (<=.f64 y -155528028265457405890240165445632) (/.f64 (neg.f64 y) x) (if (<=.f64 y 2952952834709909/3533694129556768659166595001485837031654967793751237916243212402585239552) 1 (/.f64 (neg.f64 y) x)))
1
Compiler

Compiled 29 to 19 computations (34.5% saved)

soundness95.0ms (5.2%)

Algorithm
egg-herbie
Rules
221×fma-def_binary64
170×fma-neg_binary64
139×div-sub_binary64
107×times-frac_binary64
67×associate-/r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1107
2187
3307
4567
5847
61417
72557
85637
98847
1012287
1112867
1213527
1313937
Stop Event
saturated
Compiler

Compiled 23 to 14 computations (39.1% saved)

end46.0ms (2.5%)

Compiler

Compiled 25 to 15 computations (40% saved)

Profiling

Loading profile data...