Details

Time bar (total: 1.8s)

analyze3.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
66.7%50%25%0%25%0%0%4
83.3%62.5%12.5%0%25%0%0%5
91.7%68.7%6.2%0%25%0%0%6
95.8%71.8%3.1%0%25%0%0%7
97.9%73.4%1.6%0%25%0%0%8
99%74.2%0.8%0%25%0%0%9
99.5%74.6%0.4%0%25%0%0%10
99.7%74.8%0.2%0%25%0%0%11
99.9%74.9%0.1%0%25%0%0%12
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample1.1s (61.5%)

Results
1.1s8256×body256valid
0.0msbody256infinite
Bogosity

preprocess79.0ms (4.3%)

Algorithm
egg-herbie
Rules
1218×rational_best-simplify-61
950×rational_best-simplify-3
650×rational_best-simplify-53
600×rational_best-simplify-56
600×rational_best-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
13513
213313
383113
4504913
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
(*.f64 x (+.f64 x -1))
(-.f64 (*.f64 x x) x)
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify85.0ms (4.6%)

Algorithm
egg-herbie
Rules
1218×rational_best-simplify-61
950×rational_best-simplify-3
650×rational_best-simplify-53
600×rational_best-simplify-56
600×rational_best-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
13513
213313
383113
4504913
Stop Event
node limit
Counts
1 → 3
Calls
Call 1
Inputs
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
(*.f64 x (+.f64 x -1))
(-.f64 (*.f64 x x) x)

eval1.0ms (0%)

Compiler

Compiled 16 to 9 computations (43.8% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New123
Fresh011
Picked000
Done000
Total134
Error
0b
Counts
4 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (*.f64 x x) x)
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 12 to 7 computations (41.7% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 11 to 7 computations (36.4% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite103.0ms (5.6%)

Algorithm
batch-egg-rewrite
Rules
1216×rational_best-simplify-61
950×rational_best-simplify-3
648×rational_best-simplify-53
600×rational_best-simplify-56
594×rational_best-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
13513
213313
383113
4505113
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(*.f64 x (-.f64 x 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (*.f64 x x) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (neg.f64 x) (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 x (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x (+.f64 x -2)) (neg.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (-.f64 (*.f64 x x) x) (*.f64 x (*.f64 (+.f64 x -1) (-.f64 (*.f64 x x) x)))) (+.f64 1 (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (*.f64 x x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 x 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (+.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (*.f64 x x) 0) (/.f64 (*.f64 x (*.f64 x (-.f64 (*.f64 x x) x))) (*.f64 x x)) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (neg.f64 x) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 0 0) (/.f64 (neg.f64 (*.f64 0 (-.f64 x (*.f64 x x)))) 0) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (*.f64 x (-.f64 -1 x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (-.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 x (*.f64 (+.f64 x -1) (-.f64 (*.f64 x x) x))) (-.f64 (*.f64 x x) x)) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (*.f64 x (neg.f64 x)) 0) (/.f64 (*.f64 x (*.f64 x (-.f64 (*.f64 x x) x))) (*.f64 x x)) (-.f64 (*.f64 x x) x))))))

simplify54.0ms (3%)

Algorithm
egg-herbie
Rules
766×rational_best-simplify-113
688×rational_best-simplify-111
590×rational_best-simplify-124
586×rational_best-simplify-96
568×rational_best-simplify-117
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
072474
1325434
21934434
Stop Event
node limit
Counts
34 → 31
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 x x) (neg.f64 x))
(+.f64 0 (-.f64 (*.f64 x x) x))
(+.f64 (-.f64 (*.f64 x x) x) 0)
(+.f64 (neg.f64 x) (*.f64 x x))
(-.f64 (*.f64 x x) x)
(-.f64 0 (-.f64 x (*.f64 x x)))
(-.f64 (-.f64 (*.f64 x x) x) 0)
(-.f64 (neg.f64 x) (*.f64 x (neg.f64 x)))
(/.f64 (-.f64 (*.f64 x x) x) 1)
(/.f64 (-.f64 x (*.f64 x x)) -1)
(/.f64 (*.f64 (+.f64 x (+.f64 x -2)) (neg.f64 x)) -2)
(/.f64 (-.f64 (-.f64 (*.f64 x x) x) (*.f64 x (*.f64 (+.f64 x -1) (-.f64 (*.f64 x x) x)))) (+.f64 1 (-.f64 x (*.f64 x x))))
(pow.f64 (-.f64 (*.f64 x x) x) 1)
(neg.f64 (-.f64 x (*.f64 x x)))
(if (!=.f64 x 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))
(if (!=.f64 (+.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))
(if (!=.f64 (*.f64 x x) 0) (/.f64 (*.f64 x (*.f64 x (-.f64 (*.f64 x x) x))) (*.f64 x x)) (-.f64 (*.f64 x x) x))
(if (!=.f64 (neg.f64 x) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))
(if (!=.f64 0 0) (/.f64 (neg.f64 (*.f64 0 (-.f64 x (*.f64 x x)))) 0) (-.f64 (*.f64 x x) x))
(if (!=.f64 (*.f64 x (-.f64 -1 x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))
(if (!=.f64 (-.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 x (*.f64 (+.f64 x -1) (-.f64 (*.f64 x x) x))) (-.f64 (*.f64 x x) x)) (-.f64 (*.f64 x x) x))
(if (!=.f64 (*.f64 x (neg.f64 x)) 0) (/.f64 (*.f64 x (*.f64 x (-.f64 (*.f64 x x) x))) (*.f64 x x)) (-.f64 (*.f64 x x) x))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 x x) x)
(+.f64 0 (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(+.f64 (-.f64 (*.f64 x x) x) 0)
(-.f64 (*.f64 x x) x)
(+.f64 (neg.f64 x) (*.f64 x x))
(-.f64 (*.f64 x x) x)
(-.f64 (*.f64 x x) x)
(-.f64 0 (-.f64 x (*.f64 x x)))
(-.f64 (*.f64 x x) x)
(-.f64 (-.f64 (*.f64 x x) x) 0)
(-.f64 (*.f64 x x) x)
(-.f64 (neg.f64 x) (*.f64 x (neg.f64 x)))
(-.f64 (*.f64 x x) x)
(/.f64 (-.f64 (*.f64 x x) x) 1)
(-.f64 (*.f64 x x) x)
(/.f64 (-.f64 x (*.f64 x x)) -1)
(-.f64 (*.f64 x x) x)
(/.f64 (*.f64 (+.f64 x (+.f64 x -2)) (neg.f64 x)) -2)
(/.f64 (*.f64 x (neg.f64 (+.f64 x (+.f64 x -2)))) -2)
(/.f64 (*.f64 x (+.f64 x (+.f64 x -2))) 2)
(/.f64 (*.f64 x (-.f64 2 (+.f64 x x))) -2)
(/.f64 (-.f64 (-.f64 (*.f64 x x) x) (*.f64 x (*.f64 (+.f64 x -1) (-.f64 (*.f64 x x) x)))) (+.f64 1 (-.f64 x (*.f64 x x))))
(-.f64 (*.f64 x x) x)
(pow.f64 (-.f64 (*.f64 x x) x) 1)
(-.f64 (*.f64 x x) x)
(neg.f64 (-.f64 x (*.f64 x x)))
(-.f64 (*.f64 x x) x)
(if (!=.f64 x 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (+.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (*.f64 x x) 0) (/.f64 (*.f64 x (*.f64 x (-.f64 (*.f64 x x) x))) (*.f64 x x)) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (neg.f64 x) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 0 0) (/.f64 (neg.f64 (*.f64 0 (-.f64 x (*.f64 x x)))) 0) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (*.f64 x (-.f64 -1 x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (-.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 x (*.f64 (+.f64 x -1) (-.f64 (*.f64 x x) x))) (-.f64 (*.f64 x x) x)) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (*.f64 x (neg.f64 x)) 0) (/.f64 (*.f64 x (*.f64 x (-.f64 (*.f64 x x) x))) (*.f64 x x)) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x x) x)
Compiler

Compiled 10 to 3 computations (70% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite124.0ms (6.7%)

Algorithm
batch-egg-rewrite
Rules
1106×rational_best-simplify-53
896×rational_best-simplify-52
800×rational_best-simplify-1
534×rational_best-simplify-18
532×rational_best-simplify-21
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
13013
213813
388113
4587013
Stop Event
node limit
Counts
1 → 32
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (-.f64 -1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (neg.f64 x) 1) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 x (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))) (+.f64 (-.f64 x (*.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 (*.f64 x x) x) (-.f64 (*.f64 x x) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))) (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x)))) -4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x))))) (+.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (+.f64 (-.f64 x (*.f64 x x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 -2 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x)))) (*.f64 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))) (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))))) (-.f64 4 (*.f64 -2 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x))))) (*.f64 (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))))) (-.f64 (*.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (+.f64 (-.f64 x (*.f64 x x)) 1)) (*.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (*.f64 x x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (-.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (+.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 x 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (*.f64 x x) 0) (*.f64 (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) 1) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (neg.f64 x) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (*.f64 x (neg.f64 x)) 0) (*.f64 (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) 1) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (-.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 (-.f64 (*.f64 x x) x) (-.f64 (*.f64 x x) x)) (-.f64 (*.f64 x x) x)) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 0 0) (/.f64 0 0) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 (*.f64 x (-.f64 -1 x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x if (!=.f64 -1 0) (-.f64 (*.f64 x x) x) (-.f64 (*.f64 x x) x))))))

simplify100.0ms (5.4%)

Algorithm
egg-herbie
Rules
1122×rational_best-simplify-111
850×rational_best-simplify-96
762×rational_best-simplify-61
750×rational_best-simplify-65
562×rational_best-simplify-3
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
098684
1451648
22535648
Stop Event
node limit
Counts
44 → 41
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 x x) (neg.f64 x))
(+.f64 (-.f64 (*.f64 x x) x) 0)
(+.f64 (neg.f64 x) (*.f64 x x))
(+.f64 0 (-.f64 (*.f64 x x) x))
(*.f64 x (+.f64 x -1))
(*.f64 x (-.f64 -1 (neg.f64 x)))
(*.f64 (-.f64 (*.f64 x x) x) 1)
(*.f64 (-.f64 x (*.f64 x x)) -1)
(*.f64 -1 (-.f64 x (*.f64 x x)))
(*.f64 1 (-.f64 (*.f64 x x) x))
(*.f64 (+.f64 (neg.f64 x) 1) (neg.f64 x))
(/.f64 (-.f64 (*.f64 x x) x) 1)
(/.f64 (-.f64 x (*.f64 x x)) -1)
(/.f64 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))) -2)
(/.f64 (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))) (+.f64 (-.f64 x (*.f64 x x)) 1))
(/.f64 (+.f64 (-.f64 (*.f64 x x) x) (-.f64 (*.f64 x x) x)) 2)
(/.f64 (+.f64 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))) (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x)))) -4)
(/.f64 (+.f64 (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x))))) (+.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (+.f64 (-.f64 x (*.f64 x x)) 1)))
(/.f64 (-.f64 (*.f64 -2 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x)))) (*.f64 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))) (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))))) (-.f64 4 (*.f64 -2 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))))))
(/.f64 (-.f64 (*.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x))))) (*.f64 (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))))) (-.f64 (*.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (+.f64 (-.f64 x (*.f64 x x)) 1)) (*.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))))))
(pow.f64 (-.f64 (*.f64 x x) x) 1)
(neg.f64 (-.f64 x (*.f64 x x)))
(neg.f64 (*.f64 (-.f64 1 x) x))
(if (!=.f64 (+.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))
(if (!=.f64 x 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))
(if (!=.f64 (*.f64 x x) 0) (*.f64 (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) 1) (-.f64 (*.f64 x x) x))
(if (!=.f64 (neg.f64 x) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))
(if (!=.f64 (*.f64 x (neg.f64 x)) 0) (*.f64 (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) 1) (-.f64 (*.f64 x x) x))
(if (!=.f64 (-.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 (-.f64 (*.f64 x x) x) (-.f64 (*.f64 x x) x)) (-.f64 (*.f64 x x) x)) (-.f64 (*.f64 x x) x))
(if (!=.f64 0 0) (/.f64 0 0) (-.f64 (*.f64 x x) x))
(if (!=.f64 (*.f64 x (-.f64 -1 x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))
(if (!=.f64 -1 0) (-.f64 (*.f64 x x) x) (-.f64 (*.f64 x x) x))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 x x) (neg.f64 x))
(-.f64 (*.f64 x x) x)
(+.f64 (-.f64 (*.f64 x x) x) 0)
(-.f64 (*.f64 x x) x)
(+.f64 (neg.f64 x) (*.f64 x x))
(-.f64 (*.f64 x x) x)
(+.f64 0 (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(*.f64 x (+.f64 x -1))
(-.f64 (*.f64 x x) x)
(*.f64 x (-.f64 -1 (neg.f64 x)))
(-.f64 (*.f64 x x) x)
(*.f64 (-.f64 (*.f64 x x) x) 1)
(-.f64 (*.f64 x x) x)
(*.f64 (-.f64 x (*.f64 x x)) -1)
(-.f64 (*.f64 x x) x)
(*.f64 -1 (-.f64 x (*.f64 x x)))
(-.f64 (*.f64 x x) x)
(*.f64 1 (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(*.f64 (+.f64 (neg.f64 x) 1) (neg.f64 x))
(-.f64 (*.f64 x x) x)
(/.f64 (-.f64 (*.f64 x x) x) 1)
(-.f64 (*.f64 x x) x)
(/.f64 (-.f64 x (*.f64 x x)) -1)
(-.f64 (*.f64 x x) x)
(/.f64 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))) -2)
(-.f64 (*.f64 x x) x)
(/.f64 (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))) (+.f64 (-.f64 x (*.f64 x x)) 1))
(-.f64 (*.f64 x x) x)
(/.f64 (+.f64 (-.f64 (*.f64 x x) x) (-.f64 (*.f64 x x) x)) 2)
(-.f64 (*.f64 x x) x)
(/.f64 (+.f64 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))) (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x)))) -4)
(-.f64 (*.f64 x x) x)
(/.f64 (+.f64 (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x))))) (+.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (+.f64 (-.f64 x (*.f64 x x)) 1)))
(-.f64 (*.f64 x x) x)
(/.f64 (-.f64 (*.f64 -2 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x)))) (*.f64 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))) (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))))) (-.f64 4 (*.f64 -2 (+.f64 (-.f64 x (*.f64 x x)) (-.f64 x (*.f64 x x))))))
(-.f64 (*.f64 x x) x)
(/.f64 (-.f64 (*.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x))))) (*.f64 (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))))) (-.f64 (*.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (+.f64 (-.f64 x (*.f64 x x)) 1)) (*.f64 (+.f64 (-.f64 x (*.f64 x x)) 1) (*.f64 (-.f64 x (*.f64 x x)) (-.f64 -1 (-.f64 x (*.f64 x x)))))))
(-.f64 (*.f64 x x) x)
(pow.f64 (-.f64 (*.f64 x x) x) 1)
(-.f64 (*.f64 x x) x)
(neg.f64 (-.f64 x (*.f64 x x)))
(-.f64 (*.f64 x x) x)
(neg.f64 (*.f64 (-.f64 1 x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (+.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 x 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (*.f64 x x) 0) (*.f64 (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) 1) (-.f64 (*.f64 x x) x))
(if (!=.f64 (*.f64 x x) 0) (*.f64 1 (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x)) (-.f64 (*.f64 x x) x))
(if (!=.f64 (neg.f64 x) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (*.f64 x (neg.f64 x)) 0) (*.f64 (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x) 1) (-.f64 (*.f64 x x) x))
(if (!=.f64 (*.f64 x (neg.f64 x)) 0) (*.f64 1 (/.f64 (*.f64 x (-.f64 (*.f64 x x) x)) x)) (-.f64 (*.f64 x x) x))
(if (!=.f64 (-.f64 x (*.f64 x x)) 0) (/.f64 (*.f64 (-.f64 (*.f64 x x) x) (-.f64 (*.f64 x x) x)) (-.f64 (*.f64 x x) x)) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 0 0) (/.f64 0 0) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 (*.f64 x (-.f64 -1 x)) 0) (/.f64 (*.f64 x (-.f64 (*.f64 x (*.f64 x x)) x)) (+.f64 x (*.f64 x x))) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)
(if (!=.f64 -1 0) (-.f64 (*.f64 x x) x) (-.f64 (*.f64 x x) x))
(-.f64 (*.f64 x x) x)

eval12.0ms (0.7%)

Compiler

Compiled 990 to 280 computations (71.7% saved)

prune6.0ms (0.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New71172
Fresh000
Picked011
Done011
Total71374
Error
0b
Counts
74 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (*.f64 x x) x)
0.0b
(*.f64 x (-.f64 x 1))
20.9b
(neg.f64 x)
Compiler

Compiled 15 to 9 computations (40% saved)

localize5.0ms (0.3%)

Compiler

Compiled 4 to 2 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (*.f64 x x) x)
0.0b
(*.f64 x (-.f64 x 1))
20.9b
(neg.f64 x)
Compiler

Compiled 15 to 9 computations (40% saved)

regimes8.0ms (0.4%)

Counts
3 → 1
Calls
Call 1
Inputs
(neg.f64 x)
(*.f64 x (-.f64 x 1))
(-.f64 (*.f64 x x) x)
Outputs
(-.f64 (*.f64 x x) x)
Calls

2 calls:

3.0ms
(*.f64 x (-.f64 x 1))
3.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(*.f64 x (-.f64 x 1))
Compiler

Compiled 21 to 12 computations (42.9% saved)

regimes10.0ms (0.5%)

Accuracy

Total -20.9b remaining (-106914.5%)

Threshold costs -20.9b (-106914.5%)

Counts
2 → 1
Calls
Call 1
Inputs
(neg.f64 x)
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
Calls

2 calls:

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

Compiled 16 to 10 computations (37.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
Stop Event
done
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) x)
(*.f64 x (-.f64 x 1))
(neg.f64 x)
Outputs
(-.f64 (*.f64 x x) x)
(*.f64 x (-.f64 x 1))
(neg.f64 x)
Compiler

Compiled 15 to 9 computations (40% saved)

soundness85.0ms (4.6%)

Algorithm
egg-herbie
Rules
1218×rational_best-simplify-61
950×rational_best-simplify-3
650×rational_best-simplify-53
600×rational_best-simplify-56
600×rational_best-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
13513
213313
383113
4504913
Stop Event
node limit
Compiler

Compiled 54 to 25 computations (53.7% saved)

end20.0ms (1.1%)

Compiler

Compiled 13 to 7 computations (46.2% saved)

Profiling

Loading profile data...