Details

Time bar (total: 1.4s)

analyze104.0ms (7.4%)

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
25%74.9%0.1%5
37.5%62.4%0.1%6
56.2%43.7%0.1%7
65.6%34.3%0.1%8
76.5%23.4%0.1%9
82%18%0.1%10
87.8%12.1%0.1%11
90.7%9.2%0.1%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample800.0ms (56.7%)

Results
788.0ms8256×body256valid

preprocess14.0ms (1%)

Algorithm
egg-herbie
Rules
swap-x-y
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
1814
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(/.f64 (+.f64 x y) 10)
(/.f64 (+.f64 y x) 10)
Outputs
(/.f64 (+.f64 x y) 10)
(/.f64 (+.f64 y x) 10)
(/.f64 (+.f64 x y) 10)
Symmetry

(sort x y)

Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify10.0ms (0.7%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
177
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) 10)
Outputs
(/.f64 (+.f64 x y) 10)

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% 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 y) 10)
Compiler

Compiled 7 to 5 computations (28.6% saved)

localize5.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x y) 10)
Compiler

Compiled 13 to 6 computations (53.8% saved)

series3.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite52.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
743×pow1_binary64
701×add-log-exp_binary64
701×log1p-expm1-u_binary64
701×expm1-log1p-u_binary64
688×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify9.0ms (0.6%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
distribute-lft-out_binary64
distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07150
113150
219150
Stop Event
saturated
Counts
47 → 27
Calls
Call 1
Inputs
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
Outputs
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))

eval5.0ms (0.3%)

Compiler

Compiled 215 to 124 computations (42.3% saved)

prune8.0ms (0.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24327
Fresh000
Picked011
Done000
Total24428
Error
0b
Counts
28 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
25.7b
(*.f64 1/10 x)
0.0b
(/.f64 (+.f64 x y) 10)
0.3b
(*.f64 (+.f64 x y) 1/10)
37.4b
(*.f64 1/10 y)
Compiler

Compiled 24 to 18 computations (25% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(*.f64 1/10 x)
Compiler

Compiled 7 to 5 computations (28.6% saved)

series2.0ms (0.1%)

Counts
1 → 0
Calls

3 calls:

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

rewrite39.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
345×pow1_binary64
338×add-sqr-sqrt_binary64
329×*-un-lft-identity_binary64
321×add-log-exp_binary64
321×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
1804
28734
Stop Event
node limit
Counts
1 → 25
Calls
Call 1
Inputs
(*.f64 1/10 x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (*.f64 1/10 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/10 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (exp.f64 x) 1/20)) (log.f64 (pow.f64 (exp.f64 x) 1/20)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/5) x))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/10 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 1 (*.f64 1/10 x)) 3) 1) (+.f64 (*.f64 (+.f64 1 (*.f64 1/10 x)) (+.f64 1 (*.f64 1/10 x))) (+.f64 1 (*.f64 (+.f64 1 (*.f64 1/10 x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 1 (*.f64 1/10 x)) (+.f64 1 (*.f64 1/10 x))) 1) (+.f64 (+.f64 1 (*.f64 1/10 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/10 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/10 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 1/1000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/10 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/10 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 1/10 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 1/10 x)))) (sqrt.f64 (log.f64 (*.f64 1/10 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 1/10 x))) 2)) (cbrt.f64 (log.f64 (*.f64 1/10 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/10 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 1/10 x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) 1/10))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) 1/1000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/10 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/10 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/10 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 1/10 x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/10 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/10 x))) 2))))))

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
25 → 25
Calls
Call 1
Inputs
Outputs

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(*.f64 1/10 y)
Compiler

Compiled 7 to 5 computations (28.6% saved)

series1.0ms (0.1%)

Counts
1 → 0
Calls

3 calls:

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

rewrite43.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
345×pow1_binary64
338×add-sqr-sqrt_binary64
329×*-un-lft-identity_binary64
321×add-log-exp_binary64
321×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
1804
28734
Stop Event
node limit
Counts
1 → 25
Calls
Call 1
Inputs
(*.f64 1/10 y)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (*.f64 1/10 y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/10 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (exp.f64 y) 1/20)) (log.f64 (pow.f64 (exp.f64 y) 1/20)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/5) y))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 y) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/10 y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 1 (*.f64 1/10 y)) 3) 1) (+.f64 (*.f64 (+.f64 1 (*.f64 1/10 y)) (+.f64 1 (*.f64 1/10 y))) (+.f64 1 (*.f64 (+.f64 1 (*.f64 1/10 y)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 1 (*.f64 1/10 y)) (+.f64 1 (*.f64 1/10 y))) 1) (+.f64 (+.f64 1 (*.f64 1/10 y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/10 y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/10 y) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 y 3) 1/1000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/10 y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/10 y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 1/10 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 1/10 y)))) (sqrt.f64 (log.f64 (*.f64 1/10 y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 1/10 y))) 2)) (cbrt.f64 (log.f64 (*.f64 1/10 y))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/10 y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 1/10 y))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 y) 1/10))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 y 3) 1/1000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/10 y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/10 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/10 y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 1/10 y))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/10 y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/10 y))) 2))))))

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
25 → 25
Calls
Call 1
Inputs
Outputs

localize5.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (+.f64 x y) 1/10)
Compiler

Compiled 13 to 6 computations (53.8% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite52.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
693×pow1_binary64
648×add-log-exp_binary64
648×log1p-expm1-u_binary64
648×expm1-log1p-u_binary64
635×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify9.0ms (0.6%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
distribute-lft-out_binary64
distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07150
113150
219150
Stop Event
saturated
Counts
43 → 22
Calls
Call 1
Inputs
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
Outputs
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 x)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(*.f64 1/10 y)
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))
(+.f64 (*.f64 1/10 y) (*.f64 1/10 x))
(*.f64 1/10 (+.f64 y x))

eval16.0ms (1.1%)

Compiler

Compiled 626 to 474 computations (24.3% saved)

prune15.0ms (1.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New72072
Fresh000
Picked011
Done033
Total72476
Error
0b
Counts
76 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
25.7b
(*.f64 1/10 x)
0.0b
(/.f64 (+.f64 x y) 10)
0.3b
(*.f64 (+.f64 x y) 1/10)
37.4b
(*.f64 1/10 y)
Compiler

Compiled 24 to 18 computations (25% saved)

regimes21.0ms (1.5%)

Counts
4 → 1
Calls
Call 1
Inputs
(*.f64 1/10 x)
(*.f64 1/10 y)
(*.f64 (+.f64 x y) 1/10)
(/.f64 (+.f64 x y) 10)
Outputs
(/.f64 (+.f64 x y) 10)
Calls

4 calls:

7.0ms
y
4.0ms
(/.f64 (+.f64 x y) 10)
4.0ms
(+.f64 x y)
4.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(/.f64 (+.f64 x y) 10)
0.0b1(+.f64 x y)
Compiler

Compiled 36 to 23 computations (36.1% saved)

regimes12.0ms (0.8%)

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

3 calls:

4.0ms
x
4.0ms
(+.f64 x y)
3.0ms
y
Results
ErrorSegmentsBranch
0.3b1x
0.3b1y
0.3b1(+.f64 x y)
Compiler

Compiled 24 to 16 computations (33.3% saved)

regimes25.0ms (1.8%)

Accuracy

Total -56.1b remaining (-983.9%)

Threshold costs -56.1b (-983.9%)

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

2 calls:

17.0ms
x
8.0ms
y
Results
ErrorSegmentsBranch
5.7b6x
10.2b2y
Compiler

Compiled 14 to 10 computations (28.6% saved)

bsearch93.0ms (6.6%)

Algorithm
binary-search
Steps
TimeLeftRight
14.0ms
-2.5092998938154523e-217
-8.936717118064812e-223
14.0ms
-7.585916431554203e-142
-1.6549753673380387e-143
33.0ms
-4.6099602838293456e-111
-2.9293828308577065e-111
14.0ms
-9.96950103004342e+27
-6.346154712339267e+27
17.0ms
-1.0362734656139835e+60
-2.2234456645626131e+55
Compiler

Compiled 12 to 9 computations (25% saved)

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02672
13072
Stop Event
done
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x y) 10)
(*.f64 (+.f64 x y) 1/10)
(if (<=.f64 x -1036273465613983530508803627737275930338882246285145722060800) (*.f64 1/10 x) (if (<=.f64 x -9969501030043420930229665792) (*.f64 1/10 y) (if (<=.f64 x -6241160727575301/1353842624082429130653522550851115089568572790710847937094960732721983060451965636249987502980536903367866802227247837807116288) (*.f64 1/10 x) (if (<=.f64 x -1301894534231991/1716199415032652428745475199770348304317358825035826352348615864796385795849414013030639910165363638744324077847870214509280496999929160953143507072778764288) (*.f64 1/10 y) (if (<=.f64 x -1558293393662695/6210072369202835740595917953850010221027544068466786444556208152104203810745507545323513635314585911801950922788524292824686320176459257565777149100164724556817819904083399622201061142526393779301051996774865875003571387415264231424) (*.f64 1/10 x) (*.f64 1/10 y))))))
(*.f64 1/10 x)
Outputs
(/.f64 (+.f64 x y) 10)
(*.f64 (+.f64 x y) 1/10)
(if (<=.f64 x -1036273465613983530508803627737275930338882246285145722060800) (*.f64 1/10 x) (if (<=.f64 x -9969501030043420930229665792) (*.f64 1/10 y) (if (<=.f64 x -6241160727575301/1353842624082429130653522550851115089568572790710847937094960732721983060451965636249987502980536903367866802227247837807116288) (*.f64 1/10 x) (if (<=.f64 x -1301894534231991/1716199415032652428745475199770348304317358825035826352348615864796385795849414013030639910165363638744324077847870214509280496999929160953143507072778764288) (*.f64 1/10 y) (if (<=.f64 x -1558293393662695/6210072369202835740595917953850010221027544068466786444556208152104203810745507545323513635314585911801950922788524292824686320176459257565777149100164724556817819904083399622201061142526393779301051996774865875003571387415264231424) (*.f64 1/10 x) (*.f64 1/10 y))))))
(if (<=.f64 x -1036273465613983530508803627737275930338882246285145722060800) (*.f64 x 1/10) (if (<=.f64 x -9969501030043420930229665792) (*.f64 y 1/10) (if (<=.f64 x -6241160727575301/1353842624082429130653522550851115089568572790710847937094960732721983060451965636249987502980536903367866802227247837807116288) (*.f64 x 1/10) (if (<=.f64 x -1301894534231991/1716199415032652428745475199770348304317358825035826352348615864796385795849414013030639910165363638744324077847870214509280496999929160953143507072778764288) (*.f64 y 1/10) (if (<=.f64 x -1558293393662695/6210072369202835740595917953850010221027544068466786444556208152104203810745507545323513635314585911801950922788524292824686320176459257565777149100164724556817819904083399622201061142526393779301051996774865875003571387415264231424) (*.f64 x 1/10) (*.f64 y 1/10))))))
(*.f64 1/10 x)
(*.f64 x 1/10)
Compiler

Compiled 59 to 43 computations (27.1% saved)

soundness0.0ms (0%)

end41.0ms (2.9%)

Remove

(sort x y)

Compiler

Compiled 67 to 46 computations (31.3% saved)

Profiling

Loading profile data...