Details

Time bar (total: 1.4s)

analyze63.0ms (4.5%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
25%25%74.9%0.1%0%0%0%5
37.5%37.5%62.4%0.1%0%0%0%6
56.3%56.2%43.7%0.1%0%0%0%7
65.6%65.6%34.3%0.1%0%0%0%8
76.6%76.5%23.4%0.1%0%0%0%9
82%82%18%0.1%0%0%0%10
87.9%87.8%12.1%0.1%0%0%0%11
90.8%90.7%9.2%0.1%0%0%0%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample999.0ms (71.8%)

Results
986.0ms8256×body256valid
Bogosity

preprocess18.0ms (1.3%)

Algorithm
egg-herbie
Rules
80×fma-def
42×associate--r+
32×associate--l+
32×+-commutative
26×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01130
11530
22330
33630
46430
511730
618330
721430
822430
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x 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)))
Symmetry

(sort x y)

Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify46.0ms (3.3%)

Algorithm
egg-herbie
Rules
80×fma-def
64×associate--r+
36×associate-+l-
36×+-commutative
32×associate--l+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11215
21915
32915
44715
59415
619115
724015
825815
926315
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%)

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

Compiled 7 to 5 computations (28.6% saved)

localize42.0ms (3%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 16 to 5 computations (68.8% saved)

series2.0ms (0.1%)

Counts
1 → 8
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(sqrt.f64 (fabs.f64 (-.f64 x y)))
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
y
@-inf
(sqrt.f64 (fabs.f64 (-.f64 x y)))

rewrite55.0ms (3.9%)

Algorithm
batch-egg-rewrite
Rules
1696×add-sqr-sqrt
1678×*-un-lft-identity
1568×add-cube-cbrt
1554×add-cbrt-cube
178×pow1
Iterations

Useful iterations: 1 (0.0ms)

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

simplify49.0ms (3.5%)

Algorithm
egg-herbie
Rules
1206×associate-+r+
1100×distribute-lft-in
1050×distribute-rgt-in
962×associate-*r*
902×associate-*l*
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
082609
1168565
2375557
31032529
43981529
Stop Event
node limit
Counts
33 → 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 (exp.f64 (log1p.f64 (sqrt.f64 (-.f64 x y)))) 1)
(*.f64 (sqrt.f64 (-.f64 x y)) 1)
(*.f64 1 (sqrt.f64 (-.f64 x y)))
(*.f64 (pow.f64 (-.f64 x y) 1/4) (pow.f64 (-.f64 x y) 1/4))
(*.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 (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 (pow.f64 (-.f64 x y) 1/4) 2)
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) 3)
(pow.f64 (pow.f64 (-.f64 x y) 3/2) 1/3)
(fabs.f64 (sqrt.f64 (-.f64 x y)))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 x y))))
(log.f64 (+.f64 1 (expm1.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))))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (-.f64 x y))) 1))
(exp.f64 (*.f64 (log.f64 (-.f64 x y)) 1/2))
(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 (exp.f64 (log1p.f64 (sqrt.f64 (-.f64 x y)))) 1)
(sqrt.f64 (-.f64 x y))
(*.f64 (sqrt.f64 (-.f64 x y)) 1)
(sqrt.f64 (-.f64 x y))
(*.f64 1 (sqrt.f64 (-.f64 x y)))
(sqrt.f64 (-.f64 x y))
(*.f64 (pow.f64 (-.f64 x y) 1/4) (pow.f64 (-.f64 x y) 1/4))
(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 (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)))
(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)))
(pow.f64 (-.f64 x y) 1/2)
(sqrt.f64 (-.f64 x y))
(pow.f64 (sqrt.f64 (-.f64 x y)) 1)
(sqrt.f64 (-.f64 x y))
(pow.f64 (pow.f64 (-.f64 x y) 1/4) 2)
(sqrt.f64 (-.f64 x y))
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) 3)
(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))
(fabs.f64 (sqrt.f64 (-.f64 x y)))
(sqrt.f64 (-.f64 x y))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 x y))))
(sqrt.f64 (-.f64 x y))
(log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (-.f64 x y)))))
(sqrt.f64 (-.f64 x y))
(cbrt.f64 (pow.f64 (-.f64 x y) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 x y))))
(sqrt.f64 (-.f64 x y))
(exp.f64 (log.f64 (sqrt.f64 (-.f64 x y))))
(sqrt.f64 (-.f64 x y))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (-.f64 x y))) 1))
(sqrt.f64 (-.f64 x y))
(exp.f64 (*.f64 (log.f64 (-.f64 x y)) 1/2))
(sqrt.f64 (-.f64 x y))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 x y))))
(sqrt.f64 (-.f64 x y))

eval4.0ms (0.3%)

Compiler

Compiled 316 to 134 computations (57.6% saved)

prune6.0ms (0.4%)

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
0.0%
(sqrt.f64 (-.f64 x y))
100.0%
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 13 to 9 computations (30.8% saved)

localize4.0ms (0.3%)

Compiler

Compiled 11 to 4 computations (63.6% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

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

Compiled 13 to 9 computations (30.8% saved)

regimes44.0ms (3.2%)

Accuracy

Total -64.0b remaining (-819100%)

Threshold costs -64b (-819100%)

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

5 calls:

31.0ms
(fabs.f64 (-.f64 x y))
3.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))
3.0ms
(-.f64 x y)
3.0ms
x
3.0ms
y
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 35 to 22 computations (37.1% saved)

simplify11.0ms (0.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
11326
22026
32526
42826
52926
Stop Event
done
saturated
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (-.f64 x y))
Outputs
(sqrt.f64 (fabs.f64 (-.f64 x y)))
(sqrt.f64 (-.f64 x y))
Compiler

Compiled 13 to 9 computations (30.8% saved)

soundness0.0ms (0%)

end48.0ms (3.4%)

Remove

(sort x y)

Compiler

Compiled 25 to 16 computations (36% saved)

Profiling

Loading profile data...