Details

Time bar (total: 2.8s)

sample26.0ms

Algorithm
intervals
Results
15.0ms256×body80valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1204
2494
31444
44734
521284
650024

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.8b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow x 2.0) (pow x 2.0))
26.7b
(sqrt (+ (pow x 2.0) (pow x 2.0)))

rewrite204.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
32×unpow-prod-down
24×sqrt-prod
20×add-sqr-sqrt
19×add-cube-cbrt
18×distribute-rgt-out
14×distribute-lft-out
sqr-pow
distribute-lft1-in distribute-rgt1-in add-log-exp
pow1
add-exp-log flip3-+ count-2 sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 68
Calls
2 calls:
7.0ms
(+ (pow x 2.0) (pow x 2.0))
193.0ms
(sqrt (+ (pow x 2.0) (pow x 2.0)))

series15.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(+ (pow x 2.0) (pow x 2.0))
11.0ms
(sqrt (+ (pow x 2.0) (pow x 2.0)))

simplify233.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (226.0ms)

IterNodesCost
0149334
1494319
23175309
35001308

prune130.0ms

Filtered
74 candidates to 44 candidates (40.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New66874
Fresh000
Picked011
Done000
Total66975

Merged error: 0.1b

Counts
75 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
15.7b
(sqrt (pow (* (cbrt x) (cbrt x)) 2.0))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
sqrt-prod
pow1 add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square pow1/3
unpow-prod-down sqr-pow
sqrt-pow1 pow1/2
Counts
4 → 50
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
2.0ms
(sqrt (pow (* (cbrt x) (cbrt x)) 2.0))

series141.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt x)
24.0ms
(cbrt x)
22.0ms
(cbrt x)
73.0ms
(sqrt (pow (* (cbrt x) (cbrt x)) 2.0))

simplify130.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (19.0ms)

IterNodesCost
0149281
1307265
2752231
32300225
45002225

prune153.0ms

Filtered
62 candidates to 51 candidates (17.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New58462
Fresh167
Picked101
Done011
Total601171

Merged error: 0.1b

Counts
71 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (cbrt x) 2.0)
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1 add-exp-log
pow1/3 add-cbrt-cube add-log-exp
pow-unpow
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 54
Calls
4 calls:
3.0ms
(pow (cbrt x) 2.0)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series114.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(pow (cbrt x) 2.0)
21.0ms
(cbrt x)
22.0ms
(cbrt x)
22.0ms
(cbrt x)

simplify45.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0139258
1370242
21180204
35001199

prune156.0ms

Filtered
66 candidates to 49 candidates (25.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New61566
Fresh279
Picked101
Done011
Total641377

Merged error: 0.1b

Counts
77 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
Counts
4 → 44
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series89.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt x)
23.0ms
(cbrt x)
22.0ms
(cbrt x)
22.0ms
(cbrt x)

simplify119.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 4 (22.0ms)

IterNodesCost
059204
1101188
2205148
3559144
42708128
55002128

prune104.0ms

Filtered
56 candidates to 44 candidates (21.4%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New55156
Fresh01111
Picked011
Done011
Total551469

Merged error: 0.1b

Counts
69 → 14

regimes414.0ms

Accuracy

78.6% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 1.5b

bsearch15.0ms

Steps
ItersRangePoint
8
-1.2128248765666837e-307
1.6736278863314654e-306
-1.7415863520255e-310

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02013
12613
22613

end0.0ms

sample553.0ms

Algorithm
intervals
Results
406.0ms8002×body80valid

Profiling

Loading profile data...