Expanding a square

Details

Time bar (total: 1.4s)

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)

sample811.0ms (57%)

Results
282.0ms2130×body1024valid
203.0ms2800×body256valid
178.0ms2089×body256infinite
105.0ms1036×body512valid
32.0ms201×body2048valid
Bogosity

preprocess77.0ms (5.4%)

Algorithm
egg-herbie
Rules
1906×fma-def
1604×fma-neg
1178×distribute-lft-in
1078×associate--r-
1078×distribute-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0721
12519
25813
313813
458313
5203713
6545613
7783113
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 (*.f64 (+.f64 x 1) (+.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 x (-.f64 x -2))
Compiler

Compiled 11 to 9 computations (18.2% saved)

simplify69.0ms (4.9%)

Algorithm
egg-herbie
Rules
1906×fma-def
1604×fma-neg
1178×distribute-lft-in
1078×associate--r-
1078×distribute-neg-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0721
12519
25813
313813
458313
5203713
6545613
7783113
Stop Event
node limit
Counts
1 → 5
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x 1) (+.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 x (-.f64 x -2))

eval1.0ms (0.1%)

Compiler

Compiled 35 to 25 computations (28.6% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New415
Fresh101
Picked000
Done000
Total516
Accurracy
100.0%
Counts
6 → 1
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)

localize18.0ms (1.3%)

Local Accuracy

Found 1 expressions with local accuracy:

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

rewrite53.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
1366×pow1
1274×add-exp-log
1274×log1p-expm1-u
1274×expm1-log1p-u
1252×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
113313
2167413
Stop Event
node limit
Counts
1 → 17
Calls
Call 1
Inputs
(*.f64 x (-.f64 x -2))
Outputs
(+.f64 (*.f64 x x) (*.f64 x 2))
(+.f64 (*.f64 x x) (*.f64 2 x))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (fma.f64 x x (+.f64 4 (*.f64 x -2))))
(/.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))
(/.f64 (*.f64 (+.f64 (pow.f64 x 3) 8) x) (fma.f64 x x (+.f64 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)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 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))))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))

simplify54.0ms (3.8%)

Algorithm
egg-herbie
Rules
1670×fma-def
1268×log-prod
724×*-commutative
646×distribute-lft-out
640×associate-*r*
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
058451
1134443
2398435
32440431
45933431
Stop Event
node limit
Counts
29 → 29
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 x) (*.f64 x 2))
(+.f64 (*.f64 x x) (*.f64 2 x))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (fma.f64 x x (+.f64 4 (*.f64 x -2))))
(/.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))
(/.f64 (*.f64 (+.f64 (pow.f64 x 3) 8) x) (fma.f64 x x (+.f64 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)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 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))))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
Outputs
(*.f64 2 x)
(+.f64 x 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 x 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 x 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))
(+.f64 (*.f64 x x) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 x x) (*.f64 2 x))
(*.f64 x (+.f64 2 x))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (+.f64 (pow.f64 x 3) 8)) (fma.f64 x x (+.f64 4 (*.f64 x -2))))
(/.f64 x (/.f64 (fma.f64 x x (+.f64 4 (*.f64 x -2))) (+.f64 (pow.f64 x 3) 8)))
(/.f64 x (/.f64 (fma.f64 x x (fma.f64 x -2 4)) (+.f64 (pow.f64 x 3) 8)))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x x (fma.f64 x -2 4)))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x (+.f64 x -2) 4))
(/.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))
(*.f64 (/.f64 x (+.f64 x -2)) (fma.f64 x x -4))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(/.f64 (*.f64 (+.f64 (pow.f64 x 3) 8) x) (fma.f64 x x (+.f64 4 (*.f64 x -2))))
(/.f64 x (/.f64 (fma.f64 x x (+.f64 4 (*.f64 x -2))) (+.f64 (pow.f64 x 3) 8)))
(/.f64 x (/.f64 (fma.f64 x x (fma.f64 x -2 4)) (+.f64 (pow.f64 x 3) 8)))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x x (fma.f64 x -2 4)))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x (+.f64 x -2) 4))
(/.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))
(/.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))
(*.f64 (/.f64 x (+.f64 x -2)) (fma.f64 x x -4))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(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)) 3) 1/3)
(*.f64 x (+.f64 2 x))
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(*.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))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))

eval5.0ms (0.4%)

Compiler

Compiled 254 to 169 computations (33.5% saved)

prune12.0ms (0.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New26329
Fresh000
Picked011
Done000
Total26430
Accurracy
100.0%
Counts
30 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 x x) (*.f64 x 2))
52.3%
(+.f64 x x)
100.0%
(*.f64 x (-.f64 x -2))
52.0%
(*.f64 x x)
Compiler

Compiled 22 to 13 computations (40.9% saved)

localize12.0ms (0.9%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize12.0ms (0.8%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize21.0ms (1.5%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 17 to 9 computations (47.1% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite54.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
1580×pow1
1474×add-exp-log
1472×log1p-expm1-u
1472×expm1-log1p-u
1448×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
115413
2205613
Stop Event
node limit
Counts
1 → 39
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 x 2))
Outputs
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(-.f64 (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 x 2))) (/.f64 (*.f64 (*.f64 x x) 4) (*.f64 x (-.f64 x 2))))
(*.f64 x (+.f64 x 2))
(*.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 1 (*.f64 x (+.f64 x 2)))
(*.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x 2)))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x 2)))
(*.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (sqrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (/.f64 1 (*.f64 x (-.f64 x 2))))
(*.f64 (+.f64 x 2) x)
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))) (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6))))
(/.f64 1 (/.f64 (*.f64 x (-.f64 x 2)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))))
(/.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))))
(/.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6)) (+.f64 (*.f64 (*.f64 x x) 4) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 2))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (*.f64 x (-.f64 x 2)))
(/.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))) (neg.f64 (*.f64 x (-.f64 x 2))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (-.f64 (*.f64 x 2) (*.f64 x x)))
(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)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(log.f64 (exp.f64 (*.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))))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(fma.f64 x x (*.f64 x 2))
(fma.f64 x 2 (*.f64 x x))
(fma.f64 2 x (*.f64 x x))
(fma.f64 1 (*.f64 x x) (*.f64 x 2))
(fma.f64 1 (*.f64 x 2) (*.f64 x x))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) (cbrt.f64 (*.f64 x 2)) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 x 2))
(fma.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 (*.f64 x 2)) (*.f64 x x))

simplify56.0ms (3.9%)

Algorithm
egg-herbie
Rules
1186×fma-neg
928×div-sub
820×times-frac
632×fma-def
580×log-prod
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01021157
12841107
2995981
35227981
Stop Event
node limit
Counts
51 → 55
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 1 (*.f64 x (+.f64 x 2))) 1)
(-.f64 (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 x 2))) (/.f64 (*.f64 (*.f64 x x) 4) (*.f64 x (-.f64 x 2))))
(*.f64 x (+.f64 x 2))
(*.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 1 (*.f64 x (+.f64 x 2)))
(*.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x 2)))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x 2)))
(*.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (sqrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (/.f64 1 (*.f64 x (-.f64 x 2))))
(*.f64 (+.f64 x 2) x)
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))) (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6))))
(/.f64 1 (/.f64 (*.f64 x (-.f64 x 2)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))))
(/.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))))
(/.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6)) (+.f64 (*.f64 (*.f64 x x) 4) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 2))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (*.f64 x (-.f64 x 2)))
(/.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))) (neg.f64 (*.f64 x (-.f64 x 2))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (-.f64 (*.f64 x 2) (*.f64 x x)))
(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)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(log.f64 (exp.f64 (*.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))))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(fma.f64 x x (*.f64 x 2))
(fma.f64 x 2 (*.f64 x x))
(fma.f64 2 x (*.f64 x x))
(fma.f64 1 (*.f64 x x) (*.f64 x 2))
(fma.f64 1 (*.f64 x 2) (*.f64 x x))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) (cbrt.f64 (*.f64 x 2)) (*.f64 x x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 x 2))
(fma.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 (*.f64 x 2)) (*.f64 x x))
Outputs
(*.f64 2 x)
(+.f64 x 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 x 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 x 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))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(*.f64 x (+.f64 2 x))
(-.f64 (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 x 2))) (/.f64 (*.f64 (*.f64 x x) 4) (*.f64 x (-.f64 x 2))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x 4))) (*.f64 x (+.f64 x -2)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 4)) (*.f64 x (+.f64 x -2)))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(*.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 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))
(*.f64 x (+.f64 2 x))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (+.f64 x 2)))
(*.f64 x (+.f64 2 x))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (+.f64 x 2)))
(*.f64 x (+.f64 2 x))
(*.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (sqrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(*.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x (*.f64 x 4)) (*.f64 2 (pow.f64 x 3)))) (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 4 (*.f64 x x) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(*.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (/.f64 1 (*.f64 x (-.f64 x 2))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x 4))) (*.f64 x (+.f64 x -2)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 4)) (*.f64 x (+.f64 x -2)))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(*.f64 (+.f64 x 2) x)
(*.f64 x (+.f64 2 x))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))) (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x (*.f64 x 4)) (*.f64 2 (pow.f64 x 3)))) (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 4 (*.f64 x x) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 1 (/.f64 (*.f64 x (-.f64 x 2)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x 4))) (*.f64 x (+.f64 x -2)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 4)) (*.f64 x (+.f64 x -2)))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(/.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x (*.f64 x 4)) (*.f64 2 (pow.f64 x 3)))) (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 4 (*.f64 x x) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6)) (+.f64 (*.f64 (*.f64 x x) 4) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 2))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x (*.f64 x 4)) (*.f64 2 (pow.f64 x 3)))) (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 4 (*.f64 x x) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4)) (*.f64 x (-.f64 x 2)))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x 4))) (*.f64 x (+.f64 x -2)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 4)) (*.f64 x (+.f64 x -2)))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(/.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (pow.f64 x 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2)))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x (*.f64 x 4)) (*.f64 2 (pow.f64 x 3)))) (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 x (*.f64 x 4) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 4 (*.f64 x x) (*.f64 (pow.f64 x 3) (+.f64 x -2))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) 4))) (neg.f64 (*.f64 x (-.f64 x 2))))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x 4))) (*.f64 x (+.f64 x -2)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 4)) (*.f64 x (+.f64 x -2)))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(/.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 x 4)) (-.f64 (*.f64 x 2) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x 4))) (*.f64 x (+.f64 x -2)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 4)) (*.f64 x (+.f64 x -2)))
(*.f64 x (/.f64 (fma.f64 x x -4) (+.f64 x -2)))
(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)) 3) 1/3)
(*.f64 x (+.f64 2 x))
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(*.f64 x (+.f64 2 x))
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(*.f64 x (+.f64 2 x))
(log.f64 (exp.f64 (*.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))
(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 (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 1 (*.f64 x x) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(fma.f64 1 (*.f64 x 2) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) (cbrt.f64 (*.f64 x 2)) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 x 2))
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 2 x))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (*.f64 2 x))
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) (+.f64 x x))
(fma.f64 (sqrt.f64 (*.f64 x 2)) (sqrt.f64 (*.f64 x 2)) (*.f64 x x))
(*.f64 x (+.f64 2 x))

eval71.0ms (5%)

Compiler

Compiled 671 to 447 computations (33.4% saved)

prune7.0ms (0.5%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New55055
Fresh000
Picked011
Done033
Total55459
Accurracy
100.0%
Counts
59 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 x x) (*.f64 x 2))
52.3%
(+.f64 x x)
100.0%
(*.f64 x (-.f64 x -2))
52.0%
(*.f64 x x)
Compiler

Compiled 22 to 13 computations (40.9% saved)

regimes13.0ms (0.9%)

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

4 calls:

4.0ms
x
3.0ms
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
3.0ms
(+.f64 x 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 52 to 34 computations (34.6% saved)

regimes8.0ms (0.6%)

Accuracy

Total -60.4b remaining (-14457.8%)

Threshold costs -60.4b (-14457.8%)

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

1 calls:

8.0ms
x
Results
AccuracySegmentsBranch
99.3%3x
Compiler

Compiled 9 to 4 computations (55.6% saved)

bsearch30.0ms (2.1%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
12.0ms
0.17222333555867647
315429.4390399887
17.0ms
-2.535976747160347e+22
-3.709684261502658e-17
Results
27.0ms336×body256valid
Compiler

Compiled 224 to 137 computations (38.8% saved)

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Rules
sub-neg
+-commutative
*-commutative
neg-mul-1
if-if-or-not
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01659
12559
23059
33259
43359
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 x (-.f64 x -2))
(if (<=.f64 x -2) (*.f64 x x) (if (<=.f64 x 2) (+.f64 x x) (*.f64 x x)))
(*.f64 x x)
Outputs
(*.f64 x (-.f64 x -2))
(if (<=.f64 x -2) (*.f64 x x) (if (<=.f64 x 2) (+.f64 x x) (*.f64 x x)))
(*.f64 x x)
Compiler

Compiled 28 to 15 computations (46.4% saved)

soundness0.0ms (0%)

end29.0ms (2%)

Compiler

Compiled 72 to 40 computations (44.4% saved)

Profiling

Loading profile data...