Details

Time bar (total: 3.7s)

analyze167.0ms (4.5%)

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
25%74.9%0.1%5
25%68.7%6.3%6
25%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 34 to 22 computations (35.3% saved)

sample87.0ms (2.3%)

Algorithm
intervals
Results
25.0ms256×body128valid
Compiler

Compiled 69 to 45 computations (34.8% saved)

simplify62.0ms (1.7%)

Algorithm
egg-herbie
Rules
725×fma-def_binary64
669×unsub-neg_binary64
596×cancel-sign-sub-inv_binary64
340×+-commutative_binary64
277×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02042
16340
217036
354236
4186732
5328132
6488132
7495832

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 172 to 108 computations (37.2% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
0.0b
(pow.f64 (hypot.f64 a b) 4)
0.0b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.1b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))

series98.0ms (2.6%)

Counts
4 → 96
Calls

4 calls:

39.0ms
(pow.f64 (hypot.f64 a b) 4)
35.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
12.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
11.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))

rewrite10.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log_binary64
10×pow1_binary64
add-cbrt-cube_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
Counts
4 → 63
Calls

4 calls:

6.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
1.0ms
(pow.f64 (hypot.f64 a b) 4)
0.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))

simplify122.0ms (3.3%)

Algorithm
egg-herbie
Rules
821×fma-def_binary64
417×fma-neg_binary64
408×associate-+l+_binary64
315×cancel-sign-sub-inv_binary64
250×exp-prod_binary64
Counts
159 → 140
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01493218
13642814
210652628
333672622
447542618
549902618

prune174.0ms (4.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1382140
Fresh101
Picked011
Done000
Total1393142
Error
0.0b
Counts
142 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
12.2b
(+.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (pow.f64 a 3)) (+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))))) -1)
0.2b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))) -1)
Compiler

Compiled 4104 to 2268 computations (44.7% saved)

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 a b) 2)
0.0b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.1b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
0.3b
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))

series92.0ms (2.5%)

Counts
2 → 48
Calls

2 calls:

49.0ms
(pow.f64 (hypot.f64 a b) 2)
43.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×unpow-prod-down_binary64
pow-unpow_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 50
Calls

2 calls:

4.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))
1.0ms
(pow.f64 (hypot.f64 a b) 2)

simplify93.0ms (2.5%)

Algorithm
egg-herbie
Rules
467×fma-def_binary64
456×associate-/l/_binary64
413×sqr-pow_binary64
353×*-commutative_binary64
334×log-prod_binary64
Counts
98 → 78
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0731237
11411046
23021013
38921010
415171007
530291007
647331007
747571007

prune174.0ms (4.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1431144
Fresh011
Picked101
Done011
Total1443147
Error
0.0b
Counts
147 → 3
Alt Table
StatusErrorProgram
0.2b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (fma.f64 b b (*.f64 a a)) (sqrt.f64 4))) -1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
12.2b
(+.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (pow.f64 a 3)) (+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))))) -1)
Compiler

Compiled 4564 to 2607 computations (42.9% saved)

localize17.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (fma.f64 b b (*.f64 a a)) (sqrt.f64 4)))
0.0b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.1b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
0.3b
(pow.f64 (fma.f64 b b (*.f64 a a)) (sqrt.f64 4))

series43.0ms (1.2%)

Counts
2 → 48
Calls

2 calls:

28.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (fma.f64 b b (*.f64 a a)) (sqrt.f64 4)))
15.0ms
(pow.f64 (fma.f64 b b (*.f64 a a)) (sqrt.f64 4))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
pow-unpow_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
Counts
2 → 32
Calls

2 calls:

2.0ms
(pow.f64 (fma.f64 b b (*.f64 a a)) (sqrt.f64 4))
0.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (fma.f64 b b (*.f64 a a)) (sqrt.f64 4)))

simplify110.0ms (3%)

Algorithm
egg-herbie
Rules
595×fma-def_binary64
592×unswap-sqr_binary64
490×cancel-sign-sub-inv_binary64
402×associate-+l+_binary64
308×fma-neg_binary64
Counts
80 → 81
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0981997
12441804
26731554
326991550
445861550
550001550
649561550

prune165.0ms (4.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1470147
Fresh011
Picked011
Done011
Total1473150
Error
0.0b
Counts
150 → 3
Alt Table
StatusErrorProgram
0.2b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (fma.f64 b b (*.f64 a a)) (sqrt.f64 4))) -1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
12.2b
(+.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (pow.f64 a 3)) (+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))))) -1)
Compiler

Compiled 4738 to 2476 computations (47.7% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
0.0b
(+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (pow.f64 a 3)) (+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))))
0.0b
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
2.7b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series86.0ms (2.3%)

Counts
4 → 15
Calls

4 calls:

30.0ms
(+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (pow.f64 a 3)) (+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))))
21.0ms
(+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
18.0ms
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
17.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite36.0ms (1%)

Algorithm
rewrite-expression-head
Rules
39×add-exp-log_binary64
28×prod-exp_binary64
27×add-sqr-sqrt_binary64
17×unpow-prod-down_binary64
16×unswap-sqr_binary64
Counts
4 → 117
Calls

4 calls:

12.0ms
(+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (pow.f64 a 3)) (+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))))
6.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
6.0ms
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
5.0ms
(+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))

simplify66.0ms (1.8%)

Algorithm
egg-herbie
Rules
746×fma-def_binary64
572×distribute-rgt-in_binary64
533×distribute-lft-in_binary64
224×cancel-sign-sub-inv_binary64
188×associate-*r*_binary64
Counts
132 → 168
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01692260
14171953
215101899
351701899

prune332.0ms (9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1671168
Fresh000
Picked101
Done022
Total1683171
Error
0b
Counts
171 → 3
Alt Table
StatusErrorProgram
0.2b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (fma.f64 b b (*.f64 a a)) (sqrt.f64 4))) -1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
35.1b
(+.f64 (/.f64 (-.f64 (*.f64 (*.f64 4 (pow.f64 a 2)) (*.f64 4 (pow.f64 a 2))) (*.f64 (+.f64 (*.f64 4 (pow.f64 a 3)) (+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))) (+.f64 (*.f64 4 (pow.f64 a 3)) (+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))))) (-.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (pow.f64 a 3)) (+.f64 (pow.f64 a 4) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))))) -1)
Compiler

Compiled 5829 to 4406 computations (24.4% saved)

regimes613.0ms (16.6%)

Accuracy

Total 0.0b remaining (37.4%)

Threshold costs 0.0b (37.4%)

Counts
100 → 1
Compiler

Compiled 14560 to 10499 computations (27.9% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02350
13150
23050

end1.0ms (0%)

Compiler

Compiled 37 to 26 computations (29.7% saved)

sample1.1s (29.1%)

Algorithm
intervals
Results
693.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 208 to 150 computations (27.9% saved)

Profiling

Loading profile data...