Expanding a square

Time bar (total: 2.5s)

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)

sample1.0s (40.2%)

Results
286.0ms2977×256valid
342.0ms2108×1024valid
157.0ms2026×256infinite
120.0ms1031×512valid
88.0ms114×2048valid
Bogosity

preprocess428.0ms (17.1%)

Algorithm
egg-herbie
Rules
6356×fma-neg
2212×unsub-neg
1012×distribute-neg-in
856×sub-neg
670×fma-def
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1310-0-(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
00-0-x
00-0-(*.f64 (+.f64 x 1) (+.f64 x 1))
00-0-(+.f64 x 1)
00-0-1
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
015128
151108
214688
348876
4217976
5379476
6495376
7580776
8623276
9647276
10647576
11647576
12659676
13668376
14685676
15685676
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 56 to 42 computations (25% saved)

eval1.0ms (0%)

Compiler

Compiled 21 to 15 computations (28.6% saved)

prune1.0ms (0%)

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

Compiled 6 to 4 computations (33.3% saved)

localize21.0ms (0.8%)

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

rewrite165.0ms (6.6%)

Algorithm
batch-egg-rewrite
Rules
524×unpow-prod-down
396×log1p-expm1-u
396×expm1-log1p-u
373×add-exp-log
370×log-prod
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
18319
2108319
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 (+.f64 x 2)) x))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 x 2)) x))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 x 2)) x))))
(-.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 (+.f64 x 2)) x))
(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 (pow.f64 x 3/2) (sqrt.f64 x) (*.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))

simplify66.0ms (2.7%)

Algorithm
egg-herbie
Rules
1102×associate-*r*
1002×associate-*l*
940×fma-def
922×fma-neg
810×log-prod
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01381475
13311465
28841437
353091401
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 (+.f64 x 2)) x))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 x 2)) x))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 x 2)) x))))
(-.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 (+.f64 x 2)) x))
(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 (pow.f64 x 3/2) (sqrt.f64 x) (*.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))
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 (+.f64 x 2)) x))))
(+.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (+.f64 2 x)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 2 x)) x))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 x 2)) x))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 x 2)) x))))
(*.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 2 (pow.f64 x 3)))))
(/.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) (*.f64 (pow.f64 x 2) -4)) (*.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 x (+.f64 (fma.f64 x x 4) (*.f64 x -2))) (+.f64 (pow.f64 x 3) 8))
(/.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 (fma.f64 x x -4) (/.f64 x (+.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 x (+.f64 (fma.f64 x x 4) (*.f64 x -2))) (+.f64 (pow.f64 x 3) 8))
(/.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 (fma.f64 x x -4) (/.f64 x (+.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 (+.f64 x 2)) x))
(*.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 (pow.f64 x 3/2) (sqrt.f64 x) (*.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))

eval17.0ms (0.7%)

Compiler

Compiled 791 to 567 computations (28.3% saved)

prune8.0ms (0.3%)

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))
52.5%
(*.f64 2 x)
Compiler

Compiled 17 to 11 computations (35.3% saved)

localize28.0ms (1.1%)

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))
52.5%
(*.f64 2 x)
Compiler

Compiled 41 to 27 computations (34.1% saved)

regimes11.0ms (0.4%)

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 24 to 18 computations (25% saved)

regimes18.0ms (0.7%)

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:

10.0ms
(+.f64 x 1)
3.0ms
x
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 24 to 18 computations (25% 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
52.5%1x
Compiler

Compiled 2 to 1 computations (50% saved)

simplify3.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)

soundness532.0ms (21.3%)

Rules
6356×fma-neg
2212×unsub-neg
1012×distribute-neg-in
856×sub-neg
670×fma-def
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015128
151108
214688
348876
4217976
5379476
6495376
7580776
8623276
9647276
10647576
11647576
12659676
13668376
14685676
15685676
0819
18319
2108319
Stop Event
node limit
node limit
Compiler

Compiled 90 to 66 computations (26.7% saved)

end0.0ms (0%)

preprocess190.0ms (7.6%)

Compiler

Compiled 50 to 34 computations (32% saved)

Profiling

Loading profile data...