Details

Time bar (total: 3.9s)

sample37.0ms

Algorithm
intervals
Results
12.0ms256×body80valid
11.0ms254×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune2.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: 20.0b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.6b
(+ (+ (* x y) (* x z)) (* y z))
19.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite19.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:
6.0ms
(+ (* x y) (* x z))
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
6.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series253.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0256358
1972331
23980326
35002326

prune121.0ms

Filtered
49 candidates to 38 candidates (77.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New43649
Fresh000
Picked101
Done000
Total44650

Merged error: 20.0b

Counts
50 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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))
6.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

series258.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0281332
11182313
25001312

prune132.0ms

Filtered
60 candidates to 43 candidates (71.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New55560
Fresh415
Picked011
Done000
Total59766

Merged error: 20.0b

Counts
66 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (* x (+ y z)) (* y z))
1.6b
(+ (* x (+ y z)) (* y z))
19.0b
(sqrt (+ (* x (+ y z)) (* y z)))
19.0b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite26.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)))

series462.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0191502
1680474
22965472
35002472

prune202.0ms

Filtered
68 candidates to 56 candidates (82.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh055
Picked011
Done011
Total68775

Merged error: 20.0b

Counts
75 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
1.6b
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
19.0b
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

rewrite28.0ms

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

series662.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt x)
184.0ms
(cbrt x)
52.0ms
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
245.0ms
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

simplify40.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0255552
1944488
25001471

prune171.0ms

Filtered
64 candidates to 55 candidates (85.9%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh044
Picked011
Done022
Total64771

Merged error: 20.0b

Counts
71 → 7

regimes92.0ms

Accuracy

0% (0.1b remaining)

Error of 19.9b against oracle of 19.9b and baseline of 19.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample1.0s

Algorithm
intervals
Results
380.0ms8000×body80valid
360.0ms7901×body80nan

Profiling

Loading profile data...