Expanding a square

Time bar (total: 2.0s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample932.0ms (46.4%)

Results
351.0ms2065×body1024valid
240.0ms2940×body256valid
175.0ms2099×body256infinite
131.0ms1036×body512valid
23.0ms116×body2048valid
Bogosity

preprocess350.0ms (17.4%)

Algorithm
egg-herbie
Rules
6356×fma-neg
2214×unsub-neg
1004×distribute-neg-in
856×sub-neg
670×fma-def
Problems
129×No Errors
127×(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
015128
148108
214388
348576
4219176
5380076
6494876
7578976
8621476
9645476
10645776
11645776
12657876
13666576
14683876
15683876
Stop Event
node limit
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
(-.f64 (*.f64 (+.f64 (neg.f64 x) 1) (+.f64 (neg.f64 x) 1)) 1)
(neg.f64 (-.f64 (*.f64 (+.f64 (neg.f64 x) 1) (+.f64 (neg.f64 x) 1)) 1))
Outputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
(fma.f64 (+.f64 x 1) (+.f64 x 1) -1)
(*.f64 (+.f64 x 2) (+.f64 x 0))
(*.f64 x (+.f64 x 2))
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
(fma.f64 (+.f64 x 1) (+.f64 x 1) -1)
(*.f64 (+.f64 x 2) (+.f64 x 0))
(*.f64 x (+.f64 x 2))
(-.f64 (*.f64 (+.f64 (neg.f64 x) 1) (+.f64 (neg.f64 x) 1)) 1)
(fma.f64 (+.f64 1 (neg.f64 x)) (+.f64 1 (neg.f64 x)) -1)
(fma.f64 (-.f64 1 x) (-.f64 1 x) -1)
(*.f64 (neg.f64 x) (-.f64 2 x))
(*.f64 x (+.f64 x -2))
(neg.f64 (-.f64 (*.f64 (+.f64 (neg.f64 x) 1) (+.f64 (neg.f64 x) 1)) 1))
(neg.f64 (fma.f64 (+.f64 1 (neg.f64 x)) (+.f64 1 (neg.f64 x)) -1))
(neg.f64 (fma.f64 (-.f64 1 x) (-.f64 1 x) -1))
(*.f64 (neg.f64 x) (neg.f64 (-.f64 2 x)))
(*.f64 x (-.f64 2 x))
Compiler

Compiled 33 to 25 computations (24.2% saved)

eval1.0ms (0.1%)

Compiler

Compiled 21 to 15 computations (28.6% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (+.f64 x 2))
100.0%
(*.f64 x (+.f64 x 2))
Compiler

Compiled 12 to 8 computations (33.3% saved)

localize20.0ms (1%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(*.f64 x (+.f64 x 2))
Compiler

Compiled 12 to 8 computations (33.3% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
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))

rewrite98.0ms (4.9%)

Algorithm
batch-egg-rewrite
Rules
526×unpow-prod-down
397×log1p-expm1-u
397×expm1-log1p-u
376×add-exp-log
370×log-prod
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
18319
2108019
Stop Event
node limit
Counts
1 → 47
Calls
Call 1
Inputs
(*.f64 x (+.f64 x 2))
Outputs
(+.f64 (pow.f64 x 2) (*.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 (*.f64 x 2) 1))
(+.f64 (*.f64 x 2) (pow.f64 x 2))
(+.f64 0 (*.f64 x (+.f64 x 2)))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (+.f64 x 2)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(/.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x 2) 2) (*.f64 (pow.f64 x 2) (*.f64 x 2)))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x 2) 2)) (-.f64 (pow.f64 x 2) (*.f64 x 2)))
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (-.f64 (fma.f64 x x 4) (*.f64 x 2)))
(/.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))
(/.f64 (*.f64 (+.f64 (pow.f64 x 3) 8) x) (-.f64 (fma.f64 x x 4) (*.f64 x 2)))
(/.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) 1/2)
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(pow.f64 (E.f64) (log.f64 (*.f64 x (+.f64 x 2))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (+.f64 x 2)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (+.f64 x 2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (+.f64 x 2))))) (sqrt.f64 (log.f64 (*.f64 x (+.f64 x 2)))))
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (+.f64 x 2)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (+.f64 x 2)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x 2)))) 2))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(fma.f64 x x (*.f64 x 2))
(fma.f64 x 2 (pow.f64 x 2))
(fma.f64 2 x (pow.f64 x 2))
(fma.f64 1 (pow.f64 x 2) (*.f64 x 2))
(fma.f64 1 (*.f64 x 2) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 4) (*.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (pow.f64 x 2))
(fma.f64 (pow.f64 x 2) 1 (*.f64 (*.f64 x 2) 1))
(fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (*.f64 x 2))
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 4) (pow.f64 (cbrt.f64 x) 2) (*.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) (cbrt.f64 (*.f64 x 2)) (pow.f64 x 2))
(fma.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 (*.f64 x 2)) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (*.f64 x 2))
(fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (pow.f64 x 2))
(fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (pow.f64 x 2))
(fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (*.f64 x 2))

simplify55.0ms (2.7%)

Algorithm
egg-herbie
Rules
1104×associate-*r*
996×associate-*l*
940×fma-def
922×fma-neg
806×log-prod
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01381475
13261465
28741437
352811401
Stop Event
node limit
Counts
59 → 69
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 (pow.f64 x 2) (*.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 (*.f64 x 2) 1))
(+.f64 (*.f64 x 2) (pow.f64 x 2))
(+.f64 0 (*.f64 x (+.f64 x 2)))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (+.f64 x 2)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(/.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x 2) 2) (*.f64 (pow.f64 x 2) (*.f64 x 2)))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x 2) 2)) (-.f64 (pow.f64 x 2) (*.f64 x 2)))
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (-.f64 (fma.f64 x x 4) (*.f64 x 2)))
(/.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))
(/.f64 (*.f64 (+.f64 (pow.f64 x 3) 8) x) (-.f64 (fma.f64 x x 4) (*.f64 x 2)))
(/.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) 1/2)
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(pow.f64 (E.f64) (log.f64 (*.f64 x (+.f64 x 2))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (+.f64 x 2)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (+.f64 x 2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (+.f64 x 2))))) (sqrt.f64 (log.f64 (*.f64 x (+.f64 x 2)))))
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (+.f64 x 2)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (+.f64 x 2)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x 2)))) 2))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(fma.f64 x x (*.f64 x 2))
(fma.f64 x 2 (pow.f64 x 2))
(fma.f64 2 x (pow.f64 x 2))
(fma.f64 1 (pow.f64 x 2) (*.f64 x 2))
(fma.f64 1 (*.f64 x 2) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 4) (*.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (pow.f64 x 2))
(fma.f64 (pow.f64 x 2) 1 (*.f64 (*.f64 x 2) 1))
(fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (*.f64 x 2))
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 4) (pow.f64 (cbrt.f64 x) 2) (*.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) (cbrt.f64 (*.f64 x 2)) (pow.f64 x 2))
(fma.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 (*.f64 x 2)) (pow.f64 x 2))
(fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (*.f64 x 2))
(fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (pow.f64 x 2))
(fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (pow.f64 x 2))
(fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (*.f64 x 2))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (pow.f64 x 2) (*.f64 (*.f64 x 2) 1))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 x 2) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 0 (*.f64 x (+.f64 x 2)))
(*.f64 x (+.f64 2 x))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (+.f64 x 2)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (+.f64 2 x)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 2 x)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))
(*.f64 x (+.f64 2 x))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(*.f64 x (+.f64 2 x))
(/.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 x 2) 2) (*.f64 (pow.f64 x 2) (*.f64 x 2)))))
(/.f64 (+.f64 (pow.f64 x 6) (*.f64 (pow.f64 x 3) 8)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 (*.f64 2 x) 2) (*.f64 (pow.f64 x 3) 2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 (*.f64 2 x) 2) (*.f64 (pow.f64 x 3) -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 (pow.f64 x 2) 4 (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x 2) 2)) (-.f64 (pow.f64 x 2) (*.f64 x 2)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 x) 2)) (-.f64 (pow.f64 x 2) (*.f64 2 x)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 x) 2)) (*.f64 x (-.f64 x 2)))
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 2 x) 2)) (*.f64 x (+.f64 x -2)))
(/.f64 (*.f64 x (+.f64 2 x)) 1)
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (-.f64 (fma.f64 x x 4) (*.f64 x 2)))
(/.f64 x (/.f64 (-.f64 (fma.f64 x x 4) (*.f64 2 x)) (+.f64 (pow.f64 x 3) 8)))
(*.f64 (/.f64 (+.f64 (pow.f64 x 3) 8) (+.f64 (fma.f64 x x 4) (*.f64 x -2))) x)
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (+.f64 4 (*.f64 x (+.f64 x -2))))
(/.f64 (+.f64 (pow.f64 x 3) 8) (+.f64 (/.f64 (fma.f64 x x 4) x) -2))
(/.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))
(/.f64 x (/.f64 (+.f64 x -2) (fma.f64 x x -4)))
(*.f64 (/.f64 x (+.f64 x -2)) (fma.f64 x x -4))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(/.f64 (fma.f64 x x -4) (-.f64 1 (/.f64 2 x)))
(/.f64 (*.f64 (+.f64 (pow.f64 x 3) 8) x) (-.f64 (fma.f64 x x 4) (*.f64 x 2)))
(/.f64 x (/.f64 (-.f64 (fma.f64 x x 4) (*.f64 2 x)) (+.f64 (pow.f64 x 3) 8)))
(*.f64 (/.f64 (+.f64 (pow.f64 x 3) 8) (+.f64 (fma.f64 x x 4) (*.f64 x -2))) x)
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (+.f64 4 (*.f64 x (+.f64 x -2))))
(/.f64 (+.f64 (pow.f64 x 3) 8) (+.f64 (/.f64 (fma.f64 x x 4) x) -2))
(/.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))
(/.f64 x (/.f64 (+.f64 x -2) (fma.f64 x x -4)))
(*.f64 (/.f64 x (+.f64 x -2)) (fma.f64 x x -4))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(/.f64 (fma.f64 x x -4) (-.f64 1 (/.f64 2 x)))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(*.f64 x (+.f64 2 x))
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2) 1/2)
(*.f64 x (+.f64 2 x))
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(*.f64 x (+.f64 2 x))
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(*.f64 x (+.f64 2 x))
(pow.f64 (E.f64) (log.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (+.f64 x 2)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (+.f64 x 2)))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (+.f64 2 x)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (+.f64 2 x)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (+.f64 x 2))))) (sqrt.f64 (log.f64 (*.f64 x (+.f64 x 2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (+.f64 2 x))))) (sqrt.f64 (log.f64 (*.f64 x (+.f64 2 x)))))
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(*.f64 x (+.f64 2 x))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))
(*.f64 x (+.f64 2 x))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(*.f64 x (+.f64 2 x))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (+.f64 x 2)))) 3))
(*.f64 x (+.f64 2 x))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (+.f64 x 2)))) 1/3))
(*.f64 x (+.f64 2 x))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (+.f64 x 2)))) 2))
(*.f64 x (+.f64 2 x))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(fma.f64 x x (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 x 2 (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 2 x (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 1 (pow.f64 x 2) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 1 (*.f64 x 2) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 x) 4) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (pow.f64 x 2) 1 (*.f64 (*.f64 x 2) 1))
(*.f64 x (+.f64 2 x))
(fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (pow.f64 (cbrt.f64 x) 4) (pow.f64 (cbrt.f64 x) 2) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) (cbrt.f64 (*.f64 x 2)) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 (*.f64 x 2)) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) (*.f64 x 2))
(*.f64 x (+.f64 2 x))

eval16.0ms (0.8%)

Compiler

Compiled 791 to 563 computations (28.8% saved)

prune10.0ms (0.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New67269
Fresh000
Picked011
Done000
Total67370
Accuracy
100.0%
Counts
70 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x (*.f64 x 2))
100.0%
(*.f64 x (+.f64 x 2))
50.4%
(*.f64 2 x)
100.0%
(fma.f64 x x (*.f64 x 2))
100.0%
(*.f64 x (+.f64 x 2))
50.4%
(*.f64 2 x)
Compiler

Compiled 34 to 22 computations (35.3% saved)

localize30.0ms (1.5%)

Compiler

Compiled 18 to 11 computations (38.9% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked022
Done011
Total033
Accuracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x (*.f64 x 2))
100.0%
(*.f64 x (+.f64 x 2))
50.4%
(*.f64 2 x)
Compiler

Compiled 41 to 27 computations (34.1% saved)

regimes12.0ms (0.6%)

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

4 calls:

3.0ms
x
3.0ms
(+.f64 x 1)
2.0ms
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
2.0ms
(*.f64 (+.f64 x 1) (+.f64 x 1))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
100.0%1(*.f64 (+.f64 x 1) (+.f64 x 1))
100.0%1(+.f64 x 1)
Compiler

Compiled 48 to 34 computations (29.2% saved)

regimes11.0ms (0.6%)

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

4 calls:

3.0ms
x
3.0ms
(+.f64 x 1)
2.0ms
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
2.0ms
(*.f64 (+.f64 x 1) (+.f64 x 1))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
100.0%1(*.f64 (+.f64 x 1) (+.f64 x 1))
100.0%1(+.f64 x 1)
Compiler

Compiled 42 to 31 computations (26.2% saved)

regimes3.0ms (0.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
50.4%1x
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01253
11453
Stop Event
done
saturated
Calls
Call 1
Inputs
(fma.f64 x x (*.f64 x 2))
(*.f64 x (+.f64 x 2))
(*.f64 2 x)
Outputs
(fma.f64 x x (*.f64 x 2))
(*.f64 x (+.f64 x 2))
(*.f64 2 x)
(*.f64 x 2)
Compiler

Compiled 17 to 11 computations (35.3% saved)

soundness438.0ms (21.8%)

Rules
6356×fma-neg
2214×unsub-neg
1004×distribute-neg-in
856×sub-neg
670×fma-def
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015128
148108
214388
348576
4219176
5380076
6494876
7578976
8621476
9645476
10645776
11645776
12657876
13666576
14683876
15683876
0819
18319
2108019
Stop Event
node limit
node limit
Compiler

Compiled 90 to 66 computations (26.7% saved)

end0.0ms (0%)

preprocess28.0ms (1.4%)

Compiler

Compiled 50 to 34 computations (32% saved)

Profiling

Loading profile data...