Details

Time bar (total: 4.6s)

sample50.0ms

Algorithm
intervals
Results
18.0ms277×body80nan
18.0ms280×body80valid

simplify119.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0247
1657
21907
34127
46447
510837
616287
722737
837237
950017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
31×add-sqr-sqrt
25×add-cube-cbrt
24×prod-diff
16×add-exp-log add-cbrt-cube
15×distribute-rgt-in distribute-lft-in
12×associate-*r*
11×pow1
distribute-lft-out
add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* pow-prod-down sqrt-prod log1p-expm1-u
fma-def times-frac associate-/l*
cbrt-undiv sub-neg associate-*r/ div-exp associate--l+ *-commutative distribute-lft-out-- unswap-sqr
+-commutative flip3-- frac-2neg flip3-+ clear-num associate-/r* sum-log flip-- flip-+ div-inv difference-of-squares
Counts
4 → 119
Calls
4 calls:
5.0ms
(+ y (/ 1.0 (* x 9.0)))
81.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
4.0ms
(* 3.0 (sqrt x))
3.0ms
(/ 1.0 (* x 9.0))

series154.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ y (/ 1.0 (* x 9.0)))
69.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
39.0ms
(* 3.0 (sqrt x))
20.0ms
(/ 1.0 (* x 9.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05941130
12888878
25001872

prune266.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite301.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
75×times-frac
71×add-sqr-sqrt
65×add-cube-cbrt
24×prod-diff
16×add-exp-log add-cbrt-cube
15×distribute-rgt-in distribute-lft-in
13×associate-/l*
12×associate-*r*
11×pow1
distribute-lft-out
add-log-exp
div-inv
expm1-log1p-u associate-*l* pow-prod-down prod-exp sqrt-prod cbrt-unprod log1p-expm1-u
cbrt-undiv fma-def div-exp associate-/r*
sub-neg associate-*r/ associate--l+ *-commutative distribute-lft-out-- unswap-sqr
+-commutative flip3-- frac-2neg flip3-+ clear-num sum-log flip-- flip-+ associate-/l/ difference-of-squares
Counts
4 → 168
Calls
4 calls:
18.0ms
(+ y (/ (/ 1.0 x) 9.0))
266.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
6.0ms
(/ (/ 1.0 x) 9.0)
5.0ms
(* 3.0 (sqrt x))

series154.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ y (/ (/ 1.0 x) 9.0))
61.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
22.0ms
(/ (/ 1.0 x) 9.0)
39.0ms
(* 3.0 (sqrt x))

simplify94.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
08181496
137491238
250011234

prune400.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
61×add-sqr-sqrt
55×*-un-lft-identity
53×add-cube-cbrt
18×add-exp-log add-cbrt-cube
16×associate-*r*
13×pow1 associate-/l*
sqrt-prod
associate-*l*
pow-prod-down prod-exp cbrt-unprod div-inv
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv div-exp associate-/r* *-commutative
associate-*r/
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ clear-num flip-+ associate-/l/ distribute-lft-out
Counts
4 → 145
Calls
4 calls:
6.0ms
(/ (/ 1.0 x) 9.0)
58.0ms
(* (* 3.0 (sqrt x)) (+ y (/ (/ 1.0 x) 9.0)))
5.0ms
(* 3.0 (sqrt x))
5.0ms
(* 3.0 (sqrt x))

series170.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (/ 1.0 x) 9.0)
73.0ms
(* (* 3.0 (sqrt x)) (+ y (/ (/ 1.0 x) 9.0)))
38.0ms
(* 3.0 (sqrt x))
43.0ms
(* 3.0 (sqrt x))

simplify73.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0636909
12853829
25001824

prune424.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-exp-log
24×add-sqr-sqrt
18×add-cbrt-cube
17×associate-*r*
14×*-un-lft-identity
13×pow-prod-down prod-exp cbrt-unprod
12×add-cube-cbrt
11×associate-*l*
sqrt-prod
unswap-sqr
cbrt-prod
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ flip-+ distribute-lft-out
Counts
4 → 102
Calls
4 calls:
19.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (sqrt x)))
58.0ms
(* (* 3.0 (sqrt x)) (+ y (/ (/ 1.0 x) 9.0)))
5.0ms
(* 3.0 (sqrt x))
6.0ms
(* (cbrt 3.0) (sqrt x))

series265.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (sqrt x)))
76.0ms
(* (* 3.0 (sqrt x)) (+ y (/ (/ 1.0 x) 9.0)))
43.0ms
(* 3.0 (sqrt x))
62.0ms
(* (cbrt 3.0) (sqrt x))

simplify70.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0517774
12531637
25001537

prune276.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes90.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03123
13523
24223
35123
45923
55923

end0.0ms

sample1.3s

Algorithm
intervals
Results
543.0ms8543×body80valid
458.0ms8415×body80nan