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

Time bar (total: 1.7s)

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)

sample943.0ms (54.5%)

Results
931.0ms8256×body256valid
Bogosity

preprocess57.0ms (3.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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01968
13460
27260
315760
422360
525160
625560
Stop Event
saturated
Calls
Call 1
Inputs
(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 (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 9 to 7 computations (22.2% saved)

simplify8.0ms (0.5%)

Algorithm
egg-herbie
Rules
100×fma-def
32×sub-neg
24×associate--r+
20×cancel-sign-sub-inv
18×fabs-sub
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11215
21915
32915
45015
510515
616915
720515
822815
923315
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Accurracy
100.0%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize24.0ms (1.4%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 17 to 6 computations (64.7% saved)

series2.0ms (0.1%)

Counts
1 → 8
Calls

6 calls:

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

rewrite53.0ms (3.1%)

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 x y)))
Outputs
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 x y))) 1)
(*.f64 (sqrt.f64 (-.f64 x y)) 1)
(*.f64 1 (sqrt.f64 (-.f64 x y)))
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) (cbrt.f64 (-.f64 x y)))
(*.f64 (cbrt.f64 (-.f64 x y)) (cbrt.f64 (sqrt.f64 (-.f64 x y))))
(*.f64 (pow.f64 (-.f64 x y) 1/4) (pow.f64 (-.f64 x y) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 x y))))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 x y)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 x y)) 1/2))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (+.f64 x y)))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (+.f64 x y)))
(pow.f64 (-.f64 x y) 1/2)
(pow.f64 (sqrt.f64 (-.f64 x y)) 1)
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) 3)
(pow.f64 (pow.f64 (-.f64 x y) 3/2) 1/3)
(pow.f64 (pow.f64 (-.f64 x y) 1/4) 2)
(fabs.f64 (sqrt.f64 (-.f64 x y)))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 x y))))
(cbrt.f64 (pow.f64 (-.f64 x y) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 x y))))
(exp.f64 (log.f64 (sqrt.f64 (-.f64 x y))))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 x y))))

simplify65.0ms (3.8%)

Algorithm
egg-herbie
Rules
790×fma-def
758×associate-*r*
648×associate-*l*
596×distribute-lft-in
554×distribute-rgt-in
Iterations

Useful iterations: 3 (0.0ms)

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

eval5.0ms (0.3%)

Compiler

Compiled 325 to 141 computations (56.6% saved)

prune53.0ms (3.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

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

Compiled 26 to 18 computations (30.8% saved)

localize51.0ms (3%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 12 to 5 computations (58.3% saved)

series3.0ms (0.2%)

Counts
1 → 8
Calls

6 calls:

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

rewrite52.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
1554×pow1
1438×add-exp-log
1438×log1p-expm1-u
1438×expm1-log1p-u
1406×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

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

simplify77.0ms (4.5%)

Algorithm
egg-herbie
Rules
1254×times-frac
928×associate-/l*
808×associate-*r/
666×associate-/r*
662×*-commutative
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01161110
12611014
2715910
32478874
47423874
Stop Event
node limit
Counts
30 → 59
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 -1) (sqrt.f64 y))
(+.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 y)) (*.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y)))))
(+.f64 (*.f64 -1/8 (*.f64 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (+.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 y)) (*.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y))))))
(+.f64 (*.f64 -1/8 (*.f64 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (+.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 y)) (+.f64 (*.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y)))) (*.f64 1/16 (*.f64 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 (/.f64 1 (pow.f64 y 5))))))))
(sqrt.f64 x)
(+.f64 (*.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)))
(+.f64 (*.f64 -1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))))
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 x y))) 1)
(*.f64 (sqrt.f64 (-.f64 x y)) 1)
(*.f64 1 (sqrt.f64 (-.f64 x y)))
(*.f64 (cbrt.f64 (-.f64 x y)) (cbrt.f64 (sqrt.f64 (-.f64 x y))))
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) (cbrt.f64 (-.f64 x y)))
(*.f64 (pow.f64 (-.f64 x y) 1/4) (pow.f64 (-.f64 x y) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 x y))))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 x y)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 x y)) 1/2))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (+.f64 x y)))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (+.f64 x y)))
(pow.f64 (-.f64 x y) 1/2)
(pow.f64 (sqrt.f64 (-.f64 x y)) 1)
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) 3)
(pow.f64 (pow.f64 (-.f64 x y) 3/2) 1/3)
(pow.f64 (pow.f64 (-.f64 x y) 1/4) 2)
(fabs.f64 (sqrt.f64 (-.f64 x y)))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 x y))))
(cbrt.f64 (pow.f64 (-.f64 x y) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 x y))))
(exp.f64 (log.f64 (sqrt.f64 (-.f64 x y))))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 x y))))
Outputs
(*.f64 (sqrt.f64 -1) (sqrt.f64 y))
(+.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 y)) (*.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y)))))
(fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (*.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y)))))
(fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (/.f64 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 x)) (sqrt.f64 -1)))
(+.f64 (*.f64 -1/8 (*.f64 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (+.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 y)) (*.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y))))))
(fma.f64 -1/8 (*.f64 (/.f64 (*.f64 x x) (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) (fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (*.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y))))))
(fma.f64 -1/8 (*.f64 (/.f64 (/.f64 (*.f64 x x) (sqrt.f64 -1)) -1) (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) (fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (*.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y))))))
(fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (fma.f64 1/2 (/.f64 (sqrt.f64 (/.f64 1 y)) (/.f64 (sqrt.f64 -1) x)) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 1/8 (/.f64 x (/.f64 (sqrt.f64 -1) x))))))
(fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (*.f64 (/.f64 x (sqrt.f64 -1)) (+.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 y))) (*.f64 (/.f64 x -1) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3))))))))
(+.f64 (*.f64 -1/8 (*.f64 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 y 3))))) (+.f64 (*.f64 (sqrt.f64 -1) (sqrt.f64 y)) (+.f64 (*.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y)))) (*.f64 1/16 (*.f64 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 (/.f64 1 (pow.f64 y 5))))))))
(fma.f64 -1/8 (*.f64 (/.f64 (*.f64 x x) (pow.f64 (sqrt.f64 -1) 3)) (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) (fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (fma.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y))) (*.f64 (*.f64 1/16 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 5))) (sqrt.f64 (/.f64 1 (pow.f64 y 5)))))))
(fma.f64 -1/8 (*.f64 (/.f64 (/.f64 (*.f64 x x) (sqrt.f64 -1)) -1) (sqrt.f64 (/.f64 1 (pow.f64 y 3)))) (fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (fma.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) (sqrt.f64 (/.f64 1 y))) (*.f64 1/16 (*.f64 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 (/.f64 1 (pow.f64 y 5))))))))
(fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) (*.f64 1/8 (/.f64 x (/.f64 (sqrt.f64 -1) x))) (fma.f64 1/16 (*.f64 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 (/.f64 1 (pow.f64 y 5)))) (/.f64 (*.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 1/2 x)) (sqrt.f64 -1)))))
(+.f64 (fma.f64 (sqrt.f64 -1) (sqrt.f64 y) (*.f64 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 5)) (*.f64 1/16 (sqrt.f64 (/.f64 1 (pow.f64 y 5)))))) (*.f64 (/.f64 x (sqrt.f64 -1)) (+.f64 (*.f64 1/2 (sqrt.f64 (/.f64 1 y))) (*.f64 (/.f64 x -1) (*.f64 -1/8 (sqrt.f64 (/.f64 1 (pow.f64 y 3))))))))
(sqrt.f64 x)
(+.f64 (*.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))
(fma.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))
(fma.f64 y (*.f64 -1/2 (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))
(+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x)))
(fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (*.f64 y y)) (fma.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)))
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x)))
(fma.f64 y (*.f64 -1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (sqrt.f64 x)))
(fma.f64 y (*.f64 -1/2 (sqrt.f64 (/.f64 1 x))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (*.f64 y (*.f64 y -1/8)) (sqrt.f64 x)))
(+.f64 (*.f64 -1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5))))) (+.f64 (*.f64 -1/8 (*.f64 (pow.f64 y 2) (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (+.f64 (*.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x)))) (sqrt.f64 x))))
(fma.f64 -1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (fma.f64 -1/8 (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 3))) (*.f64 y y)) (fma.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))))
(fma.f64 -1/16 (*.f64 (pow.f64 y 3) (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 -1/2 (*.f64 y (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))))
(fma.f64 -1/8 (*.f64 y (*.f64 y (sqrt.f64 (/.f64 1 (pow.f64 x 3))))) (fma.f64 (pow.f64 y 3) (*.f64 -1/16 (sqrt.f64 (/.f64 1 (pow.f64 x 5)))) (fma.f64 y (*.f64 -1/2 (sqrt.f64 (/.f64 1 x))) (sqrt.f64 x))))
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 x y))) 1)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(*.f64 (sqrt.f64 (-.f64 x y)) 1)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(*.f64 1 (sqrt.f64 (-.f64 x y)))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(*.f64 (cbrt.f64 (-.f64 x y)) (cbrt.f64 (sqrt.f64 (-.f64 x y))))
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) (cbrt.f64 (-.f64 x y)))
(*.f64 (cbrt.f64 (-.f64 x y)) (cbrt.f64 (sqrt.f64 (-.f64 x y))))
(*.f64 (pow.f64 (-.f64 x y) 1/4) (pow.f64 (-.f64 x y) 1/4))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 x y))))
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))) (sqrt.f64 (cbrt.f64 (-.f64 x y))))
(*.f64 (cbrt.f64 (-.f64 x y)) (sqrt.f64 (cbrt.f64 (-.f64 x y))))
(pow.f64 (cbrt.f64 (-.f64 x y)) 3/2)
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 x y)))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 x y)) 1/2))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 x y))))
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))) (sqrt.f64 (cbrt.f64 (-.f64 x y))))
(*.f64 (cbrt.f64 (-.f64 x y)) (sqrt.f64 (cbrt.f64 (-.f64 x y))))
(pow.f64 (cbrt.f64 (-.f64 x y)) 3/2)
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (+.f64 x y)))))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (+.f64 y x)))))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x))))
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (+.f64 x y)))
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (+.f64 y x)))
(/.f64 (sqrt.f64 (fma.f64 x x (*.f64 y (neg.f64 y)))) (sqrt.f64 (+.f64 y x)))
(pow.f64 (-.f64 x y) 1/2)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(pow.f64 (sqrt.f64 (-.f64 x y)) 1)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) 3)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(pow.f64 (pow.f64 (-.f64 x y) 3/2) 1/3)
(cbrt.f64 (pow.f64 (-.f64 x y) 3/2))
(pow.f64 (pow.f64 (-.f64 x y) 1/4) 2)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(fabs.f64 (sqrt.f64 (-.f64 x y)))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 x y))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(cbrt.f64 (pow.f64 (-.f64 x y) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 x y))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(exp.f64 (log.f64 (sqrt.f64 (-.f64 x y))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 x y))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 x y)) 1))
(+.f64 (sqrt.f64 (-.f64 x y)) 0)
(sqrt.f64 (-.f64 x y))

eval18.0ms (1.1%)

Compiler

Compiled 1041 to 688 computations (33.9% saved)

prune9.0ms (0.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New58159
Fresh000
Picked011
Done011
Total58361
Accurracy
100.0%
Counts
61 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
47.7%
(sqrt.f64 (-.f64 x y))
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
22.2%
(sqrt.f64 x)
47.7%
(sqrt.f64 (-.f64 x y))
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
22.2%
(sqrt.f64 x)
Compiler

Compiled 34 to 24 computations (29.4% saved)

localize40.0ms (2.3%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Accurracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
47.7%
(sqrt.f64 (-.f64 x y))
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
22.2%
(sqrt.f64 x)
Compiler

Compiled 30 to 19 computations (36.7% saved)

regimes21.0ms (1.2%)

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

5 calls:

6.0ms
(-.f64 x y)
4.0ms
y
3.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))
3.0ms
(fabs.f64 (-.f64 x 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 37 to 23 computations (37.8% saved)

regimes51.0ms (3%)

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

3 calls:

45.0ms
x
3.0ms
y
3.0ms
(-.f64 x y)
Results
AccuracySegmentsBranch
47.7%1x
47.7%1y
47.7%1(-.f64 x y)
Compiler

Compiled 19 to 12 computations (36.8% saved)

regimes6.0ms (0.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

3.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
22.2%1x
22.2%1y
Compiler

Compiled 10 to 7 computations (30% saved)

simplify6.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
11431
22131
32631
42931
53031
Stop Event
done
saturated
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (-.f64 x y))
(sqrt.f64 x)
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (-.f64 x y))
(sqrt.f64 x)
Compiler

Compiled 17 to 12 computations (29.4% saved)

soundness160.0ms (9.2%)

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
075744
1156616
2372524
31172496
43972496
Stop Event
node limit
node limit
Compiler

Compiled 116 to 55 computations (52.6% saved)

end0.0ms (0%)

preprocess24.0ms (1.4%)

Compiler

Compiled 40 to 24 computations (40% saved)

Profiling

Loading profile data...