Details

Time bar (total: 1.0s)

analyze3.0ms (0.3%)

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
57.1%50%37.5%0%12.5%0%0%4
76.9%62.5%18.7%0%18.7%0%0%5
88%68.7%9.4%0%21.9%0%0%6
93.9%71.8%4.7%0%23.4%0%0%7
96.9%73.4%2.3%0%24.2%0%0%8
98.4%74.2%1.2%0%24.6%0%0%9
99.2%74.6%0.6%0%24.8%0%0%10
99.6%74.8%0.3%0%24.9%0%0%11
99.8%74.9%0.1%0%24.9%0%0%12
Compiler

Compiled 7 to 4 computations (42.9% saved)

sample677.0ms (64.5%)

Results
667.0ms8256×body256valid
0.0msbody256infinite
Bogosity

preprocess8.0ms (0.7%)

Algorithm
egg-herbie
Rules
14×fma-def
*-commutative
associate-*r*
associate-*l*
distribute-rgt-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
199
2169
3229
4249
5359
6379
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(+.f64 x (*.f64 x x))
Outputs
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
Compiler

Compiled 7 to 4 computations (42.9% saved)

simplify12.0ms (1.1%)

Algorithm
egg-herbie
Rules
14×fma-def
*-commutative
associate-*r*
associate-*l*
distribute-rgt-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0513
199
2169
3229
4249
5359
6379
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 x (*.f64 x x))
Outputs
(+.f64 x (*.f64 x x))
(fma.f64 x x x)

eval0.0ms (0%)

Compiler

Compiled 10 to 4 computations (60% saved)

prune5.0ms (0.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(fma.f64 x x x)
0.0b
(+.f64 x (*.f64 x x))
Compiler

Compiled 11 to 5 computations (54.5% saved)

localize4.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 10 to 3 computations (70% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite51.0ms (4.8%)

Algorithm
batch-egg-rewrite
Rules
1220×add-sqr-sqrt
1200×*-un-lft-identity
1130×add-cube-cbrt
1120×add-cbrt-cube
1114×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0513
11129
216139
Stop Event
node limit
Counts
1 → 38
Calls
Call 1
Inputs
(+.f64 x (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 6) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) x)))))

simplify58.0ms (5.5%)

Algorithm
egg-herbie
Rules
1092×associate-*r*
1064×associate-+r+
954×associate-*l*
822×associate-+l+
618×associate-*r/
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
092910
1215880
2745880
34068844
Stop Event
node limit
Counts
50 → 49
Calls
Call 1
Inputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(-.f64 (+.f64 1 (fma.f64 x x x)) 1)
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x))))
(*.f64 x (+.f64 x 1))
(*.f64 (fma.f64 x x x) 1)
(*.f64 1 (fma.f64 x x x))
(*.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x)))
(*.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x)))
(*.f64 (+.f64 x 1) x)
(*.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x))))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))
(*.f64 (*.f64 (+.f64 x 1) 1) x)
(*.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 (*.f64 (+.f64 x 1) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))
(/.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4))))
(/.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 6) (pow.f64 x 3))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))
(pow.f64 (fma.f64 x x x) 1)
(pow.f64 (hypot.f64 x (sqrt.f64 x)) 2)
(pow.f64 (cbrt.f64 (fma.f64 x x x)) 3)
(pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3)
(sqrt.f64 (pow.f64 (fma.f64 x x x) 2))
(log.f64 (exp.f64 (fma.f64 x x x)))
(cbrt.f64 (pow.f64 (fma.f64 x x x) 3))
(expm1.f64 (log1p.f64 (fma.f64 x x x)))
(exp.f64 (log.f64 (fma.f64 x x x)))
(log1p.f64 (expm1.f64 (fma.f64 x x x)))
(fma.f64 x x x)
(fma.f64 1 x (*.f64 x x))
(fma.f64 1 (*.f64 x x) x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x))
(fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) x)
Outputs
x
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(-.f64 (+.f64 1 (fma.f64 x x x)) 1)
(fma.f64 x x x)
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x))
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x)))
(*.f64 x (+.f64 x 1))
(fma.f64 x x x)
(*.f64 (fma.f64 x x x) 1)
(fma.f64 x x x)
(*.f64 1 (fma.f64 x x x))
(fma.f64 x x x)
(*.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x)))
(fma.f64 x x x)
(*.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2))
(fma.f64 x x x)
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x)))
(fma.f64 x x x)
(*.f64 (+.f64 x 1) x)
(fma.f64 x x x)
(*.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x))
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x)))
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3)))
(*.f64 (*.f64 (+.f64 x 1) 1) x)
(fma.f64 x x x)
(*.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x))
(fma.f64 x x x)
(*.f64 (*.f64 (+.f64 x 1) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))
(*.f64 (+.f64 x 1) (*.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x)))
(/.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x))
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x)))
(/.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 6) (pow.f64 x 3))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3)))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x))
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3)))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3)))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x))
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x)))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))
(/.f64 (*.f64 x (-.f64 (pow.f64 x 3) x)) (-.f64 (*.f64 x x) x))
(*.f64 (/.f64 x (-.f64 1 x)) (-.f64 1 (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 x 3)) (-.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 3)))
(pow.f64 (fma.f64 x x x) 1)
(fma.f64 x x x)
(pow.f64 (hypot.f64 x (sqrt.f64 x)) 2)
(fma.f64 x x x)
(pow.f64 (cbrt.f64 (fma.f64 x x x)) 3)
(fma.f64 x x x)
(pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3)
(fma.f64 x x x)
(sqrt.f64 (pow.f64 (fma.f64 x x x) 2))
(fma.f64 x x x)
(log.f64 (exp.f64 (fma.f64 x x x)))
(fma.f64 x x x)
(cbrt.f64 (pow.f64 (fma.f64 x x x) 3))
(fma.f64 x x x)
(expm1.f64 (log1p.f64 (fma.f64 x x x)))
(fma.f64 x x x)
(exp.f64 (log.f64 (fma.f64 x x x)))
(fma.f64 x x x)
(log1p.f64 (expm1.f64 (fma.f64 x x x)))
(fma.f64 x x x)
(fma.f64 x x x)
(fma.f64 1 x (*.f64 x x))
(fma.f64 x x x)
(fma.f64 1 (*.f64 x x) x)
(fma.f64 x x x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x))
(fma.f64 x x x)
(fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (*.f64 x x))
(fma.f64 x x (*.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x)))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) x)
(fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 (pow.f64 x 4)) x)

localize3.0ms (0.3%)

Compiler

Compiled 6 to 2 computations (66.7% saved)

eval9.0ms (0.9%)

Compiler

Compiled 494 to 226 computations (54.3% saved)

prune7.0ms (0.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New46349
Fresh000
Picked011
Done011
Total46551
Error
0b
Counts
51 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(fma.f64 x x x)
0.0b
(+.f64 x (*.f64 x x))
0.0b
(*.f64 (+.f64 x 1) x)
38.8b
(*.f64 x x)
23.3b
x
Compiler

Compiled 23 to 12 computations (47.8% saved)

localize4.0ms (0.3%)

Compiler

Compiled 5 to 2 computations (60% saved)

localize4.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 11 to 7 computations (36.4% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite48.0ms (4.6%)

Algorithm
batch-egg-rewrite
Rules
1218×add-sqr-sqrt
1202×*-un-lft-identity
1122×add-cube-cbrt
1108×add-cbrt-cube
1098×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify50.0ms (4.7%)

Algorithm
egg-herbie
Rules
1078×fma-def
1052×distribute-lft-out
970×associate-/l*
960×*-commutative
564×associate-/r*
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
053319
1126303
2360303
31930303
44147303
Stop Event
node limit
Counts
29 → 26
Calls
Call 1
Inputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(+.f64 (*.f64 x x) x)
(-.f64 (+.f64 1 (+.f64 x (*.f64 x x))) 1)
(/.f64 (*.f64 x (fma.f64 x x -1)) (+.f64 x -1))
(/.f64 (*.f64 x (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)))
(/.f64 (*.f64 (fma.f64 x x -1) x) (+.f64 x -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 1 x)))
(pow.f64 (+.f64 x (*.f64 x x)) 1)
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x x))) 2)
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x x))) 3)
(pow.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) 1/3)
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 1)))
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x x))))
(exp.f64 (+.f64 (log.f64 x) (log1p.f64 x)))
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x x))))
Outputs
x
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) x)
(fma.f64 x x x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (*.f64 x x) x)
(fma.f64 x x x)
(-.f64 (+.f64 1 (+.f64 x (*.f64 x x))) 1)
(fma.f64 x x x)
(/.f64 (*.f64 x (fma.f64 x x -1)) (+.f64 x -1))
(fma.f64 x x x)
(/.f64 (*.f64 x (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)))
(/.f64 (+.f64 1 (pow.f64 x 3)) (/.f64 (fma.f64 x x (-.f64 1 x)) x))
(/.f64 (+.f64 x (pow.f64 x 4)) (fma.f64 x x (-.f64 1 x)))
(/.f64 (+.f64 x (pow.f64 x 4)) (-.f64 (fma.f64 x x 1) x))
(/.f64 (*.f64 (fma.f64 x x -1) x) (+.f64 x -1))
(fma.f64 x x x)
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 1 x)))
(/.f64 (+.f64 1 (pow.f64 x 3)) (/.f64 (fma.f64 x x (-.f64 1 x)) x))
(/.f64 (+.f64 x (pow.f64 x 4)) (fma.f64 x x (-.f64 1 x)))
(/.f64 (+.f64 x (pow.f64 x 4)) (-.f64 (fma.f64 x x 1) x))
(pow.f64 (+.f64 x (*.f64 x x)) 1)
(fma.f64 x x x)
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x x))) 2)
(fma.f64 x x x)
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x x))) 3)
(fma.f64 x x x)
(pow.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) 1/3)
(fma.f64 x x x)
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 2))
(fma.f64 x x x)
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 1)))
(fma.f64 x x x)
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3))
(fma.f64 x x x)
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x x))))
(fma.f64 x x x)
(exp.f64 (+.f64 (log.f64 x) (log1p.f64 x)))
(*.f64 x (exp.f64 (log1p.f64 x)))
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x x))))
(fma.f64 x x x)

eval4.0ms (0.4%)

Compiler

Compiled 202 to 100 computations (50.5% saved)

prune5.0ms (0.4%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New26026
Fresh011
Picked011
Done033
Total26531
Error
0b
Counts
31 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(fma.f64 x x x)
0.0b
(+.f64 x (*.f64 x x))
0.0b
(*.f64 (+.f64 x 1) x)
38.8b
(*.f64 x x)
23.3b
x
Compiler

Compiled 23 to 12 computations (47.8% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.2%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done044
Total055
Error
0b
Counts
5 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(fma.f64 x x x)
0.0b
(+.f64 x (*.f64 x x))
0.0b
(*.f64 (+.f64 x 1) x)
38.8b
(*.f64 x x)
23.3b
x
Compiler

Compiled 23 to 12 computations (47.8% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.2%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done044
Total055
Error
0b
Counts
5 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(fma.f64 x x x)
0.0b
(+.f64 x (*.f64 x x))
0.0b
(*.f64 (+.f64 x 1) x)
38.8b
(*.f64 x x)
23.3b
x
Compiler

Compiled 23 to 12 computations (47.8% saved)

regimes9.0ms (0.9%)

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

2 calls:

5.0ms
(+.f64 x (*.f64 x x))
4.0ms
x
Results
ErrorSegmentsBranch
0b1x
0b1(+.f64 x (*.f64 x x))
Compiler

Compiled 27 to 11 computations (59.3% saved)

regimes9.0ms (0.8%)

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

2 calls:

4.0ms
x
4.0ms
(+.f64 x (*.f64 x x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(+.f64 x (*.f64 x x))
Compiler

Compiled 23 to 10 computations (56.5% saved)

regimes9.0ms (0.8%)

Accuracy

Total -59.1b remaining (-3975.8%)

Threshold costs -59.1b (-3975.8%)

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

1 calls:

8.0ms
x
Results
ErrorSegmentsBranch
1.5b3x
Compiler

Compiled 7 to 3 computations (57.1% saved)

bsearch22.0ms (2.1%)

Algorithm
binary-search
Steps
TimeLeftRight
11.0ms
0.28120664042095705
5964.670431166955
11.0ms
-1.0198976517947203
-0.00043222095303452253
Results
19.0ms256×body256valid
Compiler

Compiled 138 to 86 computations (37.7% saved)

simplify5.0ms (0.4%)

Algorithm
egg-herbie
Rules
1-exp
+-commutative
if-if-or-not
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01756
12756
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(fma.f64 x x x)
(*.f64 (+.f64 x 1) x)
(if (<=.f64 x -1) (*.f64 x x) (if (<=.f64 x 1) x (*.f64 x x)))
x
Outputs
(fma.f64 x x x)
(*.f64 (+.f64 x 1) x)
(*.f64 x (+.f64 x 1))
(if (<=.f64 x -1) (*.f64 x x) (if (<=.f64 x 1) x (*.f64 x x)))
x
Compiler

Compiled 29 to 15 computations (48.3% saved)

soundness17.0ms (1.6%)

Algorithm
egg-herbie
Rules
14×fma-def
*-commutative
associate-*r*
associate-*l*
distribute-rgt-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0513
199
2169
3229
4249
5359
6379
Stop Event
saturated
Compiler

Compiled 15 to 5 computations (66.7% saved)

end23.0ms (2.2%)

Compiler

Compiled 26 to 12 computations (53.8% saved)

Profiling

Loading profile data...