Details

Time bar (total: 2.8s)

sample38.0ms

Algorithm
intervals
Results
8.0ms190×body80valid
4.0ms24×body640valid
3.0ms12×body1280valid
2.0ms17×body320valid
1.0ms13×body160valid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150025

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: 23.2b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.9b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.5b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 associate-*l* add-log-exp
times-frac associate-*l/ associate-/r*
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out distribute-lft-out-- difference-of-squares
sub-neg frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
3 → 63
Calls
3 calls:
9.0ms
(* (- 1.0 x) y)
10.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
12.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series32.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(* (- 1.0 x) y)
16.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0338401
11456359
25001359

prune190.0ms

Filtered
72 candidates to 51 candidates (29.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New66672
Fresh000
Picked101
Done000
Total67673

Merged error: 0.5b

Counts
73 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- 1.0 x))
0.3b
(* (cbrt (- 1.0 x)) (cbrt (- 1.0 x)))
2.9b
(- 1.0 (/ (* (* (cbrt (- 1.0 x)) (cbrt (- 1.0 x))) (* (cbrt (- 1.0 x)) y)) (+ y 1.0)))
7.5b
(/ (* (* (cbrt (- 1.0 x)) (cbrt (- 1.0 x))) (* (cbrt (- 1.0 x)) y)) (+ y 1.0))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
68×cbrt-div
37×*-un-lft-identity
35×add-sqr-sqrt flip3-- flip--
34×associate-*l/
33×cbrt-prod
32×frac-times
26×associate-/l/
24×add-exp-log
16×add-cbrt-cube
15×add-cube-cbrt
11×pow1
10×associate-*r/ swap-sqr
prod-exp cbrt-unprod
associate-*r* associate-*l* distribute-lft-out--
pow1/3
add-log-exp difference-of-squares
cbrt-undiv div-exp
times-frac associate-/r* unswap-sqr
pow-prod-down associate-/r/ pow-sqr pow-prod-up distribute-lft-out
pow2 sub-neg frac-2neg flip3-+ pow-plus diff-log clear-num *-commutative flip-+ div-inv associate-/l*
Counts
4 → 142
Calls
4 calls:
3.0ms
(cbrt (- 1.0 x))
13.0ms
(* (cbrt (- 1.0 x)) (cbrt (- 1.0 x)))
10.0ms
(- 1.0 (/ (* (* (cbrt (- 1.0 x)) (cbrt (- 1.0 x))) (* (cbrt (- 1.0 x)) y)) (+ y 1.0)))
33.0ms
(/ (* (* (cbrt (- 1.0 x)) (cbrt (- 1.0 x))) (* (cbrt (- 1.0 x)) y)) (+ y 1.0))

series34.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (- 1.0 x))
7.0ms
(* (cbrt (- 1.0 x)) (cbrt (- 1.0 x)))
14.0ms
(- 1.0 (/ (* (* (cbrt (- 1.0 x)) (cbrt (- 1.0 x))) (* (cbrt (- 1.0 x)) y)) (+ y 1.0)))
7.0ms
(/ (* (* (cbrt (- 1.0 x)) (cbrt (- 1.0 x))) (* (cbrt (- 1.0 x)) y)) (+ y 1.0))

simplify113.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07171690
129951481
250021380

prune380.0ms

Filtered
154 candidates to 111 candidates (27.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1531154
Fresh145
Picked011
Done000
Total1546160

Merged error: 0.5b

Counts
160 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

8.2b
(cbrt (* (- 1.0 x) y))
8.2b
(cbrt (* (- 1.0 x) y))
8.2b
(cbrt (* (- 1.0 x) y))
10.5b
(- 1.0 (/ (* (* (cbrt (* (- 1.0 x) y)) (cbrt (* (- 1.0 x) y))) (cbrt (* (- 1.0 x) y))) (+ y 1.0)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt cbrt-div *-un-lft-identity associate-*l/ add-log-exp
pow1 add-exp-log add-cube-cbrt flip3-- add-cbrt-cube flip--
cbrt-prod pow1/3
sub-neg diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 47
Calls
4 calls:
5.0ms
(cbrt (* (- 1.0 x) y))
5.0ms
(cbrt (* (- 1.0 x) y))
5.0ms
(cbrt (* (- 1.0 x) y))
7.0ms
(- 1.0 (/ (* (* (cbrt (* (- 1.0 x) y)) (cbrt (* (- 1.0 x) y))) (cbrt (* (- 1.0 x) y))) (+ y 1.0)))

series71.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(cbrt (* (- 1.0 x) y))
18.0ms
(cbrt (* (- 1.0 x) y))
19.0ms
(cbrt (* (- 1.0 x) y))
16.0ms
(- 1.0 (/ (* (* (cbrt (* (- 1.0 x) y)) (cbrt (* (- 1.0 x) y))) (cbrt (* (- 1.0 x) y))) (+ y 1.0)))

simplify76.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0275816
1750764
22950745
35001745

prune187.0ms

Filtered
59 candidates to 51 candidates (13.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New59059
Fresh044
Picked011
Done011
Total59665

Merged error: 0.5b

Counts
65 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
0.1b
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
4.4b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
18.7b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
15×*-un-lft-identity associate-*l*
11×add-cube-cbrt
pow1 times-frac associate-*r*
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
sub-neg associate-*l/ difference-of-squares
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-/r* associate-/r/ associate--r+
frac-times associate-*r/ pow-prod-down *-commutative div-inv associate-/l/ distribute-lft-out-- unswap-sqr
frac-2neg diff-log clear-num associate-/l*
Counts
4 → 105
Calls
4 calls:
6.0ms
(* (- 1.0 x) y)
14.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
3.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
11.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (- 1.0 x) y)
12.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
39.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
12.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify83.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
05671027
13078900
25001900

prune139.0ms

Filtered
117 candidates to 82 candidates (29.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1161117
Fresh033
Picked011
Done112
Total1176123

Merged error: 0.5b

Counts
123 → 6

regimes404.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 20.8b

bsearch29.0ms

Steps
ItersRangePoint
5
76257442.97742975
221910749.68763962
103299873.12943959
8
-31707026623.970688
-81569296.22560106
-109848455.8215134

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
13314

end0.0ms

sample589.0ms

Algorithm
intervals
Results
183.0ms6112×body80valid
81.0ms701×body640valid
51.0ms366×body1280valid
44.0ms522×body320valid
19.0ms299×body160valid

Profiling

Loading profile data...