Details

Time bar (total: 3.2s)

sample31.0ms

Algorithm
intervals
Results
9.0ms296×body80nan
9.0ms278×body80valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

localize12.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.3b
(/ 1.0 (* x 9.0))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
16×add-exp-log add-sqr-sqrt add-cbrt-cube
12×associate-*r*
11×pow1
10×add-cube-cbrt
add-log-exp
prod-exp cbrt-unprod
associate-*l* pow-prod-down sqrt-prod
distribute-rgt-in distribute-lft-in times-frac associate-/l*
cbrt-undiv sub-neg associate-*r/ 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 → 84
Calls
4 calls:
4.0ms
(+ y (/ 1.0 (* x 9.0)))
11.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
5.0ms
(* 3.0 (sqrt x))
4.0ms
(/ 1.0 (* x 9.0))

series144.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ y (/ 1.0 (* x 9.0)))
59.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
41.0ms
(* 3.0 (sqrt x))
16.0ms
(/ 1.0 (* x 9.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0456548
12172486
25002484

prune226.0ms

Pruning

12 alts after pruning (12 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
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.2b
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
0.3b
(/ 1.0 (* x 9.0))

rewrite34.0ms

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

series163.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ 1.0 (* x 9.0)))
59.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
64.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
16.0ms
(/ 1.0 (* x 9.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0427770
11858694
25002694

prune390.0ms

Pruning

9 alts after pruning (9 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
(* (sqrt x) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
0.2b
(* 3.0 (* (sqrt x) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0)))
0.2b
(/ (/ 1.0 x) 9.0)

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
57×*-un-lft-identity
56×add-sqr-sqrt
50×add-cube-cbrt
16×add-exp-log add-cbrt-cube
15×distribute-rgt-in distribute-lft-in
13×associate-/l*
11×pow1
associate-*l*
associate-*r*
sub-neg associate-*r/ associate--l+ add-log-exp
div-inv
pow-prod-down prod-exp sqrt-prod cbrt-unprod
cbrt-undiv div-exp associate-/r*
flip3-- *-commutative flip-- distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative frac-2neg flip3-+ clear-num sum-log flip-+ associate-/l/ difference-of-squares
Counts
4 → 147
Calls
4 calls:
12.0ms
(+ y (/ (/ 1.0 x) 9.0))
18.0ms
(* (sqrt x) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
22.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0)))
6.0ms
(/ (/ 1.0 x) 9.0)

series159.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ (/ 1.0 x) 9.0))
56.0ms
(* (sqrt x) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
63.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0)))
16.0ms
(/ (/ 1.0 x) 9.0)

simplify66.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06491136
127071056
250011056

prune398.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
13×add-sqr-sqrt
12×associate-*r*
10×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt
add-log-exp
associate-*l* pow-prod-down prod-exp sqrt-prod cbrt-unprod
distribute-rgt-in distribute-lft-in
sub-neg associate-*r/ associate--l+ *-commutative distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ difference-of-squares
Counts
3 → 63
Calls
3 calls:
5.0ms
(+ y (/ 0.1111111111111111 x))
12.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 0.1111111111111111 x)) 1.0))
5.0ms
(* 3.0 (sqrt x))

series125.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ y (/ 0.1111111111111111 x))
59.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 0.1111111111111111 x)) 1.0))
39.0ms
(* 3.0 (sqrt x))

simplify46.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0373423
11706371
25002368

prune120.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

regimes65.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample819.0ms

Algorithm
intervals
Results
277.0ms8583×body80valid
261.0ms8495×body80nan