Optimisation.CirclePacking:place from circle-packing-0.1.0.4, C

Time bar (total: 1.1s)

analyze0.0ms (0%)

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

Compiled 8 to 6 computations (25% saved)

sample690.0ms (60.2%)

Results
679.0ms8256×body256valid
Bogosity

preprocess49.0ms (4.3%)

Algorithm
egg-herbie
Rules
130×fma-def
34×sub-neg
22×distribute-lft-neg-in
22×cancel-sign-sub-inv
22×cancel-sign-sub
Problems
256×No Errors
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01983
13475
27275
315775
422375
525175
625575
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 (neg.f64 x) y)))
(sqrt.f64 (fabs.f64 (-.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 y x)))
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 y x)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 y x)))
(sqrt.f64 (fabs.f64 (-.f64 (neg.f64 x) y)))
(sqrt.f64 (fabs.f64 (-.f64 y (neg.f64 x))))
(sqrt.f64 (fabs.f64 (+.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 y (neg.f64 x))))
(sqrt.f64 (fabs.f64 (+.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 y x)))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 24 to 11 computations (54.2% saved)

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (fabs.f64 (-.f64 y x)))
100.0%
(sqrt.f64 (fabs.f64 (-.f64 y x)))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize23.0ms (2%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(sqrt.f64 (fabs.f64 (-.f64 y x)))
Compiler

Compiled 17 to 6 computations (64.7% saved)

series2.0ms (0.1%)

Counts
1 → 8
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@0
(sqrt.f64 (fabs.f64 (-.f64 y x)))
0.0ms
x
@inf
(sqrt.f64 (fabs.f64 (-.f64 y x)))
0.0ms
y
@-inf
(sqrt.f64 (fabs.f64 (-.f64 y x)))
0.0ms
x
@-inf
(sqrt.f64 (fabs.f64 (-.f64 y x)))
0.0ms
y
@inf
(sqrt.f64 (fabs.f64 (-.f64 y x)))

rewrite55.0ms (4.8%)

Algorithm
batch-egg-rewrite
Rules
1678×pow1
1556×add-exp-log
1556×log1p-expm1-u
1556×expm1-log1p-u
1520×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0815
117111
2234511
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 y x)))
Outputs
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) 1)
(*.f64 (sqrt.f64 (-.f64 y x)) 1)
(*.f64 1 (sqrt.f64 (-.f64 y x)))
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) (cbrt.f64 (-.f64 y x)))
(*.f64 (cbrt.f64 (-.f64 y x)) (cbrt.f64 (sqrt.f64 (-.f64 y x))))
(*.f64 (pow.f64 (-.f64 y x) 1/4) (pow.f64 (-.f64 y x) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 y x))))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 y x)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 y x)) 1/2))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 y y (*.f64 x (+.f64 y x)))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 x x))) (sqrt.f64 (+.f64 y x)))
(pow.f64 (-.f64 y x) 1/2)
(pow.f64 (sqrt.f64 (-.f64 y x)) 1)
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) 3)
(pow.f64 (pow.f64 (-.f64 y x) 3/2) 1/3)
(pow.f64 (pow.f64 (-.f64 y x) 1/4) 2)
(fabs.f64 (sqrt.f64 (-.f64 y x)))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 y x))))
(cbrt.f64 (pow.f64 (-.f64 y x) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 y x))))
(exp.f64 (log.f64 (sqrt.f64 (-.f64 y x))))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 y x))))

simplify55.0ms (4.8%)

Algorithm
egg-herbie
Rules
790×fma-def
762×associate-*r*
650×associate-*l*
592×distribute-lft-in
554×distribute-rgt-in
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
075744
1155616
2372524
31172496
43988496
Stop Event
node limit
Counts
30 → 36
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 x (*.f64 -1 y)))))
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 x (*.f64 -1 y)))))
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 x (*.f64 -1 y)))))
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 x (*.f64 -1 y)))))
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x))))
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x))))
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x))))
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x))))
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) 1)
(*.f64 (sqrt.f64 (-.f64 y x)) 1)
(*.f64 1 (sqrt.f64 (-.f64 y x)))
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) (cbrt.f64 (-.f64 y x)))
(*.f64 (cbrt.f64 (-.f64 y x)) (cbrt.f64 (sqrt.f64 (-.f64 y x))))
(*.f64 (pow.f64 (-.f64 y x) 1/4) (pow.f64 (-.f64 y x) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 y x))))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 y x)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 y x)) 1/2))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 y y (*.f64 x (+.f64 y x)))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 x x))) (sqrt.f64 (+.f64 y x)))
(pow.f64 (-.f64 y x) 1/2)
(pow.f64 (sqrt.f64 (-.f64 y x)) 1)
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) 3)
(pow.f64 (pow.f64 (-.f64 y x) 3/2) 1/3)
(pow.f64 (pow.f64 (-.f64 y x) 1/4) 2)
(fabs.f64 (sqrt.f64 (-.f64 y x)))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 y x))))
(cbrt.f64 (pow.f64 (-.f64 y x) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 y x))))
(exp.f64 (log.f64 (sqrt.f64 (-.f64 y x))))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 y x))))
Outputs
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 x (*.f64 -1 y)))))
(sqrt.f64 (fabs.f64 (+.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 x (*.f64 -1 y)))))
(sqrt.f64 (fabs.f64 (+.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 x (*.f64 -1 y)))))
(sqrt.f64 (fabs.f64 (+.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 x (*.f64 -1 y)))))
(sqrt.f64 (fabs.f64 (+.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x))))
(sqrt.f64 (fabs.f64 (+.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x))))
(sqrt.f64 (fabs.f64 (+.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x))))
(sqrt.f64 (fabs.f64 (+.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x))))
(sqrt.f64 (fabs.f64 (+.f64 x (neg.f64 y))))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) 1)
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(*.f64 (sqrt.f64 (-.f64 y x)) 1)
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(*.f64 1 (sqrt.f64 (-.f64 y x)))
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) (cbrt.f64 (-.f64 y x)))
(*.f64 (cbrt.f64 (-.f64 y x)) (cbrt.f64 (sqrt.f64 (-.f64 y x))))
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) (cbrt.f64 (-.f64 y x)))
(*.f64 (pow.f64 (-.f64 y x) 1/4) (pow.f64 (-.f64 y x) 1/4))
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 y x))))
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 y x))) (sqrt.f64 (cbrt.f64 (-.f64 y x))))
(*.f64 (cbrt.f64 (-.f64 y x)) (sqrt.f64 (cbrt.f64 (-.f64 y x))))
(pow.f64 (cbrt.f64 (-.f64 y x)) 3/2)
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 y x)))
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 y x)) 1/2))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 y x))))
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 y x))) (sqrt.f64 (cbrt.f64 (-.f64 y x))))
(*.f64 (cbrt.f64 (-.f64 y x)) (sqrt.f64 (cbrt.f64 (-.f64 y x))))
(pow.f64 (cbrt.f64 (-.f64 y x)) 3/2)
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 y y (*.f64 x (+.f64 y x)))))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 y y (*.f64 x (+.f64 x y)))))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 x (+.f64 x y) (*.f64 y y))))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (+.f64 x y)))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 x x))) (sqrt.f64 (+.f64 y x)))
(/.f64 (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 x x))) (sqrt.f64 (+.f64 x y)))
(pow.f64 (-.f64 y x) 1/2)
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(pow.f64 (sqrt.f64 (-.f64 y x)) 1)
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) 3)
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(pow.f64 (pow.f64 (-.f64 y x) 3/2) 1/3)
(cbrt.f64 (pow.f64 (-.f64 y x) 3/2))
(pow.f64 (pow.f64 (-.f64 y x) 1/4) 2)
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(fabs.f64 (sqrt.f64 (-.f64 y x)))
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 y x))))
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(cbrt.f64 (pow.f64 (-.f64 y x) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 y x))))
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(exp.f64 (log.f64 (sqrt.f64 (-.f64 y x))))
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 y x))))
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1)
(+.f64 (sqrt.f64 (-.f64 y x)) 0)
(sqrt.f64 (-.f64 y x))

eval5.0ms (0.5%)

Compiler

Compiled 325 to 141 computations (56.6% saved)

prune6.0ms (0.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New35136
Fresh000
Picked011
Done000
Total35237
Accuracy
100.0%
Counts
37 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
48.0%
(sqrt.f64 (-.f64 y x))
100.0%
(sqrt.f64 (fabs.f64 (-.f64 y x)))
48.0%
(sqrt.f64 (-.f64 y x))
100.0%
(sqrt.f64 (fabs.f64 (-.f64 y x)))
Compiler

Compiled 26 to 18 computations (30.8% saved)

localize17.0ms (1.5%)

Compiler

Compiled 12 to 5 computations (58.3% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Accuracy
100.0%
Counts
2 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
48.0%
(sqrt.f64 (-.f64 y x))
100.0%
(sqrt.f64 (fabs.f64 (-.f64 y x)))
Compiler

Compiled 29 to 18 computations (37.9% saved)

regimes19.0ms (1.6%)

Counts
3 → 1
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 y x))
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (fabs.f64 (-.f64 y x)))
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Calls

5 calls:

4.0ms
(-.f64 x y)
4.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))
4.0ms
(fabs.f64 (-.f64 x y))
3.0ms
y
3.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(sqrt.f64 (fabs.f64 (-.f64 x y)))
100.0%1(fabs.f64 (-.f64 x y))
100.0%1(-.f64 x y)
Compiler

Compiled 40 to 25 computations (37.5% saved)

regimes9.0ms (0.8%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 y x))
Outputs
(sqrt.f64 (-.f64 y x))
Calls

2 calls:

6.0ms
y
3.0ms
x
Results
AccuracySegmentsBranch
48.0%1x
48.0%1y
Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify5.0ms (0.4%)

Algorithm
egg-herbie
Rules
sub-neg
+-commutative
neg-mul-1
*-commutative
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
11526
22326
32726
42926
Stop Event
done
saturated
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (-.f64 y x))
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (-.f64 y x))
Compiler

Compiled 13 to 9 computations (30.8% saved)

soundness186.0ms (16.3%)

Rules
1678×pow1
1556×add-exp-log
1556×log1p-expm1-u
1556×expm1-log1p-u
1520×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01983
13475
27275
315775
422375
525175
625575
0815
117111
2234511
075744
1155616
2372524
31172496
43988496
Stop Event
node limit
node limit
saturated
Compiler

Compiled 128 to 63 computations (50.8% saved)

end0.0ms (0%)

preprocess22.0ms (1.9%)

Compiler

Compiled 36 to 24 computations (33.3% saved)

Profiling

Loading profile data...