Details

Time bar (total: 4.3s)

analyze646.0ms (14.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%81.1%18.9%7
6.2%74.9%18.9%8
9.4%65.5%25.1%9
15.6%48.4%36%10
20.3%43.1%36.6%11
22.6%36%41.4%12
27.1%25.1%47.8%13
29.5%22.5%48%14
Compiler

Compiled 14 to 9 computations (35.7% saved)

sample1.5s (33.9%)

Results
915.0ms8256×body128valid
304.0ms2556×body128invalid
Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify196.0ms (4.5%)

Algorithm
egg-herbie
Rules
767×unsub-neg_binary64
741×*-commutative_binary64
699×fma-def_binary64
598×fma-neg_binary64
465×distribute-neg-out_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
11915
22915
35715
411815
527815
652915
7100715
8178115
9258515
10283415
11314115
12337115
13348515
14348515
15444415
16428415
17460415
18460415
19510315

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
26.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
26.1b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 39 to 24 computations (38.5% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
3.6b
(-.f64 (*.f64 y y) (*.f64 z z))
26.0b
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))

series51.0ms (1.2%)

Counts
3 → 84
Calls

3 calls:

33.0ms
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
12.0ms
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))
6.0ms
(-.f64 (*.f64 y y) (*.f64 z z))

rewrite16.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
sqrt-prod_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 62
Calls

3 calls:

6.0ms
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
5.0ms
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))
3.0ms
(-.f64 (*.f64 y y) (*.f64 z z))

simplify99.0ms (2.3%)

Algorithm
egg-herbie
Rules
638×fma-def_binary64
337×fma-neg_binary64
316×cancel-sign-sub-inv_binary64
268×neg-mul-1_binary64
187×distribute-rgt-neg-in_binary64
Counts
146 → 179
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02062931
15822842
222892771
345562771
450282771

prune94.0ms (2.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1763179
Fresh000
Picked011
Done000
Total1764180
Error
0.0b
Counts
180 → 4
Alt Table
StatusErrorProgram
26.1b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
31.5b
(*.f64 x (neg.f64 y))
29.2b
(*.f64 x y)
31.2b
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
Compiler

Compiled 3632 to 1621 computations (55.4% saved)

localize2.0ms (0%)

prune3.0ms (0.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044
Error
0.0b
Counts
4 → 4
Alt Table
StatusErrorProgram
26.1b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
31.5b
(*.f64 x (neg.f64 y))
29.2b
(*.f64 x y)
31.2b
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
Compiler

Compiled 61 to 40 computations (34.4% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (-.f64 y z))
0.0b
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
0.0b
(sqrt.f64 (+.f64 y z))
0.3b
(*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))

series73.0ms (1.7%)

Counts
4 → 68
Calls

4 calls:

31.0ms
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
17.0ms
(*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))
13.0ms
(sqrt.f64 (+.f64 y z))
13.0ms
(sqrt.f64 (-.f64 y z))

rewrite61.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64
28×sqrt-div_binary64
22×sqrt-prod_binary64
19×*-un-lft-identity_binary64
15×pow1_binary64
Counts
4 → 110
Calls

4 calls:

41.0ms
(*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))
8.0ms
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
3.0ms
(sqrt.f64 (-.f64 y z))
2.0ms
(sqrt.f64 (+.f64 y z))

simplify124.0ms (2.9%)

Algorithm
egg-herbie
Rules
776×fma-def_binary64
422×cancel-sign-sub-inv_binary64
336×fma-neg_binary64
277×distribute-rgt-in_binary64
207×associate-*r*_binary64
Counts
178 → 251
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02893798
17913681
225603486
348963485
449923485

prune110.0ms (2.5%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2492251
Fresh011
Picked011
Done022
Total2496255
Error
0b
Counts
255 → 6
Alt Table
StatusErrorProgram
26.1b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
31.5b
(*.f64 x (neg.f64 y))
29.2b
(*.f64 x y)
31.3b
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 y z))) (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))))
31.2b
(*.f64 x (*.f64 (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))))
31.2b
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
Compiler

Compiled 5577 to 2259 computations (59.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 y z))
0.0b
(*.f64 x (*.f64 (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))))
0.3b
(*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))
0.3b
(*.f64 (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))))

series47.0ms (1.1%)

Counts
2 → 52
Calls

2 calls:

31.0ms
(*.f64 x (*.f64 (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))))
16.0ms
(*.f64 (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))))

rewrite153.0ms (3.5%)

Algorithm
rewrite-expression-head
Rules
720×sqrt-div_binary64
272×frac-times_binary64
168×associate-*r/_binary64
108×flip-+_binary64
108×flip--_binary64
Counts
2 → 240
Calls

2 calls:

28.0ms
(*.f64 x (*.f64 (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))))
20.0ms
(*.f64 (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))))

simplify329.0ms (7.6%)

Algorithm
egg-herbie
Rules
499×fma-def_binary64
352×associate-*r*_binary64
306×associate-*l*_binary64
293×*-commutative_binary64
275×distribute-rgt-in_binary64
Counts
292 → 439
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
045412478
192511837
2275611596
3489411596
4499411596

prune333.0ms (7.7%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New7170717
Fresh022
Picked011
Done033
Total7176723
Error
0b
Counts
723 → 6
Alt Table
StatusErrorProgram
26.1b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
31.5b
(*.f64 x (neg.f64 y))
29.2b
(*.f64 x y)
31.3b
(*.f64 x (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 y z))) (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))))
31.2b
(*.f64 x (*.f64 (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))))
31.2b
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
Compiler

Compiled 29096 to 7749 computations (73.4% saved)

regimes304.0ms (7%)

Accuracy

Total 0.8b remaining (87.1%)

Threshold costs 0.8b (87.1%)

Counts
14 → 2
Compiler

Compiled 1939 to 1213 computations (37.4% saved)

bsearch24.0ms (0.6%)

Steps
ItersRangePoint
1
-4.957508820182921e-247
4.184353912381864e-237
-4.957508820182921e-247
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01629
12829
23829
34629
45029
55129
65129

end168.0ms (3.9%)

Compiler

Compiled 131 to 76 computations (42% saved)

Profiling

Loading profile data...