Details

Time bar (total: 4.9s)

sample34.0ms

Algorithm
intervals
Results
9.0ms293×body80nan
8.0ms266×body80valid

simplify117.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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

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

rewrite218.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:
12.0ms
(+ y (/ 1.0 (* x 9.0)))
184.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
8.0ms
(/ 1.0 (* x 9.0))
10.0ms
(* 3.0 (sqrt x))

series149.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))
21.0ms
(/ 1.0 (* x 9.0))
36.0ms
(* 3.0 (sqrt x))

simplify73.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05941130
12888878
25001872

prune261.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite448.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
75×distribute-rgt-in distribute-lft-in
72×prod-diff
59×add-sqr-sqrt
53×add-cube-cbrt
20×distribute-lft-out
16×add-exp-log add-cbrt-cube
11×pow1
associate-*l*
associate-*r*
sub-neg associate-*r/ associate--l+ add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u pow-prod-down sqrt-prod log1p-expm1-u
fma-def times-frac associate-/l*
cbrt-undiv flip3-- div-exp *-commutative flip-- distribute-lft-out-- unswap-sqr
+-commutative frac-2neg flip3-+ clear-num associate-/r* sum-log flip-+ div-inv difference-of-squares
Counts
4 → 181
Calls
4 calls:
12.0ms
(+ y (/ 1.0 (* x 9.0)))
8.0ms
(/ 1.0 (* x 9.0))
209.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
208.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))

series173.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ y (/ 1.0 (* x 9.0)))
23.0ms
(/ 1.0 (* x 9.0))
62.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
62.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))

simplify79.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06332404
126651754
250021748

prune297.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite308.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
17×add-sqr-sqrt
16×add-exp-log add-cbrt-cube
11×pow1 add-cube-cbrt
associate-*l*
associate-*r*
add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u pow-prod-down sqrt-prod log1p-expm1-u
fma-def times-frac associate-/l*
cbrt-undiv div-exp associate-*l/ *-commutative distribute-lft-out 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 → 89
Calls
4 calls:
12.0ms
(+ y (/ 1.0 (* x 9.0)))
272.0ms
(* (- (+ y (/ 1.0 (* x 9.0))) 1.0) (* 3.0 (sqrt x)))
11.0ms
(/ 1.0 (* x 9.0))
10.0ms
(* 3.0 (sqrt x))

series156.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0438534
11820468
25001460

prune316.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite608.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×add-exp-log add-cbrt-cube
15×add-sqr-sqrt
11×pow1 add-cube-cbrt
associate-*r*
associate-*l*
associate-*l/ add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u pow-prod-down log1p-expm1-u
fma-def times-frac sqrt-prod associate-/l*
cbrt-undiv flip3-- div-exp *-commutative flip-- distribute-lft-out distribute-lft-out--
+-commutative frac-2neg flip3-+ clear-num associate-/r* sum-log flip-+ div-inv difference-of-squares unswap-sqr
Counts
4 → 90
Calls
4 calls:
12.0ms
(+ y (/ 1.0 (* x 9.0)))
258.0ms
(* (- (+ y (/ 1.0 (* x 9.0))) 1.0) 3.0)
9.0ms
(/ 1.0 (* x 9.0))
327.0ms
(* (* (- (+ y (/ 1.0 (* x 9.0))) 1.0) 3.0) (sqrt x))

series149.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ y (/ 1.0 (* x 9.0)))
28.0ms
(* (- (+ y (/ 1.0 (* x 9.0))) 1.0) 3.0)
17.0ms
(/ 1.0 (* x 9.0))
77.0ms
(* (* (- (+ y (/ 1.0 (* x 9.0))) 1.0) 3.0) (sqrt x))

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0409617
11781538
25002533

prune286.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

regimes111.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02412
12412

end0.0ms

sample924.0ms

Algorithm
intervals
Results
267.0ms8539×body80valid
267.0ms8520×body80nan