Details

Time bar (total: 10.1s)

analyze114.0ms (1.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
25%25%74.9%0.1%0%0%0%5
28.6%25%62.4%0.1%12.5%0%0%6
36.4%25%43.7%0.1%31.2%0%0%7
50%31.2%31.2%0.1%37.5%0%0%8
62.5%39%23.4%0.1%37.5%0%0%9
72.4%42.9%16.4%0.1%40.6%0%0%10
79.6%47.2%12.1%0.1%40.6%0%0%11
85.5%49.4%8.4%0.1%42.1%0%0%12
Compiler

Compiled 14 to 9 computations (35.7% saved)

sample758.0ms (7.5%)

Results
725.0ms8256×body256valid
21.0ms250×body256infinite
Bogosity

preprocess114.0ms (1.1%)

Algorithm
egg-herbie
Rules
1092×rational.json-simplify-2
932×rational.json-simplify-44
812×rational.json-simplify-39
810×rational.json-simplify-47
712×rational.json-simplify-51
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01350
12650
24650
39050
438850
5397650
6636650
7757150
022
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (+.f64 (*.f64 y 2) (*.f64 y y)) (*.f64 x x))
Outputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
(+.f64 (+.f64 (*.f64 y 2) (*.f64 y y)) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y (+.f64 y 2)))
(+.f64 (*.f64 x x) (*.f64 y (+.f64 2 y)))
Compiler

Compiled 15 to 10 computations (33.3% saved)

simplify115.0ms (1.1%)

Algorithm
egg-herbie
Rules
1086×rational.json-simplify-2
926×rational.json-simplify-44
894×rational.json-simplify-37
820×rational.json-simplify-39
816×rational.json-simplify-47
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
11825
23225
37325
437325
5392825
6625325
7739925
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
Outputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))

eval1.0ms (0%)

Compiler

Compiled 22 to 12 computations (45.5% saved)

prune1.0ms (0%)

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 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
0.0b
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
Compiler

Compiled 24 to 15 computations (37.5% saved)

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
0.0b
(*.f64 x (+.f64 x 2))
Compiler

Compiled 25 to 13 computations (48% saved)

series2.0ms (0%)

Counts
2 → 36
Calls

9 calls:

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

rewrite598.0ms (5.9%)

Algorithm
batch-egg-rewrite
Rules
1998×rational.json-simplify-35
1396×rational.json-1
1396×rational.json-2
1396×rational.json-4
1396×rational.json-3
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0938
16138
213238
331238
4117538
5453438
Stop Event
node limit
Counts
2 → 26
Calls
Call 1
Inputs
(*.f64 x (+.f64 x 2))
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (*.f64 x (+.f64 x 2)) 2) (/.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 x (+.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 x (+.f64 x 4))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 2) (*.f64 x 4)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4)))) 16)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4)))) (*.f64 2 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))))) 32)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4))) 16)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4))) (*.f64 2 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)))) 32)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)))))

simplify6.6s (65.2%)

Algorithm
egg-herbie
Rules
1150×rational.json-simplify-2
708×rational.json-simplify-43
706×rational.json-simplify-59
672×rational.json-simplify-19
658×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0681226
11531226
23161226
38251226
425711226
548151226
664001226
777101226
Stop Event
node limit
Counts
62 → 45
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(*.f64 (+.f64 2 x) x)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (*.f64 x (+.f64 x 2)) 0)
(+.f64 0 (*.f64 x (+.f64 x 2)))
(+.f64 (/.f64 (*.f64 x (+.f64 x 2)) 2) (/.f64 (*.f64 x (+.f64 x 2)) 2))
(-.f64 (*.f64 x (+.f64 x 2)) 0)
(/.f64 (*.f64 x (+.f64 x 2)) 1)
(/.f64 (*.f64 x (+.f64 x (+.f64 x 4))) 2)
(/.f64 (*.f64 (+.f64 x 2) (*.f64 x 4)) 4)
(/.f64 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))) 8)
(/.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4)))) 16)
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4)))) (*.f64 2 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))))) 32)
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(-.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 0)
(*.f64 2 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2))
(*.f64 2 (*.f64 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2) 1))
(*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(*.f64 1 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))
(*.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 1/2)
(*.f64 1/2 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))
(*.f64 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2) 2)
(/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(/.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 2)
(/.f64 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4) 4)
(/.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)) 8)
(/.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4))) 16)
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4))) (*.f64 2 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)))) 32)
(pow.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
Outputs
(*.f64 2 x)
(+.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 y 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(*.f64 (+.f64 2 x) x)
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 x (+.f64 2 x)))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 x (+.f64 2 x)))
(pow.f64 y 2)
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 x (+.f64 2 x)))
(+.f64 (pow.f64 y 2) (*.f64 (+.f64 2 x) x))
(+.f64 (pow.f64 y 2) (*.f64 x (+.f64 2 x)))
(+.f64 (*.f64 x (+.f64 x 2)) 0)
(*.f64 x (+.f64 2 x))
(+.f64 0 (*.f64 x (+.f64 x 2)))
(*.f64 x (+.f64 2 x))
(+.f64 (/.f64 (*.f64 x (+.f64 x 2)) 2) (/.f64 (*.f64 x (+.f64 x 2)) 2))
(*.f64 x (+.f64 2 x))
(-.f64 (*.f64 x (+.f64 x 2)) 0)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (+.f64 x (+.f64 x 4))) 2)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 (+.f64 x 2) (*.f64 x 4)) 4)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))) 8)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4)))) 16)
(*.f64 x (+.f64 2 x))
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4)))) (*.f64 2 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))))) 32)
(*.f64 x (+.f64 2 x))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(-.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 0)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 2 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 2 (*.f64 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2) 1))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 1 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 1/2)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 1/2 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2) 2)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 2)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4) 4)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)) 8)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4))) 16)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4))) (*.f64 2 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)))) 32)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(pow.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
0.0b
(+.f64 (*.f64 x 2) (*.f64 x x))
Compiler

Compiled 32 to 14 computations (56.3% saved)

series1.0ms (0%)

Counts
2 → 36
Calls

9 calls:

TimeVariablePointExpression
0.0ms
y
@0
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
0.0ms
x
@0
(+.f64 (*.f64 x 2) (*.f64 x x))
0.0ms
x
@inf
(+.f64 (*.f64 x 2) (*.f64 x x))
0.0ms
x
@0
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
0.0ms
y
@inf
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))

rewrite95.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
2294×rational.json-1
2294×rational.json-2
1280×rational.json-simplify-35
906×exponential.json-3
906×rational.json-4
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01038
17038
216438
343938
4205338
5714238
Stop Event
node limit
Counts
2 → 34
Calls
Call 1
Inputs
(+.f64 (*.f64 x 2) (*.f64 x x))
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 x (+.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (+.f64 x (/.f64 (*.f64 x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) (/.f64 (+.f64 x 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x x) (+.f64 1 (/.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 x (+.f64 x 4))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (+.f64 x 4)) (/.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (*.f64 x (+.f64 x (+.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 2) (+.f64 x (+.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (+.f64 x 2)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 x 2) 2) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 x (+.f64 x 4))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 2) (*.f64 x 4)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))) (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4)))) 16)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)) (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4))) 16)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)))))

simplify107.0ms (1.1%)

Algorithm
egg-herbie
Rules
1520×rational.json-simplify-46
1344×rational.json-simplify-54
1214×rational.json-simplify-2
900×rational.json-simplify-35
782×rational.json-simplify-43
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0751390
11581390
23371390
38571390
428801390
576521390
Stop Event
node limit
Counts
70 → 52
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(-.f64 (*.f64 x (+.f64 x 2)) 0)
(*.f64 x (+.f64 x 2))
(*.f64 2 (/.f64 (*.f64 x (+.f64 x 2)) 2))
(*.f64 2 (+.f64 x (/.f64 (*.f64 x x) 2)))
(*.f64 (+.f64 x x) (/.f64 (+.f64 x 2) 2))
(*.f64 (+.f64 x x) (+.f64 1 (/.f64 x 2)))
(*.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 1 (*.f64 x (+.f64 x 2)))
(*.f64 (+.f64 x 2) x)
(*.f64 (*.f64 x (+.f64 x (+.f64 x 4))) 1/2)
(*.f64 (+.f64 x (+.f64 x 4)) (/.f64 x 2))
(*.f64 1/2 (*.f64 x (+.f64 x (+.f64 x 4))))
(*.f64 (/.f64 x 2) (+.f64 x (+.f64 x 4)))
(*.f64 (/.f64 (*.f64 x (+.f64 x 2)) 2) 2)
(*.f64 (/.f64 (+.f64 x 2) 2) (+.f64 x x))
(/.f64 (*.f64 x (+.f64 x 2)) 1)
(/.f64 (*.f64 x (+.f64 x (+.f64 x 4))) 2)
(/.f64 (*.f64 (+.f64 x 2) (*.f64 x 4)) 4)
(/.f64 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))) 8)
(/.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))) (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4)))) 16)
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(-.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 0)
(*.f64 2 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2))
(*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(*.f64 1 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))
(*.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 1/2)
(*.f64 1/2 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))
(*.f64 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2) 2)
(/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(/.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 2)
(/.f64 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4) 4)
(/.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)) 8)
(/.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)) (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4))) 16)
(pow.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
Outputs
(*.f64 2 x)
(+.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 y 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 y 2) (+.f64 x x)))
(+.f64 (pow.f64 x 2) (+.f64 x (+.f64 x (pow.f64 y 2))))
(-.f64 (*.f64 x (+.f64 x 2)) 0)
(*.f64 x (+.f64 2 x))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(*.f64 2 (/.f64 (*.f64 x (+.f64 x 2)) 2))
(*.f64 x (+.f64 2 x))
(*.f64 2 (+.f64 x (/.f64 (*.f64 x x) 2)))
(*.f64 2 (+.f64 x (*.f64 x (/.f64 x 2))))
(*.f64 (+.f64 x x) (+.f64 1 (*.f64 x 1/2)))
(*.f64 (+.f64 x x) (/.f64 (+.f64 x 2) 2))
(*.f64 x (+.f64 2 x))
(*.f64 (+.f64 x x) (+.f64 1 (/.f64 x 2)))
(*.f64 2 (+.f64 x (/.f64 (*.f64 x x) 2)))
(*.f64 2 (+.f64 x (*.f64 x (/.f64 x 2))))
(*.f64 (+.f64 x x) (+.f64 1 (*.f64 x 1/2)))
(*.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(*.f64 1 (*.f64 x (+.f64 x 2)))
(*.f64 x (+.f64 2 x))
(*.f64 (+.f64 x 2) x)
(*.f64 x (+.f64 2 x))
(*.f64 (*.f64 x (+.f64 x (+.f64 x 4))) 1/2)
(*.f64 x (+.f64 2 x))
(*.f64 (+.f64 x (+.f64 x 4)) (/.f64 x 2))
(*.f64 x (+.f64 2 x))
(*.f64 1/2 (*.f64 x (+.f64 x (+.f64 x 4))))
(*.f64 x (+.f64 2 x))
(*.f64 (/.f64 x 2) (+.f64 x (+.f64 x 4)))
(*.f64 x (+.f64 2 x))
(*.f64 (/.f64 (*.f64 x (+.f64 x 2)) 2) 2)
(*.f64 x (+.f64 2 x))
(*.f64 (/.f64 (+.f64 x 2) 2) (+.f64 x x))
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (+.f64 x (+.f64 x 4))) 2)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 (+.f64 x 2) (*.f64 x 4)) 4)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))) 8)
(*.f64 x (+.f64 2 x))
(/.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4))) (*.f64 2 (*.f64 (+.f64 x 2) (*.f64 x 4)))) 16)
(*.f64 x (+.f64 2 x))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(-.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 0)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 2 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 1 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 1/2)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 1/2 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))))
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(*.f64 (/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 2) 2)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (*.f64 2 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))) 2)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4) 4)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)) 8)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(/.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4)) (*.f64 2 (*.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 4))) 16)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))
(pow.f64 (+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y)) 1)
(+.f64 (*.f64 x (+.f64 2 x)) (*.f64 y y))

eval85.0ms (0.8%)

Compiler

Compiled 1147 to 667 computations (41.8% saved)

prune10.0ms (0.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New95297
Fresh000
Picked011
Done011
Total95499
Error
0.0b
Counts
99 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
20.4b
(+.f64 (+.f64 x x) (*.f64 y y))
0.0b
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
23.5b
(*.f64 (+.f64 2 x) x)
Compiler

Compiled 40 to 25 computations (37.5% saved)

localize5.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 2 x) x)
Compiler

Compiled 12 to 8 computations (33.3% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite232.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
2622×rational.json-simplify-2
2140×rational.json-simplify-35
1218×rational.json-simplify-1
1150×exponential.json-3
1150×rational.json-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
14013
28813
317513
432413
572313
6183013
7328213
8432913
9569413
10637913
11637913
12732613
13758913
Stop Event
node limit
Counts
1 → 15
Calls
Call 1
Inputs
(*.f64 (+.f64 2 x) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 2 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (+.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 2 x) (*.f64 x 1/2)) (*.f64 (+.f64 2 x) (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 x (+.f64 2 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 2 x) (+.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (*.f64 (+.f64 2 x) 4)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (*.f64 (+.f64 2 x) 8)) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))) 16)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8)))) 32)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))))) 64)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8)))))) 128)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))))))) 256)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))))))) (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8)))))))) 512)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 2 x)) 1)))))

simplify509.0ms (5%)

Algorithm
egg-herbie
Rules
2902×rational.json-simplify-2
2830×rational.json-simplify-35
1910×rational.json-simplify-53
1028×rational.json-simplify-1
984×exponential.json-simplify-26
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049387
1128387
2237387
3536387
41925387
53888387
64526387
74690387
84808387
94924387
105038387
116090387
126762387
136766387
146766387
156926387
167040387
177154387
187767387
Stop Event
node limit
Counts
27 → 22
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 x (+.f64 2 x)) 0)
(+.f64 0 (*.f64 x (+.f64 2 x)))
(+.f64 (*.f64 (+.f64 2 x) (*.f64 x 1/2)) (*.f64 (+.f64 2 x) (*.f64 x 1/2)))
(-.f64 (*.f64 x (+.f64 2 x)) 0)
(/.f64 (*.f64 x (+.f64 2 x)) 1)
(/.f64 (*.f64 (+.f64 2 x) (+.f64 x x)) 2)
(/.f64 (*.f64 x (*.f64 (+.f64 2 x) 4)) 4)
(/.f64 (*.f64 x (*.f64 (+.f64 2 x) 8)) 8)
(/.f64 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))) 16)
(/.f64 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8)))) 32)
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))))) 64)
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8)))))) 128)
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))))))) 256)
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))))))) (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8)))))))) 512)
(pow.f64 (*.f64 x (+.f64 2 x)) 1)
Outputs
(*.f64 2 x)
(+.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (+.f64 x x))
(+.f64 x (+.f64 x (pow.f64 x 2)))
(+.f64 (*.f64 x (+.f64 2 x)) 0)
(*.f64 x (+.f64 2 x))
(+.f64 0 (*.f64 x (+.f64 2 x)))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 (+.f64 2 x) (*.f64 x 1/2)) (*.f64 (+.f64 2 x) (*.f64 x 1/2)))
(*.f64 x (+.f64 2 x))
(-.f64 (*.f64 x (+.f64 2 x)) 0)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (+.f64 2 x)) 1)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 (+.f64 2 x) (+.f64 x x)) 2)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (*.f64 (+.f64 2 x) 4)) 4)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (*.f64 (+.f64 2 x) 8)) 8)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))) 16)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8)))) 32)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))))) 64)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8)))))) 128)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))))))) 256)
(*.f64 x (+.f64 2 x))
(/.f64 (+.f64 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8))))))) (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 2 (*.f64 x (*.f64 (+.f64 2 x) 8)))))))) 512)
(*.f64 x (+.f64 2 x))
(pow.f64 (*.f64 x (+.f64 2 x)) 1)
(*.f64 x (+.f64 2 x))

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 x x) (*.f64 y y))
Compiler

Compiled 17 to 5 computations (70.6% saved)

series1.0ms (0%)

Counts
1 → 24
Calls

6 calls:

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

rewrite66.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
1396×rational.json-simplify-2
1386×rational.json-1
1386×rational.json-2
1386×rational.json-4
1386×rational.json-3
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
14719
211619
329419
4115419
5454119
Stop Event
node limit
Counts
1 → 15
Calls
Call 1
Inputs
(+.f64 (+.f64 x x) (*.f64 y y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 x (+.f64 x (*.f64 y y))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (+.f64 x (*.f64 y y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (+.f64 x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (+.f64 x (/.f64 (*.f64 y y) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (/.f64 (*.f64 y y) 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x (+.f64 x (*.f64 y y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4)) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4)) (*.f64 2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4))) 16)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (+.f64 x (*.f64 y y))) 1)))))

simplify109.0ms (1.1%)

Algorithm
egg-herbie
Rules
1068×rational.json-simplify-41
1058×rational.json-simplify-2
782×rational.json-simplify-59
748×rational.json-simplify-19
720×rational.json-simplify-61
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039681
178681
2174681
3478681
41377681
54911681
66779681
Stop Event
node limit
Counts
39 → 22
Calls
Call 1
Inputs
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(-.f64 (+.f64 x (+.f64 x (*.f64 y y))) 0)
(*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 1)
(*.f64 1 (+.f64 x (+.f64 x (*.f64 y y))))
(*.f64 2 (/.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2))
(*.f64 2 (+.f64 x (/.f64 (*.f64 y y) 2)))
(*.f64 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2) 1/2)
(*.f64 1/2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2))
(*.f64 (/.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2) 2)
(*.f64 (+.f64 x (/.f64 (*.f64 y y) 2)) 2)
(/.f64 (+.f64 x (+.f64 x (*.f64 y y))) 1)
(/.f64 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2) 2)
(/.f64 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4) 4)
(/.f64 (*.f64 2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4)) 8)
(/.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4)) (*.f64 2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4))) 16)
(pow.f64 (+.f64 x (+.f64 x (*.f64 y y))) 1)
Outputs
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(pow.f64 y 2)
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 x))
(-.f64 (+.f64 x (+.f64 x (*.f64 y y))) 0)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 1)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(*.f64 1 (+.f64 x (+.f64 x (*.f64 y y))))
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(*.f64 2 (/.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2))
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(*.f64 2 (+.f64 x (/.f64 (*.f64 y y) 2)))
(*.f64 2 (+.f64 x (*.f64 y (/.f64 y 2))))
(*.f64 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2) 1/2)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(*.f64 1/2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2))
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(*.f64 (/.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2) 2)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(*.f64 (+.f64 x (/.f64 (*.f64 y y) 2)) 2)
(*.f64 2 (+.f64 x (/.f64 (*.f64 y y) 2)))
(*.f64 2 (+.f64 x (*.f64 y (/.f64 y 2))))
(/.f64 (+.f64 x (+.f64 x (*.f64 y y))) 1)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(/.f64 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 2) 2)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(/.f64 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4) 4)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(/.f64 (*.f64 2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4)) 8)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(/.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4)) (*.f64 2 (*.f64 (+.f64 x (+.f64 x (*.f64 y y))) 4))) 16)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))
(pow.f64 (+.f64 x (+.f64 x (*.f64 y y))) 1)
(+.f64 x (+.f64 x (*.f64 y y)))
(+.f64 (*.f64 y y) (+.f64 x x))

eval10.0ms (0.1%)

Compiler

Compiled 436 to 260 computations (40.4% saved)

prune8.0ms (0.1%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New43144
Fresh000
Picked011
Done033
Total43548
Error
0.0b
Counts
48 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
20.4b
(+.f64 (+.f64 x x) (*.f64 y y))
0.0b
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
43.9b
(+.f64 x x)
23.5b
(*.f64 (+.f64 2 x) x)
Compiler

Compiled 45 to 28 computations (37.8% saved)

localize3.0ms (0%)

Compiler

Compiled 6 to 3 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0%)

Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done044
Total055
Error
0.0b
Counts
5 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
20.4b
(+.f64 (+.f64 x x) (*.f64 y y))
0.0b
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
43.9b
(+.f64 x x)
23.5b
(*.f64 (+.f64 2 x) x)
Compiler

Compiled 45 to 28 computations (37.8% saved)

regimes87.0ms (0.9%)

Counts
5 → 1
Calls
Call 1
Inputs
(+.f64 x x)
(*.f64 (+.f64 2 x) x)
(+.f64 (+.f64 x x) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
Outputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
Calls

5 calls:

68.0ms
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
5.0ms
x
5.0ms
y
4.0ms
(+.f64 (*.f64 x 2) (*.f64 x x))
3.0ms
(*.f64 y y)
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
0.0b1(+.f64 (*.f64 x 2) (*.f64 x x))
0.0b1(*.f64 y y)
Compiler

Compiled 70 to 38 computations (45.7% saved)

regimes12.0ms (0.1%)

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

3 calls:

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

Compiled 37 to 19 computations (48.6% saved)

regimes151.0ms (1.5%)

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

3 calls:

121.0ms
(*.f64 y y)
19.0ms
y
10.0ms
x
Results
ErrorSegmentsBranch
1.9b3x
8.2b5y
6.4b6(*.f64 y y)
Compiler

Compiled 28 to 15 computations (46.4% saved)

bsearch85.0ms (0.8%)

Algorithm
binary-search
Steps
TimeLeftRight
74.0ms
2.370755371576381e-6
0.012964348410338227
12.0ms
-2.0253408571424968e-9
-1.066268815993004e-10
Results
83.0ms240×body256valid
Compiler

Compiled 288 to 192 computations (33.3% saved)

regimes7.0ms (0.1%)

Accuracy

Total -20.4b remaining (-86.8%)

Threshold costs -20.4b (-86.8%)

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

2 calls:

3.0ms
x
3.0ms
y
Results
ErrorSegmentsBranch
23.5b1x
23.5b1y
Compiler

Compiled 16 to 10 computations (37.5% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
026139
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
(if (<=.f64 x -7978910409456553/4835703278458516698824704) (*.f64 (+.f64 2 x) x) (if (<=.f64 x 8070450532247929/4611686018427387904) (+.f64 (+.f64 x x) (*.f64 y y)) (*.f64 (+.f64 2 x) x)))
(*.f64 (+.f64 2 x) x)
(+.f64 x x)
Outputs
(+.f64 (+.f64 (*.f64 x 2) (*.f64 x x)) (*.f64 y y))
(+.f64 (*.f64 x (+.f64 x 2)) (*.f64 y y))
(if (<=.f64 x -7978910409456553/4835703278458516698824704) (*.f64 (+.f64 2 x) x) (if (<=.f64 x 8070450532247929/4611686018427387904) (+.f64 (+.f64 x x) (*.f64 y y)) (*.f64 (+.f64 2 x) x)))
(*.f64 (+.f64 2 x) x)
(+.f64 x x)
Compiler

Compiled 63 to 40 computations (36.5% saved)

soundness0.0ms (0%)

end198.0ms (2%)

Compiler

Compiled 55 to 29 computations (47.3% saved)

Profiling

Loading profile data...