Details

Time bar (total: 2.6s)

sample31.0ms

Algorithm
intervals
Results
9.0ms241×body80nan
8.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.8b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.8b
(+ (+ (* x y) (* x z)) (* y z))
20.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 40
Calls
3 calls:
4.0ms
(+ (* x y) (* x z))
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
6.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series160.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (* x y) (* x z))
20.0ms
(+ (+ (* x y) (* x z)) (* y z))
107.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify111.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune119.0ms

Filtered
49 candidates to 37 candidates (75.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New43649
Fresh000
Picked101
Done000
Total44650

Merged error: 21.8b

Counts
50 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
1.8b
(+ (* x (+ y z)) (* y z))
20.6b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
flip3-+ associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+l+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
6.0ms
(* x (+ y z))
6.0ms
(+ (* x (+ y z)) (* y z))
5.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

series168.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(* x (+ y z))
30.0ms
(+ (* x (+ y z)) (* y z))
106.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify38.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0274329
11112304
25001300

prune133.0ms

Filtered
60 candidates to 41 candidates (68.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New57360
Fresh325
Picked101
Done000
Total61566

Merged error: 21.8b

Counts
66 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (+ x y))
1.6b
(+ (* x y) (* z (+ x y)))
20.6b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
flip3-+ associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+r+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
6.0ms
(* z (+ x y))
4.0ms
(+ (* x y) (* z (+ x y)))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series160.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* z (+ x y))
20.0ms
(+ (* x y) (* z (+ x y)))
115.0ms
(sqrt (+ (* x y) (* z (+ x y))))

simplify37.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0273328
11133303
25001299

prune123.0ms

Filtered
60 candidates to 43 candidates (71.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New59160
Fresh134
Picked011
Done000
Total60565

Merged error: 21.7b

Counts
65 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

1.8b
(+ (* x (+ y z)) (* y z))
1.8b
(+ (* x (+ y z)) (* y z))
20.6b
(sqrt (+ (* x (+ y z)) (* y z)))
20.6b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log associate-+l+ flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 56
Calls
4 calls:
6.0ms
(+ (* x (+ y z)) (* y z))
6.0ms
(+ (* x (+ y z)) (* y z))
6.0ms
(sqrt (+ (* x (+ y z)) (* y z)))
6.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (* x (+ y z)) (* y z))
20.0ms
(+ (* x (+ y z)) (* y z))
106.0ms
(sqrt (+ (* x (+ y z)) (* y z)))
109.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify85.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0184496
1617456
22649448
35001448

prune182.0ms

Filtered
68 candidates to 54 candidates (79.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh033
Picked011
Done011
Total68573

Merged error: 21.7b

Counts
73 → 5

regimes112.0ms

Accuracy

0% (0.1b remaining)

Error of 20.1b against oracle of 20.1b and baseline of 20.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample799.0ms

Algorithm
intervals
Results
251.0ms8001×body80valid
231.0ms7692×body80nan