Details

Time bar (total: 4.9s)

analyze384.0ms (7.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample3.2s (64.6%)

Results
1.5s2574×body1024valid
711.0ms1195×body2048valid
485.0ms1278×body512valid
290.0ms2484×body128valid
147.0ms681×body256valid
32.0ms44×body4096valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
hypot-1-def_binary64
fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0812
1139
2149
3139

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
45.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
45.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 30 to 21 computations (30% saved)

localize5.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
0.4b
(+.f64 x (hypot.f64 1 x))
3.3b
(log.f64 (+.f64 x (hypot.f64 1 x)))

series9.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
3.0ms
(+.f64 x (hypot.f64 1 x))
3.0ms
(hypot.f64 1 x)

rewrite96.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
85×egg-rr
Counts
3 → 85
Calls

2 calls:

95.0ms
((log.f64 (+.f64 x (hypot.f64 1 x))) (+.f64 x (hypot.f64 1 x)) (hypot.f64 1 x))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0620
112020
2143620
3483120
4480420
5497620
000
100

simplify57.0ms (1.2%)

Algorithm
egg-herbie
Rules
848×fma-neg_binary64
722×times-frac_binary64
447×cancel-sign-sub-inv_binary64
426×associate-/r*_binary64
340×sub-neg_binary64
Counts
121 → 149
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
098569
1305549
2805537
32329537
44446537
55590537

prune67.0ms (1.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1472149
Fresh000
Picked011
Done000
Total1473150
Error
0.0b
Counts
150 → 3
Alt Table
StatusErrorProgram
46.4b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
33.7b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
45.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 1980 to 1478 computations (25.4% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 3/40 (pow.f64 x 5) x)
0.0b
(*.f64 5/112 (pow.f64 x 7))
0.1b
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
26.6b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))

series18.0ms (0.4%)

Counts
4 → 36
Calls

4 calls:

6.0ms
(fma.f64 3/40 (pow.f64 x 5) x)
5.0ms
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
4.0ms
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
4.0ms
(*.f64 5/112 (pow.f64 x 7))

rewrite67.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
110×egg-rr
Counts
4 → 110
Calls

2 calls:

64.0ms
((-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (*.f64 5/112 (pow.f64 x 7)) (fma.f64 3/40 (pow.f64 x 5) x))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01553
133253
2355653
3493953
000
100

simplify171.0ms (3.5%)

Algorithm
egg-herbie
Rules
921×distribute-rgt-neg-in_binary64
534×sqr-pow_binary64
489×fma-neg_binary64
428×sub-neg_binary64
396×cancel-sign-sub-inv_binary64
Counts
146 → 128
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
023426
170422
2164414
3422408
41180408
51924408
62643408
73577408
83489408
93665408
103867408
114057408
123819408
134825408
144889408

prune102.0ms (2.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1271128
Fresh011
Picked011
Done011
Total1274131
Error
0b
Counts
131 → 4
Alt Table
StatusErrorProgram
45.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))
58.2b
(pow.f64 (pow.f64 (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))) 3) 1/3)
46.4b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
33.7b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
Compiler

Compiled 3522 to 2813 computations (20.1% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
0.1b
(/.f64 1/8 (pow.f64 x 3))
11.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))

series11.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

4.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
3.0ms
(/.f64 1/8 (pow.f64 x 3))
3.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))

rewrite61.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
104×egg-rr
Counts
3 → 104
Calls

2 calls:

60.0ms
((log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01035
123031
2288631
3488431
000
100

simplify51.0ms (1%)

Algorithm
egg-herbie
Rules
880×fma-neg_binary64
732×fma-def_binary64
685×times-frac_binary64
524×cancel-sign-sub-inv_binary64
387×associate-*l*_binary64
Counts
128 → 131
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
063410
1180402
2497400
31626396
44148396
55672396

prune63.0ms (1.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh011
Picked011
Done022
Total1314135
Error
0b
Counts
135 → 4
Alt Table
StatusErrorProgram
45.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))
58.2b
(pow.f64 (pow.f64 (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))) 3) 1/3)
46.4b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
33.7b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
Compiler

Compiled 2214 to 1760 computations (20.5% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 5/112 (pow.f64 x 7))
0.1b
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
26.6b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
34.2b
(pow.f64 (pow.f64 (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))) 3) 1/3)

series8.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

8.0ms
(pow.f64 (pow.f64 (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))) 3) 1/3)

rewrite60.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
56×egg-rr
Counts
1 → 56
Calls

2 calls:

58.0ms
((pow.f64 (pow.f64 (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))) 3) 1/3))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01824
138124
2395624
3481624
000
100

simplify64.0ms (1.3%)

Algorithm
egg-herbie
Rules
701×fma-def_binary64
647×associate-/l*_binary64
585×cancel-sign-sub-inv_binary64
574×fma-neg_binary64
166×distribute-rgt-neg-in_binary64
Counts
68 → 79
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
070546
1193522
2492400
31650303
44705301
54961301
64901301

prune166.0ms (3.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1820182
Fresh000
Picked011
Done033
Total1824186
Error
0b
Counts
186 → 4
Alt Table
StatusErrorProgram
45.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))
58.2b
(pow.f64 (pow.f64 (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))) 3) 1/3)
46.4b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
33.7b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
Compiler

Compiled 6107 to 4992 computations (18.3% saved)

regimes105.0ms (2.1%)

Accuracy

Total 0.1b remaining (76%)

Threshold costs 0.1b (76%)

Counts
25 → 3
Compiler

Compiled 879 to 682 computations (22.4% saved)

bsearch41.0ms (0.8%)

Steps
ItersRangePoint
10
0.01710817362014471
4615241499492.261
0.02259612619328486
10
-118685.5196701979
-3.1843737634226373e-14
-1.1533316581136956
Compiler

Compiled 2 to 1 computations (50% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03256
13556
23456

end96.0ms (2%)

Compiler

Compiled 138 to 106 computations (23.2% saved)

Profiling

Loading profile data...