Details

Time bar (total: 3.6s)

sample30.0ms

Algorithm
intervals
Results
9.0ms280×body80valid
8.0ms275×body80nan

simplify108.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0247
1657
21827
33387
44887
57577
611667
717297
827937
950017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize9.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.2b
(/ 1.0 (* x 9.0))
0.3b
(* 3.0 (sqrt x))

rewrite80.0ms

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

series116.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
15.0ms
(/ 1.0 (* x 9.0))
40.0ms
(* 3.0 (sqrt x))

simplify48.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0404481
12021414
25001412

prune162.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ 1.0 (* x 9.0))
0.3b
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.3b
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

rewrite157.0ms

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

series133.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(/ 1.0 (* x 9.0))
57.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
61.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0375703
11706622
25003622

prune207.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (sqrt x) (- (+ y (* (/ 1 x) (/ 1.0 9.0))) 1.0))
0.3b
(* 3.0 (* (sqrt x) (- (+ y (* (/ 1 x) (/ 1.0 9.0))) 1.0)))
0.3b
(* (/ 1 x) (/ 1.0 9.0))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
32×add-exp-log
25×*-un-lft-identity times-frac
22×associate-*l* add-cbrt-cube
21×add-cube-cbrt
19×associate-*r*
15×distribute-rgt-in distribute-lft-in
12×pow1 prod-exp
div-exp cbrt-unprod unswap-sqr
associate-*r/
sub-neg associate--l+
pow-prod-down
cbrt-undiv sqrt-prod
*-commutative add-log-exp
rec-exp flip3-- 1-exp flip-- div-inv
frac-times associate-*l/ distribute-lft-out-- difference-of-squares
Counts
3 → 120
Calls
3 calls:
29.0ms
(* (sqrt x) (- (+ y (* (/ 1 x) (/ 1.0 9.0))) 1.0))
31.0ms
(* 3.0 (* (sqrt x) (- (+ y (* (/ 1 x) (/ 1.0 9.0))) 1.0)))
16.0ms
(* (/ 1 x) (/ 1.0 9.0))

series140.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(* (sqrt x) (- (+ y (* (/ 1 x) (/ 1.0 9.0))) 1.0))
66.0ms
(* 3.0 (* (sqrt x) (- (+ y (* (/ 1 x) (/ 1.0 9.0))) 1.0)))
17.0ms
(* (/ 1 x) (/ 1.0 9.0))

simplify77.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0598989
12912829
25001817

prune264.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (* x 9.0))
0.3b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
0.3b
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.4b
(* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

rewrite372.0ms

Algorithm
rewrite-expression-head
Rules
51×distribute-rgt-in distribute-lft-in
37×add-exp-log
32×pow1
25×add-cbrt-cube
20×prod-exp cbrt-unprod
19×pow-prod-down
17×add-sqr-sqrt
16×*-un-lft-identity
14×sub-neg associate--l+
13×associate-*l*
12×associate-*r/
11×add-cube-cbrt
associate-*r*
sqrt-prod add-log-exp
cbrt-prod flip3-- times-frac *-commutative flip-- associate-/l*
cbrt-undiv div-exp distribute-lft-out-- unswap-sqr
frac-2neg clear-num associate-/r* div-inv distribute-lft-out difference-of-squares
Counts
4 → 143
Calls
4 calls:
3.0ms
(/ 1.0 (* x 9.0))
207.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
81.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
74.0ms
(* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

series309.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ 1.0 (* x 9.0))
96.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
61.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
137.0ms
(* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

simplify76.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06811766
127371381
250031319

prune263.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

regimes77.0ms

Accuracy

0% (0.5b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample811.0ms

Algorithm
intervals
Results
271.0ms8413×body80nan
266.0ms8528×body80valid